[ZX Spectrum Core] New Update

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

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

Post Reply
User avatar
vebxenon
Atari God
Atari God
Posts: 1081
Joined: Fri Apr 24, 2015 12:10 pm

Re: [ZX Spectrum Core] New Update

Post by vebxenon »

Thanks very much :D :cheers: :cheers:
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
DanyPPC
Atari God
Atari God
Posts: 1008
Joined: Tue Feb 21, 2017 7:02 am

Re: [ZX Spectrum Core] New Update

Post by DanyPPC »

One question: why does the Spectrum boot screen not work in progressive (50p) while when I launch a game I can switch between progressive and interlaced without any problem ?
If I press RESET obviously I am forced to go back to interlaced to display the boot screen of the Spectrum. :shrug:

I use the Component output.
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2027
Joined: Mon Aug 06, 2018 3:05 pm

Re: [ZX Spectrum Core] New Update

Post by slingshot »

DanyPPC wrote: Mon Aug 10, 2020 8:26 am One question: why does the Spectrum boot screen not work in progressive (50p) while when I launch a game I can switch between progressive and interlaced without any problem ?
If I press RESET obviously I am forced to go back to interlaced to display the boot screen of the Spectrum. :shrug:

I use the Component output.
The core doesn't output different display signals in the boot menu (it doesn't even know you're in the boot menu). You're display doesn't like something with the video output, but who knows what? Is it happening in 48k/128k/Pentagon ULA modes? There are minor differences between them.
DanyPPC
Atari God
Atari God
Posts: 1008
Joined: Tue Feb 21, 2017 7:02 am

Re: [ZX Spectrum Core] New Update

Post by DanyPPC »

It happens with all ULA modes.
User avatar
vebxenon
Atari God
Atari God
Posts: 1081
Joined: Fri Apr 24, 2015 12:10 pm

Re: [ZX Spectrum Core] New Update

Post by vebxenon »

New update by Slinghot! :cheers:

https://github.com/mist-devel/mist-bina ... s/spectrum

- CPU update
- RTC support
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
DanyPPC
Atari God
Atari God
Posts: 1008
Joined: Tue Feb 21, 2017 7:02 am

Re: [ZX Spectrum Core] New Update

Post by DanyPPC »

New Core has sound problems in Renegade II (Target Renegade)

I found Core zxspectrum_200625 is perfect instead !
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2027
Joined: Mon Aug 06, 2018 3:05 pm

Re: [ZX Spectrum Core] New Update

Post by slingshot »

DanyPPC wrote: Thu Oct 01, 2020 3:05 pm New Core has sound problems in Renegade II (Target Renegade)

I found Core zxspectrum_200625 is perfect instead !
Try this one:
https://github.com/mist-devel/mist-bina ... 201002.rbf

I did some fix on the General Sound interface, too, check the Alienate demo for example.
DanyPPC
Atari God
Atari God
Posts: 1008
Joined: Tue Feb 21, 2017 7:02 am

Re: [ZX Spectrum Core] New Update

Post by DanyPPC »

Thanks Slingshot, not it's ok :cheers:
User avatar
vebxenon
Atari God
Atari God
Posts: 1081
Joined: Fri Apr 24, 2015 12:10 pm

Re: [ZX Spectrum Core] New Update

Post by vebxenon »

Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
User avatar
goran
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 108
Joined: Sat Feb 27, 2016 4:17 pm

Re: [ZX Spectrum Core] New Update

Post by goran »

Thanks, great! Any changelog?
Best regards,
Goran
breiztiger
Captain Atari
Captain Atari
Posts: 294
Joined: Sun Sep 20, 2009 6:54 am
Location: FRANCE

Re: [ZX Spectrum Core] New Update

Post by breiztiger »

**zxspectrum_201212.rbf**
- Fix Kempston mouse
- Z80 (both 128K and 48K) and SNA (48K only) snapshot loading
- More joystick options
- Tape input polarity and EAR output feedback fix
User avatar
vebxenon
Atari God
Atari God
Posts: 1081
Joined: Fri Apr 24, 2015 12:10 pm

Re: [ZX Spectrum Core] New Update

Post by vebxenon »

New updates!

https://github.com/mist-devel/mist-bina ... s/spectrum

Code: Select all


zxspectrum_210226.rbf

Fix F10 and F11 shortcut keys
TZXPlayer update from Amstad CPC
TZXPlayer improvement: different length of header and data tones

:cheers:
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2027
Joined: Mon Aug 06, 2018 3:05 pm

Re: [ZX Spectrum Core] New Update

Post by slingshot »

I've hacked a bit on another ZX-compatible core, here's the result.
You'll need a zxn.vhd file to use it. No ROM file is needed.
You do not have the required permissions to view the files attached to this post.
benitoss
Retro freak
Retro freak
Posts: 14
Joined: Tue Nov 26, 2019 4:17 pm

Re: [ZX Spectrum Core] New Update

Post by benitoss »

slingshot wrote: Thu Mar 04, 2021 6:42 pm I've hacked a bit on another ZX-compatible core, here's the result.
You'll need a zxn.vhd file to use it. No ROM file is needed.
Congratulations !!!!!

To avoid the Sinclair logo you have to change this ID in the core
0000 1010 = ZX Spectrum Next
0001 1010 = ZX Spectrum Next Clone
1111 1010 = ZX Spectrum Next Anti-brick
1001 1010 = ZX Spectrum Next Core on UnAmiga Reloaded
1010 1010 = ZX Spectrum Next Core on UnAmiga
1011 1010 = ZX Spectrum Next Core on SiDi
1100 1010 = ZX Spectrum Next Core on MIST
1101 1010 = ZX Spectrum Next Core on MiSTer
1110 1010 = ZX Spectrum Next Core on ZX-DOS

So you can change the ID in the core to the Mist version, please
Are you gonna publish the sources???

Thanks and regards
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2027
Joined: Mon Aug 06, 2018 3:05 pm

Re: [ZX Spectrum Core] New Update

Post by slingshot »

benitoss wrote: Thu Mar 04, 2021 9:32 pm
Congratulations !!!!!
Thanks!

I'll use 1A then. I still learning the machine.

I'll release the sources, but it would be nice to give some exclusive time for the MiST. Also not everything is working yet:
- I had to disable 14MHz and 28MHz modes, 14MHz steals too much from the layer2 display, 28MHz is not working, the CPU requests its data too fast. I might add these modes back, with some (more) wait states. Now they're mapped to 7MHz.
(Actually it would be nice if the original hardware would use the 4 SRAMs at least in a 16bit wide config, then the layer2 data rate could be halved. This might be impossible of course if the FPGA doesn't have enough IO pins.)
- Looks like Sinclair joysticks don't work. I have no idea why, I assume it uses the same signals as the Kempston.
- MiST BRAM pool was totally exhausted, tilemap_mod is missing (I don't know if it has actual use, the demo games seems to work).
- Some signals, like tape in-out, UART are not connected.

Surprisingly no changes were needed at all in the original sources, only the Xilinix RAMs were replaced to generic ones in sprites_mod.
NegSol
Captain Atari
Captain Atari
Posts: 368
Joined: Sat Dec 05, 2015 9:22 pm

Re: [ZX Spectrum Core] New Update

Post by NegSol »

slingshot wrote: Thu Mar 04, 2021 6:42 pm I've hacked a bit on another ZX-compatible core, here's the result.
You'll need a zxn.vhd file to use it. No ROM file is needed.
It works!! Thanks a lot! :cheers:
ManuFerHi
Atari freak
Atari freak
Posts: 73
Joined: Fri Dec 23, 2016 1:20 am

Re: [ZX Spectrum Core] New Update

Post by ManuFerHi »

slingshot wrote: Thu Mar 04, 2021 6:42 pm I've hacked a bit on another ZX-compatible core, here's the result.
You'll need a zxn.vhd file to use it. No ROM file is needed.
Thanks for your work, this core until today it only worked on FPGAs with SRAM, it's nice news.
benitoss
Retro freak
Retro freak
Posts: 14
Joined: Tue Nov 26, 2019 4:17 pm

Re: [ZX Spectrum Core] New Update

Post by benitoss »

slingshot wrote: Thu Mar 04, 2021 10:12 pm Thanks!
I'll use 1A then. I still learning the machine.
OK not problem, it is to avoid legal problems with Sinclair
slingshot wrote: Thu Mar 04, 2021 10:12 pm I'll release the sources, but it would be nice to give some exclusive time for the MiST. Also not everything is working yet:
- I had to disable 14MHz and 28MHz modes, 14MHz steals too much from the layer2 display, 28MHz is not working, the CPU requests its data too fast. I might add these modes back, with some (more) wait states. Now they're mapped to 7MHz.
(Actually it would be nice if the original hardware would use the 4 SRAMs at least in a 16bit wide config, then the layer2 data rate could be halved. This might be impossible of course if the FPGA doesn't have enough IO pins.)
I had plans to increment the memory to 4 MB in the ZXDOS+ board but the problem is that the NextOS is not Open Source, so it is not possible
slingshot wrote: Thu Mar 04, 2021 10:12 pm - Looks like Sinclair joysticks don't work. I have no idea why, I assume it uses the same signals as the Kempston.
I think so, It should work.
slingshot wrote: Thu Mar 04, 2021 10:12 pm - MiST BRAM pool was totally exhausted, tilemap_mod is missing (I don't know if it has actual use, the demo games seems to work).
Yes, This core uses a lot of BRAM for the LAyer2 and other parts
slingshot wrote: Thu Mar 04, 2021 10:12 pm - Some signals, like tape in-out, UART are not connected.
It is normal, UART can be used as Wifi in SIDI, but it depends if you left the FIFO buffer in the BRAM for the UART connections
slingshot wrote: Thu Mar 04, 2021 10:12 pm Surprisingly no changes were needed at all in the original sources, only the Xilinix RAMs were replaced to generic ones in sprites_mod.
The most complicated part of this core is the Memory organization.
Be careful with the BUFGMUX1 part.
The core uses dynamic changes of the clock and BUFGMUX1 has to be properly converted to Altera.
The Mister version of ZX NEXT core has all those things solved

I have seen that your original code is the version 3.01.10. That version has changes in the boot part of the core, so your F1 and F4 have the same result. It is supposed that F1 reboot the machine totally (you will see the Sinclair or Mist logo)

Thanks for your time
Congratulations again for your great work !!!!
Chris23235
Captain Atari
Captain Atari
Posts: 246
Joined: Thu Aug 07, 2014 6:52 pm

Re: [ZX Spectrum Core] New Update

Post by Chris23235 »

I just tried the core, many thanks, I never expected this to happen. :)

I had problems getting the Joystick to work at all, while joystick movements in the browser are working on Kempston only the seccond button of my jostick works. I can't get joystick running in the Warhawk demo at all.

The sound volume seems to be a little bit off, when you start the Warhawk demo all 3 soundchips are used, but one is definitely louder then the others.
DanyPPC
Atari God
Atari God
Posts: 1008
Joined: Tue Feb 21, 2017 7:02 am

Re: [ZX Spectrum Core] New Update

Post by DanyPPC »

Thanks Slingshot, You are a MiST hero !
:cheers:

ZX Next has 2 x DB9 ports which support real MegaDrive gamepads, all the 6 + Start buttons are recognized.
From the menu you can change the joystick type, from MD to Kempston/Sinclair.
If You set MD some games use 4 buttons, like Delta's Shadow.
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2027
Joined: Mon Aug 06, 2018 3:05 pm

Re: [ZX Spectrum Core] New Update

Post by slingshot »

slingshot wrote: Thu Mar 04, 2021 10:12 pm - MiST BRAM pool was totally exhausted, tilemap_mod is missing (I don't know if it has actual use, the demo games seems to work).
Yes, This core uses a lot of BRAM for the LAyer2 and other parts
Just the question if tilemap_mod is used or not somewhere...
slingshot wrote: Thu Mar 04, 2021 10:12 pm Surprisingly no changes were needed at all in the original sources, only the Xilinix RAMs were replaced to generic ones in sprites_mod.
The most complicated part of this core is the Memory organization.
Be careful with the BUFGMUX1 part.
The core uses dynamic changes of the clock and BUFGMUX1 has to be properly converted to Altera.
The Mister version of ZX NEXT core has all those things solved
The CPU clocking is what I don't really like in this core. The ZX MiST core does it much better, via clock enables. Also that latch of Z80N_data_o in the CPU is very ugly.
I have seen that your original code is the version 3.01.10. That version has changes in the boot part of the core, so your F1 and F4 have the same result. It is supposed that F1 reboot the machine totally (you will see the Sinclair or Mist logo)
Yet I cannot do a really cold reboot, strange (or this is what is expected?).
Last edited by slingshot on Fri Mar 05, 2021 9:18 am, edited 1 time in total.
Chris23235
Captain Atari
Captain Atari
Posts: 246
Joined: Thu Aug 07, 2014 6:52 pm

Re: [ZX Spectrum Core] New Update

Post by Chris23235 »

DanyPPC wrote: Fri Mar 05, 2021 7:18 am Thanks Slingshot, You are a MiST hero !
:cheers:

ZX Next has 2 x DB9 ports which support real MegaDrive gamepads, all the 6 + Start buttons are recognized.
From the menu you can change the joystick type, from MD to Kempston/Sinclair.
If You set MD some games use 4 buttons, like Delta's Shadow.
That was what I tried, unfortunately it seems the Kempston fire button doesn't work as intended right now.
DanyPPC
Atari God
Atari God
Posts: 1008
Joined: Tue Feb 21, 2017 7:02 am

Re: [ZX Spectrum Core] New Update

Post by DanyPPC »

I created a zxn.vhd FAT32 formatted file (256MB) and I copied all the files from my ZXNext SD Card, but the core seems to boot accessing the vhd file and I have only a Black Screen.
The core seems continuously loads the ZXN file without booting in ZXNext OS.

What I wrong ?
Chris23235
Captain Atari
Captain Atari
Posts: 246
Joined: Thu Aug 07, 2014 6:52 pm

Re: [ZX Spectrum Core] New Update

Post by Chris23235 »

You have to copy the contents of your SD card to the VHD file. Worked for me (I didn't use my N-Go card, but a new install of the firmware ManuferHi posted on his site.
DanyPPC
Atari God
Atari God
Posts: 1008
Joined: Tue Feb 21, 2017 7:02 am

Re: [ZX Spectrum Core] New Update

Post by DanyPPC »

OK, on MiSTICA it works, after display 50/60Hz setting, it take a few seconds to boot.

I played Montana Mike and Delta's Shadow. Kempston option works as 2 button joystick. Well !
Only sounds seems to not use 3 x AY Players as Delta's Shadows use all 3 AY Chip Music.
Post Reply

Return to “MiST”