c64: split is centered

This commit is contained in:
Vince Weaver 2018-09-23 13:55:49 -04:00
parent 66dc5ba535
commit e1b1292810

View File

@ -59,12 +59,12 @@ c64_opener:
; vapor lock returns with us at beginning of hsync in line ; vapor lock returns with us at beginning of hsync in line
; 114 (7410 cycles), so with 5070 + 4550 lines to go (9620) ; 114 (7410 cycles), so with 5070 + 4550 lines to go (9620)
; - 16 = 9604 ; - 16 = 9604, -3 for jmp = 9601
; Try X=57 Y=33 cycles=9604 ; Try X=18 Y=100 cycles=9601
ldy #33 ; 2 ldy #100 ; 2
loopcoA:ldx #57 ; 2 loopcoA:ldx #18 ; 2
loopcoB:dex ; 2 loopcoB:dex ; 2
bne loopcoB ; 2nt/3 bne loopcoB ; 2nt/3
dey ; 2 dey ; 2
@ -100,10 +100,10 @@ c64_split:
ldx #192 ; 2 ldx #192 ; 2
xloop: xloop:
lda #14 ; 18-4 ; 2 lda #6 ; ; 2
jsr delay_a ; 39 jsr delay_a ; 25+6= 31
;=========== ;===========
; 41 ; 33
bit SET_TEXT ; 4 bit SET_TEXT ; 4
nop ; 2 nop ; 2
@ -112,13 +112,17 @@ xloop:
;=========== ;===========
; 12 ; 12
nop ; 2
nop ; 2
nop ; 2
nop ; 2
nop ; 2 nop ; 2
nop ; 2 nop ; 2
lda $0 ; 3 lda $0 ; 3
dex ; 2 dex ; 2
bne xloop ; 3 bne xloop ; 3
;============ ;============
; 12 ; 20
; kill 65*192 = 12480 ; kill 65*192 = 12480
; Try X=24 Y=99 cycles=12475 R5 ; Try X=24 Y=99 cycles=12475 R5