megademo: we now have a demo!

it will run straight through to the end, no keypresses
This commit is contained in:
Vince Weaver 2018-10-22 12:34:08 -04:00
parent 47837d71c6
commit 8e5e6f4cce
2 changed files with 21 additions and 11 deletions

View File

@ -23,7 +23,8 @@
28483 -- move falling apple to megademo file
28553 -- fill in the starring animation a bit more
28809 -- add timeouts to starring people
28733 -- add susie's cage to e-mail scene, move to megademo file
28733 -- add susie's cage to e-mail scene, move to megademo file
28989 -- add timeouts to check-email, takeoff, and spacebars
Graphics sizes:
(LG lores=300B)

View File

@ -17,6 +17,7 @@ space_bars:
sta YPOS
lda #0
sta FRAME
sta FRAMEH
;=============================
@ -257,27 +258,35 @@ sbloopF:dex ; 2
;======================================================
; We have 4550 cycles in the vblank, use them wisely
;======================================================
;======================================================
; We have 4550 cycles in the vblank, use them wisely
;======================================================
; do_nothing should be 4550
; -3470 draw_framebuffer
; -533 setup framebuffer
; -21 frame count
; -7 timeout
; -34 keypress
; -1 adjust center mark back
; ===========
; 491
; 484
;=====================
; timeout
;=====================
; 7 cycles
lda FRAMEH ; 3
cmp #100 ; 2
beq sb_exit ; 3
; -1
; Try X=11 Y=8 cycles=489 R2
; Try X=31 Y=3 cycles=484
; Try X=8 Y=5 cycles=231
nop
ldy #8 ; 2
sbloop1:ldx #11 ; 2
ldy #3 ; 2
sbloop1:ldx #31 ; 2
sbloop2:dex ; 2
bne sbloop2 ; 2nt/3
dey ; 2