Using a DMG GB as a joypad
Posted: Fri Sep 14, 2018 12:29 pm
Hi,
I was playing GB game on an emulator, and thought it was boring to play them with a keyboard. So I thought, mayb I could :
-Make a cartridge shaped PCB, with an USB mcu
-Make the mcu act as a joypad on the usb saide
-Make it act as a cartridge on the cartridge side
-As a cartridge, il would serve some code tot the gameboy. This code, when run, would read the buttons on the GB and write it to some address that would map to the cartridge connector so that the mcu could be notified and use the valu to send the usb packer
-A power cable would deliver some current to the external battery connector of the gameboy.
This seems doable.
One thing I wonder : if I don't use a powerchord, but just connect the 5V rom the USB to the Vcc pin of the cartridge, I will probably be able to power the gameboy ram and processor, but the +6V and +19V would not be powered. Does it mean the gameboy can run my code (without being able to switch on the LCD) or will it prevent the gameboy from booting ? Will the tracks and cartridge connector be able to deliver the 100-150mA ?
Do you know of any other thing I should check before trying to do this ?
th,
trg.
I was playing GB game on an emulator, and thought it was boring to play them with a keyboard. So I thought, mayb I could :
-Make a cartridge shaped PCB, with an USB mcu
-Make the mcu act as a joypad on the usb saide
-Make it act as a cartridge on the cartridge side
-As a cartridge, il would serve some code tot the gameboy. This code, when run, would read the buttons on the GB and write it to some address that would map to the cartridge connector so that the mcu could be notified and use the valu to send the usb packer
-A power cable would deliver some current to the external battery connector of the gameboy.
This seems doable.
One thing I wonder : if I don't use a powerchord, but just connect the 5V rom the USB to the Vcc pin of the cartridge, I will probably be able to power the gameboy ram and processor, but the +6V and +19V would not be powered. Does it mean the gameboy can run my code (without being able to switch on the LCD) or will it prevent the gameboy from booting ? Will the tracks and cartridge connector be able to deliver the 100-150mA ?
Do you know of any other thing I should check before trying to do this ?
th,
trg.