ds: move loader down to free up a tiny bit of memory

This commit is contained in:
Vince Weaver 2019-11-05 21:20:33 -05:00
parent db7c2a7e84
commit aefc294036
2 changed files with 6 additions and 6 deletions

View File

@ -12,8 +12,8 @@ all: demosplash.dsk
demosplash.dsk: HELLO LOADER DEMOSPLASH demosplash.dsk: HELLO LOADER DEMOSPLASH
cp empty.dsk demosplash.dsk cp empty.dsk demosplash.dsk
$(DOS33) -y demosplash.dsk SAVE A HELLO $(DOS33) -y demosplash.dsk SAVE A HELLO
$(DOS33) -y demosplash.dsk BSAVE -a 0x1400 LOADER $(DOS33) -y demosplash.dsk BSAVE -a 0x1000 LOADER
$(DOS33) -y demosplash.dsk BSAVE -a 0x1700 DEMOSPLASH $(DOS33) -y demosplash.dsk BSAVE -a 0x1400 DEMOSPLASH
# $(DOS33) -y demosplash.dsk BSAVE -a 0x1700 MUSICTEST # $(DOS33) -y demosplash.dsk BSAVE -a 0x1700 MUSICTEST
#### ####
@ -45,7 +45,7 @@ HELLO: hello.bas
##### #####
DEMOSPLASH: demosplash.o DEMOSPLASH: demosplash.o
ld65 -o DEMOSPLASH demosplash.o -C ../linker_scripts/apple2_1700.inc ld65 -o DEMOSPLASH demosplash.o -C ../linker_scripts/apple2_1400.inc
demosplash.o: demosplash.s \ demosplash.o: demosplash.s \
zp.inc hardware.inc \ zp.inc hardware.inc \
@ -54,7 +54,7 @@ demosplash.o: demosplash.s \
pt3_lib_play_frame.s pt3_lib_write_frame.s \ pt3_lib_play_frame.s pt3_lib_write_frame.s \
interrupt_handler.s \ interrupt_handler.s \
missing.s k_40_48d.inc create_update_type1.s \ missing.s k_40_48d.inc create_update_type1.s \
open_book.s \ open_book.s graphics/book_open/book_open.inc \
starbase.s keyboard.s \ starbase.s keyboard.s \
starbase_action.s starbase_laser.s starbase_blast.s \ starbase_action.s starbase_laser.s starbase_blast.s \
gr_run_sequence.s \ gr_run_sequence.s \
@ -72,7 +72,7 @@ demosplash.o: demosplash.s \
##### #####
LOADER: loader.o LOADER: loader.o
ld65 -o LOADER loader.o -C ../linker_scripts/apple2_1400.inc ld65 -o LOADER loader.o -C ../linker_scripts/apple2_1000.inc
loader.o: loader.s loader.o: loader.s
ca65 -o loader.o loader.s -l loader.lst ca65 -o loader.o loader.s -l loader.lst

View File

@ -78,7 +78,7 @@ copy_filename_loop:
copy_filename_done: copy_filename_done:
jsr opendir ; open and read entire file into memory jsr opendir ; open and read entire file into memory
jsr $1700 ; jump to common entry point jsr $1400 ; jump to common entry point
; hope they updated the WHICH_LOAD value ; hope they updated the WHICH_LOAD value