support the Spectrum ED

This commit is contained in:
Peter Ferrie 2020-08-05 16:01:22 -07:00
parent 6d06e0c8b6
commit 4c1b217b33
2 changed files with 5 additions and 1 deletions

View File

@ -59,6 +59,8 @@
; accommodate uppercase-only machines (64K ][+ is supported)
lda ROM_MACHINEID
cmp #$A0
beq + ; Spectrum ED
cmp #$06
beq +
lda #$DF

View File

@ -43,9 +43,11 @@ Has128K
+READ_ROM_NO_WRITE
sta STOREOFF
lda ROM_MACHINEID
cmp #$A0
beq + ; Spectrum ED
cmp #6
bne @no ; earlier than //e -> no 128K
lda SLOT3STATUS
+ lda SLOT3STATUS
bmi @no ; no 80-column card -> no 128K
ldx #@checklen
- lda @checker,x