Minimig (Amiga) core discussion

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: 2387
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Minimig (Amiga) core discussion

Postby Sorgelig » Fri Jan 05, 2018 3:35 am

Nothing fundamental. It's bare metastability problem as with all large cores. More logic elements eventually will get longer wires between and longer delays. Every time you change something in core - all logic elements will be placed differently. You cannot predict how they will be placed. Different placements - different delays. There are some technics to minimize randomization, but it's hard to avoid it.
FPGA programming is fundamentally different than traditional programming.
In C once you wrote the module - it will works the same regardless which project will use this module. In FPGA it's NOT!

I will re-compile the core. Anyway i need to add some framework modifications.

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

Re: Minimig (Amiga) core discussion

Postby Sorgelig » Fri Jan 05, 2018 10:30 am

Try this version.
Minimig_de10n.zip

If ok, then will go to release.
You do not have the required permissions to view the files attached to this post.

udo
Atariator
Atariator
Posts: 24
Joined: Fri Jun 02, 2017 10:47 am

Re: Minimig (Amiga) core discussion

Postby udo » Fri Jan 05, 2018 11:45 am

Sorgelig wrote:Try this version. Minimig_de10n.zip
If ok, then will go to release.


Looks much better to me. I have it running for at least half an hour playing around with sysinfo without any crash.
Currently I have no fan connected, with the previous release I could barely boot without fan.

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

Re: Minimig (Amiga) core discussion

Postby NML32 » Fri Jan 05, 2018 1:26 pm

Sorgelig wrote:Try this version. Minimig_de10n.zip
If ok, then will go to release.

No issues noticed with this version, the previous version would throw errors or crash right away. :cheers:

keito
Atari User
Atari User
Posts: 30
Joined: Tue Dec 26, 2017 5:46 am

Re: Minimig (Amiga) core discussion

Postby keito » Fri Jan 05, 2018 1:46 pm

Tested it out with my full WB3.1 config, which is a hybrid of CWB and my own setup and configuration, using 2 full hdf hard disks... On using the new core I was just opening some windows to load a whdload demo and i started to get graphical corruption on the screen before I even launched anything.

So I switched to the latest official core and repeated the same actions, no problems, all stable.

I then went back to the new core in testing, and tried some other operations such as launching whdload demos from WB via iGame.... iGame opens, launch demo and hard crash.

Switch back to official latest core, repeat exact same actions, no problems, all stable.

So for now I will stick to the current official core, just wanted to feedback my quick experience with this test build :)

keito
Atari User
Atari User
Posts: 30
Joined: Tue Dec 26, 2017 5:46 am

Re: Minimig (Amiga) core discussion

Postby keito » Fri Jan 05, 2018 2:22 pm

Just some eye candy :) 1280x720 Super High Res Laced WB :)

Image

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

Re: Minimig (Amiga) core discussion

Postby Sorgelig » Fri Jan 05, 2018 2:26 pm

keito wrote: launch demo and hard crash.

which demo?

keito
Atari User
Atari User
Posts: 30
Joined: Tue Dec 26, 2017 5:46 am

Re: Minimig (Amiga) core discussion

Postby keito » Fri Jan 05, 2018 2:32 pm

Sorgelig wrote:
keito wrote: launch demo and hard crash.

which demo?



I know this would be helpful information, but I honestly can't remember. However I can tell you that when I repeated each time in the current core I used the same demo to test. Also the Graphical corruption which was happening on my first run (but not the 2nd) was happening just in WB alone, before even trying any demos.

I am happy to repeat this test and give you better more accurate info so you can do some testing yourself, but that will have to be in a couple of hours as I have to pop out now, but I will repeat this later and post some better results.

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

Re: Minimig (Amiga) core discussion

Postby Sorgelig » Fri Jan 05, 2018 2:38 pm

I'm using WB3.9 with WHDLoad. Tested on several games and demos - all work on on the version i've uploaded above.
WB resolution is 1280x720.

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

Re: Minimig (Amiga) core discussion

Postby Sorgelig » Fri Jan 05, 2018 2:51 pm

forgot to tell, i've tested with fan turned off. FPGA has heatsink, but under I/O board with stopped fan over it convection is pretty bad and FPGA is hot. And Minimig works well in these conditions.

kolla
Captain Atari
Captain Atari
Posts: 163
Joined: Thu Sep 17, 2015 11:39 pm
Contact:

Re: Minimig (Amiga) core discussion

Postby kolla » Fri Jan 05, 2018 2:53 pm

Sorgelig wrote:Every time you change something in core - all logic elements will be placed differently. You cannot predict how they will be placed. Different placements - different delays. There are some technics to minimize randomization, but it's hard to avoid it.


Thanks for the explanation, I have never thought about it that way :)
Will try the new core once I get home, in a few hours.

EDIT: Yup, works much much better now!

Since we are sharing "screenshots", I am about to build the MiSTer into an (a1200.net) A1200 case, so it looks like this :D

Image
Last edited by kolla on Fri Jan 05, 2018 5:59 pm, edited 1 time in total.
-- kolla

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

Re: Minimig (Amiga) core discussion

Postby misterjbam » Fri Jan 05, 2018 4:28 pm

my rapid test with : Monkey Island 2 in whdload and arte (demo by sanity)

Minimig_20170922.rbf : perfect
Image

Minimig_20171229.rbf : a lot of bugs and disk crash

Minimig_de10n.zip : no bugs but the colors drool
Image
Last edited by misterjbam on Fri Jan 05, 2018 4:52 pm, edited 2 times in total.

keito
Atari User
Atari User
Posts: 30
Joined: Tue Dec 26, 2017 5:46 am

Re: Minimig (Amiga) core discussion

Postby keito » Fri Jan 05, 2018 4:41 pm

So after getting home and spending about 20min with the new core, here's what happened for me..

Core loads and proceeded to boot my default config into Workbench, but halted here:

Image

So, cold reboot, and boots into WB fine... In fact it seemed quicker and snappier than before.. so i tried running some demos, listening some mods, and using some software, and no problems, everything perfect, played around for about 15min.

I then decided to cold reboot again to make sure the disk boot problem didn't recur, it did not thankfully, so decided to try some more whdload demos, I tried to Mind Riot by Andromeda, launch to black screen and immediate crash to guru med. Had to reboot again, normal ctrl-A-A not working, had to cold reboot.

So I tried Mind Riot again, this time worked no problems.

Inconsistent behaviour, and while it does seem fractionaly quicker, for me anyway, it just seems less stable, unpredictable errors and crashes here and there.

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

Re: Minimig (Amiga) core discussion

Postby Sorgelig » Fri Jan 05, 2018 6:57 pm

Another version for test
Minimig_t2.zip
You do not have the required permissions to view the files attached to this post.

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

Re: Minimig (Amiga) core discussion

Postby misterjbam » Fri Jan 05, 2018 7:58 pm

no color problems with the t2.
I let turn to see

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

Re: Minimig (Amiga) core discussion

Postby NML32 » Fri Jan 05, 2018 8:17 pm

Sorgelig wrote:Another version for test Minimig_t2.zip

I'm seeing video corruption with this version.

https://youtu.be/JPOROIPDbHc

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

Re: Minimig (Amiga) core discussion

Postby Sorgelig » Sat Jan 06, 2018 2:21 am

Ok. Switched to my second MiSTer for testing. It's less perfect than first one.
try this:
Minimig_t3.zip


i found that Minimig is starting to loose correct aspect ratio at start.. Probably i will need to change some code..
You do not have the required permissions to view the files attached to this post.

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

Re: Minimig (Amiga) core discussion

Postby NML32 » Sat Jan 06, 2018 3:13 am

Sorgelig wrote:Ok. Switched to my second MiSTer for testing. It's less perfect than first one.
try this: Minimig_t3.zip

i found that Minimig is starting to loose correct aspect ratio at start.. Probably i will need to change some code..


I didn't notice any issues with this version. Everything looks good.

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

Re: Minimig (Amiga) core discussion

Postby misterjbam » Sat Jan 06, 2018 9:30 am

I do not have any problem with this version :cheers:

udo
Atariator
Atariator
Posts: 24
Joined: Fri Jun 02, 2017 10:47 am

Re: Minimig (Amiga) core discussion

Postby udo » Sat Jan 06, 2018 12:11 pm

Sorgelig wrote:Ok. Switched to my second MiSTer for testing. It's less perfect than first one.
try this: Minimig_t3.zip

i found that Minimig is starting to loose correct aspect ratio at start.. Probably i will need to change some code..


I do not see any problems with this version.
I observed the wrong aspect ratio on startup only once with the first test version. This version came up with the right settings.

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

Re: Minimig (Amiga) core discussion

Postby NegSol » Sat Jan 06, 2018 8:18 pm

I do not get a picture on the HDMI with the T3 version. :|

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

Re: Minimig (Amiga) core discussion

Postby NML32 » Sat Jan 06, 2018 9:40 pm

NegSol wrote:I do not get a picture on the HDMI with the T3 version. :|

I was having that issue with Minimig_20171229.rbf and it ended up being MiSTer was outdated.

viewtopic.php?f=117&t=32761#p335923

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

Re: Minimig (Amiga) core discussion

Postby NegSol » Sat Jan 06, 2018 11:08 pm

Ok - an outed MiSTer file could be the issue. I will test it tomorrow. Thank you! :cheers:

Edit: It works now :)
Last edited by NegSol on Sun Jan 07, 2018 11:09 am, edited 1 time in total.

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

Re: Minimig (Amiga) core discussion

Postby misterjbam » Sun Jan 07, 2018 11:06 am

the image is less clear with the last core (if using DIM scanline)

with Minimig_20170922.rbf

Image

with Minimig_20180106.rbf

Image

ps : this is more visible on the screen than on the capture

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

Re: Minimig (Amiga) core discussion

Postby Sorgelig » Sun Jan 07, 2018 7:45 pm

I've made some code optimizations. Also aspect ratio should not loose now.
try it:
Minimig_t4.zip
You do not have the required permissions to view the files attached to this post.


Return to “MiSTer”

Who is online

Users browsing this forum: No registered users and 1 guest