Previous Thread
Next Thread
Print Thread
Joined: May 2008
Posts: 8
H
hamelg Offline OP
Member
OP Offline
Member
H
Joined: May 2008
Posts: 8
Hello,

I'm trying my first game with disk image : calspeed.
After typing OK at the game information, sdlmame crashes with the error :
/usr/bin/sdlmame: line 58: 25865 Illegal instruction ./sdlmame "$@"

"sdlmame -verifyroms" and "chdman -verify" are OK.
stack trace gives no information because the binary is striped.
The last lines in error.log are :

BFC00890:Galileo write to offset 448 = 0000030D & FFFFFFFF
BFC016D8:Galileo write to offset 44C = 00000050 & FFFFFFFF
a0000b30: DCS reset = 1
cpu #0 (PC=800CD8E4): unmapped program memory dword write to 16800000 = 00000000 & FFFFFFFF
cpu #0 (PC=800CD8E4): unmapped program memory dword write to 17200000 = 00000000 & FFFFFFFF
cpu #0 (PC=800CD8E4): unmapped program memory dword write to 17600000 = 00000000 & FFFFFFFF
a00102b8: DCS reset = 1
*** I/O ASIC shuffling enabled!
8003AA40:Galileo write to offset C04 = 00FF070F & FFFFFFFF
8003AA64:Galileo write to offset C00 = 00000001 & FFFFFFFF
8003AAB4:Galileo write to offset C28 = 0000003F & FFFFFFFF
8004961C:PCIBus read: bus 0 unit 6 func 0 reg 0 type 0 = FFFFFFFF
8004961C:PCIBus read: bus 0 unit 7 func 0 reg 0 type 0 = FFFFFFFF
8004961C:PCIBus read: bus 0 unit 10 func 0 reg 0 type 0 = FFFFFFFF
8004961C:PCIBus read: bus 0 unit 6 func 0 reg 0 type 0 = FFFFFFFF
8004961C:PCIBus read: bus 0 unit 7 func 0 reg 0 type 0 = FFFFFFFF
3dfx not mapped where we expect it! (FFFFFFFF)
8004961C:PCIBus read: bus 0 unit 6 func 0 reg 0 type 0 = FFFFFFFF
8004961C:PCIBus read: bus 0 unit 7 func 0 reg 0 type 0 = FFFFFFFF


Other games without disk image work fine.

Any ideas ?

Thank you

Joined: Mar 2001
Posts: 16,677
Likes: 4
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,677
Likes: 4
So stop stripping your binary and give a backtrace smile

It also helps greatly to tell what kind of CPU you have when giving "illegal instruction" errors. Also the version of SDLMAME, and the operating system (SDLMAME runs happily on at least 5).

Last edited by R. Belmont; 06/26/08 08:04 PM.
Joined: May 2008
Posts: 8
H
hamelg Offline OP
Member
OP Offline
Member
H
Joined: May 2008
Posts: 8
sdlmame v0.125u1
Linux 2.6.25, gcc 4.3.0
Intel Pentium 4 CPU 2.80GHz

I'll try to get a clean backtrace...

Joined: Mar 2001
Posts: 16,677
Likes: 4
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,677
Likes: 4
GCC 4.3 was not supported on versions prior to u7 - you might try with latest first. A clean make with SYMBOLS=1 will backtrace nicely.

Last edited by R. Belmont; 06/26/08 08:31 PM.
Joined: May 2008
Posts: 8
H
hamelg Offline OP
Member
OP Offline
Member
H
Joined: May 2008
Posts: 8
u8 works fine.

Unfortunately, my poor cpu has not enough horsepower to emulate a 150Mhz R5000. Calspeed runs at 20% and is unplayable on my config.


Joined: Mar 2001
Posts: 16,677
Likes: 4
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,677
Likes: 4
As a rule of thumb you need 10 to 15 times the MHz of the system you're emulating. Calspeed runs well on Core 2 Duos of around 3 GHz and up.


Moderated by  R. Belmont 

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