Commodore 128 Programmer's Reference Manual page 689

Hide thumbs Also See for 128:
Table of Contents

Advertisement

APPENDIXES
679
t
>
/
1
n
AUXOUT
Bank:
Input:
Output:
Function:
7
AUXIN
Bank:
Input:
Output:
Function:
8
HOME
Bank:
Input:
Output:
Function:
9
SELDSK
Bank:
Input:
Output:
Function:
10
SETTRK
Bank:
Input:
Output:
Function:
11
SETSEC
Bank:
Input:
Output:
Function:
Oor 1
C = ASCII Character to send to AUX device
None
Sends the character in C to ALL devices that are currently
assigned to the AUXOUT device. It waits for all assigned devices
to accept a character before exiting.
Oor 1
None
A = ASCII character from AUX device
Reads a character from any ONE of the assigned AUXIN devices.
A scan of each assigned device is done until an input character
is found. The character is returned in the A register.
0
None
None
Homes the head on the currently selected disk drive. This
function sets the current track to 0 and does not move the head
of the disk.
0
C = Disk Drive (0-15) (A = 0)
E = Initial Select Flag (LSB)
HL = Address of Disk Parameter Header (DPH) if drive exists.
HL = 000H if drive does not exist.
Selects the disk drive whose address is in C as the current drive
for all further disk operations. If the LSB of the E register is a
zero, then this is the first logging of this disk. The disk type
(C64 CP/M, MFM or C128 CP/M) is checked and the DPB
parameters adjusted for the diskette currently in the drive.
0
BC = Track number
None
Register pair BC contains the track number to be used in the
subsequent disk access. This value is saved.
0
BC = Sector number
None
Register pair BC contains the sector number to be used in the
subsequent disk access. This value is saved. The value in BC
is the value returned by the sector translation routine (in HL).

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents