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, write string at extended address to standard outputĀ 
OS_Bout, write null-terminated string block at (B)HL to standard output
OS_Out, write character to standard output
OS_Pout, write embedded null-terminated string at caller (PC) to standard output