MiSTer: MiST on Terasic DE10-nano board.

Area for discussing ST(E) clones

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

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Sat Jul 08, 2017 3:32 pm

He doesn't publish his changes which is unfair from my point of view.

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

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby ijor » Sat Jul 08, 2017 6:39 pm

Sorgelig wrote:MiSTer uses scaler for HDMI output. Due to frame rate convertion (50->60) some effects and smooth scrollers will be affected. This is the price you pay for correct video output where you can use any modern TV/Monitor with HDMI.


You shouldn't need to perform 50Hz to 60Hz conversion. HDMI support for 50Hz is mandatory. But the dot clock must be correct.

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Sat Jul 08, 2017 11:38 pm

50Hz is mandatory for PAL region only.
Also converting 50Hz to 50Hz without syncing the frames (and it's impossible to do due to fixed HDMI timings) produces much worse stuttering.

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

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby ijor » Sun Jul 09, 2017 1:52 am

Sorgelig wrote:50Hz is mandatory for PAL region only.


Are you sure? Where do you see that in the specs? Did you actually find a TV/Monitor that doesn't support HDMI at 50Hz?

Also converting 50Hz to 50Hz without syncing the frames (and it's impossible to do due to fixed HDMI timings) produces much worse stuttering.


Yes, as I was saying, the correct dot clock is required. But in many cases a minimal adjustment of the core clock is enough.

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Sun Jul 09, 2017 2:48 am

ijor wrote:Are you sure? Where do you see that in the specs? Did you actually find a TV/Monitor that doesn't support HDMI at 50Hz?

100% sure. Neither my TV nor Monitor support 50Hz.
I can test 50Hz only on my HDMI capture card.

ijor wrote:Yes, as I was saying, the correct dot clock is required.

Not only correct clock. Pixels per line, lines per frame. Retro systems seldom followed true TV standard because old CRT TVs were very tolerant to parameters. Digital TVs/Monitors are very strict to parameters since they can count every parameter by their CPUs.

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

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby ijor » Sun Jul 09, 2017 4:52 pm

Sorgelig wrote:100% sure. Neither my TV nor Monitor support 50Hz.I can test 50Hz only on my HDMI capture card.


Strange. My monitor and two TVs do support 50Hz. I'm curious how common or not this is.

Not only correct clock. Pixels per line, lines per frame ...


Yes, but for this purpose you actually only care about the refresh rate. As long as you can match the refresh rate exactly, then you can convert the frames synchronously without any tearing. Granted, on some cores it's possible, on others it's not.

NML32
Captain Atari
Captain Atari
Posts: 267
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby NML32 » Sun Jul 09, 2017 5:29 pm

@Sorgelig, I'm not sure if this is something you could incorporate into the MiSTer C64 core? DarFPGA released R/W access to his C64 core, and I think it was his core that was ported to the MiST.

http://darfpga.blogspot.fr/

I understand if you don't have time to take something like this on and I realize you're busy porting other cores to the MiSTer.

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Mon Jul 10, 2017 7:02 am

ijor wrote:Yes, but for this purpose you actually only care about the refresh rate.

Pixel clock, Pixels per line and lines per frame - all this represent a refresh rate in sum.

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Mon Jul 10, 2017 7:08 am

NML32 wrote:I'm not sure if this is something you could incorporate into the MiSTer C64 core?

i know this. But it requires a lot of code revise since dar's code is not based on my cleaned and optimized code.

Actually i'm not in mood to support C64 code because of braincell1973.

User avatar
PeFClic
Atarian
Atarian
Posts: 3
Joined: Fri Jul 29, 2016 2:47 pm
Location: Europe
Contact:

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby PeFClic » Mon Jul 10, 2017 9:04 am

Hello Sorgelig,

I'll make an order on Mouser and I could not find the BOM for the daughter boards and I don't know how to recover it from the gerber files (don't know how to use same anyway).

thank you very much

User avatar
farvardin
Captain Atari
Captain Atari
Posts: 297
Joined: Fri Jan 01, 2010 5:50 pm
Location: France
Contact:

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby farvardin » Mon Jul 10, 2017 9:10 am

Sorgelig wrote:Actually i'm not in mood to support C64 code because of braincell1973.


He said he will publish his code on github soon! :cheers:

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Mon Jul 10, 2017 11:17 am

PeFClic wrote:I'll make an order on Mouser and I could not find the BOM for the daughter boards and I don't know how to recover it from the gerber files (don't know how to use same anyway).


Every board has PDF file in its folder. Most parts are pretty generic. I'm not good at board manufacturing. The most important part is SDRAM chip - so i gave it in readme with link to mouser. I have no idea about part numbers of other components. For example VGA connector can be found visually on Aliexpress - i couldn't find it on Mouser.

User avatar
PeFClic
Atarian
Atarian
Posts: 3
Joined: Fri Jul 29, 2016 2:47 pm
Location: Europe
Contact:

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby PeFClic » Mon Jul 10, 2017 6:19 pm

Sorgelig wrote:
PeFClic wrote:I'll make an order on Mouser and I could not find the BOM for the daughter boards and I don't know how to recover it from the gerber files (don't know how to use same anyway).


Every board has PDF file in its folder. Most parts are pretty generic. I'm not good at board manufacturing. The most important part is SDRAM chip - so i gave it in readme with link to mouser. I have no idea about part numbers of other components. For example VGA connector can be found visually on Aliexpress - i couldn't find it on Mouser.


Don't know what to say...The only files that I could possibly understand, I've not seen them !
Thank you for your answer :)

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Mon Jul 10, 2017 7:58 pm

i've just updated I/O board a little.

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Tue Jul 11, 2017 9:44 am

I've created another topic viewtopic.php?f=101&t=31926 where i will post a changelog, so updates won't sink in other posts. Please don't post there if it's not related to latest update which broke something.
General discussion will be in this topic.

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Wed Jul 12, 2017 10:19 am

Ok, i've tested C64 on MiST. Desert demo part I works the same as on NML32's MiST video even from my repository (without braincell1973 additions).
So, the problem somewhere in MiSTer port.
I'm thinking to port braincell1973's additions to MiSTer, although i'm skeptical about CRT support usefulness. CRT support will require a large memory - some carts are 512kb. So, the new port will require SDRAM module.

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Wed Jul 12, 2017 10:46 am

Ha! Found the source of problem.

NML32
Captain Atari
Captain Atari
Posts: 267
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby NML32 » Wed Jul 12, 2017 10:54 am

Sorgelig wrote:Ha! Found the source of problem.

That didn’t take you very long. :)

NegSol
Atari User
Atari User
Posts: 33
Joined: Sat Dec 05, 2015 9:22 pm

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby NegSol » Wed Jul 12, 2017 11:40 am

Great! Looking forward to it. Also I will try my best to get the SD-RAM board completed on the weekend. Keeping my fingers cross I will not mess up the SMD soldering part for the memory chip ;-)

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Wed Jul 12, 2017 12:45 pm

I will postpone CRT support anyway. It's not so important from my point of view.
The problem was from the nature of 1541 code which reads beyond the last track. My ARM code didn't allow it, and thus last track was unreadable. Now ARM allows to read beyond the limit, so no problem now.
I will add braincell1973's CIA changes as well but it won't improve Desert Dream Part I - it still hangs with vertical stripe of squares as on MiST.

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Wed Jul 12, 2017 5:47 pm

All cores are updated.

I've added new Wiki page: https://github.com/MiSTer-devel/Main_Mi ... ut-devices

NML32
Captain Atari
Captain Atari
Posts: 267
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby NML32 » Wed Jul 12, 2017 6:01 pm

Thanks, those are some handy features and information. I can’t wait to get home and try out some of the new features. :)
Last edited by NML32 on Wed Jul 12, 2017 9:06 pm, edited 1 time in total.

User avatar
farvardin
Captain Atari
Captain Atari
Posts: 297
Joined: Fri Jan 01, 2010 5:50 pm
Location: France
Contact:

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby farvardin » Wed Jul 12, 2017 8:51 pm

thank you for working on this Sorgelig! You rock!
And i'm glad braincell1973 published his sources as well! https://github.com/Braincell1973/MIST_C64

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 598
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Sorgelig » Thu Jul 13, 2017 6:45 am

NegSol wrote:Also I will try my best to get the SD-RAM board completed on the weekend. Keeping my fingers cross I will not mess up the SMD soldering part for the memory chip

Make sure there aren't short circuits between GND, +3.3V and +5V pin. There are protections against shorts, but it's better not to see how it acts ;)
And since there are no keys preventing wrong or shifted insertion, pay a good attention how you plug it!

Zarchos
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 134
Joined: Wed May 09, 2012 7:38 pm
Location: FRANCE

Re: MiSTer: MiST on Terasic DE10-nano board.

Postby Zarchos » Thu Jul 13, 2017 10:25 am

Sorry if I missed sthing but does the Archie core run on the MiSTer ?

With the extra power of the board you should reach at least the speed of the 12 Mhz ARM250 based machines.

Are you able to enhance the core ?
To make it more compatable with a real machine, in particular its now demonstrated ability to reprogram all the values in all the registers of the memory controler and the video controler 16 times per scanline ...
Atari 1040 STE+SATAN, 520ST, 800xl, xegs, Amiga 500, 2000 with 68020, Archimedes, RISC PCs + Iyonix, Omega, BBC B, Atom, Electron, ZX 81, Spectrum 48/128/+2/+3, Speccy2010, Russian clones, Sam Coupe, V6Z80P, QL with accelerators, Enterprise 128, Einstein inc 256, Oric Atmos, MSX 1, 2, Thomson MO5, Amstrads inc CPC+, C 16, 64, 128, VG5000, Apple IIGS and more ! Yes I want to create a museum when I retire.


Social Media

     

Return to “ST(E) Clones (Suska / MiST)”

Who is online

Users browsing this forum: Gehstock, schombi and 3 guests