mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-14 13:33:48 +00:00
ootw: loader: move around to free up some room
This commit is contained in:
parent
ffd36a8dd4
commit
cf0a992d25
12
linker_scripts/apple2_1400.inc
Normal file
12
linker_scripts/apple2_1400.inc
Normal file
@ -0,0 +1,12 @@
|
||||
MEMORY {
|
||||
ZP: start = $00, size = $1A, type = rw;
|
||||
RAM: start = $1400, size = $7E00, file = %O;
|
||||
}
|
||||
|
||||
SEGMENTS {
|
||||
CODE: load = RAM, type = ro, align=$100;
|
||||
RODATA: load = RAM, type = ro;
|
||||
DATA: load = RAM, type = rw;
|
||||
BSS: load = RAM, type = bss, define = yes;
|
||||
ZEROPAGE: load = ZP, type = zp;
|
||||
}
|
@ -9,7 +9,7 @@ all: ootw.dsk
|
||||
|
||||
ootw.dsk: HELLO LOADER INTRO OOTW OOTW_C2 COMPRESS-TEST
|
||||
$(DOS33) -y ootw.dsk SAVE A HELLO
|
||||
$(DOS33) -y ootw.dsk BSAVE -a 0x1800 LOADER
|
||||
$(DOS33) -y ootw.dsk BSAVE -a 0x1400 LOADER
|
||||
$(DOS33) -y ootw.dsk BSAVE -a 0x2000 INTRO
|
||||
$(DOS33) -y ootw.dsk BSAVE -a 0x2000 OOTW
|
||||
$(DOS33) -y ootw.dsk BSAVE -a 0x2000 OOTW_C2
|
||||
@ -89,7 +89,7 @@ intro.o: intro.s \
|
||||
####
|
||||
|
||||
LOADER: loader.o
|
||||
ld65 -o LOADER loader.o -C ../linker_scripts/apple2_1800.inc
|
||||
ld65 -o LOADER loader.o -C ../linker_scripts/apple2_1400.inc
|
||||
|
||||
loader.o: loader.s
|
||||
ca65 -o loader.o loader.s -l loader.lst
|
||||
|
@ -25,12 +25,9 @@ Memory map:
|
||||
02-03
|
||||
04-07 GR page0
|
||||
08-0b GR page1
|
||||
0c-0f offscreen data
|
||||
0c-0f offscreen data ($c00 = disk load buffer)
|
||||
10-13 offscreen data2
|
||||
14-17 *****************free???
|
||||
18-1c loader
|
||||
1d loader buffer
|
||||
1e-1f *****************free???
|
||||
20-bf program/data (40k)
|
||||
14-17 loader
|
||||
18-bf program/data (42k)
|
||||
c0-cf I/O
|
||||
d0-ff ROM
|
||||
|
@ -27,8 +27,8 @@
|
||||
tmptrk = $fe ; temporary copy of current track
|
||||
phase = $ff ; current phase for /seek
|
||||
|
||||
dirbuf = $1d00
|
||||
;$1e00 ; note, don't put this immediately below
|
||||
dirbuf = $c00
|
||||
; note, don't put this immediately below
|
||||
; the value being read as destaddr-4
|
||||
; is temporarily overwritten during read
|
||||
; process
|
||||
|
Loading…
x
Reference in New Issue
Block a user