+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Interesting concept I discovered regarding GB/GBC roms- would it work?
Pages: [1]
Author Topic: Interesting concept I discovered regarding GB/GBC roms- would it work?  (Read 444 times)
Doom127
Guest
« on: January 20, 2007, 02:24:01 am »

Was traversing the web and stumbled across this thread, apparently written a long time ago, but intriguing.

Would his idea be possible?

http://forumsx.sonic-cult.org/lofiversion/index.php/t1237603.html

"In concept, that's a good idea, however the program was made for the Gameboy version of Metroid, and injected the palettes into a location in the rom that was convienent for that game. This, however, usually ended up replacing important data in any other rom, resulting in either messed up graphics or simply causing the game to not run.

Now, I may sound stupid because I know next to nothing about Gameboy Color palettes, but wouldn't it be possible to overdump a rom and use the excess space to store the GBC palettes?"
RedComet
Guest
« Reply #1 on: January 20, 2007, 02:36:28 am »

If you put the palette outside of the rom's accessible range, you'd need to alter the rom to look in the new place for the data.
Doom127
Guest
« Reply #2 on: January 20, 2007, 02:40:48 am »

Yes, one would assume that. Since the program would be dealing with old b/w gameboy games, the palette pointers would be added to the ROM code during the colorization process...

So the idea is feasible?
Disch
Guest
« Reply #3 on: January 20, 2007, 03:20:57 pm »

I'm not 100% sure, but....

I thought the GB/GBC was similar to the NES in terms of PRG swapping.  I don't think you can just "overdump" the ROM and use the free space at the end... I think you have to expand the ROM the same way you would expand a NES ROM, and swap banks when you need to load the palettes, etc, etc.

But again, I only briefly glanced a GB spec sheet several years ago, so I might be totally wrong.
Cyberman
Guest
« Reply #4 on: January 20, 2007, 04:49:55 pm »

Disch is right you will have to deal with mapping the ROM to a larger space. That gets tricky since you will have to then find everywhere it banks the ROM the ROM mapping chip to set the begining too expand the file size. Lots OH stuff. Cheesy

Cyb

PS you might want to look at this thread on Emutalk
« Last Edit: January 20, 2007, 06:22:50 pm by Cyberman »
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC