mirror of
https://github.com/elliotnunn/NetBoot.git
synced 2024-07-23 15:29:30 +00:00
Neaten up some error conditions
This commit is contained in:
parent
8173edd308
commit
4640a73484
@ -155,6 +155,7 @@ getSysVol
|
|||||||
; Create a DQE
|
; Create a DQE
|
||||||
move.l #$16,D0
|
move.l #$16,D0
|
||||||
dc.w $A71E ; _NewPtr ,Sys,Clear
|
dc.w $A71E ; _NewPtr ,Sys,Clear
|
||||||
|
bne error
|
||||||
add.l #4,A0 ; has some cheeky flags at negative offset
|
add.l #4,A0 ; has some cheeky flags at negative offset
|
||||||
move.l A0,A2
|
move.l A0,A2
|
||||||
|
|
||||||
@ -228,10 +229,10 @@ mountSysVol
|
|||||||
clr.l $366
|
clr.l $366
|
||||||
|
|
||||||
; MountVol
|
; MountVol
|
||||||
lea -$32(A6),A0
|
|
||||||
bsr clearblock
|
bsr clearblock
|
||||||
move.w D3,$16(A0) ; ioVRefNum = ioDrvNum = the drive number
|
move.w D3,$16(A0) ; ioVRefNum = ioDrvNum = the drive number
|
||||||
dc.w $A00F ; _MountVol
|
dc.w $A00F ; _MountVol
|
||||||
|
bne error
|
||||||
|
|
||||||
; Restore the FS queue
|
; Restore the FS queue
|
||||||
move.l (SP)+,$366
|
move.l (SP)+,$366
|
||||||
|
Loading…
Reference in New Issue
Block a user