mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-10-31 10:13:35 +00:00
b1238af49d
this will probably upset people
41 lines
467 B
ArmAsm
41 lines
467 B
ArmAsm
|
|
.include "zp.inc"
|
|
.include "hardware.inc"
|
|
|
|
lda #0
|
|
sta DRAW_PAGE
|
|
|
|
bit SET_GR
|
|
bit PAGE0
|
|
|
|
bit KEYRESET
|
|
pause_loop:
|
|
lda KEYPRESS
|
|
bpl pause_loop
|
|
|
|
lda #<graphic_start
|
|
sta LZSA_SRC_LO
|
|
lda #>graphic_start
|
|
sta LZSA_SRC_HI
|
|
|
|
before:
|
|
lda #$c
|
|
jsr decompress_lzsa2
|
|
after:
|
|
|
|
jsr gr_copy_to_current
|
|
|
|
|
|
blah:
|
|
jmp blah
|
|
|
|
|
|
.include "decompress_small_v2.s"
|
|
.include "gr_copy.s"
|
|
.include "gr_offsets.s"
|
|
|
|
graphic_start:
|
|
|
|
.incbin "spaceship_far_n.gr.small_v2"
|
|
graphic_end:
|