"This is like when those tribal people venture out in the desert to endure great pains to finally become a man! Some kind of ancestor tribute" - loaderror
Commodore 64 crash course
commodore 64
CPU: MOS 6510
Slightly-modified 6502
0.985mhz in PAL regions
Memory: 64 kilobytes
Shared (mostly) memory architecture, no separate VRAM (except 4-bit color RAM, but that's CPU-accessible directly)
Graphics resolution: 320x200 pixels
LOTS of caveats here, but that's mostly what's used in this demo
The first bytes of the intro are a small BASIC program, that jumps to a subroutine located directly after
Load address (2 bytes, little-endian)
BASIC program
"10 sys 2061"
Machine code program (2061)
unpacking stages
Stage 2: Relocation
We want to extend the BASIC program with some table generation stuff when decompressing, but that would clobber our compressed data, so let's move it (and the next unpacker stage) out of the way first!