Skip to content

Instantly share code, notes, and snippets.

Our first prod as Vollversion Trio! Made and released @ Revision 2023
-----
How to Run:
The real deal:
1. Get a PAL SNES with a Super Gameboy 1 (SGB2 is not compatible afaik).
2. Load the ROM onto a flashcart and run it
Emulator:
@binarycounter
binarycounter / raytracer1_for_twitter.py
Last active November 29, 2021 00:51
A tiny simplistic python raytracer based on a BBC BASIC program https://twitter.com/bbcmicrobot/status/1464585083109707776
# An attempt to port this https://twitter.com/bbcmicrobot/status/1464585083109707776 from BBC Basic to python
# To understand how it works and maybe attempt to write something similar in 65816 assembly (SNES)
# License for my part of the code is MIT, cannot speak for the many people that worked on the original BBC BASIC version though.
# Requires the python modules PIL or Pillow for image output. Outputs a 8 bit monochrome PNG image.
from PIL import Image, ImageOps
import math
# Set up image
@binarycounter
binarycounter / gist:9bd93ef4271a11aee3e395d04b93ed3a
Last active April 17, 2018 14:46
Pokemon Red Bootleg, flash(?) save disassembly
WRA1:DE00 E5 push hl
WRA1:DE01 D5 push de
WRA1:DE02 C5 push bc
WRA1:DE03 3E 37 ld a,$37
WRA1:DE05 EA 00 21 ld [$2100],a //Change ROM bank
WRA1:DE08 21 00 A0 ld hl,$A000 //Source Address
WRA1:DE0B 11 00 60 ld de,$6000 //Destination Address
WRA1:DE0E 3E 0A ld a,$0A
WRA1:DE10 EA 00 00 ld [$0000],a //Enable Read/write to RAM
WRA1:DE13 3E 01 ld a,$01