Jump to content
Visual Boy Advance-M
aceloop

GBC boot code support

Recommended Posts

Yes, it also stores several predefined colour palettes for non colour capable GB games to use.

 

unfortunately, nobody has ever sacrified a GBC in order for us to get a binary (if possible) reading of the chip.

Share this post


Link to post
Share on other sites

It's a part of the CPU die like it was on the original Gameboy, it can't be dumped short of a CPU exploit that probably would have turned up by now if it existed. The only way to get it is to decap it (burn off the chip packaging) and take pictures of the transistors under a microscope, then use software and/or hand techniques to convert this to data. That's what they did with the Gameboy, and I believe this has been done with some other chips. Last I heard an 8192 byte ROM was considered very difficult to learn by decapping, but I think things might have changed since then.

Share this post


Link to post
Share on other sites

Yeah !

Works ok, with a few changes, in vba-m !


Ok, I'm not too sure of what I did, so here is the patch for review.

Share this post


Link to post
Share on other sites

@bgK: From a first glance, it looks like this patch might kill support for GB mono BIOSes.

 

Anyway, nice work from Costis. I am far away from his level of l33tness ;)

I can't wait to see the other undumped BIOSes finally dumped.

Share this post


Link to post
Share on other sites

If im speaking to someone and they say gameboy color, im gonna say "here is a fun fact: did you know that gameboy color BIOS was dumped because of my all inspiring words." ;):P

Share this post


Link to post
Share on other sites

@bgK: From a first glance, it looks like this patch might kill support for GB mono BIOSes.

 

Anyway, nice work from Costis. I am far away from his level of l33tness ;)

I can't wait to see the other undumped BIOSes finally dumped.

 

I think we should wait for a proper fully tested patch or do a proper implementation including proper MFC bios selection screens and the like.... rather then just applying a messy patch like this..

Share this post


Link to post
Share on other sites

Well, go ahead. Memory management is such a mess in the GB core that you won't be able to add proper support for the GBC bootrom without much more work. Anyway, being able to play games without the bootrom is a hack by itself.

BTW, I added support for the GBC bios following exactly the same path as for the DMG bios, It's not dirtier.

Share this post


Link to post
Share on other sites

thats why its not worth applying the patch. The goal is to remove as many of the hacks and get accurate emulation (no mudlord, i dont' care about cycle accurate lol, just function)

 

btw, the implementation wouldn't be any harder then what was done for DMG.

As it stands, while the emulator is set to Auto type, it defaults to CGB and AGB emulation (only switching to SGB if borders are autodetected for DMG games)

Share this post


Link to post
Share on other sites

Well then we'd better ditch the GB core (tell people to use Gambatte), and focus on cleaning up GBA.

Share this post


Link to post
Share on other sites

thats not really possible. the DMG and CGB share alot of the same functions, removing DMG would kill CGB.

 

its a GBA emulator, meaning it runs DMG and CGB games too.

Share this post


Link to post
Share on other sites

thats not really possible. the DMG and CGB share alot of the same functions, removing DMG would kill CGB.

 

Indeed.

 

its a GBA emulator, meaning it runs DMG and CGB games too.

 

I don't agree. The GB and GBA share almost nothing. The GBA micro doesn't allow playing GB games. Anyway, I don't care. I'm just here to make sure the Linux ports work well.

Share this post


Link to post
Share on other sites

So is it possible to play the old Gameboy games like Metroid 2 with their intended color palette from the GBC bios now?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×