OSFIND | Entry address &FFCE, vector
address &21C This is a dummy routine provided for compatibility with BBC BASIC. Its normal function is to open a file for reading and writing, but since this is not required by the ATOM COS and only one file (channel number 13) can be open at any time, the routine will not be used by the user. |
||||||||||||||||||
OSGBPB | Not implemented | ||||||||||||||||||
OSBPUT | Entry address &FFD4, vector
address &218 This routine puts a byte in A to the tape. On entry Y contains the channel number (13). On exit A, X and Y are preserved, N, V and Z are undefined and D=0. |
||||||||||||||||||
OSBGET | Entry address &FFD7, vector
address &216 This routine
gets a byte from tape and returns it in A. On entry Y
contains the channel number (13). |
||||||||||||||||||
OSARGS | Not implemented | ||||||||||||||||||
OSWRCH | Entry address &FFEE, vector
address &20E This routine writes the character in A to the screen. On exit A, X and Y are preserved, C,N,V and Z are undefined and D=0. The interrupt state is preserved but interrupts may be enabled during the operation. All lower case letters are converted to upper case. The following control codes (in hex) are provided:
|
||||||||||||||||||
OSBYTE | Entry address &FFF4, vector
address &20A The multi-purpose OS routine. The call number is passed in A and the X and Y registers are used to pass other values. Values are returned in X and/or Y. The calls and their functions are as follows:
|
||||||||||||||||||
OSWORD | Entry address &FFF1, vector
address &20C This routine invokes a number of miscellaneous OS operations that require more data or return more values than can be handled by OSBYTE. It is entered with the call number in A, and Y (m.s. byte) and X (l.s. byte) pointing to a parameter block. The calls and their functions are as follows:
|
||||||||||||||||||
OSCLI | Entry address &FFF7, vector
address &208 This
routine sends a command line to the interpreter. |