1
0
mirror of https://github.com/livingcomputermuseum/pdp7-unix.git synced 2026-02-10 10:20:38 +00:00

I uncommented Phil's code so that we can run binaries from system now.

This commit is contained in:
Warren Toomey
2016-03-16 06:38:56 +10:00
parent e5bcd5c264
commit 6c5b207aba

View File

@@ -178,18 +178,18 @@ eol:
sys open; argv0; 0 " try cwd (no link required)
sma
jmp 1f
jmp cmderr
" jmp cmderr
" sys unlink; exectemp " remove old temp file, if any
" sys link; system; argv0; exectemp
" spa
" jmp cmderr
" sys open; exectemp; 0
" spa
" jmp cmderr
" dac cmdfd
" sys unlink; exectemp
" skp
sys unlink; exectemp " remove old temp file, if any
sys link; system; argv0; exectemp
spa
jmp cmderr
sys open; exectemp; 0
spa
jmp cmderr
dac cmdfd
sys unlink; exectemp
skp
1: dac cmdfd " save command file descriptor
cla " check for input redirection