mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-08-05 02:25:03 +00:00
centralize linker scripts
This commit is contained in:
@@ -13,7 +13,7 @@ mock.dsk: KSP_THEME_UNCOMPRESSED KSP_THEME_COMPRESSED \
|
||||
$(DOS33) -y mock_test.dsk BSAVE -a 0x1000 INTERRUPT_TEST
|
||||
|
||||
KSP_THEME_COMPRESSED: ksp_theme_compressed.o
|
||||
ld65 -o KSP_THEME_COMPRESSED ksp_theme_compressed.o -C ./apple2_1000.inc
|
||||
ld65 -o KSP_THEME_COMPRESSED ksp_theme_compressed.o -C ../linker_scripts/apple2_1000.inc
|
||||
|
||||
ksp_theme_compressed.o: ksp_theme_compressed.s \
|
||||
../asm_routines/mockingboard.s \
|
||||
@@ -21,7 +21,7 @@ ksp_theme_compressed.o: ksp_theme_compressed.s \
|
||||
ca65 -o ksp_theme_compressed.o ksp_theme_compressed.s -l ksp_theme_compressed.lst
|
||||
|
||||
KSP_THEME_INTERRUPT: ksp_theme_interrupt.o
|
||||
ld65 -o KSP_THEME_INTERRUPT ksp_theme_interrupt.o -C ./apple2_c00.inc
|
||||
ld65 -o KSP_THEME_INTERRUPT ksp_theme_interrupt.o -C ../linker_scripts/apple2_c00.inc
|
||||
|
||||
ksp_theme_interrupt.o: ksp_theme_interrupt.s \
|
||||
../asm_routines/mockingboard.s \
|
||||
@@ -30,7 +30,7 @@ ksp_theme_interrupt.o: ksp_theme_interrupt.s \
|
||||
|
||||
|
||||
KSP_THEME_UNCOMPRESSED: ksp_theme_uncompressed.o
|
||||
ld65 -o KSP_THEME_UNCOMPRESSED ksp_theme_uncompressed.o -C ./apple2_1000.inc
|
||||
ld65 -o KSP_THEME_UNCOMPRESSED ksp_theme_uncompressed.o -C ../linker_scripts/apple2_1000.inc
|
||||
|
||||
ksp_theme_uncompressed.o: ksp_theme_uncompressed.s \
|
||||
../asm_routines/mockingboard.s
|
||||
@@ -38,7 +38,7 @@ ksp_theme_uncompressed.o: ksp_theme_uncompressed.s \
|
||||
|
||||
|
||||
INTERRUPT_TEST: interrupt_test.o
|
||||
ld65 -o INTERRUPT_TEST interrupt_test.o -C ./apple2_1000.inc
|
||||
ld65 -o INTERRUPT_TEST interrupt_test.o -C ../linker_scripts/apple2_1000.inc
|
||||
|
||||
interrupt_test.o: interrupt_test.s \
|
||||
../asm_routines/mockingboard.s
|
||||
|
@@ -1,12 +0,0 @@
|
||||
MEMORY {
|
||||
ZP: start = $00, size = $1A, type = rw;
|
||||
RAM: start = $1000, size = $8E00, file = %O;
|
||||
}
|
||||
|
||||
SEGMENTS {
|
||||
CODE: load = RAM, type = ro;
|
||||
RODATA: load = RAM, type = ro;
|
||||
DATA: load = RAM, type = rw;
|
||||
BSS: load = RAM, type = bss, define = yes;
|
||||
ZEROPAGE: load = ZP, type = zp;
|
||||
}
|
Reference in New Issue
Block a user