Initial commit

This commit is contained in:
Zorchenhimer 2025-12-18 21:09:22 -05:00
commit 01808f22ef
Signed by: Zorchenhimer
GPG Key ID: 70A1AB767AAB9C20
13 changed files with 134 additions and 0 deletions

8
.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
dasm/
bins/
*.tmp
roms/Souseiki*
roms/souseiki*
roms/disksys.rom

26
Makefile Normal file
View File

@ -0,0 +1,26 @@
.PRECIOUS: bins/*
export PATH := $(PATH):/home/nick/code/nes/go-fds/bin
all: dasm/disksys.asm \
dasm/dk3_file4.asm \
dasm/dk3_file4-post-copy.asm
dasm/dk3_file4.asm: bins/dk3_file4.bin dk3_file4.cfg labels.cfg
dasm/dk3_file4-post-copy.asm: bins/dk3_file4.bin dk3_file4-post-copy.cfg labels.cfg
dasm/disksys.asm: disksys.cfg labels.cfg
clean:
-rm dasm/*
dasm/%.asm: %.cfg.tmp
da65 -i $< -o $@
%.cfg.tmp: %.cfg labels.cfg
cat $^ > $@
bins/dk3_file4.bin: roms/sf_dk3.fds
fdsextract --side 0 --file-num 4 --output $@ $^
#bin/dk3_file4.bin:
# fdsextract --side 0 --file-num 4 --output $@

16
disksys.cfg Normal file
View File

@ -0,0 +1,16 @@
global {
cpu "6502";
inputname "roms/disksys.rom";
startaddr $E000;
commentcolumn 40;
comments 3;
};
range {
name "vectors";
type addrtable;
start $FFFA;
end $FFFF;
};

40
dk3_file4-post-copy.cfg Normal file
View File

@ -0,0 +1,40 @@
global {
cpu "6502";
inputname "roms/dk3_file4.bin";
startaddr $DC00;
commentcolumn 50;
comments 3;
};
label { addr $4C00; name "SF_4C00"; };
label { addr $7C47; name "L7C47"; paramsize 3; };
label { addr $7C5F; name "L7C5F_loop"; };
label { addr $7D83; name "L7D83_loop"; };
label { addr $7DCA; name "SF_disable_fds_io"; };
label { addr $7C6B; name "cv7C6B"; };
label { addr $7C6C; name "cv7C6C"; };
label { addr $7C7F; name "cv7C7F"; };
label { addr $7C80; name "cv7C80"; };
label { addr $7C8C; name "cv7C8C"; };
label { addr $7C8D; name "cv7C8D"; };
label { addr $7CE2; name "cv7CE2"; };
label { addr $7CE5; name "cv7CE5"; };
label { addr $7D2E; name "cv7D2E"; };
label { addr $7D3B; name "cv7D3B"; };
label { addr $7D88; name "cv7D88"; };
label { addr $7D75; name "cv7D75"; };
range { start $7C47; end $7DB1; type code; };
range { start $7DF1; end $7EFE; type bytetable; };
range { start $7F39; end $7FFE; type bytetable; };
range { start $7EFF; end $7F36; type code; name "precopy_copyloop"; } ;
range { start $7DB2; end $7DC8; type bytetable; };

27
dk3_file4.cfg Normal file
View File

@ -0,0 +1,27 @@
global {
cpu "6502";
inputname "bins/dk3_file4.bin";
startaddr $DC00;
commentcolumn 30;
comments 3;
};
range {
name "vectors";
type addrtable;
start $DFF6;
end $DFFF;
};
range { start $DDF1; end $DEFF; type bytetable; };
range { start $DF39; end $DFD8; type bytetable; };
range { start $DFE3; end $DFEF; type bytetable; };
range { start $DF00; end $DF36; type code; };
label { name "entry"; addr $DF00; };
label { name "ram_entry"; addr $DC00; };
label { name "empty_vector"; addr $DFF0; };
label { name "copy_loop_a"; addr $DF05; };
label { name "copy_loop_b"; addr $DF20; };

6
labels.cfg Normal file
View File

@ -0,0 +1,6 @@
label { addr $0100; name "FDS_nmi_flags"; };
label { addr $0101; name "FDS_irq_flags"; };
label { addr $E1B2; name "FDS_wait_for_vblank"; };
label { addr $E7BB; name "FDS_write_vram_data"; paramsize 2; };
label { addr $EAEA; name "FDS_set_scroll_and_nametable"; };

5
notes.txt Normal file
View File

@ -0,0 +1,5 @@
$00
$14 0001_0100 // written before jmp to ROM
$4C 0100_1100 //
$84 1000_0100 // written before copy loop into $E000

1
roms/sf_bb-ram.fds Symbolic link
View File

@ -0,0 +1 @@
Souseiki Fammy - BB RAM プラス (J) (Unl).fds

1
roms/sf_dk3.fds Symbolic link
View File

@ -0,0 +1 @@
souseiki-fammy_donkey-kong-3.fds

1
roms/sf_rom-qd.fds Symbolic link
View File

@ -0,0 +1 @@
Souseiki Fammy - ROM-QD for 256K+64K (J) (Unl).fds

1
roms/sf_slow_qd.fds Symbolic link
View File

@ -0,0 +1 @@
Souseiki Fammy - スロープラス for QD (J) (Unl).fds

1
roms/sf_slow_rom-qd.fds Symbolic link
View File

@ -0,0 +1 @@
Souseiki Fammy - スロープラス for ROM-QD (J) (Unl).fds

1
roms/sf_slow_rom.fds Symbolic link
View File

@ -0,0 +1 @@
Souseiki Fammy - スロープラス for ROM (J) (Unl).fds