Commit Graph
13 Commits
Author SHA1 Message Date
phillipandAntigravity a819c712dc docs: document hardware constraints, ISR decoupling, and GDB troubleshooting
Document the 256-byte ARM9 IRQ stack limitation, console non-reentrancy,
input bus contention avoidance with swiWaitForVBlank, boot sequencing,
HUD dirty-flag caching, and GDB Data Abort diagnosis procedures.
Update README with progressive speed scaling and persistent Game Over screen.

Co-authored-by: Antigravity <antigravity@google.com>
2026-10-04 00:25:17 +02:00
phillipandAntigravity 496de1a31f fix: decouple VBlank ISR and main loop to prevent IRQ stack overflow
- Make handle_vblank strictly increment frame counter (frame++)
- Move heavy frame logic (background updates, OAM updates, palette animations, and console stats) to update_frame() on the main thread synchronized with swiWaitForVBlank()
- Eliminate 256-byte ARM9 IRQ stack (sp_irq) overflow caused by bg_update and iprintf that was corrupting DTCM stack and causing data aborts
- Preserve all playfield entities on game over with top-screen defeat summary and smooth background deceleration

Co-authored-by: Antigravity <antigravity@google.com>
2026-10-04 00:21:09 +02:00
phillip 91908d1f15 feat: add handcrafted 8x8 sprite art and VBlank bioluminescent animation for rotten apples 2026-10-03 23:49:24 +02:00
phillip 8559159fc0 refactor: remove blinking expiration animations from rotten and cursed apples 2026-10-03 22:26:46 +02:00
phillip adda5db2f4 feat: add finite lifetimes and despawn mechanics for rotten and cursed apples 2026-10-03 21:57:13 +02:00
phillip 9a3a0bd9fd feat: add temporary hazardous barriers in hard mode 2026-10-03 21:32:02 +02:00
phillip 08a4b41280 feat: overhaul cursed apple sprite with custom tile data, vibrant palette, and dynamic pulsing glow 2026-10-03 21:02:59 +02:00
phillip 60bf111400 feat: add custom background rendering and speed scaling features for snake gameplay 2026-10-03 20:58:33 +02:00
phillip 93c0a44027 docs: require Co-authored-by trailer in commit messages for AI agents 2026-10-01 22:20:27 +02:00
phillip f9717a26a3 docs: correct author name spelling in AGENTS.md 2026-10-01 22:16:48 +02:00
phillip fd87ad3091 feat: prevent reversing directly into snake neck and play denied sound effect 2026-10-01 22:11:00 +02:00
phillip 60740a53c2 refactor: optimize snake sprite rendering using preloaded directional assets and implement HUD caching 2026-10-01 22:00:55 +02:00
phillip db9013c9c5 docs: add AGENTS.md and README.md documentation files 2026-10-01 21:43:34 +02:00