Import the new ed*.s source code from scans.
This commit is contained in:
+21
-21
@@ -70,28 +70,28 @@ chkwrp:
|
|||||||
jmp error
|
jmp error
|
||||||
|
|
||||||
comand:
|
comand:
|
||||||
lac char " Get the character entered
|
lac char
|
||||||
sad o141
|
sad o141
|
||||||
jmp ca " a command, append lines of text
|
jmp ca
|
||||||
sad o143
|
sad o143
|
||||||
jmp cc " c command, change lines of text
|
jmp cc
|
||||||
sad o144
|
sad o144
|
||||||
jmp cd " d command, delete lines of text
|
jmp cd
|
||||||
sad o160
|
sad o160
|
||||||
jmp cp " p command, print lines of text
|
jmp cp
|
||||||
sad o161
|
sad o161
|
||||||
jmp cq " q command, quit the editor
|
jmp cq
|
||||||
sad o162
|
sad o162
|
||||||
jmp cr " r command, read in a file
|
jmp cr
|
||||||
sad o163
|
sad o163
|
||||||
jmp cs " s command, substitute text
|
jmp cs
|
||||||
sad o167
|
sad o167
|
||||||
jmp cw " w command, write out the file
|
jmp cw
|
||||||
sad o12
|
sad o12
|
||||||
jmp cnl " newline
|
jmp cnl
|
||||||
sad o75
|
sad o75
|
||||||
jmp ceq " = command
|
jmp ceq
|
||||||
jmp error " unrecognised, give an error
|
jmp error
|
||||||
ca:
|
ca:
|
||||||
jms newline
|
jms newline
|
||||||
jms setfl
|
jms setfl
|
||||||
@@ -100,7 +100,7 @@ ca:
|
|||||||
ca1:
|
ca1:
|
||||||
jms rline
|
jms rline
|
||||||
lac line
|
lac line
|
||||||
sad o56012 " . NL?
|
sad o56012
|
||||||
jmp advanc
|
jmp advanc
|
||||||
jms append
|
jms append
|
||||||
jmp ca1
|
jmp ca1
|
||||||
@@ -121,7 +121,7 @@ cc: cd:
|
|||||||
dac i 9
|
dac i 9
|
||||||
sza
|
sza
|
||||||
jmp 2b
|
jmp 2b
|
||||||
"??? illegible line cut off - dac 0, lac 0, something else???
|
lac 9
|
||||||
"** 08-rest.pdf page 10
|
"** 08-rest.pdf page 10
|
||||||
"[handwritten page number top right of scan - 3]
|
"[handwritten page number top right of scan - 3]
|
||||||
dac eofp
|
dac eofp
|
||||||
@@ -185,7 +185,7 @@ cr:
|
|||||||
jms number
|
jms number
|
||||||
jmp advanc
|
jmp advanc
|
||||||
2:
|
2:
|
||||||
"??? illegible line cut off - cma, sma, something else?
|
cma
|
||||||
"** 08-rest.pdf page 11
|
"** 08-rest.pdf page 11
|
||||||
"[handwritten page number top right of scan - 4]
|
"[handwritten page number top right of scan - 4]
|
||||||
tad d1
|
tad d1
|
||||||
@@ -247,7 +247,7 @@ cw:
|
|||||||
jmp 3f
|
jmp 3f
|
||||||
isz num
|
isz num
|
||||||
jmp putsc; tal1
|
jmp putsc; tal1
|
||||||
isz c2 "???
|
isz c2
|
||||||
"** 08-rest.pdf page 12
|
"** 08-rest.pdf page 12
|
||||||
"[handwritten page number top right of scan - 5]
|
"[handwritten page number top right of scan - 5]
|
||||||
jmp 3f
|
jmp 3f
|
||||||
@@ -334,10 +334,10 @@ setfl: 0
|
|||||||
jmp i setfl
|
jmp i setfl
|
||||||
|
|
||||||
newline: 0
|
newline: 0
|
||||||
jms getsc; tal " Get a character into tal
|
jms getsc; tal
|
||||||
sad o12
|
sad o12
|
||||||
jmp i newline " Return if a newline
|
jmp i newline
|
||||||
jmp error " else an error
|
jmp error
|
||||||
|
|
||||||
addres: 0
|
addres: 0
|
||||||
dzm minflg "..) [stray scan mark?]
|
dzm minflg "..) [stray scan mark?]
|
||||||
@@ -523,7 +523,7 @@ gline: 0
|
|||||||
dac glint1
|
dac glint1
|
||||||
jms getdsk
|
jms getdsk
|
||||||
lac glint1 " [these 6 lines were surrounded by a box
|
lac glint1 " [these 6 lines were surrounded by a box
|
||||||
and o17777 " that was Xed out with an arrow pointing to it]:
|
and o1777 " that was Xed out with an arrow pointing to it]:
|
||||||
tad dskbfp " --
|
tad dskbfp " --
|
||||||
dac ital "|\/|
|
dac ital "|\/|
|
||||||
lac linep "|/\|<---
|
lac linep "|/\|<---
|
||||||
@@ -616,7 +616,7 @@ getsc: 0
|
|||||||
lac i sctalp
|
lac i sctalp
|
||||||
dac sctal
|
dac sctal
|
||||||
add o400000
|
add o400000
|
||||||
dac i sctal
|
dac i sctalp
|
||||||
ral
|
ral
|
||||||
lac i sctal
|
lac i sctal
|
||||||
szl
|
szl
|
||||||
|
|||||||
+11
-11
@@ -53,7 +53,7 @@ cs:
|
|||||||
szl
|
szl
|
||||||
xor o400000
|
xor o400000
|
||||||
tad linep
|
tad linep
|
||||||
dac tal1 "???
|
dac tal1
|
||||||
lac tbufp
|
lac tbufp
|
||||||
dac tal
|
dac tal
|
||||||
3:
|
3:
|
||||||
@@ -61,7 +61,7 @@ cs:
|
|||||||
sad o12
|
sad o12
|
||||||
jmp 3f
|
jmp 3f
|
||||||
jms putsc; tal1
|
jms putsc; tal1
|
||||||
isz linsiz "???
|
isz linsiz
|
||||||
"** 08-rest.pdf page 22
|
"** 08-rest.pdf page 22
|
||||||
"[handwritten page number top right of scan - 15]
|
"[handwritten page number top right of scan - 15]
|
||||||
jmp 3b
|
jmp 3b
|
||||||
@@ -186,7 +186,7 @@ cadvanc:
|
|||||||
jms getsc; tal
|
jms getsc; tal
|
||||||
sad delim
|
sad delim
|
||||||
jmp cdone
|
jmp cdone
|
||||||
dac compflg "???
|
dac compflg
|
||||||
"** 08-rest.pdf page 24
|
"** 08-rest.pdf page 24
|
||||||
"[handwritten page number top right of scan - 17]
|
"[handwritten page number top right of scan - 17]
|
||||||
dzm lastre
|
dzm lastre
|
||||||
@@ -194,7 +194,7 @@ cadvanc:
|
|||||||
jmp error
|
jmp error
|
||||||
"sad o133
|
"sad o133
|
||||||
"jmp chrcls
|
"jmp chrcls
|
||||||
sad o136 "???
|
sad o136
|
||||||
jmp beglin
|
jmp beglin
|
||||||
sad o44
|
sad o44
|
||||||
jmp endlin
|
jmp endlin
|
||||||
@@ -249,7 +249,7 @@ comp: 0 "???
|
|||||||
-1
|
-1
|
||||||
tad comp
|
tad comp
|
||||||
dac 9
|
dac 9
|
||||||
lac 8 "???
|
lac 8
|
||||||
"** 08-rest.pdf page 25
|
"** 08-rest.pdf page 25
|
||||||
"[handwritten page number top right of scan - 18]
|
"[handwritten page number top right of scan - 18]
|
||||||
dac prev
|
dac prev
|
||||||
@@ -275,7 +275,7 @@ execute: 0
|
|||||||
dac i trvect+1
|
dac i trvect+1
|
||||||
jmp 1f
|
jmp 1f
|
||||||
|
|
||||||
xchg: "???
|
xchg:
|
||||||
lacq
|
lacq
|
||||||
sad o12
|
sad o12
|
||||||
jmp i execute
|
jmp i execute
|
||||||
@@ -312,7 +312,7 @@ matchar: 0 "???
|
|||||||
lac matchar
|
lac matchar
|
||||||
and o17777
|
and o17777
|
||||||
tad jms1
|
tad jms1
|
||||||
dac i 8 "??? [unreadable page cutoff]
|
dac i 8
|
||||||
"** 08-rest.pdf page 26
|
"** 08-rest.pdf page 26
|
||||||
"[handwritten page number top right of scan - 19]
|
"[handwritten page number top right of scan - 19]
|
||||||
lac i exret
|
lac i exret
|
||||||
@@ -375,7 +375,7 @@ mateol: 0 "???
|
|||||||
dac exret
|
dac exret
|
||||||
lac i exret
|
lac i exret
|
||||||
dac 9
|
dac 9
|
||||||
"??? [line is cut off in scan, maybe lac i 8 or jmp i 9]
|
jmp i 9
|
||||||
"** 08-rest.pdf page 27
|
"** 08-rest.pdf page 27
|
||||||
"[handwritten page number top right of scan - 20]
|
"[handwritten page number top right of scan - 20]
|
||||||
1: "???
|
1: "???
|
||||||
@@ -456,7 +456,7 @@ o54: 054
|
|||||||
o17: 017
|
o17: 017
|
||||||
|
|
||||||
tname:
|
tname:
|
||||||
0145056;0164155;0160040;040040 " e.tmp
|
0145056;0164155;0160040;040040
|
||||||
tbufp: tbuf
|
tbufp: tbuf
|
||||||
linep: line
|
linep: line
|
||||||
nlistp: nlist
|
nlistp: nlist
|
||||||
@@ -502,7 +502,7 @@ bett1: .=.+1
|
|||||||
bett2: .=.+1
|
bett2: .=.+1
|
||||||
wrflg: .=.+1
|
wrflg: .=.+1
|
||||||
apt1: .=.+1
|
apt1: .=.+1
|
||||||
sfi: .=.+1 "[page cuts off one label] PLB: added
|
sfi: .=.+1
|
||||||
"** 08-rest.pdf page 29
|
"** 08-rest.pdf page 29
|
||||||
"[handwritten page number top right of scan - 22]
|
"[handwritten page number top right of scan - 22]
|
||||||
sfo: .=.+1
|
sfo: .=.+1
|
||||||
@@ -513,7 +513,7 @@ fbuf: .=.+4 "not sure if this is fbuf, but
|
|||||||
tbuf: .=.+64 "there is a write; tbuf; 64 call
|
tbuf: .=.+64 "there is a write; tbuf; 64 call
|
||||||
line: .=.+64
|
line: .=.+64
|
||||||
nlist: .=.+50
|
nlist: .=.+50
|
||||||
clist: .=.+50 " unable to determine label [PLB missing clist]
|
clist: .=.+50
|
||||||
compbuf: .=.+100
|
compbuf: .=.+100
|
||||||
dskbuf: .=.+1 "[line crossed out - scan markup]
|
dskbuf: .=.+1 "[line crossed out - scan markup]
|
||||||
lnodes: .=.+1000
|
lnodes: .=.+1000
|
||||||
|
|||||||
Reference in New Issue
Block a user