home *** CD-ROM | disk | FTP | other *** search
- page
-
- ; RCP-R.Z80 'R' command
-
- ;=============================================================================
- ;
- ; D I S K R E S E T C O M M A N D
- ;
- ;=============================================================================
-
- ; Command: RESET
- ; Function: Reset the disk system
- ; Comments: ZRDOS does not require a disk system reset when disks are
- ; changed, but directory programs will not show the correct
- ; size if this is not done. It is also good practice. Since
- ; no warm boot performed, the disk in drive A need not have the
- ; operating system on it.
-
- reset:
- ld c,13 ; Disk reset BDOS function
-
- if resmsg ; If displaying a reset message
- call bdos ; Reset disk system
- call print ; Report action
- db 'rese','t'+80h
- ret
- else ; No reset message
- jp bdos ; Call bdos and return
- endif ;resmsg
-
- ; End RCP-R.Z80
-
-