Loading SNES games off a Gameboy cartridge?

Ami_

Member
OP
Newcomer
Joined
Mar 22, 2022
Messages
16
Trophies
0
Age
24
Location
Birmingham
XP
78
Country
United Kingdom
Gameboy cartridges can be played on a SNES using the Super Gameboy, and sometimes include additional features when doing so. There has been a GB cartridge which contains an entire SNES game (Space Invaders).

My question is: could it be possible to take an existing SNES rom hack, wrap it in GB code, and load it off a GB cartridge through a Super Gameboy?

dyOgg8V.png
 

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,221
Trophies
1
XP
4,384
Country
Canada
  • Like
Reactions: KleinesSinchen

Deleted member 194275

Edson Arantes do Nascimento
Member
Joined
Aug 19, 2009
Messages
2,685
Trophies
2
XP
4,351
The game in SNES mode uses a resolution and transparencies that the Game Boy is fundamentally incapable of. It's hardly a matter of "red arrows and clicks".
https://blog.loveconquersallgames.com/post/2424872085/fuck-the-super-game-boy-now-youre-playing-with
That's 100% true. What is also true, and that's my whole point, is that every single Super Game Boy enhanced game do the same, witch it using some capabilities of SNES to enhance gameboy games, like some that use controller port 2 to play 2 player games, or the colorization of many games, those are all modes that Super Game Boy deliveries.

What is 100% false, is that there is a tiny snes game hidden in a game boy cartridge. That's the click bait on youtube that made people magically forget that running Space Invaders with background and colors is not the same as run a SNES rom.

Come on, you can't even bypass the super gameboy sound chip for fuck sake. Everything that the Super Gameboy runs, is running on the super game boy, why it is so hard to understand?

Some dudes are talking like the SGB is magically bypassing itself and becoming a SNES Flashcard. I wonder is those people ever touched on a SGB or on a SNES before.
 

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,384
Trophies
2
XP
14,764
Country
Germany
That's 100% true. What is also true, and that's my whole point, is that every single Super Game Boy enhanced game do the same, witch it using some capabilities of SNES to enhance gameboy games, like some that use controller port 2 to play 2 player games, or the colorization of many games, those are all modes that Super Game Boy deliveries.

What is 100% false, is that there is a tiny snes game hidden in a game boy cartridge. That's the click bait on youtube that made people magically forget that running Space Invaders with background and colors is not the same as run a SNES rom.

Come on, you can't even bypass the super gameboy sound chip for fuck sake. Everything that the Super Gameboy runs, is running on the super game boy, why it is so hard to understand?

Some dudes are talking like the SGB is magically bypassing itself and becoming a SNES Flashcard. I wonder is those people ever touched on a SGB or on a SNES before.
I really don't know why you seem to be so aggressive about this.
The screenshot alone doesn't look like a Super Game Boy enhanced game running at 160*144 pixels.

Finally, I'll quote/link nocash here:
http://problemkaputt.de/pandocs.htm#sgbfunctions

problemkaputt.de/pandocs.htm#sgbfunctions said:
Taking Control of the SNES CPU
Finally, it is possible to write program code or data into SNES memory, and to execute such program code by using the SNES CPU.
 

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,384
Trophies
2
XP
14,764
Country
Germany
"Finally, it is possible to write program code or data into SNES memory, and to execute such program code by using the SNES CPU." - there's no screenshots or any other proof from what I could tell to show this claim.
Let's say it that way: I know it is a possible logical fallacy "argumentum ab auctoritate" and not a proof.

I trust nocash's documentation. I believe he knows what he does and writes in his documentation.
=======

Lacking all abilities in this regard, I can't do reverse engineering myself. Maybe somebody with such abilities could confirm machine code for two different CPUs to end this discussion.
 
  • Like
Reactions: SylverReZ

SylverReZ

GBAtemp Lurker
Member
Joined
Sep 13, 2022
Messages
6,888
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
23,014
Country
United Kingdom
Let's say it that way: I know it is a possible logical fallacy "argumentum ab auctoritate" and not a proof.

I trust nocash's documentation. I believe he knows what he does and writes in his documentation.
=======

Lacking all abilities in this regard, I can't do reverse engineering myself. Maybe somebody with such abilities could confirm machine code for two different CPUs to end this discussion.
Yes, he has done many many amazing things - such as the NO$ series of emulators that I have used for years.
 

Ami_

Member
OP
Newcomer
Joined
Mar 22, 2022
Messages
16
Trophies
0
Age
24
Location
Birmingham
XP
78
Country
United Kingdom
Try disassembling the Game Boy ROM in an emulator to find the routines on how the SGB process the SNES code into memory. Then you'll get an idea on how it could be possible to inject your own SNES code.
I tried to do that, but I don't personally have a good enough understanding to reverse engineer this.
 
  • Like
Reactions: SylverReZ

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,221
Trophies
1
XP
4,384
Country
Canada

PhyChris

Well-Known Member
Member
Joined
May 6, 2009
Messages
368
Trophies
1
XP
2,060
Country
Canada
That's rather ambiguous. Isn't everything "custom code"?

What exactly would be the obstacle in overwriting the SNES code in the Space Invaders ROM with some arbitrary homebrew? Presumably there's some checksum somewhere, but aside from that?
?? I meant homebrew.

Edit: You could do some cool stuff that used both CPUs and the SNES PPUs
 
Last edited by PhyChris,

SylverReZ

GBAtemp Lurker
Member
Joined
Sep 13, 2022
Messages
6,888
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
23,014
Country
United Kingdom

SylverReZ

GBAtemp Lurker
Member
Joined
Sep 13, 2022
Messages
6,888
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
23,014
Country
United Kingdom
Last edited by SylverReZ,

skawo

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
535
Trophies
0
Age
34
XP
2,675
Country
If you hex edit the GB rom and compare it to the SI: TOG rom, you can find parts that very clearly match each other.

It does look like the GB rom lacks some things, like the header, and may be split into chunks, so replacing it isn't trivial, but should theoretically be doable.
 
  • Like
Reactions: SylverReZ

SylverReZ

GBAtemp Lurker
Member
Joined
Sep 13, 2022
Messages
6,888
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
23,014
Country
United Kingdom
If you hex edit the GB rom and compare it to the SI: TOG rom, you can find parts that very clearly match each other.

It does look like the GB rom lacks some things, like the header, and may be split into chunks, so replacing it isn't trivial, but should theoretically be doable.
It would be best though to see how the ROM is loaded into memory, just to get an idea on how you can replicate the same thing as what the Space Invaders ROM does.
 

Ami_

Member
OP
Newcomer
Joined
Mar 22, 2022
Messages
16
Trophies
0
Age
24
Location
Birmingham
XP
78
Country
United Kingdom
If you hex edit the GB rom and compare it to the SI: TOG rom, you can find parts that very clearly match each other.

It does look like the GB rom lacks some things, like the header, and may be split into chunks, so replacing it isn't trivial, but should theoretically be doable.

I found 137396 bytes of identical data at these addresses
startend
GB0004C51C0004F9BB
SNES0002AC680002E107


Curiously 137kb is too big to fit in RAM.
 
  • Like
Reactions: SylverReZ

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Sicklyboy @ Sicklyboy:
    maaaaan that's so awesome but I also don't want to fork over a hundo for it
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Leo could not withstand communism.
  • SylverReZ @ SylverReZ:
    Its OUR products to begin with lol.
    SylverReZ @ SylverReZ: Its OUR products to begin with lol.