Page 9 of 12

Re: MAME Emulation

Posted: Thu Nov 14, 2019 7:41 pm
by robcfg
What version of MAME are you using? That machine is defined at least since 0.210.

Re: MAME Emulation

Posted: Thu Nov 14, 2019 7:44 pm
by pser1
right now I am using MAME215
thanks
pere

Re: MAME Emulation

Posted: Thu Nov 14, 2019 7:50 pm
by robcfg
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 71287 times
Try copying your dragon64.zip in the roms folder as dragon64h.zip in the same folder.

Re: MAME Emulation

Posted: Thu Nov 14, 2019 7:55 pm
by pser1
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

Re: MAME Emulation

Posted: Thu Nov 14, 2019 7:56 pm
by robcfg
You're welcome!

Re: MAME Emulation

Posted: Wed Apr 08, 2020 12:29 pm
by Pernod70
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.

Re: MAME Emulation

Posted: Wed Apr 08, 2020 12:44 pm
by pser1
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

Re: MAME Emulation

Posted: Wed Apr 08, 2020 1:08 pm
by Pernod70
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.

Re: MAME Emulation

Posted: Wed Apr 08, 2020 3:12 pm
by pser1
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

Re: MAME Emulation

Posted: Wed Apr 08, 2020 3:54 pm
by pser1
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