no longer require SmartPort-capable device

This commit is contained in:
Peter Ferrie
2026-03-07 09:54:12 -08:00
parent 2aa3330fb9
commit 55fa7ee669
2 changed files with 3 additions and 23 deletions

View File

@@ -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

View File

@@ -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