mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-27 12:30:30 +00:00
try to fix IIc+ VBL
This commit is contained in:
parent
7c1184275d
commit
1803967a9e
@ -16,8 +16,9 @@ WaitForVBL_iie ; IIe/IIgs have a relatively sane VBL
|
||||
- bit $C019
|
||||
patch_VBL_iigs1
|
||||
bpl -
|
||||
patch_VBL_iic
|
||||
patch_VBL_iic1
|
||||
- lda $C019 ; $c019 bit 7 is sticky, reset it (SMC->#$70 for IIc)
|
||||
patch_VBL_iic2
|
||||
patch_VBL_iigs2
|
||||
bmi -
|
||||
WaitForVBL_nop ; II/II+ have no easy VBL
|
||||
|
@ -37,7 +37,9 @@ BuildVBLFunction
|
||||
rts
|
||||
@build_iic
|
||||
lda #$70
|
||||
sta patch_VBL_iic+1
|
||||
sta patch_VBL_iic1+1
|
||||
lda #$60
|
||||
sta patch_VBL_iic2
|
||||
lda #$EA
|
||||
sta UnwaitForVBL
|
||||
rts
|
||||
|
Loading…
Reference in New Issue
Block a user