wipeout2000
Member
TKF15H I am glad you decided to take on the challenge. Hopefully your first beta will be impressive enough to gain some good attention. I support your efforts 100%.
TKF15H posted on Jul 17 2006 at 04:08 PM said:Daily update:
arg, 3AM and I can no longer stand looking at opcodes while listening to J-Pop to stay awake. Stopping on line 5419 ( LDRB Rd, [Rn, Rm, LSL #] ), that's 75.22% of the core re-done. Started at around 11PM so that's a good amount of progress, taking into account that I couldn't code all day.
Yeah, something like thatFranxis posted on Jul 12 2006 at 08:10 AM said:Wooo, good luck
Squidge posted on Jul 17 2006 at 01:03 PM said:Once you have done all the instructions, what else is there to do?
Shikaku posted on Jul 17 2006 at 05:02 AM said:A_SN posted on Jul 16 2006 at 09:13 PM said:xinfernoofdantex posted on Jul 17 2006 at 03:04 AM said:has anyone tried implementing the MMU hack into one of the current GBA emu's?
No, Squidge himself told me that implementing the MMU hack into VBA would only help by 1 or 2 fps, so it's definitly not worth it.
I'd say just do it for that, any speed increase is good in an emulator.
However don't make it a priority on getting it to work if it's hard to set up...
Squidge posted on Jul 17 2006 at 07:03 PM said:Once you have done all the instructions, what else is there to do?
TKF15H posted on Jul 18 2006 at 06:42 AM said:Daily update:
Stopping on "STMIA Rn, {Rlist}^"... 80% done.
Had a look through the source code to GPAdvance today... urgh, comments in french!!! >_<
TKF15H posted on Jul 18 2006 at 07:54 PM said:whoa, it was just a curious looksie, no need to go through all that work right now.
TKF15H posted on Jul 19 2006 at 06:59 AM said:A_SN: Wow, you translated all those that quickly? I was having a look at the MMU section, as it may be of use in the future, if things get so desperate that I have to use the GP2X MMU to emulate the GBA's rather than doing it in software.
Daily update:
Around 6 o'clock this afternoon I finished re-writing all the opcodes. Full of joy I ran make and copied the executable to my GP2X. Open PuTTY. Kill the evil menu! cd to the Illex folder. Typed in "illexboyadvance.gpe needforspeed.gba". Deap breath. Pressed enter. Waited a bit....
SEGMENTATION FAULT.
*silence*
NOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!!!
8 rechargable batteries later, after much cursing at GDB, I slapped my forehead because of how silly the mistake was. Fixed it, ran it, and as expected, the game ran a bit more slowly than it would on the interpretor alone. Now it's getting the code it's supposed to run and chucking it in a buffer so as to throw it out to a C file. It doesn't actually record the data though.
While this may look like an odd step in the opposite direction, it is the biggest part of recompiling GBA code. This done, I have to come up with an efficient way to dump the output buffer to a file, ignoring what has been output already. This will make the interpretor a bit faster when it runs code it has already been over once, but really slow on the first time.
Next stop: BED!!! -_-