Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Register parameters

RST 20H, DEFW $3C09
IN:
     BHL = pointer to null-terminated string at extended address
     (B = 0, is interpreted as bank 0, not local...)

OUT, if call successful:
     Fc = 0
     BHL points to null terminator

Registers changed after return:
     AFBCDE../IXIY same
     ......HL/.... different 

Notes

If B is zero on entry the address will not be treated as local. If your application is targeting OZ V4.2 or newer, use OS_Bout - its faster and uses 1 byte less in API call.

Related calls

OS_Out, write character to standard output
OS_Sout, write local string to standard output
OS_Bout,write string at (B)HL to standard output 
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 

  • No labels