budude2 / openfpga-GBC

236 stars 9 forks source link

Support for Cartridge Peripherials (eg: Rumble, Accelerometer, Camera) #4

Open HeyItsLollie opened 10 months ago

HeyItsLollie commented 10 months ago

There's a good handful of Game Boy / Color titles that had additional features built into the cart itself, eg: rumble, accelerometer, the Game Boy Camera. It'd be great to be able to utilize physical game carts or flashcarts ([1], [2], [3]) equipped with these features, and would really elevate this core.

In the case of Game Boy Camera: There's a couple rare alternative versions of GB Camera (The "Gold" Ocarina of Time version, the unreleased & leaked Hello Kitty Pocket Camera), along with a couple homebrew replacements (Photo!, the discontinued-but-still-used PXLR Studio) that require a custom flashcart and parts harvested from a physical GB Camera. Spiritualized1997's GBA and SGB cores have shown it's possible to utilize cart features / load entire carts alongside the core, so if it's possible to utilize a physical unmodified GB Camera cartridge, it'd make these alternative versions infinitely more accessible.

MykeLiaz commented 10 months ago

Wait so they core from spiritualized of the gba can read real cartridges?

HeyItsLollie commented 10 months ago

Spiritualized's SGB core can run real cartridges. Their GBA core can use the rumble feature from real rumble carts.

budude2 commented 10 months ago

Rumble support has been added in v1.0.4. I am not sure about the other two peripherals yet.

HeyItsLollie commented 10 months ago

Wicked, thank you for looking into it!

budude2 commented 10 months ago

Looks like I didn’t do it right, so rumble is super weak