Hacking nitro2k01's SGB Enabler for EZ Flash Jr

nitro2k01

Active Member
OP
Newcomer
Joined
Jan 5, 2008
Messages
32
Trophies
1
XP
438
Country
As many people here might know, EZ Flash Jr doesn't work well with SGB. While we're waiting for an official solution from EZ Flash Team, I've developed my own, basically software only, solution for it. It's a modified version of the EZ Flash Jr kernel 1.04e. This is beta software, and I would appreciate feedback from anyone interested in using it, especially on a NTSC SNES or on a SGB2.

FAQ:
What was the problem and how does the SGB Enabler work?
The SGB contains a full Gameboy CPU and the SNES is used to show the graphics and sound from the Gameboy. But before the SNES allows an image to be shown, it needs a message from the Gameboy to validate the cartridge. Unfortunately, EZ Flash Jr holds the CPU in reset (basically locks it up) while it’s loading its own firmware. Because of this, the timing is thrown off. The SNES never gets the message and only shows a black screen forever.

But the Gameboy CPU is still running in the background. The SGB Enabler sends the same commands as the Gameboy boot ROM would normally send, and the SNES allows an an image to be shown.

How do you use the SGB Enabler?
Simply copy the included ezgb.dat file to the root of the SD card, overwriting the existing file. Then start the Super Gameboy. (download link at the bottom of the page.) You do not need to touch the reset button on either the cartridge or SNES. It just works.

Does the SGB Enabler restore all SGB functions?
Yes, it enables the game to use colorization and border graphics, and even special sound effects in the few games that use those. And Space Invaders 94’s SNES arcade mode works as well.

Is the SGB Enabler safe to use?
Yes. The SGB Enabler only modifies the kernel (menu), and doesn’t touch the firmware (FPGA). Therefore, you can simply restore it to its original state by copying the original ezgb.dat file from EZ Flash Team onto the SD card, and there’s no risk of bricking. You do not need to upgrade to FW5 (which Team EZ Flash removed). It’s recommended to use FW4.

Can I still use the SGB Enabler on a DMG/GBC?
Yes, the only downside is that the boot time is longer because it always tries to send the commands to wake up the SGB as explained above. I will try to figure out a way to fix this later, but this is just an early beta version to get feedback from users. If this is a problem, simply replace ezgb.dat with the original file from EZ Flash. (Detecting the hardware is not as straightforward as it seems because the EZ Flash Jr has an internal boot ROM that erases the initial registers that programmers normally use to detect which type of hardware the game is running on.)

Does the SGB Enabler work on both PAL and NTSC Super Gameboys?
I only have a PAL SNES, but I’ve region modded it so I can select PAL or NTSC. In my testing, I’ve made sure the SGB Enabler works in both PAL and NTSC mode, but feedback from someone who has a real NTSC SGB would be appreciated.

The SNES reset button doesn’t work!
Please use the reset button on the cartridge, or power cycle the SNES to restart.

My blog post about it (same content as this post) : https://blog.gg8.se/wordpress/2021/08/19/nitro2k01s-sgb-enabler-for-ez-flash-jr/
 

Attachments

  • kernel104-sgbenabler.zip
    43.4 KB · Views: 212

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
No SGB here but very nice to see.

For those wondering what the SGB is and why they might care I quite like this series of articles
https://loveconquersallgam.es/post/2350461718/fuck-the-super-game-boy-introduction
https://loveconquersallgam.es/search/super+game+boy

Equally for my money Bomberman SGB ranks right up there in terms of best classic multiplayer bomberman -- I was never a great fan of the kitchen sink approach of later games so if you are thinking PCE/TG16 (the best of the 16 bit efforts, though the others are no slouch), Saturn or maybe the Bomberman Live thing then I put it up there with those. On the other hand I am also a fan of bother Bomberman 64 and Atomic Bomberman so maybe don't take my word on things here.
 

joyrider3774

Member
Newcomer
Joined
Jul 9, 2021
Messages
11
Trophies
0
Age
43
XP
92
Country
Belgium
Hey,

Thanks for this i tested it and seems to be working fine, i did notice but i might need to test some more that if you ran a sgb enabled game that changed the colors and you press reset on the ez cartridge that the borders remain, but if you run a normal gameboy game then without sgb support the color (palette) still remains. I don't consider this a real problem thouh as you said we can just power cycle it. For what it's worth i do you your kernal with a beta of the firmware 5 as i need to to make the ez flash work on my "gb boy colour" (the fake gbc clone) but it works fine as far as i can tell in that combination. But i did not test much
 

eastpixel

New Member
Newbie
Joined
Feb 14, 2023
Messages
1
Trophies
0
Age
44
XP
22
Country
Germany
Oh yes! You solved my exact problem from today. Can also confirm that it is working.

Hardware: Retron 2HD + Super GameBoy + EZ-FLASH Junior = works. :toot:
 

Es1238623

New Member
Newbie
Joined
Dec 15, 2023
Messages
2
Trophies
0
Age
24
XP
22
Country
United States
Hey! I'm running into some issues with a black screen when trying to use it with my NTSC SNES. Any solutions?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Yeah, BonziBuddy was both spyware and ad-ware. It collected children's personal information without consent as well as display fake Windows popups.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast bonzi got discontinued
    +2
  • SylverReZ @ SylverReZ:
    @Xdqwerty, The people who created Bonzi now owns a company called 2KDirect; an advertising firm. https://www.ipromote.com/
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast they get slightly cleaner money
    +1
  • BakerMan @ BakerMan:
    guys, hot take
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So Bonzi buddy was an evil version of Alexa lol
    +2
  • BakerMan @ BakerMan:
    the legal drinking age here in the US is 21, as some of you may know, but i think either it should be 18 or the age you're an adult should be 21.
    +1
  • BakerMan @ BakerMan:
    and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging an 18 year old would be illegal?"
    first of all, being in a relationship with someone who's 18 is technically ok, as long as it started when they were 18, but the age gap is still weird depending on how old you are. besides, the age of consent differs between different states
    +1
  • BakerMan @ BakerMan:
    also my reasoning for adult age being 21 is because the reason that's the drinking (and now smoking) age is because it "gives them more time to think rationally and not drive drunk"
    so you should have that extra time to mature and think rationally before going to serve in the military or vote
    +1
  • BakerMan @ BakerMan:
    tl;dr the "adult" age and the legal drinking age (and voting age) here in the US should be the same
    +4
  • Psionic Roshambo @ Psionic Roshambo:
    It's all good no one pays attention to the law anyway lol
  • BigOnYa @ BigOnYa:
    What about making kids wait till 18 or 21 to drive? And yea is messed up, you can join army and die for your country at age 18, but you can't drink alcohol or smoke a cig til 21, is ridiculous
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    If someone is in the military they should be allowed to smoke and drink at 18.... Would help drive recruitment lol
    +3
  • BigOnYa @ BigOnYa:
    We all know they do and will anyways. I think laws prevented them only pushes them to illegally do it. Even tho if was legal, most prob wouldn't even bother. Not a big deal or risque if its legal, no fun.
    +2
  • ZeroT21 @ ZeroT21:
    That's why some kids don't mind having a rap sheet or two just so they never get drafted
    +2
  • BakerMan @ BakerMan:
    also, i think the voting age should match the adult and drinking ages too, because by the logic of giving them time to mature and think rationally so they don't drive drunk, then they should also have that time to mature and think rationally so they can think for themselves
    +2
  • BakerMan @ BakerMan:
    fucking hell i'm becoming a mini leo with the way i yap aren't i?
    +1
  • impeeza @ impeeza:
    I was unable to create the VM for the debloat windows, but found the video where I learned it:

    https://www.youtube.com/watch?v=mZm6mY3I7J4
    +2
  • BigOnYa @ BigOnYa:
    No you def no leo, and I like your insight. You are a smart Baked cookie.
  • K3Nv2 @ K3Nv2:
    Chicken drumsticks and sweet potato for dinner tonight turned out good
    +1
  • BakerMan @ BakerMan:
    "i promise not to get all political and/or philosophical"
    3 drinks later:
    "so yeah think for yourself and i think the government sucks"
    BakerMan @ BakerMan: "i promise not to get all political and/or philosophical" 3 drinks later: "so yeah think for...