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: Mame 0.36 build failing with"can't run in DOS mode" error  (Read 1106 times)

0 Members and 1 Guest are viewing this topic.

Wade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1639
  • Last login:June 02, 2025, 11:48:57 pm
  • 80's Child
    • Wade's Gameroom
Mame 0.36 build failing with"can't run in DOS mode" error
« on: November 07, 2004, 10:54:07 pm »
I'm trying to do a .36 build according to the directions on mame.net, and everything is working fine except the final build.

I'm using Win2k.  On the previous makes, I had to exit into DOS mode to get the build to work.  Well, now, on the final "make" for mame.exe, it built for awhile and then quits with a "can't run in DOS mode" error.

Does anyone know how I can find out which program is giving this error?

I noticed I got the exact same error message when trying to run unzip.exe from the same site.  So I deleted it and copyed a DOS version of pkunzip.exe (which I verified works properly) to unzip.exe.  Still didn't change the program, still bombs on the same exact error message.

Any ideas?

Thanks,
Wade

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:July 24, 2025, 06:20:12 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re:Mame 0.36 build failing with"can't run in DOS mode" error
« Reply #1 on: November 07, 2004, 10:58:20 pm »
if its the final stage, MAME.EXE gets compress by the UPX.EXE program and that is a WINDOWS prgoram. Maybe there is a DOS one and if so, you need to reaplce it ot maybe the MAKEFILE you  could un-comment it NOT TO COMPRESS the final EXE file so that givves you a LARGER MAME.EXE file size.
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

Wade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1639
  • Last login:June 02, 2025, 11:48:57 pm
  • 80's Child
    • Wade's Gameroom
Re:Mame 0.36 build failing with"can't run in DOS mode" error
« Reply #2 on: November 08, 2004, 08:31:15 am »
Are you sure UPX is a windows program?  If I run it from the DOS command line, it seems to work okay (gives me a list of command line options, etc.)

I read that UPX is optional.  However, this build is crashing before it gets to the UPX step.  There is no MAME.exe found.  My understanding is that UPX just compresses the finished EXE file.  I'd be okay without compressing the EXE, but so far I haven't been able to get it to build the EXE completely.

I'm going to try to do the build on a Windows98 machine tonight and see if that changes anything.

Any other ideas are appreciated!

Thanks!
Wade

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:July 24, 2025, 06:20:12 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re:Mame 0.36 build failing with"can't run in DOS mode" error
« Reply #3 on: November 08, 2004, 08:56:21 am »
are you sure the compile is finished ?

Maybe you are not finish. At some point if you were compiling from a pure dos machine, you should have gotten and error about NASM  m68000 bla bla bla error. This is also a windows program, I dunno if there is a DOS one, and if I remember correctly, the file must be rename or copied to NASMW.exe or versa, versa. What I did was just have those 2 files (NASM.EXE, NASMW.EXE) which are of course the same file.

Like I said, the last step after a succesfull compile is that UPX thing.

Maybe somone else know something about your errors.
Compile it under Win98 and all should be ok.
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

Wade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1639
  • Last login:June 02, 2025, 11:48:57 pm
  • 80's Child
    • Wade's Gameroom
Re:Mame 0.36 build failing with"can't run in DOS mode" error
« Reply #4 on: November 08, 2004, 09:12:21 am »
No, the compile isn't finished.  I'm at the step where you do the last "make", in the djgpp\mame directory.  It runs for awhile and then quits with that error message.  If I restart it, it just quits immediately with the same error message.

I think the step you are talking about might be where I am.  I am getting some kind of error which mentions m68 something I think.

If it builds okay in Win98 tonight then I guess I can't really complain.  I'll try it tonight.

Thanks for the help,
Wade

Wade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1639
  • Last login:June 02, 2025, 11:48:57 pm
  • 80's Child
    • Wade's Gameroom
Re:Mame 0.36 build failing with"can't run in DOS mode" error
« Reply #5 on: November 09, 2004, 08:10:29 am »
Well, it built fine with Win98.  Yay!  Thanks for the help.

Wade