Skip to content

Commit f514b9b

Browse files
committed
Add "palx" and "macn11" TCL procedures.
1 parent d710d58 commit f514b9b

File tree

5 files changed

+91
-103
lines changed

5 files changed

+91
-103
lines changed

build/basics.tcl

+1-2
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,7 @@ respond "*" ":midas sys;ts palx_sysen1;palx\r"
400400
expect ":KILL"
401401

402402
# GT40 boot ROM.
403-
respond "*" ":palx gt40;_gt40;bootvt\r"
404-
expect ":KILL"
403+
palx "gt40;" "gt40;bootvt"
405404

406405
# PLAN/CREATE
407406
respond "*" ":midas sys3;ts create_syseng;create\r"

build/build.tcl

+15
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,21 @@ proc macro10 {target sources} {
181181
respond "*" ":kill\r"
182182
}
183183

184+
proc palx {target sources {actions ""}} {
185+
respond "*" ":palx $target_$sources\r"
186+
eval $actions
187+
expect ":KILL"
188+
}
189+
190+
proc macn11 {target sources {actions ""}} {
191+
respond "*" ":macn11\r"
192+
respond "*" "$target_$sources\r"
193+
eval $actions
194+
expect "CORE USED"
195+
respond "*" "\003"
196+
respond "*" ":kill\r"
197+
}
198+
184199
proc loader {files} {
185200
respond "*" ":dec sys:loader\r"
186201
respond "*" "$files/g\r"

build/ka10/processor.tcl

+4-9
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,17 @@ respond "*" ":link channa;rakash tvfix, sys1; ts stuff\r"
3737
# IOELEV, PDP-11 doing I/O for the PDP-10 host.
3838
# The "AI" IOELEV, also known as CHAOS-11.
3939
# STUFF prefers to have it in the "." directory.
40-
respond "*" ":palx dsk0:.;_system;ioelev\r"
41-
respond "MACHINE NAME =" "AI\r"
42-
expect ":KILL"
40+
palx "dsk0:.;" "system;ioelev" { respond "MACHINE NAME =" "AI\r" }
4341

4442
# TV-11. STUFF prefers it to be in the "." directory.
45-
respond "*" ":palx dsk0:.;_system;tv\r"
46-
expect ":KILL"
43+
palx "dsk0:.;" "system;tv"
4744

4845
# XGP-11. STUFF prefers it to be SYSBIN; VXGP BIN.
49-
respond "*" ":palx sysbin;vxgp bin_sysen2;xgp\r"
50-
expect ":KILL"
46+
palx "sysbin;vxgp bin" "sysen2;xgp"
5147

5248
# CCONS. STUFF prefers it to be in the CONS directory.
5349
mkdir "cons"
54-
respond "*" ":palx cons;_lmcons;ccons\r"
55-
expect ":KILL"
50+
palx "cons;" "lmcons;ccons"
5651

5752
# Old Spacewar
5853
cwd "spcwar"

build/kl10/processor.tcl

+23-30
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ expect ":KILL"
5959

6060
# KL10 front end debugger. Put it in the same directory as the
6161
# "MC" IOELEV.
62-
respond "*" ":palx sysbin;_syseng; klrug\r"
63-
expect ":KILL"
62+
palx "sysbin;" "syseng; klrug"
6463
# 11STNK expects a copy in the . directory.
6564
respond "*" ":copy sysbin; klrug bin, .;\r"
6665

@@ -70,8 +69,7 @@ expect ":KILL"
7069
respond "*" ":link .; ts boot11, sys1; ts 11stnk\r"
7170

7271
# KL10 diagnostics console program.
73-
respond "*" ":palx kldcp;_kldcp\r"
74-
expect ":KILL"
72+
palx "kldcp;" "kldcp"
7573
respond "*" ":11stnk\r"
7674
respond "*" "R"
7775
respond "FILENAME" "\r"
@@ -83,37 +81,34 @@ expect ":KILL"
8381
move_to_klfe ".temp.; kldcp bin"
8482

8583
# KL10 diagnostic console utility
86-
respond "*" ":palx kldcp;_kldcpu\r"
87-
expect ":KILL"
84+
palx "kldcp;" "kldcpu\r"
8885
respond "*" ":pcnvrt kldcp; kldcpu bin\r"
8986
move_to_klfe "kldcp; kldcpu a11"
9087

9188
# PDP-11 debugger.
9289
# 16K is used with the DL10 IOELEV.
93-
respond "*" ":palx .; 11ddt 16k_kldcp; 11ddt\r"
94-
respond "PDP11=" "40\r"
95-
respond "EISSW=" "0\r"
96-
respond "MAPSW=" "0\r"
97-
respond "HCOR=" "100000\r"
98-
respond "TT10SW=" "0\r"
99-
respond "VT05SW=" "0\r"
100-
respond "DEBSW=" "0\r"
101-
expect ":KILL"
90+
palx ".; 11ddt 16k" "kldcp; 11ddt" {
91+
respond "PDP11=" "40\r"
92+
respond "EISSW=" "0\r"
93+
respond "MAPSW=" "0\r"
94+
respond "HCOR=" "100000\r"
95+
respond "TT10SW=" "0\r"
96+
respond "VT05SW=" "0\r"
97+
respond "DEBSW=" "0\r"
98+
}
10299
# 14K is used with the console IOELEV.
103-
respond "*" ":palx dsk0:.;11ddt 14k_kldcp; 11ddt\r"
104-
respond "PDP11=" "40\r"
105-
respond "EISSW=" "0\r"
106-
respond "MAPSW=" "0\r"
107-
respond "HCOR=" "70000\r"
108-
respond "TT10SW=" "0\r"
109-
respond "VT05SW=" "0\r"
110-
respond "DEBSW=" "0\r"
111-
expect ":KILL"
100+
palx "dsk0:.;11ddt 14k" "kldcp; 11ddt" {
101+
respond "PDP11=" "40\r"
102+
respond "EISSW=" "0\r"
103+
respond "MAPSW=" "0\r"
104+
respond "HCOR=" "70000\r"
105+
respond "TT10SW=" "0\r"
106+
respond "VT05SW=" "0\r"
107+
respond "DEBSW=" "0\r"
108+
}
112109

113110
# The KL10 console "MC" IOELEV.
114-
respond "*" ":palx .; cons11_system;ioelev\r"
115-
respond "MACHINE NAME =" "MC\r"
116-
expect ":KILL"
111+
palx ".; cons11" "system;ioelev" { respond "MACHINE NAME =" "MC\r" }
117112
respond "*" ":11stnk\r"
118113
respond "*" "D"
119114
respond "FILENAME" ".; 11ddt 14k\r"
@@ -129,9 +124,7 @@ move_to_klfe ".temp.; ioelev a11"
129124
# The KL10 "MC-DL" IOELEV. Put in same directory as KLRUG BIN.
130125
# TS BOOT11 stuffs it over DL10 in timesharing. TS 11BOOT makes a
131126
# @ BOOT11 to stuff out of timesharing.
132-
respond "*" ":palx sysbin;_system;ioelev\r"
133-
respond "MACHINE NAME =" "MC\r"
134-
expect ":KILL"
127+
palx "sysbin;" "system;ioelev" { respond "MACHINE NAME =" "MC\r" }
135128

136129
# 11BOOT
137130
respond "*" ":midas;324 sys3;ts 11boot_syseng;11boot\r"

build/misc.tcl

+48-62
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,7 @@ respond "*" ":midas games;ts ckr_agb;ckr\r"
531531
expect ":KILL"
532532

533533
# Dazzle Dart, video game for the Logo group PDP-11/45
534-
respond "*" ":palx bs;_dazzle\r"
535-
expect ":KILL"
534+
palx "bs;" "dazzle"
536535

537536
# TOSBLK, convert from PALX binary to SBLK.
538537
respond "*" ":midas pdp11;ts tosblk_tosblk\r"
@@ -621,7 +620,7 @@ expect ":KILL"
621620

622621
# Phil Budne's PALX Game of Life.
623622
cwd "budd"
624-
respond "*" ":palx live palx\r"
623+
palx "budd;" "live palx"
625624

626625
# MACN11, pdp-11 cross assembler
627626
cwd "sysen3"
@@ -1547,41 +1546,40 @@ expect ":KILL"
15471546

15481547
# RUG, PDP-11 debugger.
15491548
cwd "pdp11"
1550-
respond "*" ":palx rug\r"
1551-
respond "?" "2\r"
1552-
respond "?" "100000\r"
1553-
respond "?" "1\r"
1554-
respond "?" "1\r"
1555-
expect ":KILL"
1549+
palx "pdp11;" "rug" {
1550+
respond "?" "2\r"
1551+
respond "?" "100000\r"
1552+
respond "?" "1\r"
1553+
respond "?" "1\r"
1554+
}
15561555

15571556
# URUG, GT40 debugger.
1558-
respond "*" ":palx sysbin;_sysen2;urug\r"
1559-
respond "=YES" "1\r"
1560-
respond "37000" "37000\r"
1561-
expect ":KILL"
1557+
palx "sysbin;" "sysen2;urug" {
1558+
respond "=YES" "1\r"
1559+
respond "37000" "37000\r"
1560+
}
15621561

15631562
# GT40 Lunar Lander.
1564-
respond "*" ":palx gt40;_gt40;gtlem\r"
1565-
expect ":KILL"
1563+
palx "gt40;" "gt40;gtlem"
15661564

15671565
# MINITS
15681566
cwd "mits.s"
1569-
respond "*" ":palx test_config\r"
1570-
respond ":::" "777\r"
1571-
expect ":KILL"
1567+
palx "test" "config" {
1568+
respond ":::" "777\r"
1569+
}
15721570

15731571
# MINITS boot ROM for an Interlan network interface.
15741572
cwd "mits.b"
1575-
respond "*" ":palx bootil\r"
1576-
respond "Interlan CSR?" "0\r"
1577-
respond "Chaos address of Interlan board?" "0\r"
1578-
expect "Which set of downloading hosts?"
1579-
respond ")" "0\r"
1580-
respond "Start address?" "0\r"
1581-
respond "Do you want a power up/boot support" "0\r"
1582-
respond "Boot PROM mapping kludge?" "0\r"
1583-
respond "Start of temporary data storage?" "150000\r"
1584-
expect ":KILL"
1573+
palx "mits.b;" "bootil" {
1574+
respond "Interlan CSR?" "0\r"
1575+
respond "Chaos address of Interlan board?" "0\r"
1576+
expect "Which set of downloading hosts?"
1577+
respond ")" "0\r"
1578+
respond "Start address?" "0\r"
1579+
respond "Do you want a power up/boot support" "0\r"
1580+
respond "Boot PROM mapping kludge?" "0\r"
1581+
respond "Start of temporary data storage?" "150000\r"
1582+
}
15851583

15861584
# ITS universal file.
15871585
cwd "decsys"
@@ -1594,15 +1592,15 @@ linker "dftp"
15941592
decuuo "sys1; ts dftp"
15951593

15961594
# PDP-11 Lisp.
1597-
respond "*" ":palx rms;_lisp11\r"
1598-
respond "System (RANDOM, SIMULATOR, LOGO, MATH, or STANFORD)?" "SIMULATOR\r"
1599-
expect ":KILL"
1595+
palx "rms;" "lisp11" {
1596+
respond "System (RANDOM, SIMULATOR, LOGO, MATH, or STANFORD)?" "SIMULATOR\r"
1597+
}
16001598

16011599
# Logo RUG. STUFF prefers it to be RUG; AR BIN.
1602-
respond "*" ":palx rug;_ar\r"
1603-
# We'll just do the Logo PDP-11/45.
1604-
respond "COMPUTER=" "1\r"
1605-
expect ":KILL"
1600+
palx "rug;" "ar" {
1601+
# We'll just do the Logo PDP-11/45.
1602+
respond "COMPUTER=" "1\r"
1603+
}
16061604

16071605
# PUNCH, punch out paper tapes in the Logo RUG format.
16081606
respond "*" ":midas rug; ts punch_punch\r"
@@ -1616,56 +1614,44 @@ respond "*" ":link sys1; ts mloder, rug; loder bin\r"
16161614

16171615
# SITS.
16181616
cwd "sits"
1619-
respond "*" ":palx sits\r"
1620-
expect ":KILL"
1617+
palx "sits;" "sits"
16211618

16221619
# Salvager for the SITS file system.
1623-
respond "*" ":palx salv\r"
1624-
expect ":KILL"
1620+
palx "sits;" "salv"
16251621

16261622
# System Sphere for SITS.
1627-
respond "*" ":palx sysspr\r"
1628-
expect ":KILL"
1623+
palx "sits;" "sysspr"
16291624

16301625
# DDT for SITS.
1631-
respond "*" ":palx ddt\r"
1632-
expect ":KILL"
1626+
palx "sits;" "ddt"
16331627

16341628
# Font loader daemon for SITS.
1635-
respond "*" ":palx fnt\r"
1636-
expect ":KILL"
1629+
palx "sits;" "fnt"
16371630

16381631
# INQUIR for SITS.
1639-
respond "*" ":palx inquir\r"
1640-
expect ":KILL"
1632+
palx "sits;" "inquir"
16411633

16421634
# DIRED for SITS.
1643-
respond "*" ":palx dired\r"
1644-
expect ":KILL"
1635+
palx "sits;" "dired"
16451636

16461637
# TECO for SITS.
16471638
cwd "rjl"
1648-
respond "*" ":palx teco\r"
1649-
expect ":KILL"
1639+
palx "rjl;" "teco"
16501640

16511641
# SLOGO, 11LOGO for SITS.
16521642
cwd "nlogo"
1653-
respond "*" ":palx slogo_@slogo\r"
1654-
expect ":KILL"
1643+
palx "slogo" "@slogo"
16551644

16561645
# HLOGO, "Hal hack" 11LOGO.
1657-
respond "*" ":palx hlogo_@hlogo\r"
1658-
expect ":KILL"
1646+
palx "hlogo" "@hlogo"
16591647

16601648
# ITSCOM, ITS-SITS communication.
16611649
cwd "bee"
1662-
respond "*" ":palx itscom\r"
1663-
expect ":KILL"
1650+
palx "bee;" "itscom"
16641651

16651652
# ITS, SITS file transfer.
16661653
cwd "gld"
1667-
respond "*" ":palx its\r"
1668-
expect ":KILL"
1654+
palx "gld;" "its"
16691655

16701656
# TORTIS
16711657
respond "*" ":midas;324 radia;_tortis\r"
@@ -1727,9 +1713,9 @@ expect ":KILL"
17271713

17281714
# 11LOGO
17291715
cwd "11logo"
1730-
respond "*" ":palx /H/M/CL BIN,N CREF_SYSTEM,TYI,READ,EVAL,TURTLE,ZEND\r"
1731-
respond "ASSSW=" "0\r"
1732-
expect ":KILL"
1716+
palx "/H/M/CL BIN,N CREF" "SYSTEM,TYI,READ,EVAL,TURTLE,ZEND" {
1717+
respond "ASSSW=" "0\r"
1718+
}
17331719

17341720
# Apple II Logo
17351721
cwd "aplogo"

0 commit comments

Comments
 (0)