Skip to content

Instantly share code, notes, and snippets.

View wyan's full-sized avatar
👾
mingling with retro stuff, yearning for the VT52, still looking at the fnords

Alice Wyan wyan

👾
mingling with retro stuff, yearning for the VT52, still looking at the fnords
  • CIFP Camino de la Miranda
View GitHub Profile
@wyan
wyan / dspHostDrum8.ino
Created March 5, 2019 07:00 — forked from anonymous/dspHostDrum8.ino
Drum8 code for the dsp-Host module
// Copyright 2016 DSP Synthesizers Sweden.
//
// Author: Jan Ostman
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@wyan
wyan / README
Created March 5, 2019 14:41
ATTiny85 based MIDI to CV
Requires https://github.com/heartscrytech/DigisparkMIDI
Bootloader https://github.com/micronucleus/micronucleus
See instructions at https://janostman.wordpress.com/cheap-diy-usb-midi-to-cv-interface/
@wyan
wyan / dspD8.ino
Created March 28, 2019 14:36 — forked from anonymous/dspD8.ino
The dsp-D8 drum synthesizer
// dsp-D8 Drum Chip (c) DSP Synthesizers 2015
// Free for non commercial use
// http://janostman.wordpress.com
#include <avr/interrupt.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
// dsp-L8 Latin Perc Chip (c) DSP Synthesizers 2015
// Free for non commercial use
// http://janostman.wordpress.com
#include <avr/interrupt.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
@wyan
wyan / coefficient.py
Created December 25, 2019 21:59 — forked from pichenettes/coefficient.py
Mapping an uint16_t to a value between 32 and 32768 with an exponential scale; with only 64 bytes of constant data
import numpy
import pylab
# coeff = numpy.exp(numpy.arange(65536) * numpy.log(1000) / 65536.0) * 32.768
# coarse_table = numpy.round(coeff[::4096])
# fine_table = numpy.round(coeff[:4096+256:256] / 32.768 * 32768)
coarse_table = [ 33, 50, 78, 120, 184, 284, 437, 673, 1036, 1596, 2457, 3784, 5827, 8973, 13818, 21279 ]
fine_table = [ 32768, 33664, 34585, 35531, 36503, 37501, 38527, 39580, 40663, 41775, 42918, 44092, 45298, 46536, 47809, 49117, 50460 ]
@wyan
wyan / pdp10-ka-its-fragment.ini
Created May 12, 2020 11:01
Setting up ITS on the PDP10-KA simulator
# IMP Network Interface
set imp enabled
set imp mit
set imp nodhcp
set imp mpx=4
set imp mac=e2:6c:84:1d:34:a3
set imp ip=10.0.2.6/24
set imp gw=10.0.2.2
set imp host=192.168.1.88
at imp nat:tcp=2123:10.0.2.6:23,tcp=2121:10.0.2.6:21,tcp=2195:10.0.2.6:95
@wyan
wyan / ANSI.md
Created April 15, 2022 20:00 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@wyan
wyan / README.en.md
Created April 16, 2022 14:47 — forked from akihikodaki/README.en.md
Linux Desktop on Apple Silicon/M1 in Practice

Linux Desktop on Apple Silicon/M1 in Practice

I bought M1 MacBook Air. It is the fastest computer I have, and I have been a GNOME/GNU/Linux user for long time. It is obvious conclusion that I need practical Linux desktop environment on Apple Silicon/M1.

Fortunately, Linux already works on Apple Silicon/M1. But how practical is it?

  • Two native ports exist.
@wyan
wyan / wofi-emoji-paster
Created March 6, 2024 17:23 — forked from Sebas-h/wofi-emoji-paster
Sway emoji picker - Extended to insert emoji immediately after choosing it, similar behavior as macOS
#!/usr/bin/env bash
################################################################################
################################################################################
# Forked from: https://github.com/dln/wofi-emoji
# which presents a wofi menu to choose an emoji and put it into the clipboard
#
# This script:
# - Stores the clipboard's current top item before overwriting it with the emoji
# - Emulates `ctrl+v` to paste the emoji
@wyan
wyan / OpenVMS simh 1.md
Created April 15, 2024 08:58 — forked from fisher/OpenVMS simh 1.md
OpenVMS simh 1

OpenVMS is an operating system originally developed by DEC (Digital Equipment Corporation), a company acquired by Compaq which was then acquired by HP for the VAX platform.

Although development started in the mid-1970s into the 1980s, OpenVMS is still very much alive with up-to version 7.3 available for VAX, and continued development in 8.x for DEC Alpha and now Intel Itanium architectures. Even Oracle, who acquired DEC's Rdb RDBMS have stated that they will continue to support and develop Rdb, creating a lesser gap between it and Oracle Database system