Versions Compared

Key

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

...

Output to the screen can be achieved by treating the screen as a device and using the file I/O system calls. However, there are six calls which can be used to send output to what is called standard output, which although it may be redefined by the CLI, see 'Standard I/O and the CLI', is usually the screen device. The calls are:

  • OS_Out,   write character to standard output
  • OS_Nln,   write newline to standard output (<CR><LF>), replace GN_Nln
  • OS_Sout,  write a string in local memory to standard output, replace GN_Sop
  • OS_Bout,  as OS_Sout, but from an extended address, replace GN_Soe
  • OS_Pout,  write an embedded string at (PC)
  • OS_Hout,  write an hexadecimal value a hexadecimal byte to standard output 

These calls are fully compatible with GN_Sop, GN_Soe, GN_Nln. They are deprecated and maintained for compatibility. They perform a significantly slower rendering.

...