C64 ROM | Routines |
Prev: FFB7 | Up: Map | Next: FFBD |
this routine will set the logical file number, device address, and secondary address, command number, for other KERNAL routines.
the logical file number is used by the system as a key to the file table created by the OPEN file routine. Device addresses can range from 0 to 30. The following codes are used by the computer to stand for the following CBM devices:
device numbers of four or greater automatically refer to devices on the serial bus.
a command to the device is sent as a secondary address on the serial bus after the device number is sent during the serial attention handshaking sequence. If no secondary address is to be sent Y should be set to $FF.
|
||||||||||||||||||
FFBA | 4C 00 FE | JMP $FE00 | set logical, first and second addresses |
Prev: FFB7 | Up: Map | Next: FFBD |