# # Steps to produce a binary ROM from a JSON-encoded ROM, and then disassemble and re-assemble it. # all: 1989-04-14-test.rom 1989-04-14.rom: 1989-04-14.json node ../../../../../../modules/filedump/bin/filedump --file=1989-04-14.json --output=1989-04-14.rom --format=rom 1989-04-14-test.nasm: 1989-04-14.rom ndisasm -o0x8000 1989-04-14.rom > 1989-04-14-test.nasm node ../../../../../../modules/textout/bin/textout --file=1989-04-14-test.nasm --nasm > temp.nasm mv temp.nasm 1989-04-14-test.nasm 1989-04-14-test.rom: 1989-04-14-test.nasm nasm -f bin 1989-04-14-test.nasm -l 1989-04-14-test.lst -o 1989-04-14-test.rom