kfest: starting at right point

This commit is contained in:
Vince Weaver 2018-07-19 23:19:38 -04:00
parent 7bab4b34ee
commit 828362f3cb

View File

@ -117,24 +117,25 @@ qloop:
; found first line of low-res grey, need to kill time ; found first line of low-res grey, need to kill time
; until we can enter at top of screen ; until we can enter at top of screen
; so we want roughly 5200+4550 - 65 (for the scanline we missed) ; so we want roughly 10 lines * 4 = 40*65 = 2600+4550-65
; +4550 - 65 (for the scanline we missed) = 7085 - 12 = 7073
; GR part ; GR part
bit LORES bit LORES ; 4
bit SET_GR bit SET_GR ; 4
bit FULLGR bit FULLGR ; 4
; want 9685 ; want 7073
; Try X=34 Y=55 cycles=9681 ; Try X=26 Y=52 cycles=7073
lda #0 ; 2 lda #0 ; 2
lda #0 ; 2 lda #0 ; 2
ldy #55 ; 2 ldy #52 ; 2
loopA: loopA:
ldx #34 ; 2 ldx #26 ; 2
loopB: loopB:
dex ; 2 dex ; 2
bne loopB ; 2nt/3 bne loopB ; 2nt/3