Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

#1 2012-09-06 13:59:40

tom.mat.walker
New member
Registered: 2012-09-06
Posts: 1

Original Gameboy Raspberry Pi

Hi guys,

I am attempting to build my original Gameboy into a computer and use a Raspberry Pi board inside it for the main bones of the thing. This is not a problem, however on a whim I thought it would be a cool idea if I could get the screen that is already in the Gameboy to display the Raspberry Pi logo in dot matrix form or something along those lines.

My question is this, is it possible to reprogram the LCD display (or possibly the script that shows the nintendo logo on startup) on the original Gameboy to show a different or a constant image? I can always replace the screen with a more modern controller but for originalities sake I would really rather keep the screen that was my childhood in its rightful place

Thanks guys any help is really appreciated as this is my first Gameboy project!

Tom

smile

Offline

 

#2 2015-04-20 05:40:20

npzman
Banned
From:
Registered: 2014-11-19
Posts: 197

Re: Original Gameboy Raspberry Pi

someone help him


Twitter : @Sfeedman please follow
Join : sfeed.club my website please join

Offline

 

#3 2015-04-22 11:33:39

doragasu
Member
Registered: 2015-02-17
Posts: 56

Re: Original Gameboy Raspberry Pi

I think your best bet might be hacking the Gameboy BIOS. The hack should:

1.- Disable the Gameboy logo check on the cartridge header.
2.- Replace the Nintendo logo with the one you want to show.

Maybe step (1) is not needed, supposing you have room in the BIOS ROM to store both the original Nintendo logo and your custom logo. But if there is no room, you'll have to do both steps.

Unfortunately I cannot help you disassembling and hacking the BIOS, but I would not be surprised if somebody has already done this. I remember a similar hack that replaced the Nintendo logo with a custom one, by using a cart with a custom made MBC1 emulator, but as I suppose you are not using GB carts, I'd go for the BIOS hack.

Offline

 

#4 2015-04-22 14:19:20

Tauwasser
Member
Registered: 2010-10-23
Posts: 160

Re: Original Gameboy Raspberry Pi

The BIOS is mask ROM inside the CPU. So replacing it is out of the question for most people.

You will need a PLD and some free space in your flash to pull of a logo-switching trick. The Gameboy makes the cardinal sin of reading the logo twice: once to show it on-screen, once to compare for legitimacy. You send the logo you want on-screen in one iteration of the BIOS reading the logo, you send the original Nintendo logo in the next iteration.

cYa,

Tauwasser

Offline

 

#5 2015-04-24 04:50:33

doragasu
Member
Registered: 2015-02-17
Posts: 56

Re: Original Gameboy Raspberry Pi

Tauwasser wrote:

The BIOS is mask ROM inside the CPU. So replacing it is out of the question for most people.

I thought what he wants is to fit a RPi inside a Gameboy case, and use an emulator. If that's the case, he should be able to use a hacked BIOS with the emulator without a problem.

But I have re-read the original post, and I think he does not want the "Pi-Boy" to boot into a GB emulator, but to a Linux desktop/shell/whatever. If that's the case, it should be a lot easirer. Again I cannot give you the details, but you just need to install and configure one of these (some of them may not be supported by the RPi, you'll have to investigate a bit):

- fbsplash
- Splashy
- Plymouth (this one is maybe the best, but requieres hardware support)
- XSplash

These programs also support animations, so you should be able even to move the logo like in the original Gameboy. Unfortunately, playing the sound might be a lot harder (at least if you want to sync it with the animation).

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson