MAME: Einstein Emulation

Software discussion & Emulation
Post Reply
Pernod
Posts: 37
Joined: Thu Oct 24, 2019 11:23 am
Location: Croydon, UK

MAME: Einstein Emulation

Post by Pernod » Thu Oct 24, 2019 12:37 pm

The Einstein is surprisingly only emulated in MAME. The TC01 has been emulated for many years but was not until very recently that the ROM from an Einstein 256 was dumped, and made available to emulate.

Here are some screenshots from the current Einstein 256 emulation:
0001.png
0001.png (3.82 KiB) Viewed 15210 times
0012.png
0012.png (11.85 KiB) Viewed 15210 times
0009.png
0009.png (6.52 KiB) Viewed 15210 times

vanpeebles
Posts: 263
Joined: Wed Oct 23, 2019 8:43 pm

Re: MAME: Einstein Emulation

Post by vanpeebles » Thu Oct 24, 2019 12:41 pm

Certainly looks good. It's been a long long time since I last used MAME!

fatbob_gb
Posts: 23
Joined: Thu Oct 24, 2019 6:21 pm

Re: MAME: Einstein Emulation

Post by fatbob_gb » Thu Oct 24, 2019 6:32 pm

The MAME emulation of the Einstein has improved dramatically over the last couple of years, it is really useful to use as a debugger.

User avatar
sirmorris
Posts: 97
Joined: Thu Oct 24, 2019 1:12 pm
Location: Oxford

Re: MAME: Einstein Emulation

Post by sirmorris » Fri Oct 25, 2019 3:15 pm

I've been using it a lot lately and it might be something I'm doing but I get frequent hangs. I have to force quit it. I'm on a Mac so this could be a factor.

Pernod
Posts: 37
Joined: Thu Oct 24, 2019 11:23 am
Location: Croydon, UK

Re: MAME: Einstein Emulation

Post by Pernod » Fri Oct 25, 2019 5:19 pm

sirmorris wrote:
Fri Oct 25, 2019 3:15 pm
I've been using it a lot lately and it might be something I'm doing but I get frequent hangs. I have to force quit it. I'm on a Mac so this could be a factor.
Are you referring to the Einstein emulation, or MAME in general? I only use Windows and have never known MAME to hang.

User avatar
sirmorris
Posts: 97
Joined: Thu Oct 24, 2019 1:12 pm
Location: Oxford

Re: MAME: Einstein Emulation

Post by sirmorris » Mon Oct 28, 2019 4:57 pm

The debugger. I think it's related to the PSG emulation as everything was huynky dory before I added the music & sound effect drivers.

Pernod
Posts: 37
Joined: Thu Oct 24, 2019 11:23 am
Location: Croydon, UK

Re: MAME: Einstein Emulation

Post by Pernod » Mon Oct 28, 2019 5:38 pm

sirmorris wrote:
Mon Oct 28, 2019 4:57 pm
The debugger. I think it's related to the PSG emulation as everything was huynky dory before I added the music & sound effect drivers.
This sounds like a side effect of using the debugger, where reading a location triggers some change, ie. toggles the rom.

Can you provide steps for me to duplicate the issue?

User avatar
sirmorris
Posts: 97
Joined: Thu Oct 24, 2019 1:12 pm
Location: Oxford

Re: MAME: Einstein Emulation

Post by sirmorris » Thu Oct 31, 2019 4:13 pm

This just repro'd it for me. Mac, OSX 10.12 sierra.

$ ./mame64 einstein -debug
(no disks are configured, tc01 will boot into MOS)
> g
(wait for tc01 to boot)
> g 100
(keys are echoed in einstein, which is curious but in this case a useful side effect)
> load biggoil.com,100
> g
(set some breakpoints, generally debug the code)
> soft

A lot of the time hangs here. The program in question is attached.

* EDIT - ignore the conjecture about sound, I've commented out the player and it still hangs. I've tried a few different builds of mame now with the same issue.
Attachments
biggoil.com.zip
(8.64 KiB) Downloaded 492 times

Pernod
Posts: 37
Joined: Thu Oct 24, 2019 11:23 am
Location: Croydon, UK

Re: MAME: Einstein Emulation

Post by Pernod » Fri Nov 01, 2019 2:42 pm

I couldn't repro the hang, but the game sounds great!

Are you doing the 'g 100' from the debugger or einstein? From the debugger will be a problem as the ROM is likely paged in.

soft always performs a soft reset here (Windows) and never hangs.

Would it be useful to add a quickload option to load and execute .COM files?

User avatar
sirmorris
Posts: 97
Joined: Thu Oct 24, 2019 1:12 pm
Location: Oxford

Re: MAME: Einstein Emulation

Post by sirmorris » Fri Nov 01, 2019 8:04 pm

Hmm, yes that makes a big difference. Typing G 100 on the TC01, rather than in the debugger, allows me to happily debug and reset to my heart's content!

Thanks for the pointer, this will make a big difference :D

Post Reply