Ignore more files

This commit is contained in:
Jeff Parsons 2016-01-14 13:19:21 -08:00
commit 46195474a6
3 changed files with 17 additions and 12 deletions

2
.gitignore vendored
View file

@ -1,6 +1,8 @@
*.IMG *.IMG
*.dsk *.dsk
*.img *.img
*.log
*.dump
*.heapsnapshot *.heapsnapshot
.DS_Store .DS_Store
.buildpath .buildpath

View file

@ -6,7 +6,7 @@ description: >
PCjs: The Original IBM PC in a Browser. PCjs: The Original IBM PC in a Browser.
Classic computer simulations in JavaScript. Classic computer simulations in JavaScript.
Includes an archive of historical PC software and publications. Includes an archive of historical PC software and publications.
Additional computer simulations in JavaScript include the 6502-based Ohio Scientifc Challenger 1P. Additional computer simulations in JavaScript include the 6502-based Ohio Scientific Challenger 1P.
baseurl: "" # "/pcjs" when using http://jeffpar.github.io or "" when using http://www.pcjs.org baseurl: "" # "/pcjs" when using http://jeffpar.github.io or "" when using http://www.pcjs.org
url: "http://www.pcjs.org" # "http://jeffpar.github.io" or "http://www.pcjs.org" url: "http://www.pcjs.org" # "http://jeffpar.github.io" or "http://www.pcjs.org"
twitter_username: jeffpar twitter_username: jeffpar
@ -14,7 +14,7 @@ github_username: jeffpar
# Build settings # Build settings
exclude: ["index.html", "logs", "node_modules", "**/c64", "**/private", "**/src", "**/static", "tmp", "videos", "web"] exclude: ["index.html", "logs", "node_modules", "**/c64", "src", "**/src", "**/static", "tmp", "videos", "web"]
markdown: kramdown markdown: kramdown
kramdown: kramdown:
input: GFM input: GFM

View file

@ -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 FILEDUMP=node ../../../../../../modules/filedump/bin/filedump
TEXTOUT=node ../../../../../../modules/textout/bin/textout 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 tmp:
$(FILEDUMP) --file=1988-01-28.json --output=1988-01-28.rom --format=rom mkdir tmp
1988-01-28-test.nasm: 1988-01-28.rom tmp/1988-01-28.rom: 1988-01-28.json
ndisasm -o0x8000 -se105h -se05ah -se6ffh -sf025h -sf8aah 1988-01-28.rom > 1988-01-28-test.nasm $(FILEDUMP) --file=1988-01-28.json --output=tmp/1988-01-28.rom --format=rom
$(TEXTOUT) --file=1988-01-28-test.nasm --nasm > temp.nasm
mv temp.nasm 1988-01-28-test.nasm
1988-01-28-test.rom: 1988-01-28-test.nasm tmp/1988-01-28-regen.nasm: tmp/1988-01-28.rom
nasm -f bin 1988-01-28-test.nasm -l 1988-01-28-test.lst -o 1988-01-28-test.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