FX CAST Atari ST core

https://github.com/MiSTer-devel/Main_MiSTer/wiki

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

Locked
ijor
Hardware Guru
Hardware Guru
Posts: 4012
Joined: Sat May 29, 2004 7:52 pm
Contact:

FX CAST Atari ST core

Post by ijor »

Announcement: http://atari-forum.com/viewtopic.php?f=28&t=34554

Please comment and ask questions here.
User avatar
witchmaster
Captain Atari
Captain Atari
Posts: 150
Joined: Wed Jun 15, 2011 10:50 am

Re: FX CAST Atari ST core

Post by witchmaster »

Nice job! This core makes the MISTer even better! :)
User avatar
troed
Atari God
Atari God
Posts: 1460
Joined: Mon Apr 30, 2012 6:20 pm
Location: Sweden

Re: FX CAST Atari ST core

Post by troed »

*stunned*

o_O

wow
joska
Hardware Guru
Hardware Guru
Posts: 4702
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: FX CAST Atari ST core

Post by joska »

Amazing! Is there any chance to get this core on the MIST as well?
Jo Even

VanillaMiNT - Firebee - Falcon060 - Milan060 - Falcon040 - MIST - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64
olin
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 106
Joined: Tue Nov 21, 2017 8:57 pm

Re: FX CAST Atari ST core

Post by olin »

Congrats!

Out of curiosity - did you use the designs recently uncovered here: http://www.chzsoft.de/asic-web/ in order to replicate cycle perfect chips?
User avatar
christos
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2477
Joined: Tue Apr 13, 2004 8:24 pm
Location: Greece

Re: FX CAST Atari ST core

Post by christos »

joska wrote:Amazing! Is there any chance to get this core on the MIST as well?
What Joska said!
User avatar
frost
Captain Atari
Captain Atari
Posts: 371
Joined: Sun Dec 01, 2002 2:50 am
Location: Limoges
Contact:

Re: FX CAST Atari ST core

Post by frost »

What troed said !
My blog, mostly about Atari and demo stuff.
ijor
Hardware Guru
Hardware Guru
Posts: 4012
Joined: Sat May 29, 2004 7:52 pm
Contact:

Re: FX CAST Atari ST core

Post by ijor »

joska wrote:Amazing! Is there any chance to get this core on the MIST as well?
A MIST version is planned. Support for copy protected images might not fit and probably would have to be dropped.

The remaining main issue is ram storage for TOS. On MiSTer, I am beling lazy and storing TOS on internal FPGA RAM. That much sheer amount of RAM the FPGA on the MiSTer board has. MIST doesn't have, not nearly, that much internal RAM, so ROM must be stored on external DRAM. There is enough external RAM, that's not the main problem. But moving ROM to external RAM is not trivial if I want to maintain cycle accuracy. This is because the ST can access ROM and RAM concurrently. Not impossible to solve, but not that simple.
ijor
Hardware Guru
Hardware Guru
Posts: 4012
Joined: Sat May 29, 2004 7:52 pm
Contact:

Re: FX CAST Atari ST core

Post by ijor »

olin wrote:Out of curiosity - did you use the designs recently uncovered here: http://www.chzsoft.de/asic-web/ in order to replicate cycle perfect chips?
Not really. I made my own reverse engineering that included chips decap long before. Also, unfortunately, the archive includes schematics for a single chip (MSCU that is only for the STE), plus Blitter.
ReedSolomon
Atari nerd
Atari nerd
Posts: 47
Joined: Tue Oct 09, 2018 1:52 am

Re: FX CAST Atari ST core

Post by ReedSolomon »

Congrats on getting the beta released should be fun to start testing :wink:
User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1343
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: FX CAST Atari ST core

Post by MasterOfGizmo »

Wow ... a cycle exact 68k is something a lot of projects have a use for. The fpgagen is one of them. Very exciting.
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki
cacophony
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 127
Joined: Sun Jul 22, 2018 11:14 pm

Re: FX CAST Atari ST core

Post by cacophony »

ijor wrote:
olin wrote:Out of curiosity - did you use the designs recently uncovered here: http://www.chzsoft.de/asic-web/ in order to replicate cycle perfect chips?
Not really. I made my own reverse engineering that included chips decap long before. Also, unfortunately, the archive includes schematics for a single chip (MSCU that is only for the STE), plus Blitter.
Are you planning on releasing the source code for the 68k so that other projects can benefit ?
olin
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 106
Joined: Tue Nov 21, 2017 8:57 pm

Re: FX CAST Atari ST core

Post by olin »

ijor wrote: Not really. I made my own reverse engineering that included chips decap long before.
That's even more impressive.
ijor wrote: Also, unfortunately, the archive includes schematics for a single chip (MSCU that is only for the STE), plus Blitter.
Well, at least it can help someone to implement/verify parts of STE if that ever will be someone's goal.
cmdrpds
Atarian
Atarian
Posts: 7
Joined: Wed Apr 25, 2018 3:44 pm

Re: FX CAST Atari ST core

Post by cmdrpds »

ijor wrote:Announcement: http://atari-forum.com/viewtopic.php?f=28&t=34554

Please comment and ask questions here.
Just wanted to say thanks ijor!
ijor
Hardware Guru
Hardware Guru
Posts: 4012
Joined: Sat May 29, 2004 7:52 pm
Contact:

Re: FX CAST Atari ST core

Post by ijor »

cacophony wrote:Are you planning on releasing the source code for the 68k so that other projects can benefit ?
I do, but it won't be today. I'd like to wait a few days, just in case the public release exposes any possible bugs in the 68K core. I also need to think and decide which open source license to use. I'm not a GPL fan, but not sure there is anything better. According to what I read some time ago, FPGA cores aren't really fully copyrightable as software. So it might not matter too much after all ...

Anyway, if any developer for a major known core based on the 68K wants to start some testing, I don't mind giving him early private access to the source.
Fx Cast: Atari St cycle accurate fpga core
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: FX CAST Atari ST core

Post by Sorgelig »

Is it 68000 or 68010/20/30?
ijor
Hardware Guru
Hardware Guru
Posts: 4012
Joined: Sat May 29, 2004 7:52 pm
Contact:

Re: FX CAST Atari ST core

Post by ijor »

Sorgelig wrote:Is it 68000 or 68010/20/30?
Bare 68000 only. You probably need almost completely separated cores for the other processors, if you want cycle accuracy. There is probably not much in common between the 68030 (or even the 68020 for that matter) and the 68000 at the gate level. The 68010 is very close to the 68000, but I guess there is not as much interest in the 68010.
Fx Cast: Atari St cycle accurate fpga core
User avatar
Newsdee
Atari God
Atari God
Posts: 1561
Joined: Fri Sep 19, 2014 8:40 am

Re: FX CAST Atari ST core

Post by Newsdee »

Fantastic news! Congrats on a major first release, Ijor!
cacophony
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 127
Joined: Sun Jul 22, 2018 11:14 pm

Re: FX CAST Atari ST core

Post by cacophony »

ijor wrote:
cacophony wrote:Are you planning on releasing the source code for the 68k so that other projects can benefit ?
I do, but it won't be today. I'd like to wait a few days, just in case the public release exposes any possible bugs in the 68K core. I also need to think and decide which open source license to use. I'm not a GPL fan, but not sure there is anything better. According to what I read some time ago, FPGA cores aren't really fully copyrightable as software. So it might not matter too much after all ...

Anyway, if any developer for a major known core based on the 68K wants to start some testing, I don't mind giving him early private access to the source.
Great to hear! I would imagine having a cycle accurate 68k is going to benefit a lot of other cores going forward.
I'm also excited to try out your Atari ST core, so thanks for doing it :D
Shamus
Atariator
Atariator
Posts: 29
Joined: Mon Oct 15, 2018 1:55 pm

Re: FX CAST Atari ST core

Post by Shamus »

Great news Ijor - and many thanks for your efforts! The ST has definitely been missing on the MISTer system.

However, with my setup I cannot test the core because I do not get a video signal. I am using MISTer's HDMI out to connect it to DVI in of my 1280x1024 LCD monitor (dvi_mode=1 and video_mode=4 in MISTer.ini) with beautiful image quality in all tested cores. Will you look into the video out issue?
ijor
Hardware Guru
Hardware Guru
Posts: 4012
Joined: Sat May 29, 2004 7:52 pm
Contact:

Re: FX CAST Atari ST core

Post by ijor »

Shamus wrote:However, with my setup I cannot test the core because I do not get a video signal. I am using MISTer's HDMI out to connect it to DVI in of my 1280x1024 LCD monitor (dvi_mode=1 and video_mode=4 in MISTer.ini) with beautiful image quality in all tested cores. Will you look into the video out issue?
Sorry, I'm afraid DVI is currently not supported. :oops: I will try to implement it for a future build. Sorry again.
Fx Cast: Atari St cycle accurate fpga core
weirdocollector
Atari User
Atari User
Posts: 34
Joined: Wed May 27, 2015 3:56 pm

Re: FX CAST Atari ST core

Post by weirdocollector »

Newsdee wrote:Fantastic news! Congrats on a major first release, Ijor!
Just wanted to join this !! Congrats !!
ijor
Hardware Guru
Hardware Guru
Posts: 4012
Joined: Sat May 29, 2004 7:52 pm
Contact:

Re: FX CAST Atari ST core

Post by ijor »

I moved the posts not specific to this core, but more related to generic 680x0 cores to a separate thread: http://atari-forum.com/viewtopic.php?f=117&t=34568
Fx Cast: Atari St cycle accurate fpga core
breiztiger
Captain Atari
Captain Atari
Posts: 266
Joined: Sun Sep 20, 2009 6:54 am
Location: FRANCE

Re: FX CAST Atari ST core

Post by breiztiger »

hi

sorry for the question but

why only scp format and not ctraw from kryoflux ?

ipf support is it possible ?

thanks for your core :cheers:
ijor
Hardware Guru
Hardware Guru
Posts: 4012
Joined: Sat May 29, 2004 7:52 pm
Contact:

Re: FX CAST Atari ST core

Post by ijor »

breiztiger wrote:sorry for the question but
No need to apologize at all. Good questions :)
why only scp format and not ctraw from kryoflux ?
ipf support is it possible ?
Well, SCP is, by far, the simplest of the low level formats and the easiest to process by FPGA logic.

RAW Kryoflux images, being split in multiple files and with the "out of bounds" index pulse data are really a PITA for a FPGA core. They would need to be pre processed by software. Of course, we have a very powerful CPU at the Arm side, so this could be implemented in the future. It might be easier perhaps to just implement a converter that you could run on a PC though.

CTR images could be a nice option because they are rather compact, but the CTR format is, AFAIK, not documented. I am guessing it might require software pre processing as well.

IPF support would require to port the IPF library to the ARM (may be there is a port already), and again it would need additional pre processor before it reaches the FPGA core. One problem is that the IPF library API doesn't seem to be fully documented. The API documentation seems to correspond to older versions of the library. I didn't look at that for quite some time, so it might have been changed. But yes, in theory, and thanks again to the powerful ARM CPU that the MiSTer has, it should be possible.

Edit: I do am performing some software pre processing for SCP images as well. But that is very minimal and lightweight.
Fx Cast: Atari St cycle accurate fpga core
Locked

Return to “MiSTer”