mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-28 00:30:45 +00:00
disable VBL on Mac IIE card
This commit is contained in:
parent
88538f526c
commit
9f9714d9d9
@ -8,6 +8,8 @@ romid = $FBB3
|
|||||||
ROMID_IIECOMPAT = 6
|
ROMID_IIECOMPAT = 6
|
||||||
romid_ec = $FBC0
|
romid_ec = $FBC0
|
||||||
; $EA=//e original, $E0=//e enhanced, $E1=//e EDM, $00=//c
|
; $EA=//e original, $E0=//e enhanced, $E1=//e EDM, $00=//c
|
||||||
|
romid_mac = $FBDD
|
||||||
|
ROMID_IIECARD = 2
|
||||||
|
|
||||||
; IIGS
|
; IIGS
|
||||||
idroutine = $FE1F ; SEC, JSR $FE1F, BCS notgs
|
idroutine = $FE1F ; SEC, JSR $FE1F, BCS notgs
|
||||||
@ -18,6 +20,9 @@ BuildVBLFunction
|
|||||||
bne @build_none ; not a //e
|
bne @build_none ; not a //e
|
||||||
lda romid_ec
|
lda romid_ec
|
||||||
beq @build_iic ; //c family
|
beq @build_iic ; //c family
|
||||||
|
lda romid_mac
|
||||||
|
cmp #ROMID_IIECARD
|
||||||
|
beq @build_none ; broken in some versions, disable
|
||||||
sec
|
sec
|
||||||
jsr idroutine ; check for IIgs
|
jsr idroutine ; check for IIgs
|
||||||
bcs @NotGS
|
bcs @NotGS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user