gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

OffTopic > GBA bios execution

#83087 - thegamefreak0134 - Fri May 12, 2006 8:33 pm

I have come into the possesion of a GBA bios file. (assume by legal means.) I want to open and run the bios file in VBA (or any other emu, if you know of one that can do this and link) so I can try to get a multi-boot game up and running with it. Does VBA have a "run bios" option?
_________________
What if the hokey-pokey really is what it's all about?

[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]

#83088 - tepples - Fri May 12, 2006 8:40 pm

Once you've dumped your GBA BIOS using SRAM, CF, MBV2, or Xboo, you can do Options > Emulator > Select BIOS File... and then Options > Emulator > Use BIOS File. Procedure is explained.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#83089 - thegamefreak0134 - Fri May 12, 2006 8:52 pm

I've done this, and it does a great job or running the intro sequence before starting the game. However, I don't want it to do that second part at all. I want just the bios. (thus, I would link and do single-pak games. I'm using vbalink at this point.) Is this possible?

I was thinking about maybe loading the bios as a ROM file, but it comes back at me and says that a .ROM file type is not supported. Grr...

-thegamefreak
_________________
What if the hokey-pokey really is what it's all about?

[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]

#83108 - phonymike - Fri May 12, 2006 11:58 pm

the bios does many different things. you want to run the bios file, that's what its doing when you see the gameboy logo. if you want to use the link functions in the bios, you need to make your own gba rom, set up for a link, and the bios has a few functions you call. the bios isn't a game, it's a set of functions, like multiplication, dividing, and multiboot transfer shit.

look up bios calls for gba. the bios itself cannot do whatever you're trying to do, you must code something your self, and the bios has a few handy functions to help, especially with multiboot.

#83110 - Dwedit - Sat May 13, 2006 1:17 am

Are you trying to have one emulated GBA link with another and send a multiboot rom to the other?
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#83122 - thegamefreak0134 - Sat May 13, 2006 3:20 am

Yes, and I just had a thought. When you turn on the GBA with no cart, there is no pak to be run, correct? Meaning, no code, and most importantly no header? If this is so, could I not just run an empty ROM and let the logo stay on-screen?

I'll try this, but it may not be what I need. Yes, I am trying to emulate a single-pak transfer, thus requiring the bios (the intro "GAMEBOY" logo) to be "run".

-thegamefreak

*EDIT* I just thought of this: Is it possible to make a game that calls the intro sequence?
_________________
What if the hokey-pokey really is what it's all about?

[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]

#83126 - tepples - Sat May 13, 2006 3:53 am

Can you load different games into the four emulated GBAs?

And yes there is a way to go back to the intro from within an ISR:
In MBV2 FAQ, Jeff Frohwein wrote:
To add a software reset, execute the following ARM assembly code in Supervisor mode: (i.e. Execute this code in an interrupt.)
Code:
  mov r0,#0x8c
  bx r0

On each slave GBA, trigger the ISR, then hold Select+Start to make the "Nintendo?" go away.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#83131 - chishm - Sat May 13, 2006 5:49 am

I'm pretty sure that the free version of No$GBA has a multiboot play option.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#83134 - thegamefreak0134 - Sat May 13, 2006 6:14 am

Start+Select did it. It allows me to get into the single pak mode now. I can't use my testing game, mariokart, because the link function still apparently isn't that great, but at least the idea works. It should allow me to do some simple testing anyway. Thanks a bunch!
_________________
What if the hokey-pokey really is what it's all about?

[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]