1
0
mirror of https://github.com/PDP-10/its.git synced 2026-04-30 21:49:23 +00:00

Add "loader", "linker", and "decuuo" TCL procedures.

This commit is contained in:
Lars Brinkhoff
2025-02-08 21:55:54 +01:00
parent 655f74a34d
commit d2b8d49e70
3 changed files with 53 additions and 83 deletions

View File

@@ -181,6 +181,31 @@ proc macro10 {target sources} {
respond "*" ":kill\r"
}
proc loader {files} {
respond "*" ":dec sys:loader\r"
respond "*" "$files/g\r"
expect "EXIT"
}
proc linker {files} {
respond "*" ":dec sys:link\r"
respond "*" "$files/go\r"
expect "EXIT" {
return
} "%LNKNED" {
# Sometimes there is this error; workaround is to retry.
respond "*" "$files/go\r"
expect "EXIT"
}
}
proc decuuo {file {dump ":pdump"}} {
respond "*" ":start 45\r"
respond "Command:" "d"
respond "*" "$dump $file\r"
respond "*" ":kill\r"
}
proc cwd {directory} {
respond "*" ":cwd $directory\r"
}