Versions Compared

Key

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

Register parameters

Code Block
languagenone
titleRST 20H, DEFW DEFB $5A
IN:
     C = memory segment specifier (MS_S0, MS_S1, MS_S2 & MS_S3)
OUT, if call successful:
     Fc = 0
     B = bank number currently bound to that segment
     C = C(in)
OUT, if call failed:
     Fc = 1
     A = error code:
          RC_ERR ($0F), C was not valid

Registers changed after return:
     ...CDEHL/IXIY same
     AFB...../.... different 

...