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 / 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
TITLE "V" TEST
DEFINE FOO(A) <
IFGE A,<JFCL>
>
START: FOO X
X: 42
@larsbrinkhoff
larsbrinkhoff / Knight-keyboard.kbd.json
Last active December 30, 2021 08:58
Knight keyboard
[
{
"backcolor": "#363636",
"name": "Knight keyboard"
},
[
{
"x": 0.5,
"c": "#0073a2",
"t": "#CCCCB7",
@larsbrinkhoff
larsbrinkhoff / MIDAS 16K
Created March 6, 2018 09:22
MIDAS 16K, instructions below 100
000000: 200400005425 move 10, 5425 ;"0$ L5"
000001: 312400005421 came 10, 5421 ;"94 L1"
000002: 254000012007 jrst 12007 ;"5@ !0'"
000003: 260040013224 pushj 1, 13224 ;"6 @!:4"
000004: 205400100000 movsi 10, 100000 ;"0L ( "
000005: 254000011767 jrst 11767 ;"5@ !/W"
000006: 262040000006 pop 1, 6 ;"60@ &"
000007: 211440003177 movni 11, 3177 ;"1,@ 9_"
000010: 260040012412 pushj 1, 12412 ;"6 @!4*"
000011: 200246020500 move 5, 20500(6) ;"0"F"% " " \n0! "