This page tells how to get MSU BASIC running on simh or on real hp-2100 family computers.
Things you need:
simh - http://simh.trailing-edge.com/ - hp2100 emulator or
- real hp2100 class hardware
- 12539C Time Base Generator (CLK)
- at least one 12531C TTY (serial) card
asm21.pl - http://rikers.org/hp2100/asm21-pl.txt (save as asm21.pl) Perl hp2100 assembler
22255mon.asm - http://rikers.org/hp2100/msu/22255mon.asm source for MSU multi-user BASIC monitor (runtime)
22255mon.abs - http://rikers.org/hp2100/msu/22255mon.abs binary tape image
22255prep.asm - http://rikers.org/hp2100/msu/22255prep.asm source for MSU multi-user BASIC prepare (code to configure the monitor)
22255prep.abs - http://rikers.org/hp2100/msu/22255prep.abs binary tape image
22255prep-nolog.asm - http://rikers.org/hp2100/msu/22255prep-nolog.asm above with patch to disable logging
22255prep-nolog.abs - http://rikers.org/hp2100/msu/22255prep-nolog.abs binary tape image
you may find more stuff in http://rikers.org/hp2100/msu/
Steps:
- stub out log subroutines for simh as it can't handle multiple tty cards
- subroutines READL and OUTL are stubbed out in 22255prep.asm
- note: you may want to re-enable them on real hardware
- assemble sources to get tape images
asm21.pl 22255prep.asm (or the nolog version)
asm21.pl 22255mon.asm
load simulator "hp2100"
load tapes "load 22255prep.abs" (or nolog) and "load 22255mon.abs"
set switch to tty address (11 is default) "d s 11"
slow down the tty to avoid errant interrupts "deposit TTY TTIME 400"
start prep at 30000 "g 30000"
- answer questions
- clock i/o - 13
- log tty - 11 (but disabled for simh)
- number of channels - 1
- channel 1 tty - 11
- card reader - NO
- photo reader - NO
- account number - 0
- code-word - ROOT
- at next account number enter "/E" to end
- information table - anything followed by "/E" on a separate line
- standard core - YES
- punch tape - NO (not needed, though you can punch to 12 if you attach a file first)
- year - 78
- month - 11
- day - 11
- time - 1111
- login - HELLO-ROOT
- name-i.d. - ROOT-0
- enter program
- run
I've not tried saving programs anywhere or loading them from tape etc. That'll come soon.
I've not tried it on real hardware yet either, but Terry Newton has. He has also integrated it into HP-IPL/OS and added mostly working 31k word machine support.