Work on the Minimig core?
Moderators: Mug UK, Zorro 2, spiny, Greenious, Moderator Team
Re: Work on the Minimig core?
I will try and send Toni a PM later to ask your question.
Cheers
Cheers
Re: Work on the Minimig core?
@slingshot - I had a reply, I hope it helps:Higgy wrote:I will try and send Toni a PM later to ask your question.
Cheers
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..)
Re: Work on the Minimig core?
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?
Re: Work on the Minimig core?
@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)
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)
Re: Work on the Minimig core?
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.
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.
Re: Work on the Minimig core?
No issues with this firmware, as far as I can seeretrofun 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
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)minimig-mist:
- Disable joystick1/mouse when OSD is active
- Code cleanup with changes from Minimig-AGA_MiSTer
-- kolla
Re: Work on the Minimig core?
Have you found what's failing?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)
Just a computer and videogame lover
- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
Re: Work on the Minimig core?
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.vebxenon wrote:kolla wrote: Have you found what's failing?
-- kolla
Re: Work on the Minimig core?
Don't worrykolla wrote: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.vebxenon wrote:kolla wrote: 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

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
Re: Work on the Minimig core?
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?
Re: Work on the Minimig core?
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!
Re: Work on the Minimig core?
Added the RTD instruction to TG68K:retrofun wrote:Debugged this. It's the RTD instruction in mmu.library that tg68k doesn't support.slingshot wrote:And this bug report:
https://github.com/mist-devel/mist-board/issues/109
MOVEC maybe?
...
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)
Re: Work on the Minimig core?
Is there already a binary (rbf) available?
Re: Work on the Minimig core?
Cool! Strange this CPU test doesn't even pass in WinUAE 68020 mode (or just used a wrong setup).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)
Maybe you can fix that pinball game, too?
Re: Work on the Minimig core?
Wow! Thanks!


Just a computer and videogame lover
- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
Re: Work on the Minimig core?
I've changed the core and kickstart doesn't boot anymore


Just a computer and videogame lover
- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
Re: Work on the Minimig core?
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).
Re: Work on the Minimig core?
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
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
Re: Work on the Minimig core?
cputest works fine for me on WinUAE.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?
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?
No problem here withvebxenon wrote:I've changed the core and kickstart doesn't boot anymore![]()
. 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.
* Kickstart 1.2: 33.180
* Kickstart 1.3: 34.5
* Kickstart 3.1: 40.63, 40.68
MiST 1.3+
Firmware 190820
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.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).
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...
MiST 1.3+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.
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
Re: Work on the Minimig core?
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
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
Re: Work on the Minimig core?
I've tested minimig_mist_20190924.rbf. Same here in my 1.2 MiST. Blank screen
and no kickstart boot. I'm going back again to minimig_mist-20190418.rbf




Just a computer and videogame lover
- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
Re: Work on the Minimig core?
minimig_mist_20190924.rbf works for me!
Re: Work on the Minimig core?
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 used exactly the same settings as the 1.2.3 Amiga Core from months back.
Re: Work on the Minimig core?
I've only changed the core and Amiga OS / Kickstart doesn't boot...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.


Just a computer and videogame lover
- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

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