Submitted by Steve Fewell
Description:
Call OSRDCH operating system routine to wait for a key to be pressed on the keyboard
(if the keyboard buffer is empty) and return in A the next character read from the
Keyboard buffer.
Call the Set 8-bit Integer routine to put the ASCII value of the returned character
into the first byte of the IWA (setting the rest of the IWA to zero),
returning with A = &40 (as result was an Integer).
AE3F | 032 224 255 | 20 E0 FF | JSR &FFE0 OSRDCH | |
AE42 | 128 212 | 80 D4 | BRA -44 --> &AE18 |