mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-08-15 08:27:41 +00:00
sb: properly page flip
This commit is contained in:
@@ -40,9 +40,13 @@ duck_pond:
|
||||
bit SET_GR
|
||||
bit PAGE1
|
||||
|
||||
lda #$0
|
||||
lda #$4
|
||||
sta DRAW_PAGE
|
||||
|
||||
lda #$0
|
||||
sta FRAME
|
||||
sta FRAMEH
|
||||
sta DISP_PAGE
|
||||
|
||||
;===================
|
||||
; TITLE SCREEN
|
||||
@@ -63,6 +67,8 @@ title_screen:
|
||||
|
||||
bit TEXTGR
|
||||
|
||||
jsr page_flip
|
||||
|
||||
wait_until_keypress:
|
||||
lda KEYPRESS ; 4
|
||||
bpl wait_until_keypress ; 3
|
||||
@@ -180,6 +186,12 @@ check_bracket:
|
||||
|
||||
done_keyboard:
|
||||
|
||||
; increment frame
|
||||
|
||||
inc FRAME
|
||||
bne frame_noflo
|
||||
inc FRAMEH
|
||||
frame_noflo:
|
||||
|
||||
|
||||
done_loop:
|
||||
|
Reference in New Issue
Block a user