mode7: continue re-arranging memory map

This commit is contained in:
Vince Weaver 2018-03-13 10:44:18 -04:00
parent 004cf1f7fc
commit a15ab2a7af
4 changed files with 10 additions and 6 deletions

View File

@ -1,10 +1,10 @@
MEMORY {
ZP: start = $00, size = $1A, type = rw;
RAM: start = $4000, size = $5800, file = %O;
RAM: start = $4000, size = $8000, file = %O;
}
SEGMENTS {
CODE: load = RAM, type = ro;
CODE: load = RAM, type = ro, align = $100;
RODATA: load = RAM, type = ro;
DATA: load = RAM, type = rw;
BSS: load = RAM, type = bss, define = yes;

View File

@ -10,15 +10,15 @@ $(DOS33):
cd ../dos33fs-utils && make
mode7_demo.dsk: $(DOS33) MODE7_DEMO MODE7_DEMO_C
$(DOS33) -y mode7_demo.dsk BSAVE -a 0x2000 MODE7_DEMO
$(DOS33) -y mode7_demo.dsk BSAVE -a 0x1000 MODE7_DEMO_C
$(DOS33) -y mode7_demo.dsk BSAVE -a 0x4000 MODE7_DEMO
$(DOS33) -y mode7_demo.dsk BSAVE -a 0x2000 MODE7_DEMO_C
###
MODE7_DEMO_C: mode7_decompress.o
ld65 -o MODE7_DEMO_C mode7_decompress.o -C ../linker_scripts/apple2_1000.inc
ld65 -o MODE7_DEMO_C mode7_decompress.o -C ../linker_scripts/apple2_2000.inc
mode7_decompress.o: mode7_decompress.s MODE7_DEMO.lz4 \
../asm_routines/lz4_decode.s \
@ -32,7 +32,7 @@ MODE7_DEMO.lz4: MODE7_DEMO
###
MODE7_DEMO: mode7_demo.o
ld65 -o MODE7_DEMO mode7_demo.o -C ../linker_scripts/apple2_2000.inc
ld65 -o MODE7_DEMO mode7_demo.o -C ../linker_scripts/apple2_4000.inc
mode7_demo.o: mode7_demo.s mode7_demo_backgrounds.inc sprites.inc \
a2.scrolltext deater.scrolltext \

View File

@ -260,3 +260,7 @@ title_routine:
.include "starfield_demo.s"
.include "rasterbars.s"
.include "credits.s"
.align 256
.incbin "out.krg"

BIN
mode7_demo/out.krg Normal file

Binary file not shown.