diff --git a/src/4cade.init.a b/src/4cade.init.a index dfed6bce6..64f401de6 100755 --- a/src/4cade.init.a +++ b/src/4cade.init.a @@ -186,18 +186,6 @@ ; initialize and relocate ProRWTS2 to $D400 in LC RAM bank 2 +READ_ROM_WRITE_RAM2 jsr init ; requires RAM2 write - bcc @good_smartport - - ldy #@noSmartPortlen -- lda @s_noSmartPort,y - sta $6AE,y - dey - bpl - -@hang2 bmi @hang2 -@s_noSmartPort !scrxor $80,"REQUIRES SMARTPORT HARD DISK" -@noSmartPortlen=(*-@s_noSmartPort)-1 - -@good_smartport ; overwrite ProDOS IRQ handler sei diff --git a/src/prorwts2.a b/src/prorwts2.a index 5e3eb4a16..82f14ebba 100644 --- a/src/prorwts2.a +++ b/src/prorwts2.a @@ -481,18 +481,10 @@ iterdevice lda (scratchlo), y beq - -set_slot stx slot1 + 2 - stx slot2 + 2 +set_slot stx slot + 2 stx unrentry + 2 -slot1 ldx $cfff +slot ldx $cfff stx unrentry + 1 - -slot2 lda $cf02,x - eor #$85 - bne + - sec - rts -+ !if enable_floppy = 1 { php } ;enable_floppy = 1 @@ -607,7 +599,7 @@ slot2 lda $cf02,x iterunit inc unrunit2 bne + - ldx slot1 + 2 + ldx slot + 2 jmp iterdevice + lda #0 sta readbuff + $205 ;compensate for unreliable SmartPort error condition