Skip to content

Instantly share code, notes, and snippets.

View larsbrinkhoff's full-sized avatar
💭
Debugging PDP-10 code

Lars Brinkhoff larsbrinkhoff

💭
Debugging PDP-10 code
View GitHub Profile
@larsbrinkhoff
larsbrinkhoff / MEANING.MID
Created March 11, 2026 16:36
ITS program to compute "Meaning of Life, Univerfse, and Everything"
TITLE Meaning of Life, Universe, and Some More
;Only AI code used was from MIT-AI.
A==1
B==2
P==17
TYOC==1
PDLLEN==10
CONVENTIONS:
^ (YOU SHOULD SEE THIS AS UPARROW) THE FOLLOWING CHARACTER IS
TYPED WITH THE CONTROL KEY HELD DOWN
<CR> CARRIAGE RETURN
LIST OF HOSTS IN ORDER OF HOST NUMBER MODULO 64. WITH SUFFICIENT
INFORMATION, WHERE KNOWN, TO GET YOU STARTED. IF THERE ARE ANY
SUGGESTIONS AND/OR ERRORS, PLEASE LET ME KNOW, AND I WILL FIX
THEM. SEND ME A NOTE BY ":MAIL JOHNNY <INFO> ^C". INFO CAN BE
@larsbrinkhoff
larsbrinkhoff / gist:a3df0c0c2e80bcfc48a2c75722c5094e
Last active February 17, 2024 18:11
Shared memory between PDP-10 and a remote computer
/* This is just pseudo code that happens to look a bit like C. */
/* The block of shared memory on the host looks like this. */
typedef struct {
/* Only written by PDP-10.*/
pid_t pdp10_pid;
word_t pdp10_data;
int pdp10_address;
/* Only written by remote side. */
Hipsters Hackers
Beards Beards
Microbreweries Microcode
You probably never heard of it You probably never heard of ITS
Horn rimmed glasses Horn has glasses
Retro electronics Retro electronics
Macchiato Macsyma
Strange new music Strange old music
Speaking with a lisp Programming with a Lisp
In /etc/systemd/scripts I have "sim-network-env":
```
#!/bin/sh
# VDE network environment preparation script
case "$1" in
start)
echo -n "Starting VDE networks: "
# If you want the tun kernel module to be loaded by the script
@larsbrinkhoff
larsbrinkhoff / Knight-keyboard.kbd.json
Last active August 13, 2025 22:23
Knight keyboard
[
{
"backcolor": "#363636",
"name": "Knight keyboard"
},
[
{
"x": 0.5,
"c": "#0073a2",
"t": "#CCCCB7",