home *** CD-ROM | disk | FTP | other *** search
- FUNCTION 0: System Reset
- FUNCTION 12: Return Version Number (CP/M)
- FUNCTION 48: Return ZRDOS Version Number
- FUNCTION 50: Set Warm Boot Trap
- FUNCTION 52: Reset Warm Boot Trap
- :FUNCTION 0: SYSTEM RESET
-
- -----------------------------------------------------------------
- | Entry Parameters | Returned Value |
- |------------------------------|--------------------------------|
- | Register (C): 00H | None |
- -----------------------------------------------------------------
-
- Function to terminate program and reset the system. Same
- results as performing a jump to location 0000H. The disk system
- is reset; that is disks marked as changed are cleared and the
- directory check information is discarded.
- :FUNCTION 12: RETURN VERSION NUMBER
-
- -----------------------------------------------------------------
- | Entry Parameters | Returned Value |
- |------------------------------|--------------------------------|
- | Register (C): 0CH | Register (HL): Version Number |
- -----------------------------------------------------------------
-
- Function to return the current version number. Version
- number 2.2 is returned to maintain CP/M compatibility. Function
- 48 should be used to get the ZRDOS version number.
- :FUNCTION 48: RETURN ZRDOS VERSION NUMBER
-
- -----------------------------------------------------------------
- | Entry Parameters | Returned Value |
- |-------------------------------|-------------------------------|
- | Register (C): 30H | Register (HL): Version number |
- -----------------------------------------------------------------
-
- Function to return the current ZRDOS version number.
- :FUNCTION 50: SET WARM BOOT TRAP
-
- -----------------------------------------------------------------
- | Entry Parameters | Returned Value |
- |--------------------------------|------------------------------|
- | Register (C): 32H | None |
- | Register (DE): Trap address | |
- -----------------------------------------------------------------
-
- This function replaces the warm boot jump address at 0001H
- with a trap address. Warm boots will then be diverted to the trap
- address.
- :FUNCTION 52: RESET WARM BOOT TRAP
-
- -----------------------------------------------------------------
- | Entry Parameters | Returned Value |
- |--------------------------------|------------------------------|
- | Register (C): 34H | None |
- -----------------------------------------------------------------
-
- Function to reset the warm boot trap. The real warm boot
- address is stored at 0001H. Warm boots will now be directed to
- the real warm boot. This function will take affect only if the
- warm boot trap was previously set by function 38.