ZX80/ZX81 core [new]

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

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

slingshot
Atari maniac
Atari maniac
Posts: 90
Joined: Mon Aug 06, 2018 3:05 pm

ZX80/ZX81 core [new]

Postby slingshot » Wed Aug 15, 2018 8:30 pm

Just for exercising FPGA programming, I've created a new ZX80/ZX81 core based on Sorgelig's much improved T80. Feel free to try out:
https://github.com/gyurco/ZX8X_MiST

RobeInie
Atariator
Atariator
Posts: 20
Joined: Thu Mar 16, 2017 11:11 pm

Re: ZX80/ZX81 core [new]

Postby RobeInie » Wed Aug 15, 2018 11:41 pm

Thanks !!

I will try next week, when I arrive at home,
Nice to see turbo loading in features !

squid4
Atari nerd
Atari nerd
Posts: 48
Joined: Tue Oct 25, 2016 8:12 pm

Re: ZX80/ZX81 core [new]

Postby squid4 » Thu Aug 16, 2018 4:40 pm

Great to see the ZX81 getting some more love! What is the rom supplied with this, doesn't look like a UK ZX81 one to me (actually looks to be ZX80 only). Tried using an original ZX81 ROM but it doesn't work - from here https://k1.spdns.de/Vintage/Sinclair/80/Sinclair%20ZX81/ROMs/

Update: Figured it out, start it, F12 change to ZX81 and 16K then select reset. Starts as ZX81 then. Doesn't save the settings so it needs to be done each time it is started. Can it default to ZX81 16k instead of ZX80? Tried Mazogs and it loads instantly and works great! Also nolimits.p demo works well.

DanyPPC
Captain Atari
Captain Atari
Posts: 271
Joined: Tue Feb 21, 2017 7:02 am

Re: ZX80/ZX81 core [new]

Postby DanyPPC » Thu Aug 16, 2018 7:40 pm

Thanks for this new core :cheers:

slingshot
Atari maniac
Atari maniac
Posts: 90
Joined: Mon Aug 06, 2018 3:05 pm

Re: ZX80/ZX81 core [new]

Postby slingshot » Thu Aug 16, 2018 10:21 pm

Figured it out, start it, F12 change to ZX81 and 16K then select reset. Starts as ZX81 then. Doesn't save the settings so it needs to be done each time it is started. Can it default to ZX81 16k instead of ZX80? Tried Mazogs and it loads instantly and works great! Also nolimits.p demo works well.

You can save the setting as in other cores: press RIGHT at the OSD, then choose "Save settings".

desUBIKado
Atari nerd
Atari nerd
Posts: 48
Joined: Sat Jan 06, 2018 11:49 pm

Re: ZX80/ZX81 core [new]

Postby desUBIKado » Fri Aug 17, 2018 7:35 pm

Thank you slingshot for your core. It's great see new cores for MiST

I have tried your core a little and I've saw a visual issue with the first lines of the screen
M800_20180817_212303.jpg
M800_20180817_212045.jpg

These images are on 15 KHz RGB output, but I get the same result with VGA output, on 50Hz or 60 Hz, with my Mistica FPGA16.
You do not have the required permissions to view the files attached to this post.

slingshot
Atari maniac
Atari maniac
Posts: 90
Joined: Mon Aug 06, 2018 3:05 pm

Re: ZX80/ZX81 core [new]

Postby slingshot » Sat Aug 18, 2018 12:20 am

desUBIKado wrote:I have tried your core a little and I've saw a visual issue with the first lines of the screen

There's a 2 clock cycle skew in the HSync counter at the first line, which I don't know if it's a problem with the T80, my ZX81 implementation, or it's just there with the original hardware, too. For example, it is hardly noticeable on my TV, but with scandoubling it's very obvious.
Also there are conflicting informations on the net when the HSync counter should be synchronized, Grant Searle's site says it's synced to INTACK, but other places says it's synced to VSync. So if somebody has more information about it, please share. Currently it's synced to INTACK.

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

Re: ZX80/ZX81 core [new]

Postby Sorgelig » Sat Aug 18, 2018 8:00 am

slingshot wrote:if it's a problem with the T80,

Apply my recent DI_Reg fix from SAM Coupe core - it may help.

slingshot
Atari maniac
Atari maniac
Posts: 90
Joined: Mon Aug 06, 2018 3:05 pm

Re: ZX80/ZX81 core [new]

Postby slingshot » Sat Aug 18, 2018 11:22 am

So released a new version, with the HSync signal shifted by two clock cycles, which seems to solve (or hide?) the problem.
Also added 64k RAM pack support, so the great remake:
https://problemkaputt.de/hero.htm
can be played!
If it is not displayed with scandoubler, try setting the frequency to 60Hz.

squid4
Atari nerd
Atari nerd
Posts: 48
Joined: Tue Oct 25, 2016 8:12 pm

Re: ZX80/ZX81 core [new]

Postby squid4 » Sun Aug 19, 2018 3:58 pm

Last good one on my Sony CRT 15khz was zx8x_20180815.rbf. Any after that the picture is very dark.

slingshot
Atari maniac
Atari maniac
Posts: 90
Joined: Mon Aug 06, 2018 3:05 pm

Re: ZX80/ZX81 core [new]

Postby slingshot » Sun Aug 19, 2018 6:23 pm

squid4 wrote:Last good one on my Sony CRT 15khz was zx8x_20180815.rbf. Any after that the picture is very dark.

I fixed this (at least it looks good on my TV). Please try today's release.

squid4
Atari nerd
Atari nerd
Posts: 48
Joined: Tue Oct 25, 2016 8:12 pm

Re: ZX80/ZX81 core [new]

Postby squid4 » Sun Aug 19, 2018 9:19 pm

slingshot, Wow! you've fixed it. Skew problem, that also affected the older core I worked on, has been fixed and the video looks perfect on SCART - looks better than my real ZX81!

With your permission I'll replace the old core on the official Mist website with this core.
Last edited by squid4 on Mon Aug 20, 2018 8:21 am, edited 1 time in total.

slingshot
Atari maniac
Atari maniac
Posts: 90
Joined: Mon Aug 06, 2018 3:05 pm

Re: ZX80/ZX81 core [new]

Postby slingshot » Mon Aug 20, 2018 12:09 am

Of course you can put it on the main MiST binaries site.

slingshot
Atari maniac
Atari maniac
Posts: 90
Joined: Mon Aug 06, 2018 3:05 pm

Re: ZX80/ZX81 core [new]

Postby slingshot » Fri Aug 24, 2018 10:47 pm

Released a new version:

- Joystick support (keys 67890)
- AY sound chip (with ZON X-81 compatible ports)

https://github.com/gyurco/ZX8X_MiST/blo ... 180825.rbf

NML32
Atari Super Hero
Atari Super Hero
Posts: 520
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: ZX80/ZX81 core [new]

Postby NML32 » Sat Aug 25, 2018 2:35 am

Nice job on the core.
Thanks for adding joystick support.

desUBIKado
Atari nerd
Atari nerd
Posts: 48
Joined: Sat Jan 06, 2018 11:49 pm

Re: ZX80/ZX81 core [new]

Postby desUBIKado » Sun Aug 26, 2018 9:46 am

Glad to see the first line issue is fixed. Great job.

20180826_113853.jpg
You do not have the required permissions to view the files attached to this post.

slingshot
Atari maniac
Atari maniac
Posts: 90
Joined: Mon Aug 06, 2018 3:05 pm

Re: ZX80/ZX81 core [new]

Postby slingshot » Tue Aug 28, 2018 6:32 pm

Thanks to Sorgelig, he fixed the NMI cycle of the T80, so now the core is cycle perfect. Still has some hsync shift in FAST mode (only in 2 lines), but this seems to be present on the original machine, too.
New release:
https://github.com/gyurco/ZX8X_MiST/blo ... 180828.rbf

slingshot
Atari maniac
Atari maniac
Posts: 90
Joined: Mon Aug 06, 2018 3:05 pm

Re: ZX80/ZX81 core [new]

Postby slingshot » Sat Sep 15, 2018 11:40 am

Just added CHR128 character board support.
Changed the releases structure, new release is here:
https://github.com/gyurco/ZX8X_MiST/releases

DanyPPC
Captain Atari
Captain Atari
Posts: 271
Joined: Tue Feb 21, 2017 7:02 am

Re: ZX80/ZX81 core [new]

Postby DanyPPC » Sat Sep 15, 2018 3:54 pm

Many thanks for this update !


Return to “MiST”

Who is online

Users browsing this forum: No registered users and 3 guests