mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 02:31:00 +00:00
hgr: vgi: forgot to update for vgi_make_tables
This commit is contained in:
parent
f6bda77869
commit
da6edf2a36
45
graphics/hgr/vgi/color_test.s
Normal file
45
graphics/hgr/vgi/color_test.s
Normal file
@ -0,0 +1,45 @@
|
||||
; Color test
|
||||
|
||||
.include "zp.inc"
|
||||
.include "hardware.inc"
|
||||
|
||||
|
||||
vgi_color_test:
|
||||
jsr SETGR
|
||||
jsr HGR
|
||||
bit FULLGR
|
||||
|
||||
jsr vgi_make_tables
|
||||
|
||||
; get pointer to image data
|
||||
|
||||
lda #<color_test_data
|
||||
sta VGIL
|
||||
lda #>color_test_data
|
||||
sta VGIH
|
||||
|
||||
jsr play_vgi
|
||||
|
||||
jsr wait_until_keypress
|
||||
|
||||
done:
|
||||
jmp done
|
||||
|
||||
.include "vgi_common.s"
|
||||
|
||||
.include "color_test.data"
|
||||
|
||||
|
||||
;============================
|
||||
; WAIT UNTIL KEYPRESS
|
||||
;============================
|
||||
|
||||
wait_until_keypress:
|
||||
|
||||
lda KEYPRESS
|
||||
bpl wait_until_keypress
|
||||
|
||||
bit KEYRESET
|
||||
|
||||
rts
|
||||
|
@ -88,7 +88,7 @@ setup_interrupt:
|
||||
jsr HOME
|
||||
; bit FULLGR
|
||||
|
||||
jsr make_tables
|
||||
jsr vgi_make_tables
|
||||
|
||||
|
||||
;============================
|
||||
|
@ -9,7 +9,7 @@ vgi_myst:
|
||||
jsr HGR
|
||||
bit FULLGR
|
||||
|
||||
jsr make_tables
|
||||
jsr vgi_make_tables
|
||||
|
||||
; get pointer to image data
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user