Add Slow ROM-QD

This commit is contained in:
Zorchenhimer 2025-12-27 17:45:28 -05:00
parent a1f3905771
commit 3753b2efbb
Signed by: Zorchenhimer
GPG Key ID: 70A1AB767AAB9C20
3 changed files with 39 additions and 16 deletions

View File

@ -2,7 +2,7 @@
export PATH := $(PATH):/home/nick/code/nes/go-fds/bin
LBL=../../go-dasm-labels/bin/dasm2lbl
LBL=../../go-dasm-labels/bin/dasm2mlb
DA=../../cc65/bin/da65
all: dasm/ bins/ labels/ \
@ -11,22 +11,27 @@ all: dasm/ bins/ labels/ \
dasm/dk3_file4-post-copy.asm \
dasm/sf_rom-qd_file1_precopy.asm \
dasm/sf_rom-qd_file1_postcopy.asm \
dasm/sf_slow_rom-qd_file1_precopy.asm \
dasm/sf_slow_rom-qd_file1_postcopy.asm \
dasm/sf_slow_rom_file1_precopy.asm \
dasm/sf_slow_rom_file1_postcopy.asm \
dasm/sf_slow_qd_file1_precopy.asm \
dasm/sf_slow_qd_file1_postcopy.asm \
labels/sf_slow_rom_file1_postcopy.mlb \
labels/sf_slow_qd_file1_postcopy.mlb \
labels/sf_slow_rom-qd_file1_postcopy.mlb \
labels/sf_rom-qd_file1_postcopy.mlb
dasm/dk3_file4.asm: bins/dk3_file4.bin
dasm/dk3_file4-post-copy.asm: bins/dk3_file4.bin
dasm/sf_rom-qd_file1_precopy.asm: bins/sf_rom-qd_file1.bin
dasm/sf_rom-qd_file1_postcopy.asm: bins/sf_rom-qd_file1.bin
dasm/sf_slow_rom_file1_precopy.asm: bins/sf_slow_rom_file1.bin
dasm/sf_slow_rom_file1_postcopy.asm: bins/sf_slow_rom_file1.bin
dasm/sf_slow_qd_file1_precopy.asm: bins/sf_slow_qd_file1.bin
dasm/sf_slow_qd_file1_postcopy.asm: bins/sf_slow_qd_file1.bin
dasm/dk3_file4.asm: bins/dk3_file4.bin
dasm/dk3_file4-post-copy.asm: bins/dk3_file4.bin
dasm/sf_rom-qd_file1_precopy.asm: bins/sf_rom-qd_file1.bin
dasm/sf_rom-qd_file1_postcopy.asm: bins/sf_rom-qd_file1.bin
dasm/sf_slow_rom-qd_file1_precopy.asm: bins/sf_slow_rom-qd_file1.bin
dasm/sf_slow_rom-qd_file1_postcopy.asm: bins/sf_slow_rom-qd_file1.bin
dasm/sf_slow_rom_file1_precopy.asm: bins/sf_slow_rom_file1.bin
dasm/sf_slow_rom_file1_postcopy.asm: bins/sf_slow_rom_file1.bin
dasm/sf_slow_qd_file1_precopy.asm: bins/sf_slow_qd_file1.bin
dasm/sf_slow_qd_file1_postcopy.asm: bins/sf_slow_qd_file1.bin
clean:
-rm dasm/* bins/* labels/*
@ -46,11 +51,5 @@ labels/%.mlb: %.cfg.tmp
bins/dk3_file4.bin: roms/sf_dk3.fds
fdsextract --side 0 --file-num 4 --output $@ $^
bins/sf_rom-qd_file1.bin: roms/sf_rom-qd.fds
fdsextract --side 0 --file-num 1 --output $@ $^
bins/sf_slow_rom_file1.bin: roms/sf_slow_rom.fds
fdsextract --side 0 --file-num 1 --output $@ $^
bins/sf_slow_qd_file1.bin: roms/sf_slow_qd.fds
bins/%_file1.bin: roms/%.fds
fdsextract --side 0 --file-num 1 --output $@ $^

View File

@ -0,0 +1,7 @@
global {
cpu "6502";
inputname "bins/sf_slow_rom-qd_file1.bin";
startaddr $5100;
commentcolumn 50;
comments 3;
};

View File

@ -0,0 +1,17 @@
global {
cpu "6502";
inputname "bins/sf_slow_rom-qd_file1.bin";
startaddr $D800;
commentcolumn 50;
comments 3;
};
label { addr $DFF0; name "IRQ"; };
label { addr $DFC0; name "Entry"; };
label { addr $DB00; name "Start"; };
range { start $DB00; end $DB6D; type code; };
range { start $DFE3; end $DFEF; type bytetable; };
range { start $DD7E; end $DFBF; type bytetable; };
range { start $DFF1; end $DFF5; type bytetable; };