Versions Compared

Key

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

Register parameters

Code Block
languagenone
titleRST 20H, DEFW $3A09
IN:
     HL = pointer to local null-terminated string
OUT:
     Fc = 0
     HL points to the null

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

Notes

This call is deprecated, use OS_Sout.

Strings should not cross bank/segment boundaries or rubbish will be printed from the position of the boundary crossing and onwards.

Related calls

GN_Nln, send newline (CR/LF) to standard output 
GN_Soe

OS_Out, write character to standard output
OS_Sout, write local string to standard output
OS_Bout,write string at extended address (B)HL to standard output 
OS_BoutPout, write embedded null-terminated string block at caller (BPC) HL to standard output
OS_OutHout, write character hexadecimal byte to standard output
OS_Pout, write embedded null-terminated string at caller (PC) to standard output_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