Skip to content

Instantly share code, notes, and snippets.

View MagnetarRocket's full-sized avatar
🚀
impatient!

MagnetarRocket

🚀
impatient!
View GitHub Profile
@MagnetarRocket
MagnetarRocket / atari-vcs_freebsd_pci-listing.txt
Last active September 18, 2025 00:26
Output from pciconf on a Atari VCS
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
ghostbsd@livecd ~> pciconf -lv
hostb0@pci0:0:0:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15d0 subvendor=0x1022 subdevice=0x15d0
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 Root Complex'
class = bridge
subclass = HOST-PCI
hostb1@pci0:0:1:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1452 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
@MagnetarRocket
MagnetarRocket / colors-plan9.txt
Created August 19, 2025 03:02
Colors from plan9's draw.h and term.h?
Main:
DBlack = 000000,
DWhite = FFFFFF,
DRed = FF0000,
DGreen = 00FF00,
DBlue = 0000FF,
DCyan = 00FFFF,
DMagenta = FF00FF,
DYellow = FFFF00,
@MagnetarRocket
MagnetarRocket / usb_hid_keys.h
Created December 5, 2023 03:34 — forked from MightyPork/usb_hid_keys.h
USB HID Keyboard scan codes
/**
* USB HID Keyboard scan codes as per USB spec 1.11
* plus some additional codes
*
* Created by MightyPork, 2016
* Public domain
*
* Adapted from:
* https://source.android.com/devices/input/keyboard-devices.html
*/
mogrify -format exp *.pxe
// options out in