From 4640a734841ee97bb8c0b223f666b6634109b607 Mon Sep 17 00:00:00 2001 From: Elliot Nunn Date: Sat, 10 Oct 2020 12:03:17 +0800 Subject: [PATCH] Neaten up some error conditions --- NetBoot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NetBoot.py b/NetBoot.py index ba919d7..deb6833 100755 --- a/NetBoot.py +++ b/NetBoot.py @@ -155,6 +155,7 @@ getSysVol ; Create a DQE move.l #$16,D0 dc.w $A71E ; _NewPtr ,Sys,Clear + bne error add.l #4,A0 ; has some cheeky flags at negative offset move.l A0,A2 @@ -228,10 +229,10 @@ mountSysVol clr.l $366 ; MountVol - lea -$32(A6),A0 bsr clearblock move.w D3,$16(A0) ; ioVRefNum = ioDrvNum = the drive number dc.w $A00F ; _MountVol + bne error ; Restore the FS queue move.l (SP)+,$366