Skip to content

Commit

Permalink
apple2e: added a third floppy dedicated to pascal, made every floppy …
Browse files Browse the repository at this point in the history
…bootable
  • Loading branch information
andreasbaumann committed Dec 15, 2024
1 parent 92e38ba commit 5c0a6e6
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
1 change: 1 addition & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"images/oric.dsk": "src/arch/oric+diskimage",
"images/apple2e.po": "src/arch/apple2e+diskimage",
"images/apple2e_b.po": "src/arch/apple2e+diskimage_b",
"images/apple2e_c.po": "src/arch/apple2e+diskimage_c",
"images/atari800.atr": "src/arch/atari800+atari800_diskimage",
"images/atari800b.atr": "src/arch/atari800+atari800b_diskimage",
"images/atari800c.atr": "src/arch/atari800+atari800c_diskimage",
Expand Down
1 change: 1 addition & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@

PASCAL_APPS = {
"0:pint.com": "third_party/pascal-m+pint",
"0:pasc.txt": "cpmfs+pasc_txt_cpm",
"0:pasc.obb": "third_party/pascal-m+pasc-obb",
"0:pload.com": "third_party/pascal-m+loader",
"0:hello.pas": "cpmfs+hello_pas_cpm",
Expand Down
2 changes: 1 addition & 1 deletion cpmfs/build.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from tools.build import unixtocpm

for f in ["asm", "atbasic", "bedit"]:
for f in ["asm", "atbasic", "bedit", "pasc"]:
unixtocpm(name="%s_txt_cpm" % f, src="./%s.txt" % f)

unixtocpm(name="demo_sub_cpm", src="./demo.sub")
Expand Down
6 changes: 6 additions & 0 deletions cpmfs/pasc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Pascal-M
--------

pint pasc.obb hello.pas hello.obp
pload hello.obp hello.obb
pint hello.obb
24 changes: 20 additions & 4 deletions src/arch/apple2e/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"0:cls.com": "apps+cls",
}
| MINIMAL_APPS
| MINIMAL_APPS_SRCS,
| MINIMAL_APPS_SRCS
| SCREEN_APPS_SRCS
)

mkcpmfs(
Expand All @@ -72,16 +73,31 @@
bootimage=".+bios_shuffled",
size=143360,
items={
"0:ccp.sys@sr": "src+ccp-tiny",
"0:bdos.sys@sr": "src/bdos",
"0:cls.com": "apps+cls",
"0:atbasic.com": "third_party/altirrabasic",
"0:atbasic.txt": "cpmfs+atbasic_txt_cpm",
"0:qe.com": "apps+qe",
}
| MINIMAL_APPS
| SCREEN_APPS
| SCREEN_APPS_SRCS
| BIG_SCREEN_APPS
| PASCAL_APPS,
)

mkcpmfs(
name="diskimage_c",
format="appleiie",
bootimage=".+bios_shuffled",
size=143360,
items={
"0:ccp.sys@sr": "src+ccp-tiny",
"0:bdos.sys@sr": "src/bdos",
"0:copy.com": "apps+copy",
}
| MINIMAL_APPS
| BIG_SCREEN_APPS
| PASCAL_APPS
)

mametest(
name="mametest",
Expand Down

0 comments on commit 5c0a6e6

Please sign in to comment.