megademo: split off gr_offsets

This commit is contained in:
Vince Weaver 2018-09-17 13:26:45 -04:00
parent 1a40b7de36
commit f95b5e697e
4 changed files with 6 additions and 6 deletions

View File

@ -21,6 +21,7 @@ MEGADEMO: megademo.o
megademo.o: megademo.s \ megademo.o: megademo.s \
zp.inc hardware.inc \ zp.inc hardware.inc \
gr_offsets.s \
c64_opener.s c64.img.lz4 \ c64_opener.s c64.img.lz4 \
falling_apple.s apple_40_96.inc falling_apple.s apple_40_96.inc
ca65 -o megademo.o megademo.s -l megademo.lst ca65 -o megademo.o megademo.s -l megademo.lst

View File

@ -273,11 +273,6 @@ clear_page_loop:
bpl clear_page_loop bpl clear_page_loop
rts rts
gr_offsets:
.word $400,$480,$500,$580,$600,$680,$700,$780
.word $428,$4a8,$528,$5a8,$628,$6a8,$728,$7a8
.word $450,$4d0,$550,$5d0,$650,$6d0,$750,$7d0
.include "../asm_routines/gr_unrle.s" .include "../asm_routines/gr_unrle.s"
.include "gr_copy.s" .include "gr_copy.s"

4
megademo/gr_offsets.s Normal file
View File

@ -0,0 +1,4 @@
gr_offsets:
.word $400,$480,$500,$580,$600,$680,$700,$780
.word $428,$4a8,$528,$5a8,$628,$6a8,$728,$7a8
.word $450,$4d0,$550,$5d0,$650,$6d0,$750,$7d0

View File

@ -35,4 +35,4 @@ loop_forever:
.include "lz4_decode.s" .include "lz4_decode.s"
.include "c64_opener.s" .include "c64_opener.s"
.include "falling_apple.s" .include "falling_apple.s"
.include "gr_offsets.s"