Skip to content

Commit

Permalink
ted builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Sep 9, 2024
1 parent 030c9f8 commit d7cf00d
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/brother/pn8510/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"rawdisk.com": "cpmtools+rawdisk",
"qe.com": "cpmtools+qe_BROTHER_POWERNOTE",
"z8e.com": "third_party/z8e+z8e_POWERNOTE",
#"ted.com": "third_party/ted+ted_POWERNOTE",
"ted.com": "third_party/ted+ted_POWERNOTE",
},
)

Expand Down
48 changes: 48 additions & 0 deletions third_party/ted/build.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
from third_party.zmac.build import zmac
from third_party.ld80.build import ld80

VERSIONS = [
"NC200",
"WP2450DS",
"POWERNOTE",
]

for f in [
"cpmio",
"main",
"fileio",
"cmds",
]:
zmac(name=f, src=f"./{f}.mac", deps=["./ted.inc"])

for v in VERSIONS:
zmac(
name="termdef_" + v,
src="./termdef.mac",
deps=[
"./" + v.lower() + "/config.inc",
"./ted.inc",
],
)
zmac(
name="scrn_" + v,
src="./scrn.mac",
deps=[
"./" + v.lower() + "/config.inc",
"./ted.inc",
],
)
ld80(
name="ted_" + v,
address=0x0100,
objs={
0x0100: [
".+main",
".+termdef_" + v,
".+fileio",
".+scrn_" + v,
".+cmds",
".+cpmio",
]
},
)

0 comments on commit d7cf00d

Please sign in to comment.