# HG changeset patch # User robertgault # Date 1325214709 0 # Node ID 95d96304f4f17fe46875afa7af66e06d2e334141 # Parent 62355a3b98ffff0bec280c4ce0be0ae235c27d44 Added tsta to GetSect routine. RG diff -r 62355a3b98ff -r 95d96304f4f1 3rdparty/drivers/emudsk/emudsk.asm --- a/3rdparty/drivers/emudsk/emudsk.asm Wed Dec 28 13:23:16 2011 +0000 +++ b/3rdparty/drivers/emudsk/emudsk.asm Fri Dec 30 03:11:49 2011 +0000 @@ -12,7 +12,8 @@ * Note the forced > extended addressing in some cases. * That is required as this code is relocatable but the * addresses are fixed. Part of original code. -* 03 Corrected minor errors in GETSTAT. R. Gault 11/12/26 +* 03 Corrected minor errors in GetSect. R. Gault 11/12/26 +* 04 Added a tsta I left out in GetSect. R. Gault 11/12/29 * EmuDisk floppy disk controller driver * Edition #1 @@ -73,7 +74,6 @@ rev set $02 mod eom,name,tylg,atrv,start,size - fcb $ff org 0 u0000 rmb DRVBEG+(DRVMEM*2) Normal RBF device mem for 2 drives RG @@ -82,7 +82,7 @@ fcb $FF This byte is the driver permissions name fcs /EmuDsk/ - fcb 3 edition #2 RG + fcb 4 edition #4 RG * Entry: Y=Ptr to device descriptor @@ -165,6 +165,7 @@ sta >command get the emulator to blast over the sector lda >command get the error status clr >vhdnum + tsta bne FixErr if non-zero, go report the error and exit puls b,x,pc restore registers and exit