Commodore 128 Programmer's Reference Manual page 691

Hide thumbs Also See for 128:
Table of Contents

Advertisement

H
APPENDIXES
681
I I
I
)
I 1
16
SECTRN
Bank:
Input:
Output:
Function:
17
CONOST
Bank:
Input:
Output:
Function:
18
AUXIST
Bank:
Input:
Output:
Function:
19
AUXOST
Bank:
Input:
Output:
Function:
20
DEVTBL
Bank:
Input:
Output:
Function:
0
BC = Logical sector number (0-n)
DE = Translation table address (from DPB)
HL = Physical sector number
This routine converts the physical sector number to a logical
sector number. If no translation is needed then it moves the
BC register to HL and returns.
Oor 1
None
A = OFFH if Ready
A = 000HifnotReady
This routine scans the currently assigned console devices and
returns with A set to OFFH if ALL assigned devices are ready
to accept a character. If any assigned device is not ready then
A is set to 000H.
Oor 1
None
A = OFFH if console character present
A = 000H if no console character
Checks the status of the current AUXIN device. If any of the
devices have a character available, OFFH is returned, otherwise
000H is returned.
Oor 1
None
A = OFFH if ready
A = 000Hif not ready
This routine scans the currently assigned AUXOUT devices and
returns with A set to OFFH if ALL devices are ready to accept a
character. If any assigned device is not ready then A is set
to 00H.
Oor 1
None
HL = address of character I/O table
This routine returns the address of the Character I/O table.
This table is used to name each of the driver modules and
set/control the baud rate and XON/XOFF logic for each driver.
Note: the device drive mechanism is used to replace the IOBYTE
used with CP/M 2.2.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents