Skip to content

Instantly share code, notes, and snippets.

View scratchminer's full-sized avatar

scratchminer

View GitHub Profile
@scratchminer
scratchminer / PowerNoise Reference.md
Last active January 27, 2024 19:35
PowerNoise sound chip reference

PowerNoise sound chip reference

The PowerNoise is a fantasy sound chip designed by jvsTSX and The Beesh-Spweesh!. The Hexheld fantasy console incorporates a PowerNoise core into its HiveCraft SoC.

It is equipped with three configurable "noise" channels, as well as a unique "slope" channel for more traditional waveform synthesis. It also has two 8-bit bidirectional GPIO ports (similar to the AY-3-8910), but in the Hexheld these are reserved.

Channel implementations

Each channel has a 4-bit "octave" value, which corresponds to the divider that the master clock signal is fed through before it increments the frequency counter. For example, a value of 1 means that the frequency counter is incremented every other cycle.

@scratchminer
scratchminer / tic-80_api.md
Created August 20, 2023 17:21
Unofficial documentation for the TIC-80 HTTP API.

TIC-80 API documentation

Note: The host for all API requests is https://tic80.com.


GET /api/

Used for update checking and the surf utility.

Query parameters:

@scratchminer
scratchminer / playdate_sim_keys.md
Last active September 12, 2023 03:37
List of Playdate Simulator key codes

List of Playdate Simulator key codes

Notes for some keys appear below the table.

Code Corresponding Key
0x00 (1)
0x01
0x02
0x03
0x04 F1