Work on the Minimig core?

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

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

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

Re: Work on the Minimig core?

Postby vebxenon » Sun Sep 29, 2019 6:05 pm

Higgy wrote:So can you boot an .adf and that works?


No, It doesn't work.
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: 1259
Joined: Mon Aug 06, 2018 3:05 pm

Re: Work on the Minimig core?

Postby slingshot » Sun Sep 29, 2019 7:40 pm

retrofun wrote:TG68K: fix PACK/UNPK pre-decrement for sp register
https://github.com/retrofun/minimig-mis ... 6b4e1453b0

Fixes UNPK, PACK needs additional fixing.

As I see, ABCD.B, NBCD.B also have some issues, maybe a general BCD bug.

Chris23235
Atari freak
Atari freak
Posts: 62
Joined: Thu Aug 07, 2014 6:52 pm

Re: Work on the Minimig core?

Postby Chris23235 » Sun Sep 29, 2019 10:43 pm

vebxenon wrote:Still with the same problem: core starts, but no kickstart screen. Just a blank screen, so no game, hardisk, anything can be booted :shrug:

Using the same settings I had before, I've tested four 3.1 roms, no one starts. My Mist.ini is:

[mist]
scandoubler_disable=0 ; set to 1 to run supported cores in 15khz
mouse_boot_mode=0 ; set to 1 if a mouse does not work well
joystick_disable_shortcuts=0 ; set to 1 to remove joystick -> keyboard commands
joystick_ignore_hat=0 ; set to 1 if having issues on gamepads with 'POV hat'
joystick_ignore_osd=0 ; set to 1 to prevent gamepad from controlling OSD
; joystick_remap=0583,2060,1,2,4,8,10,20,20,8,1400,2800,40,80
joystick_remap=0810,E501,1,2,4,8,200,20,10,100,400,40,0,0,0,80
joy_key_map=1000,E2
joy_key_map=2000,E6
joy_key_map=4,51
joy_key_map=8,52


I have a 1.2 MiST, bought in 2015, using last firmware, firmware_190820. Same card, same settings, with same kickstart and minimig_mist-20190418.rbf boots without any problem. What a mistery :( :shrug:


Unfortunately I can only confirm, that your kick.rom and your Mist.ini run fine on my 1.3 MiST. Did you delete all minimig.cfg from your SD card? What happens, when you change from the 68020 AGA setup to an 68000 ECS setup with a Kickstart 1.3 rom?

Chris23235
Atari freak
Atari freak
Posts: 62
Joined: Thu Aug 07, 2014 6:52 pm

Re: Work on the Minimig core?

Postby Chris23235 » Sun Sep 29, 2019 10:58 pm

It would be great, if the HDF files could be inside folders instead of the root level. I have about 450 games in HDF format, putting all of them on the root level doesn't work, the core doesn't see all the files. Putting them in folders named a to z would help.

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

Re: Work on the Minimig core?

Postby vebxenon » Mon Sep 30, 2019 7:11 am

Chris23235 wrote:Unfortunately I can only confirm, that your kick.rom and your Mist.ini run fine on my 1.3 MiST. Did you delete all minimig.cfg from your SD card? What happens, when you change from the 68020 AGA setup to an 68000 ECS setup with a Kickstart 1.3 rom?


Nothing happens on every config using 3.1 kickstart :( , yellow light flashes and no Kickstart boots. It only happens with last test binaries using every config possible and three different SD cards. Every prior stable core works.
Last edited by vebxenon on Mon Sep 30, 2019 10:28 am, edited 4 times in total.
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: 842
Joined: Fri Apr 24, 2015 12:10 pm

Re: Work on the Minimig core?

Postby vebxenon » Mon Sep 30, 2019 7:12 am

Chris23235 wrote:It would be great, if the HDF files could be inside folders instead of the root level. I have about 450 games in HDF format, putting all of them on the root level doesn't work, the core doesn't see all the files. Putting them in folders named a to z would help.


Why a HDF for every game?. I have more than 600 games in a single HDF image.
Just a computer and videogame lover :)

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

Chris23235
Atari freak
Atari freak
Posts: 62
Joined: Thu Aug 07, 2014 6:52 pm

Re: Work on the Minimig core?

Postby Chris23235 » Mon Sep 30, 2019 10:01 am

vebxenon wrote:
Chris23235 wrote:It would be great, if the HDF files could be inside folders instead of the root level. I have about 450 games in HDF format, putting all of them on the root level doesn't work, the core doesn't see all the files. Putting them in folders named a to z would help.


Why a HDF for every game?. I have more than 600 games in a single HDF image.


Typo I meant 4500 games not 450, these games take up 21 GB and as far as I know it is not possible to create such big HDF images for the Amiga.

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

Re: Work on the Minimig core?

Postby kolla » Mon Sep 30, 2019 11:53 am

Chris23235 wrote:Typo I meant 4500 games not 450, these games take up 21 GB and as far as I know it is not possible to create such big HDF images for the Amiga.


The limitation is in FAT32 on the MiST I suspect, max 2GB file size etc.
However, one can mount the SD card directory with FAT95 and run WHDLoad games straight from there... that is what I do.
-- kolla

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

Re: Work on the Minimig core?

Postby vebxenon » Mon Sep 30, 2019 2:58 pm

Chris23235 wrote:
Typo I meant 4500 games not 450, these games take up 21 GB and as far as I know it is not possible to create such big HDF images for the Amiga.


Ok :wink:
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: 842
Joined: Fri Apr 24, 2015 12:10 pm

Re: Work on the Minimig core?

Postby vebxenon » Mon Sep 30, 2019 4:39 pm

Well finally, after doing some changes, SD formats, etc... now NEW Amiga core runs on my MiST with Kickstart 3.1 :D :cheers: :cheers: . I'm very happy with it. Only Pinball Illusions and Rygar don't run from the games I have. Every other game I've tested runs well. That's so great! :cheers:

Sorry for having done so many questions, and keep the good work!

Thanks very much!
Just a computer and videogame lover :)

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

User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 660
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: Work on the Minimig core?

Postby DrOG » Tue Oct 01, 2019 3:36 am

vebxenon wrote:Well finally, after doing some changes, SD formats, etc... now NEW Amiga core runs on my MiST with Kickstart 3.1 :D :cheers: :cheers: . I'm very happy with it. Only Pinball Illusions and Rygar don't run from the games I have. Every other game I've tested runs well. That's so great! :cheers:
Sorry for having done so many questions, and keep the good work!
Thanks very much!

Hi! Is the newest core the one released on 2019/09/28?
Did you try 'Monsters of Terror': http://www.lazycow.de/monsters/
It runs well on stock A1200, but when I last time tried it on MiST it didn't work (cannot try myself as I have no access to my MiST just now).

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

Re: Work on the Minimig core?

Postby vebxenon » Tue Oct 01, 2019 7:17 am

DrOG wrote:Hi! Is the newest core the one released on 2019/09/28?
Did you try 'Monsters of Terror': http://www.lazycow.de/monsters/
It runs well on stock A1200, but when I last time tried it on MiST it didn't work (cannot try myself as I have no access to my MiST just now).


Oh, let me try. Powerglove Reloaded from the same developers runs well :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: 842
Joined: Fri Apr 24, 2015 12:10 pm

Re: Work on the Minimig core?

Postby vebxenon » Tue Oct 01, 2019 7:38 am

Well, this game gives a 8000 000B error. It happened to me when my A1200 hadn't a FPU. Is a FPU related error.

Here I am 11 years ago talking about this in EAB: http://eab.abime.net/showthread.php?t=36158

when a program tries to execute a FPU instruction on a processor without a FPU, or there is a problem with the 68040/060 library.
8000000B Line F emulation error
Just a computer and videogame lover :)

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

User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 660
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: Work on the Minimig core?

Postby DrOG » Tue Oct 01, 2019 2:17 pm

My real A1200 does not have an FPU, it has an internal CF card installed with ClassicWB, and a switchable 4/8MB Fast RAM expander. The game runs on it flawlessly.

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

Re: Work on the Minimig core?

Postby vebxenon » Tue Oct 01, 2019 3:55 pm

DrOG wrote:My real A1200 does not have an FPU, it has an internal CF card installed with ClassicWB, and a switchable 4/8MB Fast RAM expander. The game runs on it flawlessly.


So hope our FPGA and hardware experts will find the problem...
Just a computer and videogame lover :)

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

Lroby74
Captain Atari
Captain Atari
Posts: 156
Joined: Sun Sep 04, 2016 8:35 pm

Re: Work on the Minimig core?

Postby Lroby74 » Tue Oct 01, 2019 6:25 pm

kolla wrote:The limitation is in FAT32 on the MiST I suspect, max 2GB file size etc.
However, one can mount the SD card directory with FAT95 and run WHDLoad games straight from there... that is what I do.

4gb or better exactly 4095MB is FAT32 max file size..

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 » Wed Oct 02, 2019 8:09 pm

TG68K: fix ABCD.B, NBCD.B, SBCD.B instructions
https://github.com/retrofun/minimig-mis ... e671f3d064

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 » Wed Oct 02, 2019 8:54 pm

DrOG wrote:Hi! Is the newest core the one released on 2019/09/28?
Did you try 'Monsters of Terror': http://www.lazycow.de/monsters/
It runs well on stock A1200, but when I last time tried it on MiST it didn't work (cannot try myself as I have no access to my MiST just now).

This is caused by a TRAPF instruction in the MonstersOfTerror binary. The TRAPcc instructions are not implemented in the TG68K core.

Code: Select all

00C215B8  51FC       trapf
00C215BA  4EBAFFB4   jsr  $00c21570(pc)
00C215BE  4EBAFFB4   jsr  $00c21574(pc)

After the unknown trapf instruction PC points to $00C215BC with a FFB4 line_f $0fb4 instruction and that's why we see a 8000000B Line F emulation error.

As a workaround you could replace 51FC trapf with 4E71 nop using a hex editor and the game will work on MiST. ;)

User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 660
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: Work on the Minimig core?

Postby DrOG » Thu Oct 03, 2019 3:09 am

Thank you!!!

hyperterminal
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 146
Joined: Sun Jul 09, 2017 1:43 pm

Re: Work on the Minimig core?

Postby hyperterminal » Thu Oct 03, 2019 5:26 am

retrofun wrote:As a workaround you could replace 51FC trapf with 4E71 nop using a hex editor and the game will work on MiST. ;)

Do you know what is preventing Ninja Warriors to work?

EDIT: Just checked the game in a hex editor. There are also some 51FC trapf instructions. Might try to replace them.
Last edited by hyperterminal on Thu Oct 03, 2019 5:31 am, edited 3 times in total.

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

Re: Work on the Minimig core?

Postby slingshot » Thu Oct 03, 2019 8:44 am

retrofun wrote:TG68K: fix ABCD.B, NBCD.B, SBCD.B instructions
https://github.com/retrofun/minimig-mis ... e671f3d064

Wow! Now only PACK is bugging in the BCD-army. I wonder if you can also fix BFxxx and RTE ;)

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 » Thu Oct 03, 2019 8:46 am

hyperterminal wrote:Do you know what is preventing Ninja Warriors to work?

Works for me. Both the disk and the WHDLoad version. Tried with minimig cores before my fixes and the game loads and starts. Or does it crash later? The disk version needs a 68000 (& OCS/ECS chipset).

EDIT: Just checked the game in a hex editor. There are also some 51FC trapf instructions. Might try to replace them.

Most likely not the TRAPcc instructions (68020+) as the game is from 1989...

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

Re: Work on the Minimig core?

Postby slingshot » Sun Oct 06, 2019 2:53 pm

Seems quite a lot of improvement landed in TG68K, put them all to mist-devel:
https://github.com/mist-devel/minimig-m ... its/master
And a new binary:
https://github.com/mist-devel/mist-bina ... 191005.rbf

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

Re: Work on the Minimig core?

Postby vebxenon » Sun Oct 06, 2019 5:00 pm

slingshot wrote:Seems quite a lot of improvement landed in TG68K, put them all to mist-devel:
https://github.com/mist-devel/minimig-m ... its/master
And a new binary:
https://github.com/mist-devel/mist-bina ... 191005.rbf


Thanks very much! :cheers:
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: 261
Joined: Thu Sep 17, 2015 11:39 pm
Contact:

Re: Work on the Minimig core?

Postby kolla » Sun Oct 06, 2019 8:59 pm

@retrofan and @slingshot

I hope this one didn't fly under the radar? :)

viewtopic.php?f=117&t=32761&start=925#p383381
-- kolla


Return to “MiST”

Who is online

Users browsing this forum: No registered users and 3 guests