Skip to content

Instantly share code, notes, and snippets.

View TedThompson's full-sized avatar
😁
Working out the bugs!

Ted Thompson TedThompson

😁
Working out the bugs!
View GitHub Profile
@TedThompson
TedThompson / SCANsat_cargo_patches.cfg
Created March 22, 2023 19:08 — forked from alex-d-boyd/SCANsat_cargo_patches.cfg
Module Manager Config File to add EVA construction and cargo storage to SCANsat parts.
// KSP Module Manager Config File
// Add Cargo part status to SCANsat parts
// Author: Alex Boyd (AlexinTokyo)
// Part: SCAN Been There Done That®, Mass: 0.02
@PART[scansat-exomars-1]:FINAL
{
MODULE
{
@TedThompson
TedThompson / HEXACON.BAS
Created September 20, 2018 02:01
Apple //e Applesoft BASIC program to convert HEX opcodes to decimal numbers for POKEing into memory
100 HOME
110 PRINT ">>HEXACON - HEX to DECicmal converter"
120 PRINT "_____________________________________"
130 PRINT
140 INVERSE : PRINT "MAKE SURE CAPS LOCK IS ON": NORMAL
150 PRINT "Enter one byte at a time."
160 PRINT "Enter - to back up and reenter data"
170 PRINT "Press ENTER key alone to end."
180 PRINT
190 DIM B$(255),C$(255):I = 1
@TedThompson
TedThompson / TREKTHEME.BAS
Created September 20, 2018 01:59
Apple //e Applesoft BASIC Music to play the opening melody of the Star Trek theme.
100 DIM SC(10)
110 PLAY = 768
120 DATA 160,100,169,1,133,250,174,3,3,228,250,208,3,173,48,192,202,208,246,173,48,192,136,240,7,198,250,208,233,76,2,3,96
130 REM
140 REM 233,220,208,195,184,175,164,154,146,137,129,122,114,108
150 REM G G# A A# B C C# D D# E F F# G G#
160 REM
170 FOR I = 0 TO 32
180 READ V: POKE PLAY + I,V: NEXT
190 POKE 769,200: REM 769 IS DURATION; 771 IS PITCH