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

Version 1 Next »

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

GN_Nln, send newline (CR/LF) to standard output 
GN_Sop, write string to standard output, local memory
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

  • No labels