home *** CD-ROM | disk | FTP | other *** search
- Function 0: Boot -- BIOS Functions --
- Function 1: Warm Boot
- Function 2: Console Status
- Function 3: Console Input
- Function 4: Console Output
- Function 5: List Output
- Function 6: Punch Output
- Function 7: Reader Input
- Function 8: Home Disk
- Function 9: Select Disk
- Function 10: Set Track
- Function 11: Set Sector
- Function 12: Set DMA Address
- Function 13: Read Sector
- Function 14: Write Sector
- Function 15: List Status
- Function 16: Translate Sector
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 0 -- BOOT |
- +--------------------------------+------------------------------+
- | Entry: None | Exit: None |
- | | |
- | | |
- +--------------------------------+------------------------------+
-
- Performs a cold boot of the system.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 1 -- WARM BOOT |
- +--------------------------------+------------------------------+
- | Entry: None | Exit: None |
- | | |
- | | |
- +--------------------------------+------------------------------+
-
- Performs a warm boot of the system.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 2 -- CONSOLE STATUS |
- +--------------------------------+------------------------------+
- | Entry: None | Exit: A = FFh if ready |
- | | A = 0 if not ready |
- | | |
- +--------------------------------+------------------------------+
-
- Determines whether the console has a character ready to read.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 3 -- CONSOLE INPUT |
- +--------------------------------+------------------------------+
- | Entry: None | Exit: A = Character |
- | | |
- | | |
- +--------------------------------+------------------------------+
-
- Gets character from the console, waiting if a character is not yet ready.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 4 -- CONSOLE OUTPUT |
- +--------------------------------+------------------------------+
- | Entry: C = Character | Exit: None |
- | | |
- | | |
- +--------------------------------+------------------------------+
-
- Sends a character to the console.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 5 -- LIST OUTPUT |
- +--------------------------------+------------------------------+
- | Entry: C = Character | Exit: None |
- | | |
- | | |
- +--------------------------------+------------------------------+
-
- Sends a character to the printer (LST device).
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 6 -- PUNCH OUTPUT |
- +--------------------------------+------------------------------+
- | Entry: C = Character | Exit: None |
- | | |
- | | |
- +--------------------------------+------------------------------+
-
- Sends a character to the PUNCH device.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 7 -- READER INPUT |
- +--------------------------------+------------------------------+
- | Entry: None | Exit: A = Character |
- | | |
- | | |
- +--------------------------------+------------------------------+
-
- Gets a character from the READER device.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 8 -- HOME DISK |
- +--------------------------------+------------------------------+
- | Entry: None | Exit: None |
- | | |
- | | |
- +--------------------------------+------------------------------+
-
- Moves read head of current disk to track 0.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 9 -- SELECT DISK |
- +--------------------------------+------------------------------+
- | Entry: C = Drive (0=A) | Exit: HL = Address of DPH |
- | E = Initial select | HL = 0 if invalid drv |
- | flag | |
- +--------------------------------+------------------------------+
-
- Selects given drive for future disk operations. If this is the initial
- selection of this drive, the flag in E should be non-zero. The address of
- the Disk Parameter Header (DPH) is returned.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 10 -- SET TRACK |
- +--------------------------------+------------------------------+
- | Entry: BC = Track number | Exit: None |
- | | |
- | | |
- +--------------------------------+------------------------------+
-
- Selects disk track for next read or write operation.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 11 -- SET SECTOR |
- +--------------------------------+------------------------------+
- | Entry: BC = Sector number | Exit: None |
- | | |
- | | |
- +--------------------------------+------------------------------+
-
- Selects disk sector for next read or write operation.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 12 -- SET DMA ADDRESS |
- +--------------------------------+------------------------------+
- | Entry: BC = DMA address | Exit: None |
- | | |
- | | |
- +--------------------------------+------------------------------+
-
- Sets direct memory access (DMA) address for subsequent read and write
- operations.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 13 -- READ SECTOR |
- +--------------------------------+------------------------------+
- | Entry: None | Exit: A = 0 if no error |
- | DE = Address of FCB | A = 1 if error |
- | | |
- +--------------------------------+------------------------------+
-
- Reads a logical sector (128-bytes) from the selected track and sector of
- the selected disk.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 14 -- WRITE SECTOR |
- +--------------------------------+------------------------------+
- | Entry: C = 0 (write data) | Exit: A = 0 if no error |
- | C = 1 (write directory)| A = 1 if error |
- | C = 2 (write new data) | |
- +--------------------------------+------------------------------+
-
- Writes a logical sector (128-bytes) to the selected track and sector of the
- selected disk.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 15 -- LIST STATUS |
- +--------------------------------+------------------------------+
- | Entry: None | Exit: A = 0 if ready |
- | | A = FFh if not ready |
- | | |
- +--------------------------------+------------------------------+
-
- Determines whether the printer (LST device) is ready to accept a character.
- :
-
- +---------------------------------------------------------------+
- | BIOS FUNCTION 16 -- TRANSLATE SECTOR |
- +--------------------------------+------------------------------+
- | Entry: BC = Logical sector | Exit: HL = Physical sector |
- | DE = Address of | |
- | translation table | |
- +--------------------------------+------------------------------+
-
- Translates a logical sector number into the actual physical sector number,
- using the translation table.