mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 17:29:49 +00:00
megademo: we now have a demo!
it will run straight through to the end, no keypresses
This commit is contained in:
parent
47837d71c6
commit
8e5e6f4cce
@ -23,7 +23,8 @@
|
|||||||
28483 -- move falling apple to megademo file
|
28483 -- move falling apple to megademo file
|
||||||
28553 -- fill in the starring animation a bit more
|
28553 -- fill in the starring animation a bit more
|
||||||
28809 -- add timeouts to starring people
|
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:
|
Graphics sizes:
|
||||||
(LG lores=300B)
|
(LG lores=300B)
|
||||||
|
@ -17,6 +17,7 @@ space_bars:
|
|||||||
sta YPOS
|
sta YPOS
|
||||||
|
|
||||||
lda #0
|
lda #0
|
||||||
|
sta FRAME
|
||||||
sta FRAMEH
|
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
|
; do_nothing should be 4550
|
||||||
; -3470 draw_framebuffer
|
; -3470 draw_framebuffer
|
||||||
; -533 setup framebuffer
|
; -533 setup framebuffer
|
||||||
; -21 frame count
|
; -21 frame count
|
||||||
|
; -7 timeout
|
||||||
; -34 keypress
|
; -34 keypress
|
||||||
; -1 adjust center mark back
|
; -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=11 Y=8 cycles=489 R2
|
||||||
|
; Try X=31 Y=3 cycles=484
|
||||||
|
|
||||||
; Try X=8 Y=5 cycles=231
|
ldy #3 ; 2
|
||||||
|
sbloop1:ldx #31 ; 2
|
||||||
nop
|
|
||||||
|
|
||||||
ldy #8 ; 2
|
|
||||||
sbloop1:ldx #11 ; 2
|
|
||||||
sbloop2:dex ; 2
|
sbloop2:dex ; 2
|
||||||
bne sbloop2 ; 2nt/3
|
bne sbloop2 ; 2nt/3
|
||||||
dey ; 2
|
dey ; 2
|
||||||
|
Loading…
Reference in New Issue
Block a user