Meta-code in some games

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems. See the NESdev wiki for more information.

Moderator: Moderators

Post Reply
User avatar
krzysiobal
Posts: 1036
Joined: Sun Jun 12, 2011 12:06 pm
Location: Poland
Contact:

Meta-code in some games

Post by krzysiobal »

When I looked at the binary of some games, I see some weird text, which looks like comments or metacode of some higher language, (examples shown below). Any clue what's the purpose?

*Final Fight 3
Image

*1997 Super HIK 18-in-1 (JY-101)
Image

*1997 Super HIK 21-in-1 (JY-105)
Image

*Dragon Ball Z - Super Butouden 2 (Unl)
This is dumped from the blob game (right), comparing with the DBZ that is floating on the inernet (left) shows that those text were cut off, so maybe this blob is first release or something
Image
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Meta-code in some games

Post by tepples »

A lot of old-fashioned assemblers and linkers neglected to clear RAM before assembling into it. This caused unused areas to have whatever data happened to be in that part of RAM, and in this case, it happened to be source code. See "Category:Games with uncompiled source code" and "Final Fight 3 (NES)" on TCRF.
User avatar
Sumez
Posts: 919
Joined: Thu Sep 15, 2016 6:29 am
Location: Denmark (PAL)

Re: Meta-code in some games

Post by Sumez »

What was the GBA or DS game(?) that accidentally got filled with a bunch of cached porn websites? :D
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Meta-code in some games

Post by tepples »

There was the unreleased game DynaMike for Game Boy Color.
User avatar
Sumez
Posts: 919
Joined: Thu Sep 15, 2016 6:29 am
Location: Denmark (PAL)

Re: Meta-code in some games

Post by Sumez »

Yes, that was the one! I knew I could count on you.
Post Reply