Skip to content

Commit

Permalink
Pad ROM to nearest 512 KB to fix a bug with BlastEm's bank mapper
Browse files Browse the repository at this point in the history
The BlastEm SSF mapper had an issue with the odd sized ROM generated. Advised to pad it to the nearest 512 KB until a fix is implemented in the emulator.
  • Loading branch information
rhargreaves committed Sep 8, 2024
1 parent b9548fc commit 2f95b08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ release: pre-build out/rom.bin out/symbol.txt
clean: cleanobj cleanres cleanlst cleandep
$(RM) -f out.lst out/cmd_ out/symbol.txt out/rom.nm out/rom.wch out/rom.bin out/rom.s

out/rom.bin: out/rom.out
$(OBJCPY) -O binary out/rom.out out/rom.bin
$(SIZEBND) out/rom.bin -sizealign 524288 -checksum

out/rom.s: out/rom.out
m68k-elf-objdump -D -S $^ > $@

Expand Down

0 comments on commit 2f95b08

Please sign in to comment.