Versions Compared

Key

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

...

Code Block
titleRST 20H, DEFB $27
IN:
     A = character to be written
OUT:
     Fc = 0 always (error handler is never provoked)

Registers changed after return:
     A.BCDEHL/IXIY same
     .F....../.... different

Notes

OS_Out may also be used to write screen driver codes by writing them in a series of OS_Out sequences, eg. 1, '2', '+', 'B' to switch on bold typeface.

Related calls


GNOS_Nln, send newline (CR/LF) to standard output
GN_Soe, write string at extended address Out, write character to standard output
GNOS_SopSout, write  write local string to standard output, local memory
OS_Bout,write
null-terminated string block at (B)HL to standard outputoutput 
OS_Pout, write embedded null-terminated string at caller (PC) to standard output
OS_Hout, write hexadecimal byte to standard output
OS_Nln, send newline (CR/LF) to standard output
GN_Sop, write local string to standard output
GN_Soe, write string at extended address to standard output
GN_Nln, send newline (CR/LF) to standard output