Adding Basic-11 to RT-11 in SIMH

This post continues with my SIMH RT-11 tutorial... To add Basic-11 into the mix I've been using this image of the "Languages Master" RX50 floppy disk.

Download that disk image to the folder where you've saved pdp11.exe.  Next, we're going to add that floppy to SIMH.  We can do that by editing the ini file.  Just before the line that reads "boot rl0", we need to add this line:

attach rl1 languages.dsk

This will mean that in RT-11 the Languages Master disk will appear as "DK1:", whereas the boot disk is "DK0:", the RT-11 install disk.  Test it out by running pdp11.exe and typing DIR DK1: (and pressing enter) at the command prompt.  You should see the directory listing of the languages master disk.

Before we try and install Basic, we need to make sure that we're using the RT-11 extended monitor, so type in these commands into RT-11:

copy/boot dk0:rt11xm.sys dk0:
boot dk0:

This should restart RT-11 in the extended monitor (RT-11XM).  When this disk is booted in future it will remember this setting.  Now we can actually install Basic, enter these commands:

copy dk1:b*.* dk0:
copy dk1:*.bas dk0:


...you should see the files being copied to your boot disk.  Now we're ready to try Basic-11.  Try this command:

basic

You should see this:

BASIC-11/RT-11 V02-03
OPTIONAL FUNCTIONS (ALL, NONE, OR INDIVIDUAL)?

I normally respond by typing ALL (in capitals), in which case Basic responds with "READY".  We have Basic!

We can now type in Basic programs, try this one:

10 FOR I=0 TO 12.6 STEP .2
20 PRINT TAB(30+COS(I)*30);"HELLO WORLD"
30 FOR S=0 TO 1000 \ NEXT S
40 NEXT I
50 GOTO 10
RUN

Press <CTRL>+C quickly twice to stop the program when you've got bored.

To leave Basic-11 the easy way, just type BYE at the READY prompt.

[EDIT: if you're looking for some information on Basic-11, I've posted some documents here.]

[ANOTHER EDIT: the PDP11.co.uk website, where I originally got the image of the languages disk from seems to have been shut down. I have changed the link above to a cached version from the wayback machine. And if you want to see the complete software page from PDP11.co.uk then you can still see it here.]

Comments are closed