VOGONS


First post, by Moose

User metadata
Rank Newbie
Rank
Newbie

The cunning plan was thus:

I would make a DOS environment with a front end (Game Launcher) to run Mame, with a view to making a cabinet eventually. I don't want to run Windows.

While setting up the DOS environment I was going to use mame through DOSBox on Windows, Mac and Linux since I have several machines with different OS's to develop the mame environment.

Things were going well, I installed and customised DOSBox on all platforms and had set up a test DOS mame install with a few test roms, everything ran fine with the Windows version of DOSBox, the same test mame environment crashed when running on the Mac version of DOSBox.

c:\dmame
Page fault cr2=0fffdf53 at eip=214; flags=3206
eax=ffffcf00 ebx=c0000000 ecx=00000005 edx=ffffdf53 esi=00a9ac96 edi=0000102c
ebp=ffffcf27 esp=0000075c cs=a7 ds=af es=af fs=8f gs=0 ss=8f error=0000

Are there compatibility issues between version 0.72 of DOSBox for the Mac and the same version for the PC? Is this a rendering issue?

-
# Motherboard

PC=Dell 745
Mac=Mac mini

# Processor type and speed

PC=Intel Core 2 6400 2.14
Mac=Intel Core 2 Duo 1.83

# Amount and type of RAM

PC=2Gb
Mac=2Gb

# Video board w/ RAM amount and type

PC=Radion X1300
Mac=Intel GMA 950

# Sound board

PC=HD audio
Mac=HD audio

# Operating system

PC=Vista Enterprise
Mac=OSX 10.5.5

# Game name (and version, if applicable)

DMAME 0.63. Also happens with many others including Advanced Mame for DOS, i586/686 variants

# Description of problem (be detailed: saying "it's jerky" doesn't help, saying "the player sprites seem to be jerky when I'm pressing any of the arrow keys" does)

DMAME crashes the Mac version of DOSBox, but works fine on the Windows Version of DOSBox.

# Reproducibility of problem (always, only once, always but only on a specific level, etc.)

Crashes every time, even with no arguments.

# Sound mode used

None

# Video mode (Software, OpenGL, Direct3D, or Glide, and resolution)

PC=SDL mode (being used through a RDC connection)
Mac=OpenGL or SDL from DOSBox preferences?

# Version of emulator (for VDMSound, probably 2.0.4 or 2.1.0; for DOSBox, 0.58+)

? Using DOSbox 0.72 on both Mac and PC.

# Steps already attempted to solve the problem (please say you've read the README if you haven't, and READ IT IF YOU HAVEN'T!)

Read the readme. Tried many different versions of Mame for DOS, Windows DOSBox runs them all, the Mac version of DOSBox crashes with them all!

Attachments

  • Windows.png
    Filename
    Windows.png
    File size
    28.04 KiB
    Views
    4577 views
    File comment
    DOSBox 0.72 running dmame.exe fine on Windows
    File license
    Fair use/fair dealing exception
  • Mac.png
    Filename
    Mac.png
    File size
    32.45 KiB
    Views
    4577 views
    File comment
    DOSBox 0.72 crashing when running dmame.exe on the Mac
    File license
    Fair use/fair dealing exception

Reply 2 of 10, by Neville

User metadata
Rank Oldbie
Rank
Oldbie

I'd advice you to use a Linux version of MAME, or even MAMEUI32 under Windows to build that cabinet.

I tried some time ago to run an old DOS version of MAME under DOSBox, and the speed was so low it was completely unusable.

Reply 3 of 10, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

I was thinking the same thing. I'd simply use the Windows version, as it's much easier to configure and run than the Linux version, and has very good hardware support because of the underlying OS (controllers, sound, video, etc.). I once tried to setup a cab with a PII/350 under XP, and the CPU was a little too slow to run MAME games in full speed - i guess with a CPU that's a bit faster, you'll be good to go. You won't need a fancy graphics card, too, as MAME doesn't use hardware 3D acceleration at all. Another benefit of using the Windows version would be that you can choose from a number of very good frontends - the pinnacle being GameEx, if your cab machine can handle it (the program is quite demanding for a frontend, but it's highly configurable, and looks fabulous). Another benefit is the sheer number of emulators available on Windows - you could build a arcade/console/computer (home computers, DOS, etc.) cab, and play freeware/commercial games, all on the same machine.

I can't say much about the speed of the DOS version, but i think it would be a nightmare to get a "normal" controller working in DOS. Keyboard-emulating arcade controllers wouldn't probably be a problem, of course.

AdvanceMAME is a project to specifically support Arcade VGA cards, and it's quite difficult to configure it for "normal" graphics cards. There's a nice boot CD called AdvanceCD, which boots a small Linux, and the AdvanceMenu MAME frontend. This is a nice way to have a look at the Linux version of AdvanceMAME, and the ISO can easily be altered to add additional ROMs, change settings, etc. . But sadly, all Advance projects are pretty much dead now, because the original coder "switched out of the emulation hobby", as he says on the Advance Projects website.

Oh, and why are you using these ancient MAME versions?! Currently MAME's at 0.127, and that build should be available on all major OSs.

Reply 4 of 10, by Moose

User metadata
Rank Newbie
Rank
Newbie

Thanks WD, Neville and Addict. Good advice, which I will definately be following up. I was using DOS mame from the http://www.arcadeathome.com/ site as I wanted to get mame resources all from one site and many sites didn't seem to have mame binaries for all platforms. It seems development has sadly stopped for the DOS version of mame. It's really hard to find, but I think I may have just found the last version of DOS mame which is version 1.06. I know running mame inside DOSBox would be slow, but it was really for the convenience of being able to work on the cab build from any platform, which is one of the reasons I didn't want to use Windows. I'd prefer an instant boot DOS based cab and easy cross platform development.

Alternatively I suppose I could use Windows 98 / ME as a small footprint OS host to mame, then I could develop this cab build on a Virtual Box Virtual machine which I could work on in Linux, OSX and Windows since virtual box is available for all platforms. I really wanted to go back to the simplicity of DOS and thought DOSBox would be ideal for my plans.

Many thanks for all the suggestions.

Reply 6 of 10, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

Snover, i'll check it out during my next Linux venture (i work in XP most of the time, but i like to check out new distributions from time to time, and play around a bit). But still, have you seen GameEx? If you have an XP install, try it - it looks amazing out of the box, and is very well suited for cab usage (full controller support in the frontend, ability to map controller buttons to keys (exit emulators, etc.), and so on). I think i've seen all the frontends on Windows, and GameEx is the most functional by far. kxmame looks a bit like the Win32 MAME GUI, and thus isn't very useful in a cab (KDE on a cab would be overkill, too).

Reply 7 of 10, by Snover

User metadata
Rank l33t++
Rank
l33t++

I haven't, and their Web site reliably crashes my browser, which is a neat trick. MythTV has a plugin called MythGames, which is a similar frontend for a MythTV installation (and does more than just MAME), if a standard GUI doesn't work. Here's some dude running it on an Xbox. Oh, the irony!

Yes, it’s my fault.

Reply 8 of 10, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

Been there, done that... (not with MythTV though). The Xbox is a wonderful console (i own two chipped ones), but it hasn't got enough RAM to run Linux and apps with good performance. I didn't try MAME under Xbox Linux yet, but i bet it's too slow to play anything more recent than Pac-Man or Joust. The whole Linux on the Xbox-thing is more of a tech demo than anything else, sadly. Still a great media player, though (XBMC!). (;

I wonder why the guy from the link you've posted isn't just using the native emulator ports. They'd run _much_ better than the Linux ports, and thanks to XPort and a few other coders, there are native Xbox ports of (nearly) all "major" emulators (MAME, Daphne, FBA, VBA, etc. - even DOSBox).

If you're only remotely interested in gaming/emulation frontends on Windows, there's no way around GameEx. I've spent _ages_ configuring AdvanceMenu, MaLa, and other frontends, and none of them were as good looking or flexible, or worked as well as GameEx. C'mon Snover, you should be able to get around a crashing browser, shouldn't you?! (;

In case anyone wonders why i'm so exited about this frontend stuff: i love emulation. My dream is one machine which plays _anything_, and is hooked up both to a TV set, and a LCD monitor. The Xbox came very, very close to that dream, but sadly, the console can't play HD video (too slow, not enough RAM), and is too slow to conveniently browse the web. So the only solution IMHO is a relatively powerful HTPC, with a nice looking and functional frontend. That would give you the best of all worlds - you could run the latest emulator builds, play Windows games, all kind of media (video, audio, etc.), and have a cool looking interface that's easy to use with a controller or a remote. _And_ you could have the occasional bluescreen, too. (;

Reply 9 of 10, by Snover

User metadata
Rank l33t++
Rank
l33t++
ADDiCT wrote:

C'mon Snover, you should be able to get around a crashing browser, shouldn't you?! (;

I did. I just didn't have the heart to tell you how poor MameEx looks compared to MythGames 😉

Yes, it’s my fault.

Reply 10 of 10, by Moose

User metadata
Rank Newbie
Rank
Newbie

Interestingly, I can run dmame.exe in both Windows and Mac versions of DOSBox when core=normal or simple. Simple mode seems to show more fps than normal mode. This seems to suggest that dynamic compilation is broken on the Mac version of DOSBox, since as soon as you set core=auto or dynamic you get page faults. Unfortunately DOSBox in core=simple/normal mode is too slow to use. Funnily enough I can run XP at a rate of knots within VMWare fusion. I'm going to try freedos running within virtual box, that will hopefully give me a fast DOS environment that will let me move my DOS C drive between OSX, Linux and Windows.

Thanks for the info, especially about the linux ports and windows front ends, I am going to investigate all of these options.
<SOLVED>