mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-17 23:29:31 +00:00
support the Spectrum ED
This commit is contained in:
parent
6d06e0c8b6
commit
4c1b217b33
|
@ -59,6 +59,8 @@
|
||||||
|
|
||||||
; accommodate uppercase-only machines (64K ][+ is supported)
|
; accommodate uppercase-only machines (64K ][+ is supported)
|
||||||
lda ROM_MACHINEID
|
lda ROM_MACHINEID
|
||||||
|
cmp #$A0
|
||||||
|
beq + ; Spectrum ED
|
||||||
cmp #$06
|
cmp #$06
|
||||||
beq +
|
beq +
|
||||||
lda #$DF
|
lda #$DF
|
||||||
|
|
|
@ -43,9 +43,11 @@ Has128K
|
||||||
+READ_ROM_NO_WRITE
|
+READ_ROM_NO_WRITE
|
||||||
sta STOREOFF
|
sta STOREOFF
|
||||||
lda ROM_MACHINEID
|
lda ROM_MACHINEID
|
||||||
|
cmp #$A0
|
||||||
|
beq + ; Spectrum ED
|
||||||
cmp #6
|
cmp #6
|
||||||
bne @no ; earlier than //e -> no 128K
|
bne @no ; earlier than //e -> no 128K
|
||||||
lda SLOT3STATUS
|
+ lda SLOT3STATUS
|
||||||
bmi @no ; no 80-column card -> no 128K
|
bmi @no ; no 80-column card -> no 128K
|
||||||
ldx #@checklen
|
ldx #@checklen
|
||||||
- lda @checker,x
|
- lda @checker,x
|
||||||
|
|
Loading…
Reference in New Issue
Block a user