Skip to content

Instantly share code, notes, and snippets.

View KubaO's full-sized avatar

Kuba Sunderland-Ober KubaO

View GitHub Profile
@KubaO
KubaO / tape.py
Created April 28, 2025 17:10
A Raspberry-Pi based "tape recorder" emulator for retro computers. Works with Luxor ABC 80 and ABC 800 series, should work with others. Tested on ABC 802..
#! /usr/local/bin/python3.13
#
# Licensed under the MIT license. (c) 2025 Kuba Sunderland-Ober
#
# A GUI tape recorder utility for ABC802 connected to Raspberry Pi GPIO
#
# On the Pi, ensure that pigpiod is running, allowing remote connections.
#
# Edit /etc/systemd/system/pigpiod.service/public.conf to change pigpiod
# command line arguments to:
@KubaO
KubaO / GdiPlusForm.twin
Last active January 12, 2026 19:12
twinBASIC minimal GDI+ example
' Based on https://www.vbforums.com/showthread.php?598771-VB6-GDI-Usage-amp-Samples
' Dependencies: None other than the default packages in a new project.
[FormDesignerId("C5DA6B58-D856-43E1-A32A-56C86E5BAA59")]
Class frmMain
Option Explicit
Dim token As LongPtr
Dim usedHDC As LongPtr