Work on the Minimig core?

https://github.com/mist-devel/mist-board/wiki

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

User avatar
Higgy
Captain Atari
Captain Atari
Posts: 158
Joined: Tue Jan 24, 2017 1:38 pm

Re: Work on the Minimig core?

Postby Higgy » Fri Aug 23, 2019 6:17 pm

I will try and send Toni a PM later to ask your question.
Cheers

User avatar
Higgy
Captain Atari
Captain Atari
Posts: 158
Joined: Tue Jan 24, 2017 1:38 pm

Re: Work on the Minimig core?

Postby Higgy » Fri Aug 23, 2019 7:51 pm

Higgy wrote:I will try and send Toni a PM later to ask your question.
Cheers


@slingshot - I had a reply, I hope it helps:

I assume you mean DBLPAL etc resolutions that need SVGA display?

There are some unexpected features.. Snip from changelogs:

Quote:
- Some BEAMCON0 programmed mode emulation updates. VBSTRT/VBSTOP register values only affect screen if
VARVBEN bit is set.
- Use also value stored in VBSTRT (vertical blank start) register when setting up programmed mode vertical
size, some weird modes can have (much) smaller VBSTRT than VSSTRT (vertical sync start). (Jtxrules by Illusion)
- HBSTRT/HBSTOP register values are only used if BPLCON3 EXTBLKEN bit is set. (Demos Contactro and Jtxrules by Illusion)
- BEAMCON0 HARDDIS bit also disables DDFSTRT hardware limit. (Weird stuff, VARBEAMEN disables it too,
even superhires mode disables it..)

slingshot
Atari God
Atari God
Posts: 1258
Joined: Mon Aug 06, 2018 3:05 pm

Re: Work on the Minimig core?

Postby slingshot » Sat Aug 24, 2019 3:29 pm

Well, EXTBLKEN is not used currently. However: HBSTART and HBSTOP are in Agnus, EXTBLKEN is in Denise. So how they arguing about the blanking position?

User avatar
Higgy
Captain Atari
Captain Atari
Posts: 158
Joined: Tue Jan 24, 2017 1:38 pm

Re: Work on the Minimig core?

Postby Higgy » Sun Aug 25, 2019 9:02 pm

@slingshot - answer from Toni Wilen:

They are also Denise registers. They don't affect sync signals (which are generated by Agnus) but Denise internal blanking (Denise's RGB outputs are zeroed), just like borderblank which is also Denise generated.

HSSTRT and HSSTOP (and HCENTER) are Agnus registers which affect Agnus HSYNC output.

HSync and HBlank are completely separate features.

But VSync and VBlank are both Agnus, confusing, isn't it? They can be in Agnus because Agnus can tell vertical line state via strobe registers to Denise. (STREQU/STRVBL)

slingshot
Atari God
Atari God
Posts: 1258
Joined: Mon Aug 06, 2018 3:05 pm

Re: Work on the Minimig core?

Postby slingshot » Mon Aug 26, 2019 9:10 am

Confusing enough, yes.

The simplest thing currently is to use the same difference for the programmed HBSTART and HBSTOP as the core uses for the Agnus-Denise counters.

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

Re: Work on the Minimig core?

Postby kolla » Mon Sep 02, 2019 9:34 am

retrofun wrote:I have done some fixes for the MiST firmware and the minimig-core that improves stability and user experience.

mist-firmware:
  • Fix fatal error 4 when choosing new FPGA core
  • Make Kickstart 1.2/1.3 honour changes of memory configuration
  • Improve stability of core startup when a new configuration is loaded
  • Fix IDE on/off, ask to reboot when changed


No issues with this firmware, as far as I can see

minimig-mist:
  • Disable joystick1/mouse when OSD is active
  • Code cleanup with changes from Minimig-AGA_MiSTer


This core is crash, doom and gloom for me - I cannot even boot without startup-sequence (if I select that, it stalls in a pinkish screen?!) ... and when the system does boot, there are several yellow "recoverable alerts" , pointer prefs cannot be read (?!), workbench cannot load backdrops and finally it just reboots. I may try to debug more exactly what fails, if I find time. I suspect one culprit may be "TimeKeeper" (http://aminet.net/package/util/time/TimeKeeper) and another may be BootCtrl (http://aminet.net/package/util/boot/bootctrl)
-- kolla

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 841
Joined: Fri Apr 24, 2015 12:10 pm

Re: Work on the Minimig core?

Postby vebxenon » Tue Sep 10, 2019 2:29 pm

kolla wrote:
This core is crash, doom and gloom for me - I cannot even boot without startup-sequence (if I select that, it stalls in a pinkish screen?!) ... and when the system does boot, there are several yellow "recoverable alerts" , pointer prefs cannot be read (?!), workbench cannot load backdrops and finally it just reboots. I may try to debug more exactly what fails, if I find time. I suspect one culprit may be "TimeKeeper" (http://aminet.net/package/util/time/TimeKeeper) and another may be BootCtrl (http://aminet.net/package/util/boot/bootctrl)


Have you found what's failing?
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

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

Re: Work on the Minimig core?

Postby kolla » Wed Sep 11, 2019 7:21 am

vebxenon wrote:
kolla wrote:Have you found what's failing?

No, sorry, been busy with other things, and also kinda forgot about it while just using the MiST with older core. I will see if I can find some time to research this.
-- kolla

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 841
Joined: Fri Apr 24, 2015 12:10 pm

Re: Work on the Minimig core?

Postby vebxenon » Wed Sep 11, 2019 7:58 am

kolla wrote:
vebxenon wrote:
kolla wrote:Have you found what's failing?

No, sorry, been busy with other things, and also kinda forgot about it while just using the MiST with older core. I will see if I can find some time to research this.


Don't worry :cheers: . I also use the older Core :-)
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

lips2k15
Atari maniac
Atari maniac
Posts: 89
Joined: Tue Mar 29, 2016 10:19 am

Re: Work on the Minimig core?

Postby lips2k15 » Wed Sep 18, 2019 9:43 am

I know I must sound like a stuck record but what are the chances of getting RTG? or at least a really basic RTG so we can have highy resolution Workbench? some of the fast ram could be mapped as video ram like the vampires RTG does?

lips2k15
Atari maniac
Atari maniac
Posts: 89
Joined: Tue Mar 29, 2016 10:19 am

Re: Work on the Minimig core?

Postby lips2k15 » Thu Sep 19, 2019 11:27 am

also - could the CPU speed be selectable like in the ZX Spectrum cores? 7mhz for A500/A600 compatability, 14mhz for A1200 and then maybe some turbo options? I am just spit balling ideas here really - things that jump out at me when using the Minimig core on the mist and last but by no means least some kind of USB function? So if in Amiga OS we install Poseidon we can use USB network adapters, USB soundcards, and the biggest most useful USB feature USB flash drives! anyway I know this is a lot of work but the Minimig core seems neglected for the most part and with the rise of the Vampires, and the Terrible Fire accelerators on real Amigas now is the the perfect time to show it some love! please lets discuss and see what can be done!

User avatar
retrofun
Atari freak
Atari freak
Posts: 50
Joined: Sat Jan 12, 2019 3:12 pm

Re: Work on the Minimig core?

Postby retrofun » Mon Sep 23, 2019 10:20 pm

retrofun wrote:
slingshot wrote:And this bug report:
https://github.com/mist-devel/mist-board/issues/109
MOVEC maybe?

Debugged this. It's the RTD instruction in mmu.library that tg68k doesn't support.
...


Added the RTD instruction to TG68K:
https://github.com/retrofun/minimig-mis ... d486467af4

Seems to work.
MMULib doesn't crash anymore.
Passes Toni Wilen's cputest (WinUAE, https://github.com/tonioni/WinUAE/tree/master/cputest)

uchristo
Retro freak
Retro freak
Posts: 13
Joined: Wed Sep 28, 2016 3:22 pm

Re: Work on the Minimig core?

Postby uchristo » Tue Sep 24, 2019 9:23 am

Is there already a binary (rbf) available?

User avatar
retrofun
Atari freak
Atari freak
Posts: 50
Joined: Sat Jan 12, 2019 3:12 pm

Re: Work on the Minimig core?

Postby retrofun » Tue Sep 24, 2019 10:06 am


slingshot
Atari God
Atari God
Posts: 1258
Joined: Mon Aug 06, 2018 3:05 pm

Re: Work on the Minimig core?

Postby slingshot » Tue Sep 24, 2019 10:12 am

retrofun wrote:Added the RTD instruction to TG68K:
https://github.com/retrofun/minimig-mis ... d486467af4

Seems to work.
MMULib doesn't crash anymore.
Passes Toni Wilen's cputest (WinUAE, https://github.com/tonioni/WinUAE/tree/master/cputest)


Cool! Strange this CPU test doesn't even pass in WinUAE 68020 mode (or just used a wrong setup).
Maybe you can fix that pinball game, too?

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 841
Joined: Fri Apr 24, 2015 12:10 pm

Re: Work on the Minimig core?

Postby vebxenon » Tue Sep 24, 2019 11:18 am



Wow! Thanks! :cheers: I'm going to test it now :D
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 841
Joined: Fri Apr 24, 2015 12:10 pm

Re: Work on the Minimig core?

Postby vebxenon » Tue Sep 24, 2019 11:28 am



I've changed the core and kickstart doesn't boot anymore :shrug: :shrug: . I only get a blank screen. What kickstart are you using? I'm using Amiga 1200 Kickstart ROM v3.1 rev 40.68 512 KB and I have a 1.2 MiST using last firmware firmware_190820.upg.
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

slingshot
Atari God
Atari God
Posts: 1258
Joined: Mon Aug 06, 2018 3:05 pm

Re: Work on the Minimig core?

Postby slingshot » Tue Sep 24, 2019 1:07 pm



Was it compiled with Auto Fit? Would be better to move to Standard Fit (only black screen for me, too when using Auto Fit - and TimeQuest report is much more horrbile).

Milongero
Atariator
Atariator
Posts: 29
Joined: Sun Nov 25, 2018 2:24 pm
Location: Germany

Re: Work on the Minimig core?

Postby Milongero » Tue Sep 24, 2019 3:05 pm

Hello,

interesting problem.

I tested Lotus 2 and Lotus III on the new Amiga core and get a Guru meditation at Lotus 2 and the core hangs completely at Lotus IIII.
By the way, I have both - a MIST and a MISTer. And both (MIST & MISTer) have exactly the same problem.
The games ROMs work on the old MIST core from 2017.

Greetings Lutz

User avatar
retrofun
Atari freak
Atari freak
Posts: 50
Joined: Sat Jan 12, 2019 3:12 pm

Re: Work on the Minimig core?

Postby retrofun » Tue Sep 24, 2019 9:29 pm

slingshot wrote:Cool! Strange this CPU test doesn't even pass in WinUAE 68020 mode (or just used a wrong setup).
Maybe you can fix that pinball game, too?

cputest works fine for me on WinUAE.
I'm aware of the problem with Pinball Illusions but could not track down the problem yet... (also due to lack of time). Any hints, anyone?

vebxenon wrote:I've changed the core and kickstart doesn't boot anymore :shrug: :shrug: . I only get a blank screen. What kickstart are you using? I'm using Amiga 1200 Kickstart ROM v3.1 rev 40.68 512 KB and I have a 1.2 MiST using last firmware firmware_190820.upg.

No problem here with
* Kickstart 1.2: 33.180
* Kickstart 1.3: 34.5
* Kickstart 3.1: 40.63, 40.68

MiST 1.3+
Firmware 190820

slingshot wrote:Was it compiled with Auto Fit? Would be better to move to Standard Fit (only black screen for me, too when using Auto Fit - and TimeQuest report is much more horrbile).

I use the settings that come with the project (I just imported the project to Quartus II, 13.1.4 Build 182 BTW). Yes, Fitter effort setting is Auto Fit.

Changed to Standard Fit and synthesized again: minimig_mist_20190924.rbf

Thanks for the hint. I must admit that I'm a bit of newbie concerning FPGA core designs (again). I did FPGA stuff ~15 years ago (with Xilinx) and I'm (re-)learning a lot again... I understand how VHDL/Verilog works and can simulate designs with ModelSim, but getting the cores to work on the hardware and tweaking them is another story...

Milongero wrote:...
I tested Lotus 2 and Lotus III on the new Amiga core and get a Guru meditation at Lotus 2 and the core hangs completely at Lotus IIII.


MiST 1.3+
Firmware 190820
minimig core 20190922
68000/OCS/Kick 1.3/0.5 Chip/0.5 Fast
Lotus Turbo Challenge 2 (1991)(Gremlin)[cr CPY][t +4 Goonies]: works = I can start the race
Lotus III - The Ultimate Challenge (1992)(Gremlin)(Disk 1 of 2)[cr FLT - Crack Inc]: works = I can start the race

Milongero
Atariator
Atariator
Posts: 29
Joined: Sun Nov 25, 2018 2:24 pm
Location: Germany

Re: Work on the Minimig core?

Postby Milongero » Wed Sep 25, 2019 9:08 am

Hi
The only difference is i use 1mb chip ram and no fast ram

I have a sony pvm so i Run the Games in 15khz

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 841
Joined: Fri Apr 24, 2015 12:10 pm

Re: Work on the Minimig core?

Postby vebxenon » Wed Sep 25, 2019 10:24 am

I've tested minimig_mist_20190924.rbf. Same here in my 1.2 MiST. Blank screen :shrug: and no kickstart boot. I'm going back again to minimig_mist-20190418.rbf :shrug: :(
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

solskogen
Atari nerd
Atari nerd
Posts: 47
Joined: Sun Jul 27, 2008 4:03 pm

Re: Work on the Minimig core?

Postby solskogen » Wed Sep 25, 2019 1:08 pm

minimig_mist_20190924.rbf works for me!

User avatar
Higgy
Captain Atari
Captain Atari
Posts: 158
Joined: Tue Jan 24, 2017 1:38 pm

Re: Work on the Minimig core?

Postby Higgy » Wed Sep 25, 2019 7:37 pm

minimig_mist_20190924.rbf working on my v1.2 MiST (Kick 3.1 & using 15Khz RGB CRT)

I used exactly the same settings as the 1.2.3 Amiga Core from months back.

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 841
Joined: Fri Apr 24, 2015 12:10 pm

Re: Work on the Minimig core?

Postby vebxenon » Wed Sep 25, 2019 8:07 pm

Higgy wrote:minimig_mist_20190924.rbf working on my v1.2 MiST (Kick 3.1 & using 15Khz RGB CRT)

I used exactly the same settings as the 1.2.3 Amiga Core from months back.


I've only changed the core and Amiga OS / Kickstart doesn't boot... :shrug: :shrug:
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board


Return to “MiST”

Who is online

Users browsing this forum: No registered users and 5 guests