Spec core with ZXMMC+

https://github.com/mist-devel/mist-board/wiki

Moderators: Mug UK, Zorro 2, Greenious, spiny, Moderator Team

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4693
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Spec core with ZXMMC+

Postby Sorgelig » Fri Jun 10, 2016 12:15 pm

I've added write support for disks in SAM Coupe which actually shares the disk code with ZX core.
So, basically I'm able to add native disk write for ZX core, but there is a problem. It cannot coexist with ESXDOS. Because both ESXDOS and new disk module need direct SD card access. It's even impossible to switch between them because once you mount image from OSD, you cannot unmount it till core restart (you can mount other image, but cannot unmount the last one). There is more serious problem: if you start ESXDOS, and then suddenly mount the image from OSD, it may corrupt the image.

So, in short: Either keep ESXDOS and don't add native write support (use ESXDOS for writing), or remove ESXDOS and add native write for disks.

javidoom
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 120
Joined: Thu Dec 15, 2011 3:16 pm

Re: Spec core with ZXMMC+

Postby javidoom » Fri Jun 10, 2016 3:09 pm

One of the best features of esxdos is the realtime snapshots... it woukl be a pity to lose it... imo.

Regards.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4693
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Spec core with ZXMMC+

Postby Sorgelig » Fri Jun 10, 2016 3:34 pm

Yep. Snapshot is the best feature of ESXDOS.
It will require some work to implement it without ESXDOS. Also will require firmware update.
I'm actually voting myself to keep the current configuration of the core.
May be later, after implementing some features in FW, i can come back to this idea.

User avatar
Newsdee
Atari God
Atari God
Posts: 1406
Joined: Fri Sep 19, 2014 8:40 am

Re: Spec core with ZXMMC+

Postby Newsdee » Fri Jun 10, 2016 3:57 pm

Would this kind of disk write work for the Apple II by any chance? :)

User avatar
fury23
Atari User
Atari User
Posts: 41
Joined: Sun Jan 10, 2016 2:08 pm

Re: Spec core with ZXMMC+

Postby fury23 » Fri Jun 10, 2016 4:00 pm

Sorgelig, thank you for great work with Sam Coupe and ZX Spectrum cores.

I found that some interesting ULA+ games have support for mouse: http://abrimaal.pro-e.pl/zx/ulaplus.htm

It might be interesting to have mouse support in ZX Spectrum core like Sam Coupe core has.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4693
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Spec core with ZXMMC+

Postby Sorgelig » Fri Jun 10, 2016 4:43 pm

Newsdee wrote:Would this kind of disk write work for the Apple II by any chance? :)

I don't know. Never tried that core and i don't know what is the problem there. I will check it when i will have time.

fury23 wrote:It might be interesting to have mouse support in ZX Spectrum core like Sam Coupe core has.

i will check it.

lips2k15
Atari maniac
Atari maniac
Posts: 80
Joined: Tue Mar 29, 2016 10:19 am

Re: Spec core with ZXMMC+

Postby lips2k15 » Fri Jun 10, 2016 8:34 pm

Yes kempston mouse mode support would be good

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4693
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Spec core with ZXMMC+

Postby Sorgelig » Sat Jun 11, 2016 5:11 am

New release with Kempston mouse support is out.
Read the mouse section of ReadMe.

wsoltys
Atari maniac
Atari maniac
Posts: 75
Joined: Wed Mar 19, 2014 9:11 pm
Contact:

Re: Spec core with ZXMMC+

Postby wsoltys » Sat Jun 11, 2016 8:17 am

Sorgelig wrote:
Newsdee wrote:Would this kind of disk write work for the Apple II by any chance? :)

I don't know. Never tried that core and i don't know what is the problem there. I will check it when i will have time.


Its just missing. I wanted to implement it one day but didn't managed to do so yet do to missing time and knowledge. From what I see its "just" replacing the sd emulation layer, use the block io of the mist instead and add writing support to the disk II layer.
Unfortunately its written in vhdl (the language I started with as well): https://github.com/wsoltys/mist-cores/b ... st_top.vhd

User avatar
mambrino
Atari freak
Atari freak
Posts: 56
Joined: Mon May 09, 2016 4:59 pm

Re: Spec core with ZXMMC+

Postby mambrino » Sat Jun 11, 2016 9:55 am

Great Sorgelig! Tested k-mouse support with Velesoft patched games & apps and works prefectly ;)

http://velesoft.speccy.cz/kmsoft.htm

Thanks!

User avatar
fury23
Atari User
Atari User
Posts: 41
Joined: Sun Jan 10, 2016 2:08 pm

Re: Spec core with ZXMMC+

Postby fury23 » Sat Jun 11, 2016 6:53 pm

mambrino wrote:Great Sorgelig! Tested k-mouse support with Velesoft patched games & apps and works prefectly ;)

http://velesoft.speccy.cz/kmsoft.htm

Thanks!

I tested too, everything works nice, thanks! :)

Edit
Games with mouse support works, but now it seems that some games like Jetpac or Ms Pacman using Kempston joystick don't. If I select in game Kempston joystick for controll, my USB gamepad is not working at all, but it seems that there is some interference with mouse because when i move mouse i see some uncontrolled moving on screen.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4693
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Spec core with ZXMMC+

Postby Sorgelig » Sun Jun 12, 2016 3:07 am

ok. i will add autodetection.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4693
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Spec core with ZXMMC+

Postby Sorgelig » Sun Jun 12, 2016 5:08 am

New release with Mouse/Joystick autoswitch.
Read the "Mouse and Joystick" section of readme for more info.

User avatar
fury23
Atari User
Atari User
Posts: 41
Joined: Sun Jan 10, 2016 2:08 pm

Re: Spec core with ZXMMC+

Postby fury23 » Sun Jun 12, 2016 9:31 am

Sorgelig wrote:New release with Mouse/Joystick autoswitch.
Read the "Mouse and Joystick" section of readme for more info.


Now it works, thanks!

I found one mouse issue with pinball game: http://velesoft.speccy.cz/kmouse/kmvele ... km.tap.zip
I can start game only pressing on right mouse button, and buttons are always reversed. No matter how many times I tried i always got some result.

I tried as you said in readme:

Sorgelig wrote:Kempston mouse has no strict convention which bit (D0 or D1) reflects a main button. After each reset, the first button pressed on mouse (left or right buttons only) will be represented by bit D0 (other button will be represented by bit D1)

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4693
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Spec core with ZXMMC+

Postby Sorgelig » Sun Jun 12, 2016 10:35 am

fury23 wrote:I found one mouse issue with pinball game: http://velesoft.speccy.cz/kmouse/kmvele ... km.tap.zip
I can start game only pressing on right mouse button, and buttons are always reversed. No matter how many times I tried i always got some result.

it works ok for me. I can swap keys. Try to press first time before load the game. Some games have similar autodetection of buttons and may interfere with autodetect I've made if you press mouse button first time in game. So press (make decision of swap) before load the game.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4693
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Spec core with ZXMMC+

Postby Sorgelig » Sun Jun 12, 2016 10:40 am

Here is step by step:
1) press reset (don't press any key of mouse).
2) load the game
3) press the right button of mouse (there won't be any reaction from game)
4) press the left button - game will start.
And you will have correct button mapping.

User avatar
fury23
Atari User
Atari User
Posts: 41
Joined: Sun Jan 10, 2016 2:08 pm

Re: Spec core with ZXMMC+

Postby fury23 » Sun Jun 12, 2016 2:01 pm

Sorgelig wrote:Here is step by step:
1) press reset (don't press any key of mouse).
2) load the game
3) press the right button of mouse (there won't be any reaction from game)
4) press the left button - game will start.
And you will have correct button mapping.

Yes, you are right. It seems that I clicked mouse too early.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4693
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Spec core with ZXMMC+

Postby Sorgelig » Wed Jun 15, 2016 9:59 am

Does anyone knows hardware/ROM addons for real spectrum supporting snapshot save/load except ESXDOS?

kripton67
Atarian
Atarian
Posts: 6
Joined: Tue May 31, 2016 6:36 pm

Re: Spec core with ZXMMC+

Postby kripton67 » Wed Jun 15, 2016 10:34 am

Trantape and Multiface, for example.

kripton67
Atarian
Atarian
Posts: 6
Joined: Tue May 31, 2016 6:36 pm

Re: Spec core with ZXMMC+

Postby kripton67 » Wed Jun 15, 2016 10:36 am

Sorgelig wrote:Does anyone knows hardware/ROM addons for real spectrum supporting snapshot save/load except ESXDOS?


Transtape and Multiface, for example.

User avatar
mambrino
Atari freak
Atari freak
Posts: 56
Joined: Mon May 09, 2016 4:59 pm

Re: Spec core with ZXMMC+

Postby mambrino » Wed Jun 15, 2016 11:30 am

Multiface can save ram to tape, microdrive or disk, plus other tools as poking or printing:

http://www.worldofspectrum.org/infoseek ... id=1000273

There were versions for 48, 128 and +3 machines (schematics are published on WOS).

Edit: Here you have additional info and roms: http://goo.gl/i8xSu0

kripton67
Atarian
Atarian
Posts: 6
Joined: Tue May 31, 2016 6:36 pm

Re: Spec core with ZXMMC+

Postby kripton67 » Wed Jun 15, 2016 4:15 pm

Info and roms of Transtape:
http://hardware.speccy.org/hardware/Transtape3-HardMicro.html
Info and roms of Ramjet (another "copiador"):
http://trastero.speccy.org/cosas/JL/Ramjet/Ramjet-1.html

Regards

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4693
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Spec core with ZXMMC+

Postby Sorgelig » Wed Jun 15, 2016 8:26 pm

The only feature of ESXDOS keeping it in ZX core is snapshot save/load.
Didn't check Multiface functionality very precise, but It looks like if i add Multiface into ZX core, then we don't need ESXDOS anymore.

User avatar
mambrino
Atari freak
Atari freak
Posts: 56
Joined: Mon May 09, 2016 4:59 pm

Re: Spec core with ZXMMC+

Postby mambrino » Thu Jun 16, 2016 8:09 am

I think will not be necessary to maintain ESXDOS, unless certain games or apps can only be loaded from it (I haven't found any)

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4693
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Spec core with ZXMMC+

Postby Sorgelig » Thu Jun 16, 2016 10:08 am

Hmm.. Cannot find definitive answer about compatibility of Multiface with TR-DOS(Beta-disk).
I found mention about compatibility with Beta on Multiface 1 which is 48K only. No mention about compatibility on Multiface 128. Spectaculator's readme mention about imcompatibilities of MF128 and TR-DOS...

Is there any other similar to MF128 devices? Not clones which obviously uses the same ROM and have exact compatibility as original MF128.

Basically it's simple ROM+RAM device with special FW inside. But so far everywhere is MF-only.


Return to “MiST”

Who is online

Users browsing this forum: No registered users and 2 guests