Previous Thread
Next Thread
Print Thread
Page 19 of 22 1 2 17 18 19 20 21 22
Joined: Mar 2001
Posts: 16,784
Likes: 32
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,784
Likes: 32
Oh, shit. Sorry, man, you've found the one weakness in the new changes. I'm gonna have to roll everything back to 0.160 now frown

Joined: Aug 2011
Posts: 499
M
Senior Member
Offline
Senior Member
M
Joined: Aug 2011
Posts: 499
Make that two weaknesses. Colin McRae Rally 2.0 crashes as well right before it goes in-game.

Joined: Jan 2006
Posts: 3,690
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,690
not confirmed: at my end (MacOSX) I can play Colin McRae 2.0 just fine.
concerning GTA: the game was already broken, so maybe this crash will expose at last what the problem was exactly wink

EDIT: the game seems to enter an infinite loop. it calls gba_10000000_r and T_IS_SET(cpsr) is false, and when it invokes the read_word(pc+4) it always has pc+4 = 0x1A3019F6, so that it calls again the same function with the same PC and it never successfully reads from the space.

Joined: Apr 2011
Posts: 288
Senior Member
Offline
Senior Member
Joined: Apr 2011
Posts: 288
The behavior for Colin McRae 2.0 [mcrae20u] is rather strange because I only get the stack overflow crash in about 1 out of 4 attempts.

The other 3 times you can play rally or Arcade mode and save/load in-game with no problems at all.



Ran out of time today for Gunstar. Will try to finish it tonight.

Joined: Aug 2011
Posts: 499
M
Senior Member
Offline
Senior Member
M
Joined: Aug 2011
Posts: 499
A bit of experimenting here (I'm on Windows 7 64-bit). CMR 2.0 will crash right before it goes in-game if I use:

C:\MESS>mess64 gba -cart "C:\ROMs, Game And Application Images\Game Boy Advance\Colin McRae Rally 2.0 (Europe) (En,Fr,De)\Colin McRae Rally 2.0 (USA) (En,Fr,De).gba"

But if I just use:

C:\MESS>mess64 gba

And load the game via the menu system, it doesn't crash. (same applies to the USA cart as well).

GTA crashes for me regardless of how I load the cartridge, and yes, the game was already broken, but at least before it wouldn't crash, it would display only a black screen before attempting to go in-game.

Incidentally the N64 driver crashes when using the menu system, but if I use the -cart parameter the cartridges load fine. Could be a problem with my compile if no one else is experiencing any problems?

Joined: Jan 2006
Posts: 3,690
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,690
Originally Posted By MikeAbson
GTA crashes for me regardless of how I load the cartridge, and yes, the game was already broken, but at least before it wouldn't crash, it would display only a black screen before attempting to go in-game.


this does not mean it got worse now: the freeze was just happening before the code that now crashes MESS, so that you could never get to the crash.

that said, probably the game shall not call the gba_10000000_r at all, so that some other problem is happening here leading to the crash.

Colin McRae seems to happen at random, instead, so that it gets hard to debug

Joined: Mar 2001
Posts: 16,784
Likes: 32
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,784
Likes: 32
GTA is hitting an SWI $EF instruction, and GBA sys calls only go to like $21 so that jumps to garbage (Nintendo didn't believe in parameter validation back then).

Code:
030002E0: LDMUW   [R13], { R0-R12, R14 }
030002E4: BX      R14
03007DD8: SWI $ef0000
00000008: B       $140


It appears the root problem is that the area at 3007DD8 is filled with a 0000EFEF pattern rather than code (which suggests a failed DMA, possibly). Do any of the other GBA emulators have a workable debugger so I can see what's intended to happen? I recall VBA had kind of a rudimentary one.

Joined: Jun 2013
Posts: 29
B
Member
Offline
Member
B
Joined: Jun 2013
Posts: 29
Originally Posted By R. Belmont
Do any of the other GBA emulators have a workable debugger so I can see what's intended to happen? I recall VBA had kind of a rudimentary one.

NO$GBA has a debugger version, and it's not shareware/coffeeware/etc anymore. It's the only one I know of unfortunately.

Joined: Apr 2011
Posts: 288
Senior Member
Offline
Senior Member
Joined: Apr 2011
Posts: 288
Originally Posted By Kale
Mmh, somebody should check out if Gunstar Super Heroes is fixed at final level and doesn't hang anymore.


Works all the way through from start to finish.

Moon 4 was most frustrating with the rolling of the dice and falling in a pit resulting in having to start over at the beginning of the board.

Had to bump it down to easy to survive it. Fun game though smile






Joined: Apr 2011
Posts: 288
Senior Member
Offline
Senior Member
Joined: Apr 2011
Posts: 288
Doh! I just realized I went through the wrong game.

I'll try the correct one when time permits smile

Page 19 of 22 1 2 17 18 19 20 21 22

Link Copied to Clipboard
Who's Online Now
2 members (Duke, Vas Crabb), 45 guests, and 2 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,957
Posts117,735
Members4,994
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com