Gba Emu


Status
Not open for further replies.

Myth

Member
Joined
Jul 6, 2003
Messages
117
There is a GBA emu WIP by Enf65 (see GP32News Forum).

Release at the next month ^ ^
 
In french:

En fait je pense que l'émulateur le moins gourmand doit être Visual Boy Advance, mais finalement je suis pas sûr d'utiliser les sources d'un autre émulateur.

J'ai bien avancé ce week-end, j'ai fini l'interface, le chargement d'une rom, et surtout j'ai configuré la MMU. C'est à dire que maintenant, quand je vais lire à l'adresse 0x08000000 de la gp32, je peux y trouver la rom gba. Toutes les adresses mémoires de la GBA sont maintenant des adresses virtuelles pour la gp32 qui renvoient à une adresses réelle en RAM.

Pour commencer, je n'ai que 4 Mo de libre en RAM pour charger la ROM gba, donc il n'est pas possible pour l'instant d'émuler des roms de plus de 4 Mo. Cela dit il est possible de faire un chargement dynamique de la ROM, ce qui ne limiterait pas la taille des roms, par contre ce n'est pas géré par le bios de la gp32, donc il va falloir bidouiller.

J'ai par contre un nouveau problème à résoudre : je ne peux pas simplement remplacer le bios de la gp32 par le bios de la gba, alors je vais devoir commuter entre les deux suivant que c'est du code de la rom gba qui est exécuté, ou que c'est mon émulateur qui est exécuté. Sinon je peux aussi éviter d'utiliser le bios de la gp32 pour mon émulateur, comme ça je peux aussi translater le bios de la gba à l'adresse 0x00000000. Je suis en peu curieux de ce qui va se passer à la moindre interruption... bref faut que j'y travaille.

J'aurai aussi un petit problème pour synchroniser la vitesse des jeux, comme les instructions ne seront pas éxecutées à la même vitesse sur la gba et sur la gp32, je sais pas trop ce que ça va donner, mais c'est pas trop un problème pour l'instant.

La prochaine étape est de réussir à faire marcher les timers sans "trop" utiliser le bios de la GP32, vu que je risque de pas pouvoir l'utiliser par la suite.
Je pense être dans les temps

In babelfish-altavista-english:

In fact I think that the least greedy emulator must be Visual Boy Advance, but finally I am not sure to use the sources of another emulator. I have quite advanced this weekend, I finished the interface, the loading of a rom, and especially I configured the MMU. I.e. that now, when I will read with the address 0x08000000 gp32, I can find the rom gba there. All the addresses memories of the GBA are now virtual addresses for the gp32 which return at addresses real in RAM. To start, I have only 4 Mo of free in RAM to charge the ROM gba, therefore it is not possible for the moment to emulate roms of more than 4 Mo That known as it is possible to make a dynamic loading of the ROM, which would not limit the size of the roms, on the other hand it is not managed by the bios a gp32, therefore bidouiller will be needed. I have on the other hand a new problem to solve: I cannot simply replace the bios gp32 by the bios of the gba, then I will have to commutate between the two according to whether it is code of the rom gba which is carried out, or which it is my emulator which is carried out. If not I can also avoid using the bios gp32 for my emulator, as that I can also relocate the bios gba with the address 0x00000000. I am in not very curious about what will occur to the least interruption... in short is necessary than I work there. I will have also a small problem to synchronize the speed of the plays, as the instructions will not be éxecutées at the same speed on the gba and about the gp32, I do not know too what that will give, but it is not too a problem for the moment. The next stage is to succeed in making go the timers without "too much" using the bios GP32, considering which I risk of step capacity to use it thereafter. I think of being in times
 
hmm sounds great...
im realling missing a mario kart Clone on the gp32..
ok we have the one for SNES, but it isnt really playable on my gp32 yet... also i like the gba version more.
 
This has piqued my interest, but for now I'm not hoping for anything playable. Should be interesting when it does turn up though (assuming it does - so much doesn't).
 
At the very least, think of it this way:

Trying to make one emu helps him become a better coder and maybe eventually he'll create a better emu for the other hardware witht he knowlege he gained, or prehaps even a whole new homebrew game of high quality programing.
 
Memnoch posted on Feb 25 2004 at 07:01 PM said:
Sonic-NKT posted on Feb 25 2004 at 06:37 PM said:
also i like the gba version more.
I still think the SNES Mario Kart is my favourite racing game of all time. :)
You are absolutely right. SNES version of MK is one of the best funny racing games ever made. Even the N64 and Gamecube versions aren't that good as SNES version MK. :)
 
Last edited by a moderator:
i liek the n64 version most... perhaps it because i played it before the SNES version.. got my snes after the n64... its just completly diffrent handling...
 
i like the gba version as i have the original and all snes tracks are included :)

to the gba emu, its kool, maybe we can play some good pd gba roms :)
 
What exactly is he describing in his description he mentions the bios alot is he trying 2 write the gba bios more natively or something i dont get it ? is he trying anything extraordinary emulation wise ( except attempting the impossible for gamepark ) is he taking advantage of them both using arm proecssors is it even possible 2 take advantage of that ? ?!?!? i dont no
 
i would love to see playable gba emulation, or atleast useable, its somethign you show your frinds so that they buy a gp32 and also an rf link...
btw what about the rf link gpengine version is it out?
 
hey i had the idea... one year ago :)
but i wasnt sure if it would work, i just heard, that the bios wasnt loaded into the ram, hmm perhaps then its possible to play 8MB games without the ram update.
But lets see what happens..
 
Since he's messing with the mmu and bios, it seems like he's trying to turn the gp32 into a gba rather than emulating it. I can see his method here - instead of trying to emulate the arm7, get the arm9 to execute the code instead, and manage the memory through mmu register manipulation. If you can get the gba rom in the correct place in memory, you don't have to trap calls to that either :)
 
Its really good to see someone finally trying this method of GBA simulation, fingers crossed it comes to something as it should be fast.

-Craig

www.gbax.com
 
I'd be hopeful too if I were selling GP32's Craig :rolleyes: kidding

But seriously so many more people people would buy a GP32 if it had good GBA emulation. Not saying that these people are the real moral type who would only play roms that they own, but they would buy it nontheless :D
 
I'm kinda doubtful about this, But it SOUNDS interesting, using the ARM CPU to run the code and the rest to emulate the graphics and sound hardware... etc.
 
Status
Not open for further replies.
Back
Top