mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-24 13:32:23 +00:00
mode7: update scroll demo
still not smooth
This commit is contained in:
parent
a65c7b9d8f
commit
8657ed35d4
@ -13,12 +13,12 @@
|
||||
;===============
|
||||
lda #0
|
||||
sta DISP_PAGE
|
||||
sta TEMP
|
||||
sta ANGLE
|
||||
|
||||
scroll_loop:
|
||||
|
||||
ldx #0
|
||||
ldy TEMP
|
||||
ldy ANGLE
|
||||
|
||||
lda DISP_PAGE
|
||||
beq draw_page2
|
||||
@ -81,16 +81,16 @@ sm4:
|
||||
; loop forever
|
||||
;==================
|
||||
clc
|
||||
lda TEMP
|
||||
lda ANGLE
|
||||
adc #40
|
||||
cmp scroll_length
|
||||
bne blah
|
||||
lda #0
|
||||
sta TEMP
|
||||
sta ANGLE
|
||||
jmp scroll_loop
|
||||
|
||||
blah:
|
||||
inc TEMP
|
||||
inc ANGLE
|
||||
jmp scroll_loop ; 3
|
||||
|
||||
;===============================================
|
||||
|
@ -24,6 +24,7 @@ flying_start:
|
||||
jsr clear_screens
|
||||
jsr set_gr_page0
|
||||
|
||||
; Initialize the 2kB of multiply lookup tables
|
||||
jsr init_multiply_tables
|
||||
|
||||
;===============
|
||||
@ -44,13 +45,13 @@ flying_start:
|
||||
sta SPEED
|
||||
sta SPLASH_COUNT
|
||||
|
||||
lda #1
|
||||
lda #1 ; slightly off North for better view of island
|
||||
sta ANGLE
|
||||
|
||||
lda #2 ; initialize sky both pages
|
||||
sta DRAW_SKY
|
||||
|
||||
lda #4 ; starts out at 4.5
|
||||
lda #4 ; starts out at 4.5 altitude
|
||||
sta SPACEZ_I
|
||||
lda #$80
|
||||
sta SPACEZ_F
|
||||
|
Loading…
Reference in New Issue
Block a user