chiptune: update timing info

This commit is contained in:
Vince Weaver 2018-03-10 22:07:20 -05:00
parent dcc96775ae
commit b98ea0479c
2 changed files with 19 additions and 3 deletions

View File

@ -459,3 +459,14 @@ lz4/diff: 13669 bytes (11431 -9)
gzip/diff: 10821 bytes
bzip2/diff: 10477 bytes
lzma/diff: 7257 bytes
Timing:
=======
Originally roughly 1500 cycles from start of interrupt
to all registers being written.
Moved clock to after, near the visualization stuff, more like
1378 = 13+ (105*13)

View File

@ -57,6 +57,8 @@ mb_write_loop:
lda #1 ; set done playing ; 2
jmp quiet_exit ; 3
;===========
; typ 13
mb_not_done:
@ -67,6 +69,8 @@ mb_not_done:
bne mb_not_13 ; 3/2nt
cmp #$ff ; 2
beq increment_offset ; 3/2nt
;============
; typ 5
mb_not_13:
sta MB_VALUE ; 3
@ -83,7 +87,8 @@ mb_not_13:
; so write same to both
; left/right
; 53
;===========
; 68
;====================
; point to next page
;====================
@ -97,8 +102,8 @@ mb_not_13:
cpx #14 ; if 14 we're done ; 2
bmi mb_write_loop ; otherwise, loop ; 3/2nt
;============
; roughly 95?
; *13= 1235?
; 19
;==============================================