Bootstrapping EMAS-3 for S/370-XA (and a new Edinburgh IMP compiler)

We play with mouses today too. move the mouse, click click. :slight_smile:
Are there any of the booklets from that era scanned in PDF form? Any on ABES used
books?
Is there a list of web links on imp and other material.I can’t seem to google the
“imp 77 page”. Any good non UNIX books or material on operating systems from that era?

Must try harder. C-

-Gordon

Mouses is available on Graham’s site, see this post

And I think on SIMH → Interdata32.

But I think both are patched test versions.

Very interesting. I had issues running this on Windows. But It works on Linux.

Do the 3380’s discs have some software on it?
I only could boot and quit. If so, what can I enter?

Or do I have to build another disc? I couldn’t manage to install ximplang under Ubuntu. I downloaded LLVM but I couldn’t compile that probably due to old cmake version. I Installed a new cmake but still showing old version.

Just copy and paste some instructions I sent elsewhere, I also made another release (20260911-2) to fix some issues, also the IMP compiler is working in this release:

For EMAS commands, you can refer to: https://gtoal.com/history.dcs.ed.ac.uk/archive/docs/EMAS_Manuals/User_Manuals/EMAS_2900_Card.pdf and other docs uder this folder, thanks to @gtoal.

If you want to give it a try, on Ubuntu 24.04+ and Debian 10+, you can follow
those commands:

You need to prpapre two shell terminals, one for hercules and another for
IBM 3270 console. I usually just use tmux or have two ssh sessions.

In the first terminal:

sudo apt update
sudo apt install -y hercules c3270 curl
mkdir emas3 && cd emas3
curl -fL -o emas3.tar.gz https://github.com/FlyGoat/EMAS3-Revived/releases/download/20260911-2/emas3-revived.tar.gz
tar xzf emas3.tar.gz
hercules -f hercules.cnf

In the second terminal, connect to 3270 console:

c3270 -model 2 127.0.0.1:3272

Then go back to the first terminal, enter:

ipl 150

To IPL the system.

From now on, you can interact with EMAS operator console on second
terminal:

It would boot into CHOPUSE and you’ll need to enter:

SLOAD 0 64

To load the supervisor.

Wait for COMMAND:, then start an ERCC01 (user) session:

D/NEWSTART ERCC01

You can then try user commands like `SSVSN` or `FILES`.

To build a hello world in IMP:

QUEUE "%begin"
QUEUE 'printstring("Hello from IMP"); newline'
QUEUE "%endofprogram"
COPY T#STACK,HELLOS
IMP HELLOS,HELLOO
RUN HELLOO

Have fun :slight_smile:

1 Like

I have some issues. So all the output is just in the printer log.
When first entering D/NEWSTART ERCC01 it says

DT: 15/09/88 14.17.02 DIRECT 1 OPER: 110 User not found
14.17.02 OPERLOG 1/ 110 User not found

Later it seemed to work after starting again. FILES also seemed to work (sometimes).
Not sure about SSVSN.
What shoud be the output? I haven’t found it on either Information card nor on the full manual.

Writing a program in IMP did definitely not work.
14.25.12 OPERLOG OP0 D/NEWSTART ERCC01
14.26.06 OPERLOG OP0 SSVSN
14.26.06 OPERLOG 0/ ???SSVSN
14.27.26 OPERLOG OP0 FILES
14.27.26 OPERLOG 0/ ???FILES
14.28.12 OPERLOG OP0 QUEUE “%begin”
14.28.12 OPERLOG 0/ ???QUEUE “%BEGIN”
14.28.40 OPERLOG OP0 QUEUE 'printstring("Hello); newl
14.28.40 OPERLOG 0/ ???QUEUE 'PRINTSTRING(
14.28.56 OPERLOG OP0 QUEUE “%endofprogram”
14.28.56 OPERLOG 0/ ???QUEUE "%ENDOFPROGRA
14.29.26 OPERLOG OP0 COPY T#STACK,HELLOS
14.29.26 OPERLOG 0/ ???COPY T#STACK,HELLOS
14.29.36 OPERLOG OP0 IMP HELLOS,HELLOO
14.29.36 OPERLOG 0/ ???IMP HELLOS,HELLOO
14.29.44 OPERLOG OP0 RUN HELLOO
14.29.44 OPERLOG 0/ ???RUN HELLOO
11305 14.31.18 Command 01410014 00320007 09434C4F 5345444F 574E0000 00000000 00000000 00000000 CLOSEDOWN_____________

you missed a closing quote: printstring("Hello);

I’ve tested it 3 times.
The log and the terminal not showing enough characters.
I tried to start a 2nd user. Same issues. User not found.
IMP not working.
After logging out all users I now had an abnormal termination and a Supervisor crash dump. That is always repeating.

Either the disc files are corrupt or I think not having an IMP compiler included at all.
I will check this later with a fresh set.

DT: 23/09/88 15.17.22 DIRECT 1 ****************************************************************
DT: 23/09/88 15.17
*** output lost ***
Oper: Abnormal termination
 56913 ** Oper: Rcvd: 00320005 00300003 6E000001 020006E4 01F0A6A0 00000000 03FF9780 00000000 ________________________

DT: 23/09/88 15.18.18
****    Supervisor  dump    table: 2    addr 01F0A768    length: 512    Dump no: 5****
 (01F0A768) 05600014 03FEC408 01200027 03FF98E0 012006E4 03FF9FC4 01200001 03FEC400   `   ^D    '   `   d   D     ^D
 (01F0A788) 06200056 03FF9861 0F600001 03FF9794 01200005 03FB94F0 01F0AFC8 00000000     V   a `           { p p/H
 (01F0A7A8) 00000000 FFFFFFFF 00000000 0000006E 02000000 80000000 00000780 FFFFFFFF                 n
 (01F0A7C8) 01F10148 00000438 00000348 01F0A934 15280100 80000001 00000E38 FFFFFFFF   q H   8   H p)4 (         8
 (01F0A7E8) 01F02140 00000000 00000348 01F0AC7C 15280100 80000002 00000348 FFFFFFFF   p!@       H p,× (         H
 (01F0A808) 008024F8 00000000 00000000 01F0A934 00280000 00000000 00000000 FFFFFFFF    $x         p)4 (
 (01F0A828) 00000000 00000000 00000000 01F0A934 00280000 00000000 00000000 00000000               p)4 (
 (01F0A848) 00000000 00000000 00000000 00000000 00000000 00000000 0B442F43 4C4F5345                           D/CLOSE
 (01F0A868) 444F574E E2C5C4D6 E6D5F0F1 F0F2F2F2 2248454C 4C4F2046 524F4D20 494D5022  DOWNbEDVfUpqprrr"HELLO FROM IMP"
 (01F0A888) 293B204E 45574C49 4E452785 7D000000 00000000 00000000 00000000 00000000  ); NEWLINE' }
 (01F0A8A8) 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 (01F0A8C8) 00000000 00000000 00000000 00000000 00000000 00000000 001106E0 C3D6D4D4                             `CVTT
 (01F0A8E8) C1D5C47A 40404040 40404040 40404040 40404040 40404040 40404040 40404000  AUDz@@@@@@@@@@@@@@@@@@@@@@@@@@@
 (01F0A908) C4F9F440 96868693 89958540 A38899A4 40F0F1F9 40404040 40404040 40404040  Dyt@       @#  $@pqy@@@@@@@@@@@@
 (01F0A928) 40404000 00000000 00000000 00000000 00000000 00000000 00000000 00000000  @@@
 (01F0A948) 00000000 00000000 00000040 F06140C6 C4F8F440 96868693 89958540 A38899A4             @pa@FDxt@       @#  $
Oper: Abnormal termination
 57889 ** Oper: Rcvd: 00320005 00300003 6E000001 020006E4 01F0A6A0 00000000 03FF9780 00000000 ________________________

DT: 23/09/88 15.18.20
****    Supervisor  dump    table: 2    addr 01F0A768    length: 512    Dump no: 6****

Earlier

INFORM X'058 8K
PADOUT X'060 8K
CCK EXITS ON NEVER   104
DT: 15/09/88 14.17.02 DIRECT 1 fsys is 0% full
14.17.02 OPERLOG  1/ IPL fsys is 0% full
DT: 15/09/88 14.17.02 DIRECT 1 Oper: IPL fsys is 0% full
DT: 15/09/88 14.17.02 DIRECT 1 MAP XOP OWNS(2) Res=0
DT: 15/09/88 14.17.02 DIRECT 1 Display: No FEs           Closed

DT: 15/09/88 14.17.02 DIRECT 1 Connect IN strm FE 1 fails   1
DT: 15/09/88 14.17.02 DIRECT 1 Display: No FEs           Closed
DT: 15/09/88 14.17.02 DIRECT 1 Connect IN strm FE 2 fails   1
DT: 15/09/88 14.17.02 DIRECT 1 Display: No FEs           Closed
DT: 15/09/88 14.17.02 DIRECT 1 Connect IN strm FE 3 fails   1
DT: 15/09/88 14.17.02 DIRECT 1 Display: No FEs           Closed
DT: 15/09/88 14.17.02 DIRECT 1 Connect IN strm FE 4 fails   1
DT: 15/09/88 14.17.02 DIRECT 1 Display: No FEs           Closed
DT: 15/09/88 14.17.02 DIRECT 1 Connect IN strm FE 5 fails   1
DT: 15/09/88 14.17.02 DIRECT 1 Display: No FEs           Closed
DT: 15/09/88 14.17.02 DIRECT 1 Connect IN strm FE 6 fails   1
DT: 15/09/88 14.17.02 DIRECT 1 Display: No FEs           Closed
DT: 15/09/88 14.17.02 DIRECT 1 Connect IN strm FE 7 fails   1
DT: 15/09/88 14.17.02 DIRECT 1 Display: No FEs           Closed
DT: 15/09/88 14.17.02 DIRECT 1 Connect IN strm FE 8 fails   1
DT: 15/09/88 14.17.02 DIRECT 1 Display: No FEs           Closed
14.17.02 OPERLOG  1/ SPOOL D7#1417 TO JOURNAL
DT: 15/09/88 14.17.02 DIRECT 1 Oper: SPOOL D7#1417 TO JOURNAL
14.17.02 OPERLOG  1/ SPLOGFILE SPOL 61
DT: 15/09/88 14.17.02 DIRECT 1 Oper: SPLOGFILE SPOL 61
14.17.02 OPERLOG  1/ Fsys  1  0% full
DT: 15/09/88 14.17.02 DIRECT 1 Oper: Fsys  1  0% full
DT: 15/09/88 14.17.02 DIRECT 1 CCK COMPLETE
DT: 15/09/88 14.17.02 DIRECT 1 Director Version 23001 01 JAN 70
14.17.02 OPERLOG  1/ 0 nnt entries
DT: 15/09/88 14.17.02 DIRECT 1 Oper: 0 nnt entries
14.17.02 OPERLOG  1/ Flag 0
DT: 15/09/88 14.17.02 DIRECT 1 Oper: Flag 0
14.17.02 OPERLOG  1/ Connect flag 0
DT: 15/09/88 14.17.02 DIRECT 1 Oper: Connect flag 0
DT: 15/09/88 14.17.02 DIRECT 1 D/START: VOLUMS INVOC 0 PROC  2
DT: 15/09/88 14.17.02 DIRECT 1 D/START: SPOOLR INVOC 0 PROC  3
14.17.02 OPERLOG  2/ VOLUMS on site X'400
DT: 15/09/88 14.17.02 DIRECT 1 D/START: MAILER INVOC 0 PROC  4
DT: 15/09/88 14.17.02 DIRECT 1 D/START: FTRANS INVOC 0 PROC  5
14.17.02 OPERLOG  4/ MAILER on site X'500
14.17.02 OPERLOG  5/ FTRANS on site X'580
14.17.02 OPERLOG  3/ SPOOLR on site X'480
DT: 15/09/88 14.17.02 DIRECT 1 D/START: INFORM INVOC 0 PROC  7
DT: 15/09/88 14.17.02 DIRECT 1 D/START: PADOUT INVOC 0 PROC  9
14.17.02 OPERLOG  3/ S#PRINTFL NOT FOUND
DT: 15/09/88 14.17.02 DIRECT 1 D/NEWSTART REMOTE
14.17.02 OPERLOG  2/ VOLUMS SIGNAL FAIL 1
14.17.02 OPERLOG  5/ FTRANS SIGNAL FAIL 6
14.17.02 OPERLOG  7/ INFORM SIGNAL FAIL 6
14.17.02 OPERLOG  9/ PADOUT SIGNAL FAIL 6
DT: 15/09/88 14.17.02 DIRECT 1 OPER:  110 User not found
14.17.02 OPERLOG  1/  110 User not found
DT: 15/09/88 14.17.02 DIRECT 1 Display: No FEs           Closed
14.17.02 OPERLOG  4/ Mailer 8M Started
14.17.02 OPERLOG  4/ Connect DEPTFILE fails:  32 File & d
14.17.02 OPERLOG  4/ oes not exist or no access
14.17.02 OPERLOG  4/ Newgen/rename DEPTFILE fails  32 Fil
14.17.02 OPERLOG  4/ e & does not exist or no access
14.17.02 OPERLOG  4/ Take new DEPTFILE, flag =  32 File &
14.17.02 OPERLOG  4/  does not exist or no access
14.17.02 OPERLOG  4/ Connect DBFILE fails:  32 File & doe
14.17.02 OPERLOG  4/ s not exist or no access
14.17.02 OPERLOG  4/ Newgen/rename DBFILE fails  32 File
14.17.02 OPERLOG  4/ & does not exist or no access
14.17.02 OPERLOG  4/ Take new DBFILE, flag =  32 File & d
14.17.02 OPERLOG  4/ oes not exist or no access
14.17.02 OPERLOG  4/ Invalid configfile name:
14.17.02 OPERLOG  4/ Dconnect MAILER:CONFBACKUP fails : 3
14.17.02 OPERLOG  4/ 2 File & does not exist or no access
Oper: Flashing message: ôôx
14.17.02 OPERLOG  4/ Mailer closed!!
14.17.02 OPERLOG  3/ DEFAULT CONFIG IN USE
14.17.02 OPERLOG  3/ Spooler NAS XA 10/89
Opmess: ? BLK ACTIVTY 00000C60
Opmess: USER=DIRECT
14.17.02 OPERLOG  0/ ? BLK ACTIVTY 00000C60
14.17.02 OPERLOG  0/ USER=DIRECT

tape error// abnormal termination - Unit check
deck M63 faults (deck/req) 00010000 req id 00000000  other
ust  s0  s1  s2  s3  s4  s5  s6  s7  s8  s9 s10 s11 s12 s13 s14
 02  40  22  00  00  00  C0  03  00  00  00  00  00  00  80  01
DT: 15/09/88 14.18.50
****    Supervisor  dump    table: 61    addr 01F0E150    length: 276    Dump no: 1****
 (01F0E150) 00000000 034D3633 00000000 00000000 00000000 00000000 00000000 00000001       M63