cintsys followup:

For Windows users you’ll actually need a different archive that includes Windows support. I’m using VisualC++ 2005 Express to build this out. You can find it @ . Don’t forget the servicepack 1 for Vista users.


unzip the bcpl zip to somewhere eg (c:\proj\bcpl)

run the visual studio 2005 command promptcd to your project directory

edit the vc9env.bat file: search and replace distribution with where you put your zip file (proj)Next remove all the vcvar lines (since we invoked a vc capable shell we dont need to worry here)


nmake -f MakefileVC
It’ll compiler the interpeter, then it’ll compile all the bcpl bits, and dump you into a shell. From here you can type in ‘logout’ and cd into the bcplprogs directory and play around.
For example

cd ..\bcplprogs\maze


then we’ll compile the maze program with:

bcpl maze.b to maze hdrs BCPLHDRS

finally we can run the maze program:


BCPL Cintcode System (25 Jan 2007)

0> bcpl maze.b to maze hdrs BCPLHDRS
BCPL (3 July 2007)

Code size = 1164 bytes

40> maze

… the program will print the maze, as it solves it…

screens will fly by.


From here you can play with the rest of the bcpl examples. You can exit the interpeter with either control C or logout. Currently there doesnt seem to be a cd command, so I just exit and move via the Vista command shell.

I hope this clears it up somewhat.

TripOS / Cintsys

While I was reading the new part 4 ( ) on the history of the Commodore Amiga, it mentions that AmigaDOS was not the original Operating System that they had wanted, but due to difficulties they had to pick a ‘plan b’ as it were.. They went with TripOS a portable OS written in BCPL.

TripOS ran on PDP-11’s, NOVA’s, m68k’s, and probably other machine type… What is also interesting is that BCPL heavily influenced the development of C! Searching about I found this:

The homepage of Martin Richards, the author of TripOS & BCPL! What’s even cooler is that he’s cooked up an interpeted version of TripOS that will run on most anything! Downloading I was quickly able to setup the exe’s under Vista, and run TripOS. It’s very cool!

C:\temp\BCPL\cintcode>cintsys.exe -v
Boot tracing level is set to 1
Cintcode memory (upb=4000000) allocated
Boot’s stack allocated at 211
Boot’s global vector allocated at 727
Rootnode allocated at 100
syscin/boot loaded successfully
syscin/blib loaded successfully
syscin/syslib loaded successfully
syscin/dlib loaded successfully
BOOT stack is at 211
BOOT global vector is at 727
CLI stack allocated at 8551
CLI global vector allocated at 9067
BCPL Cintcode System (25 Jan 2007)
boot about to call the interpreter recursively
It should start executing the boot function: startrootboot: about to call sys(Sys_interpret,…)
startroot: can now use normal stream i/o
startroot: trying to load syscin/cli
startroot: loaded syscin/cli successfully
startroot: now entering the cli
cli: now entering the main CLI loop

From here you can build various demonstration BCPL programs, and whatnot. Also looking at the code for TripOS it’s VERY small… But then the same could be said of UnixV6.. Things have gotten VERY complicated over the years..

Anyways, I thought you’d like a glimpse into the basis of AmigaDOS!

v0.2 Beta 1

As promised the MicroVAX II/4.3BSD-RENO package has been completed. You can download it from here:

What’s new in this version?

Well again, usermode networking (SLiRP) from Qemu. A newer OS and emulator to take advantage of it. And pre-built gzip & irc. Yes I know it’s not much but since /usr/local is a seperate disk, I can update it later. I’m hoping to get gcc 1.x running, and *MAYBE* even Apache or Lynx. But I’m not sure at the moment if they’ll build. I’ve been using this build for an irc client and so far no issues.

Here is the install notes:

Welcome to this Beta test of SIM-H 3.7 on Windows with BSD 4.3-Reno

This is the second time I’ve written a NSIS install package
so bear with me.

*Please note that this program is nowhere Vista compliant. The user data is
dumped into the program file directory (bad) so you must run this program elevated
as Administrator! (right click on the program link “RUN 4.3BSD-RENO”, and choose run as Administrator).

You can login as root, there is no passwords. I have setup the installation so that you can preserve
the disk images, or overwrite them by simply re-installing the program. This way anyone can easily recover
from a massive system failure.

On NT/2000/2003/XP/Vista machines I would *HIGHLY* recommend compressing the drive images using NTFS
Compression, as the install takes nearly 2 gigabytes, but using compression it will occupy about 135 Megabytes.

I have included a bunch of the documents in PDF format. Before you give up saying there isn’t enough
documention, you may find there is actually too much. All documentation was converted under OS X (groff -t -ms *>;open

I have included an IRC client that will default to (a BSD support site), simply pick a name (bob)
And type the following in as root:

irc bob
/join #bsd

From there you will be on the channel. Feel free to say Hi!

The main website is

By default you should install *everything*. The config
file is setup to mount a /home drive separate from the
Operation System. This will allow for a somewhat painless
recovery if you trash the OS.

On uninstalling you will have the option of keeping your
home disk.

I have installed this copy of 4.3BSD-Reno from the Unix Archive.

The emulator is currently setup for a MicroVAX and it includes SLiRP from
the QEMU project. This allows for ‘user mode networking’ and will allow
you to immediately connect to the internet with no overhead.

The following ports are automatically redirected into the emulator:

42323 23
42380 80
42119 119
42666 666
42667 6667

Of all the ports setup, the only daemon I’ve currently tested is telnet. You
can telnet into 4.3BSD-Reno by typing in:

telnet localhost 42323

Or by using the “attach a pty” link from the start menu.

This is the configuration file that I’m using.
set cpu 32m
set cpu idle
att nvr reno.nvram
set rq0 ra81
att rq0 reno.disk
set rq1 ra81
att rq1 usrlocal.disk
set rq2 ra81
att rq2 opt.disk
set rq3 ra81
att rq3 home.disk
set tq tk50
set tq dis
set lpt dis
set ts dis
set rl dis
set cr dis
set ry dis
set dz lines=4
set tti 7b
set tto 7b
att xq bb
load -r ka655.bin
dep bdr 0
boot cpu

By default on windows the console will not handle ascii correctly.
I have enclosed a copy of putty that will connect on the correct port,
the link is the “Attach a PTY”. Just wait for the Operating System
to boot up to the login prompt.

That’s about it!

Feel free to download it, and give me any feed back! Even better join me on IRC!

Unix v7 for the x86!

Ok so this isn’t exactly emulation, since you can already run Unix v7 via simh’s PDP11 emulator, however you cannot overlook the coolness factor of this. They have ported v7 to the i486 cpu.

In other news I’ve done a very preliminary port of the SLiRP stack from Qemu to SIMH. What is cool about this, is that it allows user mode networking so that you do not have to configure any drivers on the host. Currently I have 4.3BSD-Reno running under the MicroVAX II simulator. I’m going to add some extra utilities (gzip/gcc/gnumake/ircii-4/lynx?/wget?/apache?), convert the SMM into PDF’s, and make it into an install package, much like the 4.2BSD on sourceforge.

If anyone want’s to alpha test it, let me know, otherwise the next post will most likely be the release of 4.3BSD-RENO with NAT!

Happy Thanksgiving!