-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libticalcs: switch all TI-Z80 DBUS ROM dumpers from spasm to pasmo, w…
…hich has been packaged by Debian for a long time, so that more ROM dumpers can be integrated in Debian packages. I tried to use other Z80 cross-assemblers packaged by Debian, but: * z80asm, SDCC's sdasz80 and crasm do not support defining stuff through the CLI, which would require annoying workarounds; * binutils-z80's z80-unknown-coff-as doesn't handle .org the same way as other assemblers, and the multiple section + ldscript workaround does not work either, because as forbids + or - between symbols from different sections (even if they're both ".text.X" sections)... No cross-assembler packaged by Debian supports eZ80 instructions, so the TI-eZ80 ROM dumper shall remain built by spasm. Signed-off-by: Lionel Debroux <[email protected]>
- Loading branch information
Showing
19 changed files
with
1,062 additions
and
851 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
EXTRA_DIST = romdump.z80 | ||
CLEANFILES = *.bin *.lst *.8xp | ||
|
||
SPASMFLAGS = -N -T | ||
PASMOFLAGS = | ||
|
||
rom_dumpers = dump84p.8xp dump84pcu.8xp | ||
if BUILD_Z80_ROM_DUMPERS | ||
all: dump84p.8xp dump84pcu.8xp | ||
all: $(rom_dumpers) | ||
endif | ||
|
||
dump84p.bin: romdump.z80 | ||
$(SPASM) $(SPASMFLAGS) -A -DTI84P $(srcdir)/romdump.z80 dump84p.bin | ||
$(PASMO) $(PASMOFLAGS) -E TI84P $(srcdir)/romdump.z80 dump84p.bin | ||
|
||
dump84pcu.bin: romdump.z80 | ||
$(PASMO) $(PASMOFLAGS) -E TI84PC $(srcdir)/romdump.z80 dump84pcu.bin | ||
|
||
dump84p.8xp: dump84p.bin | ||
$(TIPACK) -n 'ROMDUMP' dump84p.bin -p -o dump84p.8xp | ||
|
||
dump84pcu.bin: romdump.z80 | ||
$(SPASM) $(SPASMFLAGS) -A -DTI84PC $(srcdir)/romdump.z80 dump84pcu.bin | ||
dump84pcu.8xp: dump84pcu.bin | ||
$(TIPACK) -n 'ROMDUMP' dump84pcu.bin -p -o dump84pcu.8xp |
Oops, something went wrong.