Ignore more files
This commit is contained in:
parent
581aebe92a
commit
46195474a6
3 changed files with 17 additions and 12 deletions
|
|
@ -1,19 +1,22 @@
|
|||
#
|
||||
# Steps to produce a binary ROM from a JSON-encoded ROM, and then disassemble and re-assemble it.
|
||||
# Steps to regenerate a ROM by disassembling and re-assembling the JSON-encoded ROM.
|
||||
#
|
||||
|
||||
FILEDUMP=node ../../../../../../modules/filedump/bin/filedump
|
||||
TEXTOUT=node ../../../../../../modules/textout/bin/textout
|
||||
|
||||
all: 1988-01-28-test.rom
|
||||
all: tmp tmp/1988-01-28-regen.rom
|
||||
|
||||
1988-01-28.rom: 1988-01-28.json
|
||||
$(FILEDUMP) --file=1988-01-28.json --output=1988-01-28.rom --format=rom
|
||||
tmp:
|
||||
mkdir tmp
|
||||
|
||||
1988-01-28-test.nasm: 1988-01-28.rom
|
||||
ndisasm -o0x8000 -se105h -se05ah -se6ffh -sf025h -sf8aah 1988-01-28.rom > 1988-01-28-test.nasm
|
||||
$(TEXTOUT) --file=1988-01-28-test.nasm --nasm > temp.nasm
|
||||
mv temp.nasm 1988-01-28-test.nasm
|
||||
tmp/1988-01-28.rom: 1988-01-28.json
|
||||
$(FILEDUMP) --file=1988-01-28.json --output=tmp/1988-01-28.rom --format=rom
|
||||
|
||||
1988-01-28-test.rom: 1988-01-28-test.nasm
|
||||
nasm -f bin 1988-01-28-test.nasm -l 1988-01-28-test.lst -o 1988-01-28-test.rom
|
||||
tmp/1988-01-28-regen.nasm: tmp/1988-01-28.rom
|
||||
ndisasm -o0x8000 -se105h -se05ah -se6ffh -sf025h -sf8aah tmp/1988-01-28.rom > tmp/1988-01-28-regen.nasm
|
||||
$(TEXTOUT) --file=tmp/1988-01-28-regen.nasm --nasm > tmp/t.nasm
|
||||
mv tmp/t.nasm tmp/1988-01-28-regen.nasm
|
||||
|
||||
tmp/1988-01-28-regen.rom: tmp/1988-01-28-regen.nasm
|
||||
nasm -f bin tmp/1988-01-28-regen.nasm -l tmp/1988-01-28-regen.lst -o tmp/1988-01-28-regen.rom
|
||||
|
|
|
|||
Loading…
Reference in a new issue