Skip to content

Commit

Permalink
Merge pull request #86 from ivop/master
Browse files Browse the repository at this point in the history
atari port: fix truncated ATR files, fix typo in intermediate filenames.
  • Loading branch information
davidgiven authored Dec 18, 2023
2 parents ed3483d + 6d23622 commit 3be4489
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/arch/atari800/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
name="atari800_rawdiskimage",
format="atari90",
bootimage=".+atari800_bios",
size=128*720,
items={
"0:ccp.sys@sr": "src+ccp",
"0:bdos.sys@sr": "src+bdos",
Expand All @@ -37,7 +38,7 @@
normalrule(
name="atari800_diskimage",
ins=[".+atari800_rawdiskimage"],
outs=["atari80.atr"],
outs=["atari800.atr"],
commands=[
r"/usr/bin/printf '\x96\x02\x80\x16\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' > {outs[0]}",
"cat {ins[0]} >> {outs[0]}",
Expand All @@ -57,6 +58,7 @@
name="atari800hd_rawdiskimage",
format="atarihd",
bootimage=".+atari800hd_bios",
size=128*8190,
items={
"0:ccp.sys@sr": "src+ccp",
"0:bdos.sys@sr": "src+bdos",
Expand All @@ -83,7 +85,7 @@
normalrule(
name="atari800hd_diskimage",
ins=[".+atari800hd_rawdiskimage"],
outs=["atari80hd.atr"],
outs=["atari800hd.atr"],
commands=[
r"/usr/bin/printf '\x96\x02\xf0\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' > {outs[0]}",
"cat {ins[0]} >> {outs[0]}",
Expand All @@ -103,6 +105,7 @@
name="atari800xlhd_rawdiskimage",
format="atarihd",
bootimage=".+atari800xlhd_bios",
size=128*8190,
items={
"0:ccp.sys@sr": "src+ccp",
"0:bdos.sys@sr": "src+bdos",
Expand All @@ -129,7 +132,7 @@
normalrule(
name="atari800xlhd_diskimage",
ins=[".+atari800xlhd_rawdiskimage"],
outs=["atari80xlhd.atr"],
outs=["atari800xlhd.atr"],
commands=[
r"/usr/bin/printf '\x96\x02\xf0\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' > {outs[0]}",
"cat {ins[0]} >> {outs[0]}",
Expand Down

0 comments on commit 3be4489

Please sign in to comment.