Short of using microcontrollers or just discrete parts, the same function can also be obtained by less specialized chips such as the 74LS123. Here's an application schematic from Elektor.
https://www.worldradiohistory.com/hd2/IDX-UK/Technology/Tech...