mirror of https://github.com/wwarthen/RomWBW.git
committed by
GitHub
3 changed files with 27 additions and 5 deletions
@ -0,0 +1,16 @@ |
|||||
|
; |
||||
|
bdos .EQU 5 |
||||
|
; |
||||
|
; Force BDOS to reset (logout) all drives |
||||
|
; |
||||
|
drvrst: |
||||
|
ld c,$0D ; BDOS Reset Disk function |
||||
|
call bdos ; do it |
||||
|
; |
||||
|
ld c,$25 ; BDOS Reset Multiple Drives |
||||
|
ld de,$FFFF ; all drives |
||||
|
call bdos ; do it |
||||
|
; |
||||
|
xor a ; signal success |
||||
|
ret |
||||
|
; |
||||
Loading…
Reference in new issue