POUT
Format: POUT
Supported by: COMX BASIC V1.00
Similar commands: Quest Super BASIC 5.0 and 6.0: POUTThe POUT command (or TOUT) is not documented in the manual. POUT will also be replaced by CARD if the expansion box is used.
Possibly POUT was supposed to activate output to a printer like the Quest Super BASIC 5.0 and 6.0 commands POUT. Another possibility is that POUT was somehow planned to control the expansion box. The code for the command performs 4 OUT 1 instructions (which is used for expansion box card switching) with with values 0, 1, 2 and again 0. After each OUT 1 address @C000 is inspected if it is ROM and value 0, a strange XOR with a random stack value is performed (I think the last is a bug!). If the result of the XOR is not equal to 0 the next OUT 1 is done. As the stack value is never 0 nothing will ever happen. If the XOR would not be there the code would actuall do a jump to @C002 and execute code that would be stored there, like a printer activation routine (as part of a printer card FW).