MAME Emulation

A place to discuss everything Dragon related that doesn't fall into the other categories.
User avatar
robcfg
Posts: 1295
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden

Re: MAME Emulation

Post by robcfg » Thu Nov 14, 2019 7:41 pm

What version of MAME are you using? That machine is defined at least since 0.210.

pser1
Posts: 1351
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: MAME Emulation

Post by pser1 » Thu Nov 14, 2019 7:44 pm

right now I am using MAME215
thanks
pere

User avatar
robcfg
Posts: 1295
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden

Re: MAME Emulation

Post by robcfg » Thu Nov 14, 2019 7:50 pm

Do you get any error message?

I just type "./mame64 dragon64h -window -debug -resolution 640x480" and it works as expected.
MAME_Dragon64h.jpg
MAME_Dragon64h.jpg (55.55 KiB) Viewed 1403 times
Try copying your dragon64.zip in the roms folder as dragon64h.zip in the same folder.

pser1
Posts: 1351
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: MAME Emulation

Post by pser1 » Thu Nov 14, 2019 7:55 pm

Hey Robert,
got it working!!
I just had to create a copy of the dragon64.zip file and rename it to dragon64h.zip
Now I can look at the code with lots of 6309 opcodes well disassembled
Thanks a lot!
pere

User avatar
robcfg
Posts: 1295
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden

Re: MAME Emulation

Post by robcfg » Thu Nov 14, 2019 7:56 pm

You're welcome!

Pernod70
Posts: 91
Joined: Sat Apr 22, 2017 10:06 pm
Location: Croydon, UK

Re: MAME Emulation

Post by Pernod70 » Wed Apr 08, 2020 12:29 pm

If anyone wants to use the new CoCo PSG cartridge emulation that was introduced in MAME 0.220 then you'll need the firmware that's attached. Just place the zip in your mame/roms folder.
Attachments
coco_psg.zip
(9.14 KiB) Downloaded 14 times

pser1
Posts: 1351
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: MAME Emulation

Post by pser1 » Wed Apr 08, 2020 12:44 pm

Hello,
I have downloaded that zip and put it into the ROMs folder.
That's alright, I can start Dragon that way, from the cmd prompt
mame64 dragon64 -ext ccpsg
And it starts correctly ... but it enters Ed Snider's firmware that is of no use for Dragon computers
When I bought that module from him, I erased the flash so that it simply gets connected and
then I can use the hardware using my own programs on my Dragon 64
Another chance could be avoiding the module to autostart ... first time I put a bit of tape to do so
but maybe there is a soft way to do the same on MAME
Any advice would be greatly appreciated
thanks in advance
pere

Pernod70
Posts: 91
Joined: Sat Apr 22, 2017 10:06 pm
Location: Croydon, UK

Re: MAME Emulation

Post by Pernod70 » Wed Apr 08, 2020 1:08 pm

pser1 wrote:
Wed Apr 08, 2020 12:44 pm
When I bought that module from him, I erased the flash so that it simply gets connected and
then I can use the hardware using my own programs on my Dragon 64
Another chance could be avoiding the module to autostart ... first time I put a bit of tape to do so
but maybe there is a soft way to do the same on MAME
The default firmware from coco_psg.zip is only loaded on first use. As it's actually flash then the contents are saved after every use to mame/nvram/dragon64/ext_ccpsg_flash. You can manually edit this file to contain whatever you want to run at startup. If ext_ccpsg_flash exists then it will take priority over the default firmware, if it's deleted then the default firmware is used.

pser1
Posts: 1351
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: MAME Emulation

Post by pser1 » Wed Apr 08, 2020 3:12 pm

Thanks a lot for your answer
I have edited the nvram file with an hex editor and have substituted the first bytes with:
12, 7e, 84, 9f - that is equal to
NOP
JMP $849f ; return to the Basic Interpreter
This works welll, now time to 'test' some programs.
I have them in VDK virtual files, but also have the binary compiled version of them.
Just need to learn how to load/execute a binary file from the MAME menu, but in the File Option
I can only load .cas files
Is there any easy way to load a binary file with a std Dragon header?
If it is mandatory to use tape files, I would rather prefer to wait for the MultiPack to be implemented
so that we could have at the same time the FDC and the PSG as on my actual setup ...
Thanks a lot!
pere

pser1
Posts: 1351
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: MAME Emulation

Post by pser1 » Wed Apr 08, 2020 3:54 pm

as an intermediate solution ...
Would it be possible to enable Becker port in MAME so that it can communicate
with a Drivewire server that runs in the same PC? Maybe it is already possible ...
TCPClientPort 65503
TCPServerPort 65504
Any ideas about that alternative to disks?
thanks beforehand
pere

Post Reply