Major update for MiSTer

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

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

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

Major update for MiSTer

Postby Sorgelig » Mon Mar 05, 2018 4:11 am

After some silence required to define and test new features i'm glad to present some important updates:

1) Improved USB host driver. Before you could have problems with some devices such as over-current events and disabled devices. Some input devices may have sticky events such as pressed button become pressed forever. Other problems.
Although over-current events are blocked now, USB HUB with external power is still required for high powered devices.
Linux update is required.

2) Permanent HDMI output. Before you could notice absence of HDMI signal in some circumstances, especially if you use HDMI splitters/switchers. Now HDMI output is always enabled regardless connection. This should fix most HDMI problems.
It's advised not to plug/unplug HDMI while MiSTer is powered.
Core update is required

3) Supports any HDMI resolutions up to FullHD(1920x1080). Even non-standard resolutions are supported. Some HDMI resolution settings were introduced in beginning of this year. Now this functionality is greatly improved and tuned.
MiSTer binary and core update is required

4) Original frame rate is now possible on HDMI output. This gives you a butter-smooth video, especially if you watch some demos with smooth scrollers. Besides a rumor that HDMI requires strict parameters, i've found that some monitors accept any (reasonable) pixel clock, so with precise clock tuning it's possible to make the same frame rate as original retro system.
I have no idea how many monitors support variable pixel clock, so you may report if your monitor works or not with this feature.
Besides supporting variable pixel clock for smooth video, your monitor should NOT do frame rate conversion internally. Many monitors/TVs have locked LCD update rate, so they should convert any input frame rate to internal one - usually 60Hz.
Even if your display does frame rate conversion, variable pixel clock can be still useful. Display may have a better rule for frame conversion than MiSTer does. So you may have a better option for frame conversion.
MiSTer binary and core update is required

5) Digital volume control for audio and I2S output option. Now you may connect external I2S amplifier (i recommend MAX98357A) with minimum external components. Digital volume control has been done inside the core and can be used in case of absence of external volume control. Control affects all audio outputs (I2S, HDMI, SPDIF, analog) and remembered between cores and power off states.
MiSTer binary and core update is required

6) Improved OSD with new Info message style. You can check IP address in OSD of any core. If you have both Ethernet and WiFi connections, then you will see both IP addresses. If you use Pi-Top case, then you can see a battery info as well.
Smaller accurate Info messages on top left corner will provide useful info such as volume control, current video mode and other information.
MiSTer binary and core update is required

There are other important internal updates.
Some features don't require anything to do. Some features require settings.
Check updated MiSTer.ini - most options are self explaining.

All software parts are required to be updated. Linux and MiSTer binary are already released and included in new SD Installer. Some (most popular) cores are updated already. I will update them one by one - it may take some time.
Release must be from 3 March 2018 or newer to be sure the core has all these features

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

Re: Major update for MiSTer

Postby Sorgelig » Mon Mar 05, 2018 4:12 am

Some details:

vsync_adjust - this option automatically adjusts the pixel clock on updated cores. It's advised to enable video_info as well, so you will see the info about adjusted video mode.
It's important to note that you have to use 60Hz HDMI video output mode as a base. On PAL cores, pixel clock will be automatically reduced to produce 50Hz video. If you will use 50Hz HDMI video as a base, then adjusting to NTSC/60Hz cores may produce out of range pixel clock.
Standard HDMI video modes use the same pixel clocks for both 50Hz and 60Hz video. The difference of frame rate made by wider blanking fields on 50Hz modes. Thus, 50Hz mode as a base is not suitable for vsync_adjust mode as higher pixel clocks will be wasted for wide blanking in case if core outputs 60Hz video.

currently the only one MiSTer core produces video with significantly higher frame rate - it's ao486 with 72Hz on graphics modes. With FullHD HDMI output pixel clock with vsync_adjust=1 rises to whooping 180MHz! Not every monitor can handle it (Pi-Top display can). So it's advised to use vsync_adjust=0 for ao486. MiSTer supports per-core settings like this:

Code: Select all

[ao486]
vsync_adjust=0


With high HDMI resolutions like 1920x1080 scaled video may look blurry because of high scaling factor. It's advised to use forced_scandoubler=1 for better results.
You may set a low HDMI resolution to minimize scaling and let your Monitor/TV to scale the video in case if it does better than MiSTer.

Digital volume is controlled by dedicated volume multimedia keys on keyboard.

NegSol
Captain Atari
Captain Atari
Posts: 263
Joined: Sat Dec 05, 2015 9:22 pm

Re: Major update for MiSTer

Postby NegSol » Mon Mar 05, 2018 6:48 am

Great News!
I esp. like the opl2 update idea for the C64 core and the new USB driver improvements. Cannot wait to test all of the new goodies.
Thanks a lot Sorgelig! :D

User avatar
alexh
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2706
Joined: Wed Oct 20, 2004 1:52 pm
Location: UK - Oxford
Contact:

Re: Major update for MiSTer

Postby alexh » Mon Mar 05, 2018 9:20 am

Cool. Thanks for all your hard work.

misterjbam
Atari User
Atari User
Posts: 40
Joined: Tue Dec 12, 2017 10:36 pm

Re: Major update for MiSTer

Postby misterjbam » Mon Mar 05, 2018 11:22 am

A huge thank you for all this work

weirdocollector
Atari User
Atari User
Posts: 33
Joined: Wed May 27, 2015 3:56 pm

Re: Major update for MiSTer

Postby weirdocollector » Mon Mar 05, 2018 3:48 pm

Thanks ! You're just the genius I'll never manage to be :D

Locutus73
Captain Atari
Captain Atari
Posts: 170
Joined: Wed Feb 07, 2018 6:13 pm

Re: Major update for MiSTer

Postby Locutus73 » Mon Mar 05, 2018 4:29 pm

:cheers:
For he's a jolly good fellow, for he's a jolly good fellow
For he's a jolly good fellow, and so say all of us
And so say all of us, and so say all of us
For he's a jolly good fellow, for he's a jolly good fellow
For he's a jolly good fellow, and so say all of us!

Locutus73

Tex
Atarian
Atarian
Posts: 3
Joined: Mon Feb 12, 2018 11:45 am

Re: Major update for MiSTer

Postby Tex » Mon Mar 05, 2018 11:44 pm

Can anyone test Minimig? I have now more crashes (No problems with WinUAE).
I'll try to explain later. My English isn't good.

edit: I found the mistake. For an update Linux/Mister the config files have to be deleted. :)
Thx for Update!

Locutus73
Captain Atari
Captain Atari
Posts: 170
Joined: Wed Feb 07, 2018 6:13 pm

Re: Major update for MiSTer

Postby Locutus73 » Tue Mar 06, 2018 2:25 pm

Are there any kernel changes with the new update? I mean, one of these days (when I have free time and I’m inspired and in the right mood) I’m going to compile the kernel in order to try to boot Terasic’s “Linux LXDE Desktop” on the new MiSTer SD layout, but I’d like to use the last sources.

Many thanks in advance
Best regards

Locutus73

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

Re: Major update for MiSTer

Postby Sorgelig » Tue Mar 06, 2018 5:25 pm

I update the sources regularly. You can see the change log in kernel repository.

DirtyBernie
Atariator
Atariator
Posts: 18
Joined: Thu Mar 08, 2018 6:20 pm

Re: Major update for MiSTer

Postby DirtyBernie » Thu Mar 08, 2018 6:25 pm

Thanks a lot for all this work :wink:

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

Re: Major update for MiSTer

Postby Sorgelig » Fri Mar 09, 2018 12:21 pm

Kernel related posts moved to appropriate topic: viewtopic.php?p=340964#p340964

Locutus73
Captain Atari
Captain Atari
Posts: 170
Joined: Wed Feb 07, 2018 6:13 pm

Re: Major update for MiSTer

Postby Locutus73 » Tue Mar 13, 2018 3:24 pm

Thank you Sorgelig for the .md file support in FpgaGen.

Locutus73

misterjbam
Atari User
Atari User
Posts: 40
Joined: Tue Dec 12, 2017 10:36 pm

Re: Major update for MiSTer

Postby misterjbam » Wed Mar 14, 2018 7:55 am

A huge thank you for this huge update on all cores :cheers: :cheers: :cheers:
thank you, thank you, thank you for the scanlines on almost every cores.
Small question: Why 4 arcades cores + msx core + game boy core do not have scanlines ? Is this a technical problem ?

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

Re: Major update for MiSTer

Postby Sorgelig » Wed Mar 14, 2018 2:36 pm

Yes. Some cores including several arcades have difficulties in adding video FX due to special video modules.
It's not impossible and probably later will be added.

misterjbam
Atari User
Atari User
Posts: 40
Joined: Tue Dec 12, 2017 10:36 pm

Re: Major update for MiSTer

Postby misterjbam » Wed Mar 14, 2018 3:11 pm

Thank you for the answer .
MSX, MSX, MSX, MSX, :lol: :lol: :lol: :lol: :lol:

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

Re: Major update for MiSTer

Postby NML32 » Wed Mar 14, 2018 5:10 pm

Thanks, these cores just keep getting better.
I really like all the new changes and updates.

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

Re: Major update for MiSTer

Postby Sorgelig » Wed Mar 14, 2018 6:11 pm

Re-checked arcades where i skipped scanlines:
1) SnapJack - just added.
2) Ponpoko - silly arcade don't want to do anything special for it.
3) Computer Space - game consists on dots. So scanlines won't be noticeable (well, may be only on numbers).

Did i miss anything else?

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

Re: Major update for MiSTer

Postby NML32 » Wed Mar 14, 2018 7:03 pm

This is just a question not a request of any kind.
Sorgelig, do you have any plans or interest in porting cores from MiST that haven’t yet been ported to MiSTer?
Last edited by NML32 on Wed Mar 14, 2018 11:07 pm, edited 1 time in total.

misterjbam
Atari User
Atari User
Posts: 40
Joined: Tue Dec 12, 2017 10:36 pm

Re: Major update for MiSTer

Postby misterjbam » Wed Mar 14, 2018 7:29 pm

Did i miss anything else?

He also misses "Moon Patrol" for the arcade.
All the other arcades are good.
And if not, it also misses the game boy for the consoles :lol: :lol:

Thank you thank you for msx, I am very happy :cheers:

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

Re: Major update for MiSTer

Postby Sorgelig » Wed Mar 14, 2018 11:26 pm

NML32 wrote:Sorgelig, do you have any plans or interest in porting cores from MiST that haven’t yet been ported to MiSTer?

I have no such target as porting of every MiST core. I port what is worth from my point of view.
Some MiST cores are very messy or have unnecessary monstrous code and thus require a lot of time (to clean and then port) i'm not ready to dedicate.

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

Re: Major update for MiSTer

Postby NML32 » Thu Mar 15, 2018 2:40 am

With the latest Colecovision core (ColecoVision_20180305.rbf), I'm not able to use the keyboard as the Joystick Keypad.
I went back to ColecoVision_20171105.rbf and it works.
1 2 3
Q W E
A S D
Z X C

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

Re: Major update for MiSTer

Postby Sorgelig » Thu Mar 15, 2018 5:19 am

NML32 wrote:With the latest Colecovision core (ColecoVision_20180305.rbf), I'm not able to use the keyboard as the Joystick Keypad.
I went back to ColecoVision_20171105.rbf and it works.
1 2 3
Q W E
A S D
Z X C


Thanks for info. I've forgot to correct this part for new API. Fixed.

misterjbam
Atari User
Atari User
Posts: 40
Joined: Tue Dec 12, 2017 10:36 pm

Re: Major update for MiSTer

Postby misterjbam » Thu Mar 15, 2018 9:54 am

I have no such target as porting of every MiST core. I port what is worth from my point of view.

I think that the ATARI ST and AMSTRAD CPC cores are really expected by many people.
It could bring a lot more people on the mister.

personally i dream about the super nintendo or the neogeo :lol: :lol: :lol:

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

Re: Major update for MiSTer

Postby Sorgelig » Thu Mar 15, 2018 10:38 am

misterjbam wrote:AMSTRAD CPC

This core has active development, so you will get more luck by asking original author. I don't like to tell it, but this core is what i mean unnecessary monstrous code. Basically Amstrad CPC is at around the same hardware compexity level as ZX Spectrum 128. You can compare amount of ZX core code and CPC - i give up here ;)


Return to “MiSTer”

Who is online

Users browsing this forum: No registered users and 7 guests