@top!
if (typeof console == "undefined") { window.console = {log: function() {}}; }
// checks if browser CAN handle console.log() and disables if NOT


Add code for pressing CR='CONTINUE' (like the other key-presses)
Add code for HYPERSPACE etc. as in SPACEWAR later versions
Add code for [x] PDP-1C and [x] PDP-1D
Fix up STOP options ... STOP not OPR (stop for ALL unknown OPR options ... not just LAP)
Put stop options near "HARDWARE" OPTIONS (add name HARDWARE)
Add a STOP option [x] for OV changing (from 1 to 0 OR 0 to 1!)
Press CONTINUE when running ... show registers on console?

[ ] Add a MUTE button (to turn the sound off)



Reference material
------------------

https://www.masswerk.at/spacewar/pdp-1-computer-and-spacewar.html
Wikipedia
Stuff from b1.mac
Listings?
Link to PiDP-1 ... ?
BBC TV - Horrible Science Season 1 Episode 8 (2025) about 13 minutes in ... Terrifying Tech




Check Status CHECK STATUS
cks = IOT 0033
This instruction checks the status of various in-out devices and sets IO Bits 0
through· 6 for subsequent program interrogation as follows:
IO Bit
Positions	Status Register Definitions
=========	===========================
0	Set to 1 when light-pulse strikes pen
	Set to 0 at the start of each dpy instruction
1	Set to 1 when Punched Tape Reader Buffer has information
	  ready to be transferred to IO Register
	Set to 0 by the reader return pulse or by the rrb instruction
2	Set to 1 when typewriter is free to receive a tyo instruction
	Set to 0 at the start of each tyo instruction
3	Set to 1 when typewriter key is struck
	Set to 0 by completion of tyi instruction
4	Set to 1 when tape punch is free to receive a ppa or ppb instruction
	Set to 0 at the start of each ppa or ppb instruction
5	Set to 1 when Type 23 Drum address equals address specified
	by dba instruction
	Set to 0 by the dcc instruction
6	Set to 1 on entering the Sequence Break mode
	Set to 0 on leaving the Sequence Break mode



https://github.com/obsolescence/pidp1/tree/main/tapes

tapes
    music
	dpys5.mac
	dpys5.rim
	hc1d.mac
	hc1d.rim
	index.html
	index.html?C=M;O=A
	index.html?C=M;O=D
	index.html?C=N;O=A
	index.html?C=N;O=D
	index.html?C=S;O=A
	index.html?C=S;O=D
lives2.mac
lives2.rim
pdp1m13.mac
pdp1m13.rim
robots.txt
sw41f.mac
sw41f.rim
1invad.asm
1invad.lst
1invad.mac
1invad.rim
1nvader2.rim
444.pt
FLASH.lst
FLASH.oct
FLASH.rim
buxtehude_fugueInCmin.bin
circle.mac
circle.rim
ddt.mac
ddt.rim
dpys5.mac
dpys5.rim
hc1d.rim
icss_1_2.lst
icss_1_2.mac
icss_1_2.rim
icss_1_2.txt
jsb_littleFugue.bin
life441.rim
life451.rim
lisp.mac
lisp.rim
lives2.rim
mozart_sym35_1feb68.bin
pdp1m13.rim
pong.rim
spacewar2B_5.rim
spacewar48.rim
sw41f.rim
trioSonataI_intermediate.bin
typtst.mac
typtst.rim
