Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Error whilst running DOS AdvanceMame - 'Exiting due to SIGILL'  (Read 3030 times)

0 Members and 1 Guest are viewing this topic.

EightBySix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 523
  • Last login:April 25, 2021, 01:50:16 pm
Whilst trying to compile mame for DOS I stumbled across AdvanceMame for DOS.

With the command line options and scripting it should remove my need to do a custom compile in the first place. All was good until I tried to run the binary download:

Code: [Select]
Exiting due to signal SIGILL
Invalid Opcode at eip=0020f7e1
...dump info...

Has anyone seen this before? There is an old thread that was never answered. Thought I would try again...

I'm running it on a Pentium 166 - I've tried various high memory configurations in config.sys etc. AdvanceMenu does the same.

404

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1019
  • Last login:August 04, 2015, 10:19:10 pm
Re: Error whilst running DOS AdvanceMame - 'Exiting due to SIGILL'
« Reply #1 on: June 25, 2013, 05:47:58 pm »
Whilst trying to compile mame for DOS I stumbled across AdvanceMame for DOS.

With the command line options and scripting it should remove my need to do a custom compile in the first place. All was good until I tried to run the binary download:

Code: [Select]
Exiting due to signal SIGILL
Invalid Opcode at eip=0020f7e1
...dump info...

Has anyone seen this before? There is an old thread that was never answered. Thought I would try again...

I'm running it on a Pentium 166 - I've tried various high memory configurations in config.sys etc. AdvanceMenu does the same.

this is an operational code error. What version of AdvanceMame are you running?

Haze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1296
  • Last login:October 04, 2023, 08:30:02 am
  • I want to build my own arcade controls!
    • MAME Development Blog
Re: Error whilst running DOS AdvanceMame - 'Exiting due to SIGILL'
« Reply #2 on: June 25, 2013, 07:52:36 pm »
invalid / illegal opcode simply means that the code is compiled using optimizations (to use cpu extensions) your CPU doesn't support (or simply directly contains assembly code your CPU doesn't support)

given you're trying to run on something that is practically an antique that does not surprise me, I'm pretty sure even early versions of MAME have code requiring MMX baked into the blitters.

I'm not sure what you're hoping to get out of it, running any emulator on that will be an exercise in torture, it's more something you would use with Retrocade than MAME.
« Last Edit: June 25, 2013, 07:55:28 pm by Haze »

404

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1019
  • Last login:August 04, 2015, 10:19:10 pm
Re: Error whilst running DOS AdvanceMame - 'Exiting due to SIGILL'
« Reply #3 on: June 25, 2013, 11:46:34 pm »
^^ I'm with Haze on this one I do believe the version you are using isn't compatible with the rig you are trying to set it up with.

Any reason why you won't or can't use something a bit stronger?

EightBySix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 523
  • Last login:April 25, 2021, 01:50:16 pm
Re: Error whilst running DOS AdvanceMame - 'Exiting due to SIGILL'
« Reply #4 on: June 27, 2013, 05:57:48 am »
That sounds like it could be the problem. Thankyou  :notworthy:

The latest (dos) readme for advance mame says it was optimised for pentiums though, and the PC (pic attached) is Intel Pentium 166 MHz MMX, 32 MB RAM (64 MB max), 2.1 GB hard disk, 7.1" TFT display

I built my table around the machine - due to its size, and the fact I already had it. With a CF card as an IDE adaptor it flies and is certainly powerful enough to run the games I want to play. It also has no fans or moving parts.

I just wish I could compile a version of MAME to run in a dos environment  :banghead: so I can implement no-nagging.

I might try and compile advance mame for a diff target...

404

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1019
  • Last login:August 04, 2015, 10:19:10 pm
Re: Error whilst running DOS AdvanceMame - 'Exiting due to SIGILL'
« Reply #5 on: June 27, 2013, 10:48:30 am »
That sounds like it could be the problem. Thankyou  :notworthy:

The latest (dos) readme for advance mame says it was optimised for pentiums though, and the PC (pic attached) is Intel Pentium 166 MHz MMX, 32 MB RAM (64 MB max), 2.1 GB hard disk, 7.1" TFT display

I built my table around the machine - due to its size, and the fact I already had it. With a CF card as an IDE adaptor it flies and is certainly powerful enough to run the games I want to play. It also has no fans or moving parts.

I just wish I could compile a version of MAME to run in a dos environment  :banghead: so I can implement no-nagging.

I might try and compile advance mame for a diff target...

Have you tried an older build of advancemame from the site? Perhaps they are not compiled with one specific target in mind.

Compiling DOS apps can be very tedious. Most people these days use DJGPP http://www.delorie.com/djgpp/ and it's still quite a pain to get going.

EightBySix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 523
  • Last login:April 25, 2021, 01:50:16 pm
Re: Error whilst running DOS AdvanceMame - 'Exiting due to SIGILL'
« Reply #6 on: June 27, 2013, 11:53:13 am »
Have you tried an older build of advancemame from the site? Perhaps they are not compiled with one specific target in mind.

I never spotted the older versions, I'll try when I get home from work. You may have got my project back on track - I think I love you.

404

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1019
  • Last login:August 04, 2015, 10:19:10 pm
Re: Error whilst running DOS AdvanceMame - 'Exiting due to SIGILL'
« Reply #7 on: June 27, 2013, 12:56:48 pm »
Have you tried an older build of advancemame from the site? Perhaps they are not compiled with one specific target in mind.

I never spotted the older versions, I'll try when I get home from work. You may have got my project back on track - I think I love you.

That's a bit creepy.....NO MEANS NO!  :lol

Anyway, I'm all for saving old rigs. I've got piles of stuff here that I still need to get rid of. If you can't get that little sucker to run well enough, I'm pretty sure i have a Pentium III powered laptop around here. Think it just needs a CMOS battery replacement and its good to go. You can have it although i suspect that you would need to make significant changes to your current project to accommodate it.

EightBySix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 523
  • Last login:April 25, 2021, 01:50:16 pm
Re: Error whilst running DOS AdvanceMame - 'Exiting due to SIGILL'
« Reply #8 on: June 27, 2013, 05:44:16 pm »
Bingo, it works!

Thanks for the offer! If I need to use something more modern than the little toshiba, I have a raspberry pi, or there is an Asus eeepc in a drawer that gets no love lately.

It's looking good so far, although advance mame seems a little slower than the dos make I was using. Early days yet though. Looks like there is lots of tweaking to be had.