124
submitted 3 weeks ago* (last edited 3 weeks ago) by akunohana@piefed.blahaj.zone to c/programmer_humor@programming.dev

I know it's not self-hosting, but I thought it deserved a shoutout.

And when you're done laughing:
https://tasvideos.org/5384S

you are viewing a single comment's thread
view the rest of the comments
[-] lokalhorst@feddit.org 8 points 3 weeks ago

Thanks for the explanation. Sounds interesting, I'll try to read up on the topic!

One thing I am still confused about:

Does that mean Super Mario and Zelda are somehow stored as legacy code in the Game Boy Game version of Pokemon Yellow, or is the code for these games injected by the TAS?

[-] ChaoticNeutralCzech@feddit.org 11 points 3 weeks ago* (last edited 3 weeks ago)

Everything is injected. Even most of Pokémon Gold, including the code enabling GBC features (the font is the same tho). This can't be done on the NES because the character (graphics) is in CPU-inaccessible memory (and therefore ROM on most cartridges). There are several stages of the payload that write and execute each other:

  1. name+item manipulation
    • a few bytes in several seconds
  2. copying existing button input buffer
    • 60 bytes per second
  3. polling buttons in a loop
    • only CPU-constrained, almost as fast as copying from the cartridge to RAM, literally fast enough to stream video at 10 fps (or in this case, 15 fps with ⅔ of the screen area updating, see technical writeup OP linked)

The Ocarina of Time "Triforce%" TAS speedrun (very good live commentary at GDQ!) activates some debug code such as the inventory debug menu and Starfox spaceship model

[-] akunohana@piefed.blahaj.zone 4 points 3 weeks ago* (last edited 3 weeks ago)

What have you done. I saw your comment the moment I entered my flat. I shouldn't have pressed the link (pun intended). But I did.

I didn't change, shower, eat or any other of my coming home on a workday routines. I just watched. And cried at the end.

My childhood is now complete. Thank you 🫶

this post was submitted on 10 Jun 2026
124 points (98.4% liked)

Programmer Humor

32119 readers
191 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS