Please be advised that access to Atari Forum this coming Friday will be sporadic whilst the backend operating system and dependency upgrades are carried out.

X68000 core

https://github.com/MiSTer-devel/Main_MiSTer/wiki
frankmonk
Atarian
Atarian
Posts: 8
Joined: Mon Feb 03, 2020 7:26 pm

Re: X68000 core

Post by frankmonk »

puu wrote:X68k core porting for MiSTer is completed.
Please check:
http://fpga8801.seesaa.net/archives/20200510-1.html
These are wonderful news! Thank you for your work on this
Piacenti
Atariator
Atariator
Posts: 24
Joined: Sat Jul 27, 2019 4:26 pm

Re: X68000 core

Post by Piacenti »

puu wrote:X68k core porting for MiSTer is completed.
Please check:
http://fpga8801.seesaa.net/archives/20200510-1.html
One billion times thank you!!!
elexor
Atarian
Atarian
Posts: 3
Joined: Sat Mar 02, 2019 2:25 am

Re: X68000 core

Post by elexor »

I compiled a test version here
here's a video of it running some games
https://youtu.be/R8s2h4pdDzM :D

courtesy of rysha.
You do not have the required permissions to view the files attached to this post.
friendlyjoe
Atarian
Atarian
Posts: 3
Joined: Tue Aug 20, 2019 4:10 pm

Re: X68000 core

Post by friendlyjoe »

Puu様、
本当にありがとうございました。

Thank you so much.
pstriolo
Atari freak
Atari freak
Posts: 63
Joined: Sun Sep 24, 2006 1:19 pm

Re: X68000 core

Post by pstriolo »

Hello

Thank you for the great works. Can someone build the .rbf file so we can test it ?

Regards.
Peredonov
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 120
Joined: Sat Jan 04, 2020 8:06 pm

Re: X68000 core

Post by Peredonov »

Amazing news!
Thanks to dshadoff for his help and of course most of all a huge thank you to puu for porting this core.

puuさん、お疲れ様!
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: X68000 core

Post by Sorgelig »

puu wrote:X68k core porting for MiSTer is completed.
Please check:
http://fpga8801.seesaa.net/archives/20200510-1.html
Can you release the source for NIOS firmware? Later i would like to check how to modify it for MiSTer API, so secondary SD card won't be required.
uigiflip
Atari freak
Atari freak
Posts: 63
Joined: Sun May 13, 2018 6:41 pm

Re: X68000 core

Post by uigiflip »

tried this beta core runs less than sorgelig's updated framework x68000 for me, for example super sf2 turbo loads on old core but not new, and many hdf when try to load state out of memory
Replay 2, Mister, FPGA Replay + 68060 Daughterboard
puu
Retro freak
Retro freak
Posts: 15
Joined: Mon Apr 20, 2020 12:30 am

Re: X68000 core

Post by puu »

The software of NiosII is the same as that for DE0-CV. If you are in a hurry, see below.
https://fpga8801.up.seesaa.net/rtl/rele ... 200329.qar
This corresponds to diskemu.v2/software/nios-src.zip included in the archive.
c64tone
Atarian
Atarian
Posts: 1
Joined: Fri Mar 23, 2018 2:59 pm

Re: X68000 core

Post by c64tone »

uigiflip wrote:tried this beta core runs less than sorgelig's updated framework x68000 for me, for example super sf2 turbo loads on old core but not new, and many hdf when try to load state out of memory
Try running 'switch' from the command line and setting the memory to 4mb?
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: X68000 core

Post by Sorgelig »

puu wrote:The software of NiosII is the same as that for DE0-CV. If you are in a hurry, see below.
https://fpga8801.up.seesaa.net/rtl/rele ... 200329.qar
This corresponds to diskemu.v2/software/nios-src.zip included in the archive.
Thank you! I'm not in hurry, still busy by many other things.. Just though it would be good to have FW sources for paired core. I remember you've already released the FW sources before but it was unclear which HDL is compatible.
Ideally, would be good to be able to mount FDD/HDD from MiSTer OSD by choosing it from primary SD card.
User avatar
rondc
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 131
Joined: Tue Apr 30, 2019 9:59 pm
Location: Spain

Re: X68000 core

Post by rondc »

@c64tone You're right. Using "switch" from Human prompt, you can select the RAM , from 1 to 12 MB.
It works !
SASI hd images works fine, so with bigger images for SCSI don't-

@Sorgelig
It's a very good plan. Many people gets losted when trying to configure and operate the core.

Regards
puu
Retro freak
Retro freak
Posts: 15
Joined: Mon Apr 20, 2020 12:30 am

Re: X68000 core

Post by puu »

The original X68000 supports SASI only. SCSI was added later. Therefore, it uses a tricky method to share the same DMA channel, which is not easy to handle.
With the X68000, even SASI supports 16 connections, so a total of 640MB can be used. I think that it is sufficient as the capacity at that time.
puu
Retro freak
Retro freak
Posts: 15
Joined: Mon Apr 20, 2020 12:30 am

Re: X68000 core

Post by puu »

Since the X68000's SASI port is just GPIO, it is possible to connect a SCSI device to the SASI port using the dedicated driver SXSI.
Since the SASI HDD emulation is performed by NiosII, it may be possible to easily use the SCSI image by rewriting this as SCSI emulation and operating SXSI in the X68000.
friendlyjoe
Atarian
Atarian
Posts: 3
Joined: Tue Aug 20, 2019 4:10 pm

Re: X68000 core

Post by friendlyjoe »

> Mr. Puu,

This is wonderful information. Thank you.
Finally we can appreciate X68000 again, hopefully very soon! :cheers:
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: X68000 core

Post by Sorgelig »

puu wrote:The original X68000 supports SASI only. SCSI was added later. Therefore, it uses a tricky method to share the same DMA channel, which is not easy to handle.
With the X68000, even SASI supports 16 connections, so a total of 640MB can be used. I think that it is sufficient as the capacity at that time.
With ability to swap images, 16 connections aren't required. I think up to 4 is enough. Especially when it will be available through OSD.
mrbig6251
Atariator
Atariator
Posts: 18
Joined: Wed Feb 26, 2020 11:46 pm

Re: X68000 core

Post by mrbig6251 »

I like to read that kind of good news :), congratulations guyz


Mr BIG
LFT
Atarian
Atarian
Posts: 2
Joined: Sat Apr 11, 2020 9:08 am

Re: X68000 core

Post by LFT »

Thank you puu for your work.
I am having a lot of fun exploring the X68000 core.
softtest1
Atari User
Atari User
Posts: 34
Joined: Tue Apr 30, 2019 6:37 pm

Re: X68000 core

Post by softtest1 »

Thank you Puu for this core and anyone who has helped with porting. I can't wait to try it out!
Sorgelig wrote:With ability to swap images, 16 connections aren't required. I think up to 4 is enough. Especially when it will be available through OSD.
Would the images be hotswappable (no reset)? The X68000 has quite a broad software library, including operating systems, emulators, music and painting applications. So I think that putting as much data as possible on one drive might provide a better workflow for some users.

With that said, swapping would still be very useful for gaming.
puu
Retro freak
Retro freak
Posts: 15
Joined: Mon Apr 20, 2020 12:30 am

Re: X68000 core

Post by puu »

SASI HDD images are swappable, realtime. But I don't know it works because O/S(human) wasn't designed for hot-swapping.
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: X68000 core

Post by Sorgelig »

puu wrote:SASI HDD images are swappable, realtime. But I don't know it works because O/S(human) wasn't designed for hot-swapping.
no problem to reboot after changing the HDD.
Btw, are you planning to add support FDD the same way through mounted files?
Grabulosaure
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 112
Joined: Tue Sep 05, 2017 9:35 pm

Re: X68000 core

Post by Grabulosaure »

puu wrote:SASI HDD images [...]
Sorgelig wrote:.
Hello.

I've made a preliminary version of the X68000 core that directly uses MiSTer framework for HDD (instead of the NIOS software and second SD card).
Select the disk image then "Hard Disk : MiSTer"

http://temlib.org/pub/mister/release-F68kMiSTer.rbf
http://temlib.org/pub/mister/F68K.tar.gz.

I have adapted an SCSI-to-MiSTer disk emulation module to the SASI interface and this X68k core (from SS5/20). Coding is... peculiar as it is based on microcode, but it supports many SCSI commands, and can be extended (source is scsi_mist.vhs, the script asm.mist.rb generates scsi_mist.vhd ).

- Code isn't optimised, transfers could be faster, but it's already faster than the direct SD interface (the main issue is properly handling 256 bytes sectors)
- Only one hard disk implemented. It can be extended to several units either by replicating the block, or some internal logic (this SCSI disk never "disconnects", so interleaved transfers between several units don't need to be handled.)
- Tested with SASI ".HDF" files. I don't know how SCSI disks are interfaced, some signals are different (for example the SCSI ATN signal). The .HDF files are raw dumps of disk contents, ".HDS" files for SCSI disk images may use a different format, I don't know.
- Of course, the NIOS system also handle floppies and SRAM, which should be adapted as well.
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: X68000 core

Post by Sorgelig »

Grabulosaure wrote:
puu wrote:SASI HDD images [...]
Sorgelig wrote:.
Hello.

I've made a preliminary version of the X68000 core that directly uses MiSTer framework for HDD (instead of the NIOS software and second SD card).
Select the disk image then "Hard Disk : MiSTer"

http://temlib.org/pub/mister/release-F68kMiSTer.rbf
http://temlib.org/pub/mister/F68K.tar.gz.

I have adapted an SCSI-to-MiSTer disk emulation module to the SASI interface and this X68k core (from SS5/20). Coding is... peculiar as it is based on microcode, but it supports many SCSI commands, and can be extended (source is scsi_mist.vhs, the script asm.mist.rb generates scsi_mist.vhd ).

- Code isn't optimised, transfers could be faster, but it's already faster than the direct SD interface (the main issue is properly handling 256 bytes sectors)
- Only one hard disk implemented. It can be extended to several units either by replicating the block, or some internal logic (this SCSI disk never "disconnects", so interleaved transfers between several units don't need to be handled.)
- Tested with SASI ".HDF" files. I don't know how SCSI disks are interfaced, some signals are different (for example the SCSI ATN signal). The .HDF files are raw dumps of disk contents, ".HDS" files for SCSI disk images may use a different format, I don't know.
- Of course, the NIOS system also handle floppies and SRAM, which should be adapted as well.
Good job! I like the idea of NIOS-less core.
MiSTer supports up to 4 mounted images at the same time. SRAM probably needs read/write mode, so it will consume one mounted slot. Probably 2xHDD + 1xFDD + SRAM should be an optimal config.
Another way is to move SCSI/SASI/FDD layers to HPS side like it's done in Minimig and some other cores - in this case there won't be limit of 4 images.

Return to “MiSTer”