17 October 2026: a horizon drawn line by line
The seventh batch of the packed $C3 module is program 6, a scene with a flat world stretching away under a moving horizon, clouds of sprites drifting above it, and a round window that opens on it. It takes the module to 78% of its code: 375 routines, every one verified.
Changing the picture partway down the screen
Most of program 6 is not code that runs each line; it is tables. The SNES can be told to rewrite a graphics register by itself as the screen is drawn, a few bytes per line, from a list in memory. This is HDMA, and program 6 uses two whole lists of it: one switches the background mode partway down so the world below the horizon is drawn differently from the sky, others move the scroll, the colour maths and the window line by line.
How an HDMA table works, on toy values: each entry says how many lines to hold, then the value to write. Program 6's real tables do this for several registers at once, and some of their bytes do two jobs: in one table the final count byte is also read as the mode for the last band.
Every entry of every table is now written out in the source with what it does, and the reviews checked each one byte by byte.
What the reviews caught
Three review rounds went into this batch, and the most instructive finding was about the reviews themselves. The first round said one of the scene's tile packs held background graphics; the fix took that at its word. The second round unpacked the background's map and showed it only ever uses tiles from a different pack: the first pack is the sprites' second page of tiles. A review finding is a claim like any other, and the rule now is that a fix proves every claim from the code, including the ones in the finding.
The original's quirks are in the headers too: the sprite builder divides by zero on the scene's first frame (the result is harmless), two random-number reads look at palette memory instead of the console's counters because the data bank is wrong at that point, and the scroll wraps a negative position by $401 where $400 was meant.
Where the module stands
Everything below $8538 is matched now. The packed $C3 module is at 16,453 of its 21,030 code bytes (78.24%), all 375 matched routines verified; the 65816 code outside it and the SPC700 sound driver are still complete and verified.
Next
Programs 10, 12 and 13, which should finish the module's code, and the battle scripts, which are written and in audit.