Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Register parameters

Code Block
languagenone
titleRST 20H, DEFW DEFB $2D
IN:
     BC = timeout in 1/100 seconds

OUT, if call successful:
     Fc = 0
     A = character read from standard input
     BC = time remaining in 1/100 seconds

OUT, if call failed:     Fc = 1
     A = error code:
          RC_SUSP ($69), suspension
          RC_DRAW ($66), application pre-empted and screen corrupted
          RC_QUIT ($67), KILL request
          RC_ESC ($01), escape condition detected
          RC_TIME ($02), call has timed out

Registers changed after return:
     ....DEHL/IXIY same
     AFBC..../.... different 

...