PDP-6 / JOSS-II

JOSS Supervisor for PDP-6 source. Being typed from RAND's PDFs.
4 stars 2 forks source link

Add stub files. #42

Open larsbrinkhoff opened 4 years ago

larsbrinkhoff commented 4 years ago

As per the comment on SU page 44, JOSS is built from these files:
ARITH, DISTRIB, DISC, SU, CPU, DDT, IU

Add stub files with symbols defined to make JOSS link.

larsbrinkhoff commented 4 years ago

We have SU and IU from the listing. Some files may be lifed from AID. We can probably implement DISC from its pseudocode description. DDT is just the debugger and probably doesn't play a large role in routine operation.

larsbrinkhoff commented 4 years ago

Linking DISC, SU, and IU together I get these missing symbols:


28 UNDEFINED GLOBAL(S)

PAGNO     010373
ONTIME    010337
SPARE4    007613
C25       011411
SPARE1    010351
C32       004245
C26       011413
C31       006441
DDT       011415
USIZE     010363
SHUT      006301
C30       004177
C28       006754
CONSOL    005721
SEQ       007755
JOBNO     010031
T80.99    007422
T80       007416
INTENT    010325
INTBEG    007740
INITIA    010350
COMTIM    010353
C27       010504
SPARE3    010377
DBUF      010547
RISIG     007606
SPARE2    010375
C20       011527
larsbrinkhoff commented 4 years ago

AID's KMON.MAC has these:
PAGNO, ONTIME, SPARE1-4, USIZE, SEQ, JOBNO, INTENT, INITIA, COMTIM, RISIG.

larsbrinkhoff commented 4 years ago

ARITH.MAC has:
T80, T80.99

INTERP.MAC has: INTBEG.

larsbrinkhoff commented 4 years ago

Unknown:
C25, C32, C26, C31, SHUT, C30, C28, CONSOL, C27, DBUF, C20.

It seems likely DBUF should be in DISC.

larsbrinkhoff commented 4 years ago

RM5257 says

the Disc Processor interfaces with the Monitor and Interpreter via the 128-word buffer (BFR)

AID kmon.mac defines BFR, and interp refers to it.

PashPaw commented 4 years ago

As I suspected. I had conjectured that kmon handed both the distributor and disk functions.

larsbrinkhoff commented 4 years ago

The JOSS documents does mention the "Monitor" a lot. I initially thought it would be the same as the supervisor, but now I think maybe it's corresponding to kmon.

larsbrinkhoff commented 4 years ago

Another thought is that maybe some of the components (ARITH, DISTRIB, DISC, SU, CPU, DDT, IU) are assembled from multiple .MAC files.

larsbrinkhoff commented 4 years ago

RM5044 (Distributor) mentions SHUT, C25, C26, so probably that and also C32, C26, C31, C30, C28, CONSOL, C27, C20 should be in DISTRIB.