Author Topic: Uncompiled source code in Kart Fighter. Also, error messages in Somari?  (Read 4685 times)

HummerTeam1001

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • http://famicloneblog.wordpress.com
I'm not sure if I posted this in the right part of PGC forums, but whatever.  :P

So, I've been opening up some Hummer Team games with a hex editor text editor and found some (kinda) interesting stuff.  :)

Apparently, there's a TON of uncompiled source code in Kart Fighter. (I put it in a spoiler because it's a lot of code).  :

Spoiler: click to toggle

Well, that's it for the uncompiled Kart Fighter code. Maybe I missed something, but probably not.

Anyway, somebody should probably look into this and see if there's anything interesting in it. I do programming, but not this low-level machine code stuff. :\


Next off, I found what might be some unused error messages in Somari.

The text "*** STACK OVERFLOW ***" appears five times in the ROM. A stack overflow is a kind of error that can happen in computers, so it seems like an error message. There's also one part that says "Invalid stack".

I also looked in The Hummer and Sonic 3D Blast 5 (the hacks of Somari) and in both of them, the "*** STACK OVERFLOW ***" message only shows up four times, and the "Invalid stack" message doesn't show up at all.

So... is that important? I'm not sure.

Colonel Llama

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Uncompiled source code in Kart Fighter. Also, error messages in Somari?
« Reply #1 on: April 12, 2016, 01:03:37 PM »
Nice find! Could that be part of the Hummer Team engine source code?
"May the Schwartz be with you"
                                       -Yogurt

HummerTeam1001

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • http://famicloneblog.wordpress.com
Uncompiled source code in Kart Fighter. Also, error messages in Somari?
« Reply #2 on: April 12, 2016, 02:48:56 PM »
I dunno. Maybe? I really don't understand any of it.

Colonel Llama

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Uncompiled source code in Kart Fighter. Also, error messages in Somari?
« Reply #3 on: April 13, 2016, 12:36:03 PM »
Me neither.
"May the Schwartz be with you"
                                       -Yogurt

HummerTeam1001

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • http://famicloneblog.wordpress.com
Uncompiled source code in Kart Fighter. Also, error messages in Somari?
« Reply #4 on: April 13, 2016, 04:08:21 PM »
Based on a few of the comments in the uncompiled source code, I think part of it is from the demo mode maybe.

MrNorbert1994

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://mrnorbert1994.uw.hu/
If a stack overflow happens then your program is toasted.
My guess those were some error repors or something else.
Interestingly enough these codes usually came after the music bank setups.