Artifact
5b622a42f0d8dd86b43fb15b5450bb1d193375f9:
Wiki page
[How to Run a Naked PiDP-8/I] by
tangent
2018-03-27 22:16:04.
0000: 44 20 32 30 31 38 2d 30 33 2d 32 37 54 32 32 3a D 2018-03-27T22:
0010: 31 36 3a 30 34 2e 32 38 35 0a 4c 20 48 6f 77 5c 16:04.285.L How\
0020: 73 74 6f 5c 73 52 75 6e 5c 73 61 5c 73 4e 61 6b sto\sRun\sa\sNak
0030: 65 64 5c 73 50 69 44 50 2d 38 2f 49 0a 4e 20 74 ed\sPiDP-8/I.N t
0040: 65 78 74 2f 78 2d 6d 61 72 6b 64 6f 77 6e 0a 50 ext/x-markdown.P
0050: 20 38 37 38 63 30 66 32 61 30 62 32 64 62 35 35 878c0f2a0b2db55
0060: 30 36 35 32 35 66 62 66 33 61 63 35 64 62 31 35 06525fbf3ac5db15
0070: 63 32 64 62 61 30 38 35 39 0a 55 20 74 61 6e 67 c2dba0859.U tang
0080: 65 6e 74 0a 57 20 34 34 35 36 0a 23 20 54 68 65 ent.W 4456.# The
0090: 20 53 69 74 75 61 74 69 6f 6e 0d 0a 0d 0a 3e 20 Situation....>
00a0: 22 54 68 65 20 53 20 69 6e 20 49 6f 54 20 73 74 "The S in IoT st
00b0: 61 6e 64 73 20 66 6f 72 20 53 65 63 75 72 69 74 ands for Securit
00c0: 79 2e 22 20 e2 80 94 20 5b 54 56 53 20 62 6c 6f y." — [TVS blo
00d0: 67 5d 5b 74 76 73 5d 0d 0a 0d 0a 54 68 65 20 50 g][tvs]....The P
00e0: 69 44 50 2d 38 2f 49 20 62 69 6e 61 72 79 20 4f iDP-8/I binary O
00f0: 53 20 69 6d 61 67 65 73 20 73 68 69 70 70 65 64 S images shipped
0100: 20 66 72 6f 6d 20 5b 74 68 69 73 20 73 69 74 65 from [this site
0110: 5d 5b 73 69 74 65 5d 20 61 72 65 20 66 61 69 72 ][site] are fair
0120: 6c 79 20 77 65 6c 6c 20 6c 6f 63 6b 65 64 20 64 ly well locked d
0130: 6f 77 6e 2e 20 54 68 65 79 20 73 68 69 70 20 77 own. They ship w
0140: 69 74 68 20 74 68 65 20 6e 6f 72 6d 61 6c 20 52 ith the normal R
0150: 61 73 70 62 69 61 6e 20 64 65 66 61 75 6c 74 20 aspbian default
0160: 75 73 65 72 20 6e 61 6d 65 20 63 68 61 6e 67 65 user name change
0170: 64 20 74 6f 20 61 6e 20 75 6e 63 6f 6d 6d 6f 6e d to an uncommon
0180: 20 6e 61 6d 65 2c 20 74 68 61 74 20 75 73 65 72 name, that user
0190: 20 68 61 73 20 61 20 76 65 72 79 20 73 74 72 6f has a very stro
01a0: 6e 67 20 64 65 66 61 75 6c 74 20 70 61 73 73 77 ng default passw
01b0: 6f 72 64 20 77 68 69 63 68 20 79 6f 75 20 61 72 ord which you ar
01c0: 65 20 66 6f 72 63 65 64 20 74 6f 20 63 68 61 6e e forced to chan
01d0: 67 65 20 6f 6e 20 66 69 72 73 74 20 6c 6f 67 69 ge on first logi
01e0: 6e 20 74 6f 20 73 6f 6d 65 74 68 69 6e 67 20 64 n to something d
01f0: 69 66 66 65 72 65 6e 74 2c 20 74 68 65 20 4f 53 ifferent, the OS
0200: 20 77 6f 6e 27 74 20 61 63 63 65 70 74 20 61 20 won't accept a
0210: 77 65 61 6b 20 70 61 73 73 77 6f 72 64 20 62 79 weak password by
0220: 20 64 65 66 61 75 6c 74 2c 20 61 6e 64 20 74 68 default, and th
0230: 65 72 65 20 61 72 65 20 6e 6f 20 6e 65 74 77 6f ere are no netwo
0240: 72 6b 65 64 20 73 65 72 76 69 63 65 73 20 72 75 rked services ru
0250: 6e 6e 69 6e 67 20 65 78 63 65 70 74 20 66 6f 72 nning except for
0260: 20 53 53 48 2c 20 77 68 69 63 68 20 69 74 73 65 SSH, which itse
0270: 6c 66 20 69 73 20 71 75 69 74 65 20 73 65 63 75 lf is quite secu
0280: 72 65 20 62 79 20 64 65 66 61 75 6c 74 20 6f 6e re by default on
0290: 20 52 61 73 70 62 69 61 6e 2e 0d 0a 0d 0a 59 65 Raspbian.....Ye
02a0: 74 2c 20 73 6f 6d 65 20 70 65 6f 70 6c 65 20 77 t, some people w
02b0: 61 6e 74 20 74 68 65 69 72 20 50 69 44 50 2d 38 ant their PiDP-8
02c0: 2f 49 20 74 6f 20 6a 75 73 74 20 62 65 20 61 6e /I to just be an
02d0: 20 61 70 70 6c 69 61 6e 63 65 3a 20 74 68 65 79 appliance: they
02e0: 20 77 61 6e 74 20 69 74 20 74 6f 20 74 75 72 6e want it to turn
02f0: 20 6f 6e 20 61 6e 64 20 72 75 6e 20 74 68 65 20 on and run the
0300: 50 44 50 2d 38 20 73 69 6d 75 6c 61 74 6f 72 3a PDP-8 simulator:
0310: 20 6e 6f 20 75 73 65 72 20 6e 61 6d 65 73 2c 20 no user names,
0320: 6e 6f 20 70 61 73 73 77 6f 72 64 73 2e 20 49 20 no passwords. I
0330: 72 65 73 69 73 74 20 73 68 69 70 70 69 6e 67 20 resist shipping
0340: 4f 53 20 69 6d 61 67 65 73 20 63 6f 6e 66 69 67 OS images config
0350: 75 72 65 64 20 74 68 69 73 20 77 61 79 20 62 65 ured this way be
0360: 63 61 75 73 65 20 52 61 73 70 62 69 61 6e 20 69 cause Raspbian i
0370: 73 20 61 20 66 75 6c 6c 2d 66 65 61 74 75 72 65 s a full-feature
0380: 64 20 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74 d operating syst
0390: 65 6d 2e 20 57 68 65 6e 20 6e 65 74 77 6f 72 6b em. When network
03a0: 65 64 2c 20 69 74 20 69 73 20 63 61 70 61 62 6c ed, it is capabl
03b0: 65 20 6f 66 20 62 65 69 6e 67 20 61 20 70 6f 77 e of being a pow
03c0: 65 72 66 75 6c 20 69 73 6c 61 6e 64 20 66 6f 72 erful island for
03d0: 20 61 6e 20 61 74 74 61 63 6b 65 72 20 6f 6e 20 an attacker on
03e0: 74 68 65 20 6e 65 74 77 6f 72 6b 2e 20 45 76 65 the network. Eve
03f0: 6e 20 73 6f 6d 65 20 6f 66 20 74 68 65 20 6d 6f n some of the mo
0400: 73 74 20 68 65 61 76 69 6c 79 2d 70 72 6f 74 65 st heavily-prote
0410: 63 74 65 64 20 77 65 62 20 73 65 72 76 69 63 65 cted web service
0420: 73 20 68 61 76 65 20 62 65 65 6e 20 74 61 6b 65 s have been take
0430: 6e 20 64 6f 77 6e 20 62 79 20 73 6d 61 6c 6c 20 n down by small
0440: 61 72 6d 69 65 73 20 6f 66 20 6c 65 73 73 65 72 armies of lesser
0450: 20 73 79 73 74 65 6d 73 20 e2 80 94 20 73 75 63 systems — suc
0460: 68 20 61 73 20 6e 65 74 77 6f 72 6b 65 64 20 2a h as networked *
0470: 70 72 69 6e 74 65 72 73 2a 20 e2 80 94 20 70 6f printers* — po
0480: 75 6e 64 69 6e 67 20 6f 6e 20 74 68 65 6d 20 69 unding on them i
0490: 6e 20 63 6f 6e 63 65 72 74 2e 0d 0a 0d 0a 49 20 n concert.....I
04a0: 72 65 66 75 73 65 20 74 6f 20 62 75 69 6c 64 20 refuse to build
04b0: 4f 53 20 69 6d 61 67 65 73 20 74 68 61 74 20 63 OS images that c
04c0: 6f 6e 74 72 69 62 75 74 65 20 74 6f 20 74 68 69 ontribute to thi
04d0: 73 20 70 72 6f 62 6c 65 6d 2e 0d 0a 0d 0a 49 20 s problem.....I
04e0: 61 6c 73 6f 20 64 6f 20 6e 6f 74 20 62 65 6c 69 also do not beli
04f0: 65 76 65 20 69 6e 20 72 65 73 74 72 69 63 74 69 eve in restricti
0500: 6e 67 20 61 63 63 65 73 73 20 74 6f 20 74 65 63 ng access to tec
0510: 68 6e 69 63 61 6c 20 69 6e 66 6f 72 6d 61 74 69 hnical informati
0520: 6f 6e 2c 20 65 76 65 6e 20 77 68 65 6e 20 6d 61 on, even when ma
0530: 6b 69 6e 67 20 75 73 65 20 6f 66 20 74 68 61 74 king use of that
0540: 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 information is
0550: 68 69 67 68 6c 79 20 69 6e 61 64 76 69 73 61 62 highly inadvisab
0560: 6c 65 2c 20 73 6f 20 69 6e 20 74 68 61 74 20 73 le, so in that s
0570: 70 69 72 69 74 2c 20 49 20 77 69 6c 6c 20 73 68 pirit, I will sh
0580: 6f 72 74 6c 79 20 64 65 73 63 72 69 62 65 20 68 ortly describe h
0590: 6f 77 20 74 6f 20 64 69 73 63 61 72 64 20 74 68 ow to discard th
05a0: 65 20 70 72 6f 76 69 64 65 64 20 73 65 63 75 72 e provided secur
05b0: 69 74 79 20 70 72 6f 76 69 73 69 6f 6e 73 2e 0d ity provisions..
05c0: 0a 0d 0a 42 65 66 6f 72 65 20 49 20 67 65 74 20 ...Before I get
05d0: 74 6f 20 74 68 61 74 2c 20 79 6f 75 20 6d 61 79 to that, you may
05e0: 20 77 61 6e 74 20 74 6f 20 63 6f 6e 73 69 64 65 want to conside
05f0: 72 20 75 73 69 6e 67 20 74 68 65 20 5b 73 65 72 r using the [ser
0600: 69 61 6c 20 6f 72 20 54 65 6c 6e 65 74 20 63 6f ial or Telnet co
0610: 6e 73 6f 6c 65 20 6f 70 74 69 6f 6e 73 5d 5b 73 nsole options][s
0620: 74 63 6f 5d 20 69 6e 73 74 65 61 64 2e 20 54 68 tco] instead. Th
0630: 6f 73 65 20 6d 65 74 68 6f 64 73 20 68 61 76 65 ose methods have
0640: 20 66 65 77 65 72 20 73 65 63 75 72 69 74 79 20 fewer security
0650: 70 72 6f 62 6c 65 6d 73 2c 20 79 65 74 20 61 63 problems, yet ac
0660: 68 69 65 76 65 20 6d 75 63 68 20 74 68 65 20 73 hieve much the s
0670: 61 6d 65 20 65 6e 64 2e 0d 0a 0d 0a 46 69 6e 61 ame end.....Fina
0680: 6c 20 77 61 72 6e 69 6e 67 3a 20 69 66 20 79 6f l warning: if yo
0690: 75 20 64 6f 20 74 68 69 73 20 77 69 74 68 20 61 u do this with a
06a0: 20 6e 65 74 77 6f 72 6b 65 64 20 50 69 44 50 2d networked PiDP-
06b0: 38 2f 49 2c 20 79 6f 75 20 61 72 65 20 74 65 6d 8/I, you are tem
06c0: 70 74 69 6e 67 20 66 61 74 65 20 6f 6e 20 61 6e pting fate on an
06d0: 79 20 6e 65 74 77 6f 72 6b 20 79 6f 75 20 61 74 y network you at
06e0: 74 61 63 68 20 74 68 61 74 20 50 69 44 50 2d 38 tach that PiDP-8
06f0: 2f 49 20 74 6f 2e 0d 0a 0d 0a 5b 73 74 63 6f 5d /I to.....[stco]
0700: 3a 20 2f 77 69 6b 69 3f 6e 61 6d 65 3d 53 65 72 : /wiki?name=Ser
0710: 69 61 6c 2b 6f 72 2b 54 65 6c 6e 65 74 2b 50 44 ial+or+Telnet+PD
0720: 50 2d 38 2b 43 6f 6e 73 6f 6c 65 0d 0a 0d 0a 0d P-8+Console.....
0730: 0a 23 23 20 47 65 74 74 69 6e 67 20 52 69 64 20 .## Getting Rid
0740: 6f 66 20 74 68 65 20 4c 6f 67 69 6e 20 50 72 6f of the Login Pro
0750: 6d 70 74 0d 0a 0d 0a 54 68 65 20 66 69 72 73 74 mpt....The first
0760: 20 74 68 69 6e 67 20 79 6f 75 20 68 61 76 65 20 thing you have
0770: 74 6f 20 64 6f 20 6f 6e 20 6c 6f 67 67 69 6e 67 to do on logging
0780: 20 69 6e 20 69 73 20 63 68 61 6e 67 65 20 79 6f in is change yo
0790: 75 72 20 75 73 65 72 20 6e 61 6d 65 20 62 61 63 ur user name bac
07a0: 6b 20 66 72 6f 6d 20 60 70 69 64 70 38 69 60 20 k from `pidp8i`
07b0: 74 6f 20 60 70 69 60 2c 20 62 65 63 61 75 73 65 to `pi`, because
07c0: 20 73 6f 6d 65 20 63 68 61 6e 67 65 73 20 77 65 some changes we
07d0: 20 77 69 6c 6c 20 6d 61 6b 65 20 62 65 6c 6f 77 will make below
07e0: 20 6f 6e 6c 79 20 77 6f 72 6b 20 70 72 6f 70 65 only work prope
07f0: 72 6c 79 20 77 69 74 68 20 75 73 65 72 20 60 70 rly with user `p
0800: 69 60 20 64 75 65 20 74 6f 20 68 61 72 64 2d 63 i` due to hard-c
0810: 6f 64 65 64 20 63 6f 6e 66 69 67 75 72 61 74 69 oded configurati
0820: 6f 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 on files in the
0830: 73 74 6f 63 6b 20 4f 53 2e 0d 0a 0d 0a 47 69 76 stock OS.....Giv
0840: 65 20 74 68 65 73 65 20 63 6f 6d 6d 61 6e 64 73 e these commands
0850: 2c 20 62 65 69 6e 67 20 2a 76 65 72 79 20 63 61 , being *very ca
0860: 72 65 66 75 6c 2a 20 68 6f 77 20 79 6f 75 20 74 reful* how you t
0870: 79 70 65 20 74 68 65 6d 2c 20 62 65 63 61 75 73 ype them, becaus
0880: 65 20 79 6f 75 20 63 61 6e 20 6c 6f 63 6b 20 79 e you can lock y
0890: 6f 75 72 73 65 6c 66 20 6f 75 74 20 6f 66 20 74 ourself out of t
08a0: 68 65 20 73 79 73 74 65 6d 20 69 66 20 79 6f 75 he system if you
08b0: 20 66 61 74 2d 66 69 6e 67 65 72 20 74 68 65 6d fat-finger them
08c0: 3a 0d 0a 0d 0a 20 20 20 20 24 20 65 78 65 63 20 :.... $ exec
08d0: 73 75 64 6f 20 2d 69 0d 0a 20 20 20 20 23 20 73 sudo -i.. # s
08e0: 79 73 74 65 6d 63 74 6c 20 73 74 6f 70 20 70 69 ystemctl stop pi
08f0: 64 70 38 69 0d 0a 20 20 20 20 23 20 6b 69 6c 6c dp8i.. # kill
0900: 61 6c 6c 20 2d 75 20 70 69 64 70 38 69 20 2d 39 all -u pidp8i -9
0910: 0d 0a 20 20 20 20 23 20 75 73 65 72 6d 6f 64 20 .. # usermod
0920: 2d 6c 20 70 69 20 2d 64 20 2f 68 6f 6d 65 2f 70 -l pi -d /home/p
0930: 69 20 2d 6d 20 70 69 64 70 38 69 0d 0a 20 20 20 i -m pidp8i..
0940: 20 23 20 67 72 6f 75 70 6d 6f 64 20 2d 6e 20 70 # groupmod -n p
0950: 69 20 70 69 64 70 38 69 0d 0a 20 20 20 20 23 20 i pidp8i.. #
0960: 65 78 69 74 0d 0a 0d 0a 4e 6f 77 20 6c 6f 67 20 exit....Now log
0970: 62 61 63 6b 20 69 6e 20 61 73 20 75 73 65 72 20 back in as user
0980: 60 70 69 60 2c 20 77 69 74 68 20 74 68 65 20 73 `pi`, with the s
0990: 61 6d 65 20 70 61 73 73 77 6f 72 64 20 79 6f 75 ame password you
09a0: 20 68 61 64 20 66 6f 72 20 75 73 65 72 20 60 70 had for user `p
09b0: 69 64 70 38 69 60 20 70 72 69 6f 72 20 74 6f 20 idp8i` prior to
09c0: 74 68 69 73 20 63 68 61 6e 67 65 2e 0d 0a 0d 0a this change.....
09d0: 49 66 20 79 6f 75 20 68 61 76 65 20 74 68 65 20 If you have the
09e0: 50 69 44 50 2d 38 2f 49 20 50 43 42 20 61 74 74 PiDP-8/I PCB att
09f0: 61 63 68 65 64 20 74 6f 20 79 6f 75 72 20 50 69 ached to your Pi
0a00: 20 61 6e 64 20 79 6f 75 20 74 72 79 20 74 6f 20 and you try to
0a10: 72 65 73 74 61 72 74 20 74 68 65 20 73 69 6d 75 restart the simu
0a20: 6c 61 74 6f 72 2c 20 74 68 65 20 66 72 6f 6e 74 lator, the front
0a30: 20 70 61 6e 65 6c 20 77 69 6c 6c 20 6e 6f 74 20 panel will not
0a40: 6c 69 67 68 74 20 75 70 20 6e 6f 77 2e 20 20 54 light up now. T
0a50: 68 69 73 20 69 73 20 62 65 63 61 75 73 65 20 74 his is because t
0a60: 68 65 20 50 69 44 50 2d 38 2f 49 20 73 6f 66 74 he PiDP-8/I soft
0a70: 77 61 72 65 20 77 61 73 20 62 75 69 6c 74 20 77 ware was built w
0a80: 69 74 68 20 74 68 65 20 6b 6e 6f 77 6c 65 64 67 ith the knowledg
0a90: 65 20 74 68 61 74 20 74 68 65 20 64 65 66 61 75 e that the defau
0aa0: 6c 74 20 75 73 65 72 20 6e 61 6d 65 20 77 61 73 lt user name was
0ab0: 20 60 70 69 64 70 38 69 60 2e 20 20 59 6f 75 20 `pidp8i`. You
0ac0: 6e 65 65 64 20 74 6f 20 72 65 62 75 69 6c 64 20 need to rebuild
0ad0: 61 6e 64 20 72 65 69 6e 73 74 61 6c 6c 20 69 74 and reinstall it
0ae0: 20 74 6f 20 66 69 78 20 74 68 69 73 3a 0d 0a 0d to fix this:...
0af0: 0a 20 20 20 20 24 20 63 64 20 7e 2f 70 69 64 70 . $ cd ~/pidp
0b00: 38 69 0d 0a 20 20 20 20 24 20 72 6d 20 2e 66 73 8i.. $ rm .fs
0b10: 6c 63 6b 6f 75 74 0d 0a 20 20 20 20 24 20 66 6f lckout.. $ fo
0b20: 73 73 69 6c 20 75 73 65 72 20 64 65 66 61 75 6c ssil user defaul
0b30: 74 20 70 69 64 70 38 69 0d 0a 20 20 20 20 24 20 t pidp8i.. $
0b40: 66 6f 73 73 69 6c 20 6f 70 65 6e 20 7e 2f 6d 75 fossil open ~/mu
0b50: 73 65 75 6d 2f 70 69 64 70 38 69 2e 66 6f 73 73 seum/pidp8i.foss
0b60: 69 6c 20 72 65 6c 65 61 73 65 0d 0a 20 20 20 20 il release..
0b70: 24 20 2e 2f 63 6f 6e 66 69 67 75 72 65 20 26 26 $ ./configure &&
0b80: 20 74 6f 6f 6c 73 2f 6d 6d 61 6b 65 20 26 26 20 tools/mmake &&
0b90: 73 75 64 6f 20 6d 61 6b 65 20 69 6e 73 74 61 6c sudo make instal
0ba0: 6c 0d 0a 20 20 20 20 24 20 73 75 64 6f 20 73 79 l.. $ sudo sy
0bb0: 73 74 65 6d 63 74 6c 20 72 65 73 74 61 72 74 20 stemctl restart
0bc0: 70 69 64 70 38 69 0d 0a 0d 0a 54 68 61 74 20 73 pidp8i....That s
0bd0: 68 6f 75 6c 64 20 6c 69 67 68 74 20 74 68 65 20 hould light the
0be0: 70 61 6e 65 6c 20 62 61 63 6b 20 75 70 2e 0d 0a panel back up...
0bf0: 0d 0a 4e 6f 77 20 77 65 20 63 61 6e 20 66 69 6e ..Now we can fin
0c00: 61 6c 6c 79 20 73 65 74 20 75 70 20 61 75 74 6f ally set up auto
0c10: 2d 6c 6f 67 69 6e 3a 0d 0a 0d 0a 20 20 20 20 24 -login:.... $
0c20: 20 73 75 64 6f 20 72 61 73 70 69 2d 63 6f 6e 66 sudo raspi-conf
0c30: 69 67 0d 0a 20 20 20 20 0d 0a 54 68 65 6e 20 67 ig.. ..Then g
0c40: 6f 20 74 6f 20 2a 2a 42 6f 6f 74 20 4f 70 74 69 o to **Boot Opti
0c50: 6f 6e 73 2a 2a 20 e2 86 92 20 2a 2a 44 65 73 6b ons** → **Desk
0c60: 74 6f 70 20 2f 20 43 4c 49 2a 2a 20 e2 86 92 20 top / CLI** →
0c70: 2a 2a 43 6f 6e 73 6f 6c 65 20 41 75 74 6f 6c 6f **Console Autolo
0c80: 67 69 6e 2a 2a 2e 0d 0a 0d 0a 49 74 20 77 69 6c gin**.....It wil
0c90: 6c 20 6f 66 66 65 72 20 74 6f 20 72 65 62 6f 6f l offer to reboo
0ca0: 74 20 79 6f 75 72 20 73 79 73 74 65 6d 20 74 6f t your system to
0cb0: 20 74 65 73 74 20 74 68 69 73 2e 20 20 49 74 20 test this. It
0cc0: 73 68 6f 75 6c 64 20 73 75 63 63 65 65 64 2e 0d should succeed..
0cd0: 0a 0d 0a 0d 0a 23 23 20 41 74 74 61 63 68 69 6e .....## Attachin
0ce0: 67 20 74 68 65 20 43 6f 6e 73 6f 6c 65 20 74 6f g the Console to
0cf0: 20 74 68 65 20 53 69 6d 75 6c 61 74 6f 72 20 62 the Simulator b
0d00: 79 20 44 65 66 61 75 6c 74 0d 0a 0d 0a 49 6e 73 y Default....Ins
0d10: 74 65 61 64 20 6f 66 20 62 6f 6f 74 69 6e 67 20 tead of booting
0d20: 74 6f 20 61 20 4c 69 6e 75 78 20 63 6f 6d 6d 61 to a Linux comma
0d30: 6e 64 20 70 72 6f 6d 70 74 2c 20 79 6f 75 20 6d nd prompt, you m
0d40: 61 79 20 70 72 65 66 65 72 20 74 6f 20 68 61 76 ay prefer to hav
0d50: 65 20 74 68 65 20 52 61 73 70 62 69 61 6e 20 63 e the Raspbian c
0d60: 6f 6e 73 6f 6c 65 20 61 74 74 61 63 68 65 64 20 onsole attached
0d70: 74 6f 20 74 68 65 20 50 69 44 50 2d 38 2f 49 20 to the PiDP-8/I
0d80: 73 69 6d 75 6c 61 74 6f 72 20 63 6f 6e 73 6f 6c simulator consol
0d90: 65 2c 20 73 6f 20 74 68 61 74 20 79 6f 75 20 73 e, so that you s
0da0: 65 65 20 74 68 65 20 70 72 6f 67 72 61 6d 20 79 ee the program y
0db0: 6f 75 27 72 65 20 73 69 6d 75 6c 61 74 69 6e 67 ou're simulating
0dc0: 3a 20 4f 53 2f 38 2c 20 54 53 53 2f 38 2c 20 53 : OS/8, TSS/8, S
0dd0: 70 61 63 65 77 61 72 21 20 6f 72 20 77 68 61 74 pacewar! or what
0de0: 20 68 61 76 65 20 79 6f 75 2e 0d 0a 0d 0a 54 68 have you.....Th
0df0: 65 20 73 69 6d 70 6c 65 73 74 20 77 61 79 20 49 e simplest way I
0e00: 20 63 61 6e 20 74 68 69 6e 6b 20 6f 66 20 74 6f can think of to
0e10: 20 64 6f 20 74 68 61 74 20 69 73 3a 0d 0a 0d 0a do that is:....
0e20: 20 20 20 20 24 20 65 63 68 6f 20 70 69 64 70 38 $ echo pidp8
0e30: 69 20 3e 3e 20 7e 2f 2e 70 72 6f 66 69 6c 65 0d i >> ~/.profile.
0e40: 0a 20 20 20 20 24 20 73 75 64 6f 20 72 65 62 6f . $ sudo rebo
0e50: 6f 74 0d 0a 0d 0a 54 68 61 74 20 73 68 6f 75 6c ot....That shoul
0e60: 64 20 64 72 6f 70 20 79 6f 75 20 69 6e 74 6f 20 d drop you into
0e70: 74 68 65 20 53 49 4d 48 20 63 6f 6e 73 6f 6c 65 the SIMH console
0e80: 20 61 66 74 65 72 20 74 68 65 20 68 6f 73 74 20 after the host
0e90: 4f 53 20 62 6f 6f 74 73 2e 0d 0a 0d 0a 49 66 20 OS boots.....If
0ea0: 79 6f 75 20 6e 65 65 64 20 74 6f 20 67 65 74 20 you need to get
0eb0: 62 61 63 6b 20 74 6f 20 4c 69 6e 75 78 2c 20 74 back to Linux, t
0ec0: 68 65 72 65 20 61 72 65 20 61 20 63 6f 75 70 6c here are a coupl
0ed0: 65 20 6f 66 20 77 61 79 73 2e 0d 0a 0d 0a 49 66 e of ways.....If
0ee0: 20 79 6f 75 20 6a 75 73 74 20 6e 65 65 64 20 74 you just need t
0ef0: 6f 20 72 75 6e 20 61 20 73 69 6e 67 6c 65 20 63 o run a single c
0f00: 6f 6d 6d 61 6e 64 2c 20 79 6f 75 20 63 61 6e 20 ommand, you can
0f10: 70 72 65 73 73 20 3c 6b 62 64 3e 43 74 72 6c 2d press <kbd>Ctrl-
0f20: 45 3c 2f 6b 62 64 3e 20 61 6e 64 20 74 68 65 6e E</kbd> and then
0f30: 20 72 75 6e 20 79 6f 75 72 20 63 6f 6d 6d 61 6e run your comman
0f40: 64 20 66 72 6f 6d 20 74 68 65 20 60 73 69 6d 3e d from the `sim>
0f50: 60 20 70 72 6f 6d 70 74 20 77 69 74 68 20 74 68 ` prompt with th
0f60: 65 20 60 21 60 20 73 68 65 6c 6c 20 65 73 63 61 e `!` shell esca
0f70: 70 65 3a 0d 0a 0d 0a 20 20 20 20 73 69 6d 3e 20 pe:.... sim>
0f80: 21 64 66 20 2d 68 0d 0a 20 20 20 20 2e 2e 2e 64 !df -h.. ...d
0f90: 69 73 6b 20 66 72 65 65 20 73 70 61 63 65 20 72 isk free space r
0fa0: 65 70 6f 72 74 2e 2e 2e 0d 0a 20 20 20 20 73 69 eport..... si
0fb0: 6d 3e 20 63 0d 0a 20 20 20 20 2e 2e 2e 73 69 6d m> c.. ...sim
0fc0: 75 6c 61 74 69 6f 6e 20 63 6f 6e 74 69 6e 75 65 ulation continue
0fd0: 73 2e 2e 2e 0d 0a 0d 0a 49 66 20 79 6f 75 20 6e s.......If you n
0fe0: 65 65 64 20 74 6f 20 64 6f 20 6d 6f 72 65 20 74 eed to do more t
0ff0: 68 61 6e 20 74 68 61 74 2c 20 49 20 72 65 63 6f han that, I reco
1000: 6d 6d 65 6e 64 20 71 75 69 74 74 69 6e 67 20 6f mmend quitting o
1010: 75 74 20 6f 66 20 53 49 4d 48 20 76 69 61 20 3c ut of SIMH via <
1020: 6b 62 64 3e 43 74 72 6c 2d 45 3c 2f 6b 62 64 3e kbd>Ctrl-E</kbd>
1030: 20 60 71 75 69 74 60 2e 20 20 44 6f 20 79 6f 75 `quit`. Do you
1040: 72 20 4c 69 6e 75 78 20 77 6f 72 6b 2c 20 61 6e r Linux work, an
1050: 64 20 77 68 65 6e 20 64 6f 6e 65 2c 20 72 65 2d d when done, re-
1060: 73 74 61 72 74 20 74 68 65 20 73 69 6d 75 6c 61 start the simula
1070: 74 6f 72 20 61 6e 64 20 72 65 2d 61 74 74 61 63 tor and re-attac
1080: 68 20 74 6f 20 69 74 3a 0d 0a 0d 0a 20 20 20 20 h to it:....
1090: 24 20 73 75 64 6f 20 73 79 73 74 65 6d 63 74 6c $ sudo systemctl
10a0: 20 72 65 73 74 61 72 74 20 70 69 64 70 38 69 0d restart pidp8i.
10b0: 0a 20 20 20 20 24 20 70 69 64 70 38 69 0d 0a 0d . $ pidp8i...
10c0: 0a 0d 0a 23 23 20 4c 69 63 65 6e 73 65 0d 0a 0d ...## License...
10d0: 0a 43 6f 70 79 72 69 67 68 74 20 c2 a9 20 32 30 .Copyright © 20
10e0: 31 37 2d 32 30 31 38 20 62 79 20 57 61 72 72 65 17-2018 by Warre
10f0: 6e 20 59 6f 75 6e 67 2e 20 54 68 69 73 20 64 6f n Young. This do
1100: 63 75 6d 65 6e 74 20 69 73 20 6c 69 63 65 6e 73 cument is licens
1110: 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 ed under the ter
1120: 6d 73 20 6f 66 20 5b 74 68 65 20 53 49 4d 48 20 ms of [the SIMH
1130: 6c 69 63 65 6e 73 65 5d 5b 73 6c 5d 2e 0d 0a 0d license][sl]....
1140: 0a 0d 0a 5b 74 76 73 5d 3a 20 20 68 74 74 70 3a ...[tvs]: http:
1150: 2f 2f 77 77 77 2e 74 65 73 74 61 6e 64 76 65 72 //www.testandver
1160: 69 66 69 63 61 74 69 6f 6e 2e 63 6f 6d 2f 69 6f ification.com/io
1170: 74 2f 73 2d 69 6f 74 2d 73 74 61 6e 64 73 2d 73 t/s-iot-stands-s
1180: 65 63 75 72 69 74 79 2f 0d 0a 5b 73 69 74 65 5d ecurity/..[site]
1190: 3a 20 68 74 74 70 73 3a 2f 2f 74 61 6e 67 65 6e : https://tangen
11a0: 74 73 6f 66 74 2e 63 6f 6d 2f 70 69 64 70 38 69 tsoft.com/pidp8i
11b0: 2f 0d 0a 5b 73 6c 5d 3a 20 20 20 68 74 74 70 73 /..[sl]: https
11c0: 3a 2f 2f 74 61 6e 67 65 6e 74 73 6f 66 74 2e 63 ://tangentsoft.c
11d0: 6f 6d 2f 70 69 64 70 38 69 2f 64 6f 63 2f 74 72 om/pidp8i/doc/tr
11e0: 75 6e 6b 2f 53 49 4d 48 2d 4c 49 43 45 4e 53 45 unk/SIMH-LICENSE
11f0: 2e 6d 64 0a 5a 20 33 61 36 35 62 38 31 31 32 37 .md.Z 3a65b81127
1200: 62 36 34 66 64 62 61 39 39 61 65 31 63 33 33 36 b64fdba99ae1c336
1210: 63 38 30 38 36 62 0a c8086b.