Skip to content

Instantly share code, notes, and snippets.

View stepleton's full-sized avatar

Tom Stepleton stepleton

View GitHub Profile
@stepleton
stepleton / FLBOOT.TAL
Created September 29, 2022 23:27
Annotated source code for a "worm" program that traverses a network of 32-bit Transputers, establishes a tree topology atop that network, and loads and executes programs across that topology. This code shipped with the "Mandelzoom" fractal drawing demo originally made by Computer System Architects of Provo, Utah. A slightly modified version of t…
;******************************* FLBOOT.TAL ********************************
; (C) Copyright 1987-1993 Computer System Architects, Provo UT. *
; This program is the property of Computer System Architects (CSA) *
; and is provided only as an example of a transputer/PC program for *
; use with CSA's Transputer Education Kit and other transputer products. *
; You may freely distribute copies or modifiy the program as a whole or in *
; part, provided you insert in each copy appropriate copyright notices and *
; disclaimer of warranty and send to CSA a copy of any modifications which *
; you plan to distribute. *
; This program is provided as is without warranty of any kind. CSA is not *
@stepleton
stepleton / calcomp_to_hpgl.py
Created May 3, 2024 22:26
Rudimentary Calcomp to HPGL converter
#!/usr/bin/python3
# Copyright 2024 Google LLC.
# SPDX-License-Identifier: Apache-2.0
# Extremely limited Calcomp plotter language to HPGL converter, targeting
# specifically files output by code at
# https://gitlab.com/metagrowing/VZ.AND..NOT.VT.OR..NOT.VZ.AND.VT
from sys import stdin, stdout
from math import pi