dos33fsprogs/tfv/tfv_title.s
Vince Weaver 8139c2520c tfv: update to match more modern vmw games
mostly using lzsa compression
2020-09-27 22:03:01 -04:00

40 lines
548 B
ArmAsm

; Title Screen
title_screen:
;===========================
; Clear both bottoms
jsr clear_bottoms
;=============================
; Load title
lda #<(title_lzsa)
sta getsrc_smc+1
lda #>(title_lzsa)
sta getsrc_smc+2
lda #$0c
jsr decompress_lzsa2_fast
;=================================
; copy to both pages
jsr gr_copy_to_current
jsr page_flip
jsr gr_copy_to_current
lda #20
sta YPOS
lda #20
sta XPOS
;=================================
; wait for keypress
jsr wait_until_keypressed
rts