Interesting... is there an idiots guide to using the debugger ?
Regards Andy
MAME: Einstein Emulation
Re: MAME: Einstein Emulation
It's not an idiots guide, but the official documentation is at https://docs.mamedev.org/debugger/index.html
Re: MAME: Einstein Emulation
Hi Andy.
Set up mame in the usual way, with roms and all.
Start mame from the command line, mame einstein -debug
The debugger has a command line/box
> g
... will make it GO!
Hit return in the command line to make the emulation stop
> g [address]
... will go as far as address then stop
To run a tattie COM file without having to build a disk image:
start mame
> g
tattie boots, when prompt appears type 'g 100' on tattie
debugger will break at address 100H
> load comfilename,100
> g
That'll get you going, use the built-in help for the rest.
Set up mame in the usual way, with roms and all.
Start mame from the command line, mame einstein -debug
The debugger has a command line/box
> g
... will make it GO!
Hit return in the command line to make the emulation stop
> g [address]
... will go as far as address then stop
To run a tattie COM file without having to build a disk image:
start mame
> g
tattie boots, when prompt appears type 'g 100' on tattie
debugger will break at address 100H
> load comfilename,100
> g
That'll get you going, use the built-in help for the rest.
Re: MAME: Einstein Emulation
So, it works up to a point. There are still hangs but fewer now. One thing I have a hard time with is the memory view, which only seems to show the ROM even when RAM is paged in.
Start mame
$ ./mame64 -debug einstein
Start the emulation from the debugger, with a temp. breakpoint at $100
g 100
On the einstein use the MOS to jump to $100
>G 100
While stopped at the breakpoint go to the Debug menu and pop open a new memory window. The available views are Z80 :i001 program space, and IO space. program space is showing the content of the ROM despite the fact that RAM is now paged in. This is mame on a Mac. PC procedures may differ.
Is this something that can be fixed? I don't have a clue where to start in the mame source, it's a maze of twisty passages, all alike. Where could I start looking?
Start mame
$ ./mame64 -debug einstein
Start the emulation from the debugger, with a temp. breakpoint at $100
g 100
On the einstein use the MOS to jump to $100
>G 100
While stopped at the breakpoint go to the Debug menu and pop open a new memory window. The available views are Z80 :i001 program space, and IO space. program space is showing the content of the ROM despite the fact that RAM is now paged in. This is mame on a Mac. PC procedures may differ.
Is this something that can be fixed? I don't have a clue where to start in the mame source, it's a maze of twisty passages, all alike. Where could I start looking?
-
- Posts: 266
- Joined: Wed Oct 23, 2019 8:43 pm
Re: MAME: Einstein Emulation
Have you tried typing xyzzy?
Re: MAME: Einstein Emulation
This does seem odd and unexpected, on a PC I see RAM in the Z80 program space at this point.sirmorris wrote: ↑Fri Nov 08, 2019 11:13 am While stopped at the breakpoint go to the Debug menu and pop open a new memory window. The available views are Z80 :i001 program space, and IO space. program space is showing the content of the ROM despite the fact that RAM is now paged in. This is mame on a Mac. PC procedures may differ.
In the memory window you can also select 'RAM/:ram/0/m_pointer' to always show RAM.
Re: MAME: Einstein Emulation
I think the mac build is a little bit special. Perhaps it's just how I build it. I'll check google for an official (or at least competent ) mac build.
@vanpeebles
@vanpeebles
-
- Posts: 302
- Joined: Thu Oct 24, 2019 11:47 am
Re: MAME: Einstein Emulation
How do I go about downloading and installing the MAME emulator for the Tatung? Either Mac or PC - whichever is easiest.
I have never seen / used either.
I have never seen / used either.
TC-01 + einSDein + TM-01 + TK-02 + gotek
-
- Posts: 302
- Joined: Thu Oct 24, 2019 11:47 am
Re: MAME: Einstein Emulation
And once up and running are there tools to drag in files to disc images etc.?
I have written a highly dubious and irritating text adventure in BBC Basic that I thought I would try to port to the tatty BBC Basic.
I have written a highly dubious and irritating text adventure in BBC Basic that I thought I would try to port to the tatty BBC Basic.
TC-01 + einSDein + TM-01 + TK-02 + gotek
Re: MAME: Einstein Emulation
Download from https://www.mamedev.org/Lardo Boffin wrote: ↑Sat Feb 15, 2020 7:52 am How do I go about downloading and installing the MAME emulator for the Tatung? Either Mac or PC - whichever is easiest.
Documentation at https://docs.mamedev.org/usingmame/usingmame.html
Attached are the romsets required for Einstein emulation, just copy them to your mame/roms folder (do not unzip).
Not sure how you would do that, maybe someone else has some ideas?Lardo Boffin wrote: ↑Sat Feb 15, 2020 7:55 am And once up and running are there tools to drag in files to disc images etc.?
I have written a highly dubious and irritating text adventure in BBC Basic that I thought I would try to port to the tatty BBC Basic.
- Attachments
-
- einstein.zip
- (12.38 KiB) Downloaded 762 times
-
- einst256.zip
- (11.67 KiB) Downloaded 717 times