Home Page

mame and x68000

Posted By: TheElf

mame and x68000 - 11/20/15 11:49 PM

Hi, greetings

I downloaded latest mame, and i dont found how to emulate the x68000

I already have the correct bios (x68000.zip & x68kxvi.zip), and they work OK

But the options "-flop1 -flop2" that i remmeber work in mess, are not working anymore, and I dont found nothing in docs

How can i load floppy games?¿¿?

Thanks a lot
Posted By: LoganB

Re: mame and x68000 - 11/21/15 12:02 AM

Running mame x68000 -flop1 disk1.dim -flop2 disk2.dim works fine. What command are you trying?
Posted By: TheElf

Re: mame and x68000 - 11/21/15 12:11 AM

Hi thanks for reply

Exactly same as you for now "mame x68000 -flop1 ## -flop2 ##"

In mess, i had a folder inside "roms" called "x68k_flop" and all dim inside, and the bios in rom folder


But now dont find the dim anymore like in mess
Posted By: TheElf

Re: mame and x68000 - 11/21/15 01:21 AM

Ok, finally i found the problem

There is a HASH folder (this is new for my). Inside i found a xml with the floppy names

instead of "mame x68000 -flop1 ## -flop2 ##" i just rename the dim files same in hash, and do "mame x68000 akumajo"


Sadly, is too slow to be playable in my PC, for now i need to keep using WinX68k High-Speed
Posted By: EoceneMiacid

Re: mame and x68000 - 11/25/15 02:47 PM

I was just about to start a new thread for my question but I suppose I might as well hijack this one.

What makes emulating this system so slow exactly, and is there much room for improvement? I would love to explore this system's catalog but it's not really feasible at the moment. As far as I know (which admittedly isn't very far), the architecture doesn't seem overly complex with just a single 68k which is a very common and well understood CPU. I'm cautiously guessing it's the floppy drive and/or sound system emulation, which was pretty high-end in it's heyday?

Please do not interpret this as 'get off your lazy asses and make it so I can play free games, you slackers' - I'm just very intrigued by this system.

And congratulations with the latest release - you're doing the world a wonderful service.
Posted By: crazyc

Re: mame and x68000 - 11/25/15 03:00 PM

What sort of performance are you getting on what sort of machine?
Posted By: EoceneMiacid

Re: mame and x68000 - 11/25/15 03:12 PM

>.>

I just tried running a few games on my freshly compiled 0.168 build and I now achieve 60fps without problems. I haven't tried running the x68k driver for a while since last time I did (about two releases ago) it ran at about 60% with a frameskip of 10, so this is a MASSIVE improvement. Feel free to entirely disregard my last post!

I'm using an quad core i5 by the way.
Posted By: crazyc

Re: mame and x68000 - 11/25/15 03:47 PM

smile
Posted By: mahlemiut

Re: mame and x68000 - 11/25/15 08:41 PM

Originally Posted By EoceneMiacid
I was just about to start a new thread for my question but I suppose I might as well hijack this one.

What makes emulating this system so slow exactly, and is there much room for improvement? I would love to explore this system's catalog but it's not really feasible at the moment. As far as I know (which admittedly isn't very far), the architecture doesn't seem overly complex with just a single 68k which is a very common and well understood CPU. I'm cautiously guessing it's the floppy drive and/or sound system emulation, which was pretty high-end in it's heyday?


Probably more the video system, which is all custom, including CRTC, PCG (up to 2 tilemap layers and sprites), up to 4 graphic bitmap layers (16, 256 or 64k colours), and a text bitmap layer (16 colours only). It's not horrifically complex, but it's not simple, either.

Certainly speed improvements could be made, and are welcome. (Although yes, the floppy drives are slow, they are on any system, but only when in use)
Posted By: crazyc

Re: mame and x68000 - 11/25/15 09:58 PM

You can get ~25% more performance by commenting out the timer adjust in device_timer in 8530scc.cpp (or maybe try the new one in z80scc.cpp).
Posted By: R. Belmont

Re: mame and x68000 - 11/25/15 10:02 PM

You'll lose mouse support in HumanWindows if you do either :-)
Posted By: Edstrom

Re: mame and x68000 - 11/26/15 12:48 AM

I have added support for the internal baudrate generator in z80scc.cpp the same way it is implemented in 8530.cpp now, no baudrate interrupt yet however. What else is needed to support the mouse in HumanWindows?
Posted By: R. Belmont

Re: mame and x68000 - 11/26/15 02:33 AM

I *think* the mouse is a serial mouse, meaning transmit/receive need to work, but I could be confusing it with something else. Would have to check the x68k.cpp driver for details.
Posted By: Edstrom

Re: mame and x68000 - 11/26/15 12:09 PM

Yes I figured, I thought you meant that the z80scc driver were missing some specific support related to the adjust calls in the driver and the only thing I found in the 8530scc.cpp was the baudrate generator. But you meant the whole serial would fail without tx/rx clocks? The board I used it for had an external clock and was not using PCLK as a base.

I'll check the x68k.cpp and see if I find something.
© 2020 Forums