[ZX Spectrum Core] New Update
Moderators: Mug UK, Zorro 2, spiny, Greenious, Moderator Team
Re: [ZX Spectrum Core] New Update
Z80 format is basically the same as SNA format - it's snapshot of memory. This is the worst option to keep the game collection.
Re: [ZX Spectrum Core] New Update
I was hoping to add "Recreated ZX Spectrum Keyboard" support to this core but I think the USB keyboard support is in the MiST firmware that would need changing not the core itself. This keyboard, in "Game layer" mode replicates the ZX keyboard exactly, like Symbol Shift, Caps Shift but in Qwerty mode acts just like any normal keyboard but with special key combinations to get things like function keys, control etc. so Symbol/Caps Shift don't work in the core.
It sends a down character and up character for each key in "Game layer" as documented in http://sinclair.recreatedzxspectrum.com ... _v1_1a.pdf. I can't see a way to do this in the core as the firmware supplies the PS2 keycodes, not keyup/keydown codes, so would need access at a lower level. The latest Fuse emulator supports this keyboard.
It sends a down character and up character for each key in "Game layer" as documented in http://sinclair.recreatedzxspectrum.com ... _v1_1a.pdf. I can't see a way to do this in the core as the firmware supplies the PS2 keycodes, not keyup/keydown codes, so would need access at a lower level. The latest Fuse emulator supports this keyboard.
-
- Captain Atari
- Posts: 311
- Joined: Sun May 15, 2016 3:44 pm
Re: [ZX Spectrum Core] New Update
I use my Recreated ZX Spectrum Keyboard with the Raspberry pi3 but more recently use it via usb with the Mist. Admittedly, having not grown up with a speccy, being able to navigate menus, launch a game and even find buttons to move the player character around is not 100% proof all is functioning as it should. Being such a small niche group of us, do you have any suggestions as which mode is better to work with? Game layer or PS2 mode?
- MasterOfGizmo
- Atari God
- Posts: 1345
- Joined: Fri Feb 08, 2013 12:15 pm
- Contact:
Re: [ZX Spectrum Core] New Update
USB and PS/2 also isn't more than just key up and key down events. I'd expect everything to already be in place to give you a nice setup. It sounds like in Game Layer mode it would just send raw USB key codes for every key. The MIST firmware does all the USB handling and then translates USB keycode into PS/2 keycodes and sends them to the core. The core than gets key up and down events for all individual keys. The spectrum core translates these events back into something the speccy inside expects.
The issue i expect is that in the default key mapping some of the keys on the speccy keyboard wouldn't match exactly what the core is expecting as e.g. there is no established rule to map speccy keys to PC keyboard layouts. But the MIST firmware has a means to swap keys. So if you find some mapping needs to be adopted you can just configure this in the mist.ini
And of that doesn't work you can always add some special support to the firmware. Someone did that for his keyrah which does similar with the amiga keyboard.
The issue i expect is that in the default key mapping some of the keys on the speccy keyboard wouldn't match exactly what the core is expecting as e.g. there is no established rule to map speccy keys to PC keyboard layouts. But the MIST firmware has a means to swap keys. So if you find some mapping needs to be adopted you can just configure this in the mist.ini
And of that doesn't work you can always add some special support to the firmware. Someone did that for his keyrah which does similar with the amiga keyboard.
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki
Re: [ZX Spectrum Core] New Update
Thanks MasterOfGizmo for the answer. The problem with it is that instead of the usual, for example pressing key '1', press you get keydown 1, release you get keyup 1. In game layer mode pressing '1' you get keydown 'a' & keyup 'a', release '1' you get keydown 'b' & keyup 'b'.
It's probably not worth the effort for the tiny number of people who have this keyboard.
It's probably not worth the effort for the tiny number of people who have this keyboard.
Re: [ZX Spectrum Core] New Update
But it must be some delay between the two events, and in this case, it's the same as if you press and release the key.
-
- Captain Atari
- Posts: 311
- Joined: Sun May 15, 2016 3:44 pm
Re: [ZX Spectrum Core] New Update
So if a mist .ini file is edited, then it may work. I'd have to really dive in on the Speccy, but if I create one for myself, I'd certainly share it for the other small group of us.
- MasterOfGizmo
- Atari God
- Posts: 1345
- Joined: Fri Feb 08, 2013 12:15 pm
- Contact:
Re: [ZX Spectrum Core] New Update
In game mode it sends one keydown and keyup on _one_ keypress and another different pair of down and up events on release? That sounds super strange. Why would one want something like that?
Who produces this? Can you ask them for a firmware that just sends raw and simple key down and up events?
Who produces this? Can you ask them for a firmware that just sends raw and simple key down and up events?
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki
Re: [ZX Spectrum Core] New Update
@Sorgelig:
is it possible to have the porting of last ZX Spectrum Core for MiSTer to MiST with Z80 files support ?
is it possible to have the porting of last ZX Spectrum Core for MiSTer to MiST with Z80 files support ?
Re: [ZX Spectrum Core] New Update
Ask slingshot - he is in charge of MiST version of ZX core nowDanyPPC wrote:@Sorgelig:
is it possible to have the porting of last ZX Spectrum Core for MiSTer to MiST with Z80 files support ?

Re: [ZX Spectrum Core] New Update
So I officially promotedSorgelig wrote: Ask slingshot - he is in charge of MiST version of ZX core now

Maybe in the distant future - the core support three disk formats and .tap files, it's adequate for almost everything. Z80 of course is good for snapshots coming from emulators. But then SNA would be more useful, since ESXDOS on real machines can create them.
Re: [ZX Spectrum Core] New Update
SNA format is not stream friendly. It has some data in the backward order, so you receive the memory content and only after that you receive the required info how it should be placed in the memory.slingshot wrote: But then SNA would be more useful, since ESXDOS on real machines can create them.
If i remember correct there is converter from SNA to Z80.
Actually, i've added Z80 support not for snapshot function (ZX core cannot make snapshot) but because of large set of Z80 files floating around. It was popular to save originally protected or tape-only games in Z80 format right after loading. Nothing to do with snapshot of game play.
Re: [ZX Spectrum Core] New Update
Actually there exists a ZX Spectrum 48K core with .sna support:slingshot wrote:...But then SNA would be more useful, since ESXDOS on real machines can create them.
http://joco.homeserver.hu/fpga/mist_zx48_en.html
I think it worths to read, as the author describes how he managed to work the .sna loading.
This core is not so sophisticated as the one Sorgelig made, and video output is PAL-only 15kHz over SCART (no VGA).
Re: [ZX Spectrum Core] New Update
Will take a look later maybe. Since all games have cracked .tap file and/or converted to TRDOS, it's not a high prio for me now.
Re: [ZX Spectrum Core] New Update
I think there are some games working in only z80 format, but it remains at your discretion to add support.
Thanks anyway.
Thanks anyway.
-
- Captain Atari
- Posts: 181
- Joined: Sat Jan 06, 2018 11:49 pm
Re: [ZX Spectrum Core] New Update
The Sorgelig's old spectrum core has support for .SNA and .Z80 files by esxDOS NMI browser.
http://www.forofpga.es/viewtopic.php?f=72&t=112 (in spanish)
http://www.forofpga.es/viewtopic.php?f=72&t=152 (in spanish)
http://www.forofpga.es/viewtopic.php?f=72&t=112 (in spanish)
http://www.forofpga.es/viewtopic.php?f=72&t=152 (in spanish)
Re: [ZX Spectrum Core] New Update
Ok, I have old core + spectrum.rom and esxdos, but I prefer new core with z80 support, obviously if possible.
I see MiSTer has a new core with z80 support, for this I asked this new feature for MiST too. Nothing other.
I see MiSTer has a new core with z80 support, for this I asked this new feature for MiST too. Nothing other.
-
- Captain Atari
- Posts: 181
- Joined: Sat Jan 06, 2018 11:49 pm
Re: [ZX Spectrum Core] New Update
I understand you, but with old core you can enjoy with ZX1PACK and MyDivMMC pack compilations.
-
- Captain Atari
- Posts: 181
- Joined: Sat Jan 06, 2018 11:49 pm
Re: [ZX Spectrum Core] New Update
I would go crazy if there was support for "General Sound 512" in the Spectrum core
https://www.youtube.com/watch?v=1HGmi4AYdCI
https://www.youtube.com/watch?v=1HGmi4AYdCI
Re: [ZX Spectrum Core] New Update
That sound card is a more powerful computer than the Speccy itself 

Re: [ZX Spectrum Core] New Update
Wow, MOD soundtrack on ZX Spectrum... that's amazing.
Is there a list of games that support it?
Is there a list of games that support it?
Re: [ZX Spectrum Core] New Update
GeneralSound up to 4MB is already implemented on MiSTer version.
As for MOD player, the TSConf (ZX mod) core is much more suitable.
As for MOD player, the TSConf (ZX mod) core is much more suitable.
-
- Captain Atari
- Posts: 181
- Joined: Sat Jan 06, 2018 11:49 pm
Re: [ZX Spectrum Core] New Update
I found this page where there are up to 40 games adapted to make use of the General Sound.Newsdee wrote:Wow, MOD soundtrack on ZX Spectrum... that's amazing.
Is there a list of games that support it?
-
- Captain Atari
- Posts: 181
- Joined: Sat Jan 06, 2018 11:49 pm
Re: [ZX Spectrum Core] New Update
It would be fantastic if there was a TSConf (ZX mod) core on the MiST board. There is already in other similar boards like the ReVerSE-U16Sorgelig wrote:GeneralSound up to 4MB is already implemented on MiSTer version.
As for MOD player, the TSConf (ZX mod) core is much more suitable.
https://zx-pk.ru/threads/23528-reverse-u16.html
https://github.com/mvvproject/ReVerSE-U16
Re: [ZX Spectrum Core] New Update
Don't be so excited about GS support on MiST, it's even eats up almost all BRAM on MiSTer 
It simply won't fit (and as I wrote before, it's a more powerful extension than the base machine itself - use Amiga if you want to play MODs).

It simply won't fit (and as I wrote before, it's a more powerful extension than the base machine itself - use Amiga if you want to play MODs).