Minimig (Amiga) core discussion

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

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

onaryc29
Atari User
Atari User
Posts: 41
Joined: Mon Dec 10, 2018 9:47 am

Re: Minimig (Amiga) core discussion

Postby onaryc29 » Fri Sep 27, 2019 3:12 pm

I've tried to launch epic, a whload version, from the last SM pack, but an error (in the workbench) is raised shortly after the game is launched. Is someone else experiencing that?

User avatar
remowilliams
Captain Atari
Captain Atari
Posts: 245
Joined: Mon Apr 02, 2007 1:49 am

Re: Minimig (Amiga) core discussion

Postby remowilliams » Fri Sep 27, 2019 5:02 pm

onaryc29 wrote:I've tried to launch epic, a whload version, from the last SM pack, but an error (in the workbench) is raised shortly after the game is launched. Is someone else experiencing that?


Yes it crashes with a Line 1111 error, which should not be happening. This works correctly on a real Amiga.

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

Re: Minimig (Amiga) core discussion

Postby retrofun » Fri Sep 27, 2019 7:15 pm

@onaryc29:
Thanks for reporting!
:cheers:

Can confirm Epic/WhdLoad 18.5 also crashes on MiST with the Line 1111 error. With my fix of the RTR instruction it works!!! Yay!

@Sorgelig:
Please cherry-pick my RTR instruction fix for MiSTer so people can test and confirm it works. Thanks!

optiroc
Retro freak
Retro freak
Posts: 15
Joined: Fri Nov 23, 2018 9:19 am

Re: Minimig (Amiga) core discussion

Postby optiroc » Fri Sep 27, 2019 7:16 pm

Here's a few more WHDLoad slaves that throw exceptions/traps like that, which I guess are caused by missing 68020 features.

Code: Select all

Blasteroids
Cool World
Deflektor
Dragon's Lair
Dungeon Master 2
Encounter
Epic
F-16 Combat Pilot
F/A-18 Interceptor
Fire & Ice
Gods
Gravity
Hyperion
Jinxter
Mad Show
Paradise Lost
Paradroid 90
Pinball Illusions
Rainbow Islands
Realms
Road Wars
Simulcra
Sliders
Super Monaco GP
Super Off Road
Twylyte
Wanderer 3D
Wheels On Fire
XP8

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5221
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Minimig (Amiga) core discussion

Postby Sorgelig » Fri Sep 27, 2019 8:10 pm

retrofun wrote:@Sorgelig:
Please cherry-pick my RTR instruction fix for MiSTer so people can test and confirm it works. Thanks!

actually it's already on my repo. I just didn't build. I've thought you would add more fixes, so decided to wait first :)

onaryc29
Atari User
Atari User
Posts: 41
Joined: Mon Dec 10, 2018 9:47 am

Re: Minimig (Amiga) core discussion

Postby onaryc29 » Fri Sep 27, 2019 8:49 pm

waoo that's what i call efficiency! Thanks for the fix.

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

Re: Minimig (Amiga) core discussion

Postby retrofun » Fri Sep 27, 2019 9:35 pm

optiroc wrote:Here's a few more WHDLoad slaves that throw exceptions/traps like that, which I guess are caused by missing 68020 features.

Thanks. Good news: these WHDLoad games now work with the RTR instruction fix:

Code: Select all

Blasteroids
Deflektor
Epic
F-16 Combat Pilot
Gods
Road Wars


Sorgelig wrote:
retrofun wrote:@Sorgelig:
Please cherry-pick my RTR instruction fix for MiSTer so people can test and confirm it works. Thanks!

actually it's already on my repo. I just didn't build. I've thought you would add more fixes, so decided to wait first :)

Ok, let's see if I can fix some more instructions :)

User avatar
remowilliams
Captain Atari
Captain Atari
Posts: 245
Joined: Mon Apr 02, 2007 1:49 am

Re: Minimig (Amiga) core discussion

Postby remowilliams » Fri Sep 27, 2019 11:04 pm

retrofun wrote:Ok, let's see if I can fix some more instructions :)


Nice, go to it! Tried Epic and Blasteroids with the updated code and they seem to be working :)

Other outside fixes 'coming soon' are seemingly waiting forever...

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

Re: Minimig (Amiga) core discussion

Postby DrOG » Sat Sep 28, 2019 2:49 am

Hi!

There's a freeware 4-player Wizard of Wor clone for Amiga, which runs well on a stock A1200, but not on the MiST (although didn't try the latest built of core).

Perhaps this game is interesting for testing purposes, downloadable in multiple formats (lha, adf) from the author's site:
http://www.lazycow.de/monsters/

drj3rk
Atariator
Atariator
Posts: 26
Joined: Tue May 14, 2019 10:12 pm

Re: Minimig (Amiga) core discussion

Postby drj3rk » Sat Sep 28, 2019 6:18 am

DrOG wrote:Hi!

There's a freeware 4-player Wizard of Wor clone for Amiga, which runs well on a stock A1200, but not on the MiST (although didn't try the latest built of core).

Perhaps this game is interesting for testing purposes, downloadable in multiple formats (lha, adf) from the author's site:
http://www.lazycow.de/monsters/


Wow!! Never saw this before. I don’t have anything to contribute other than saying that the concept of QuadWizWar is amazing. I’d love to see it!

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5221
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Minimig (Amiga) core discussion

Postby Sorgelig » Sat Sep 28, 2019 9:26 am

If i remember right, someone told that Pinball Illusions needs either cmp2 or cas2 instruction.

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

Re: Minimig (Amiga) core discussion

Postby DrOG » Sat Sep 28, 2019 4:16 pm

drj3rk wrote:
DrOG wrote:Hi!
There's a freeware 4-player Wizard of Wor clone for Amiga, which runs well on a stock A1200, but not on the MiST (although didn't try the latest built of core).
Perhaps this game is interesting for testing purposes, downloadable in multiple formats (lha, adf) from the author's site:
http://www.lazycow.de/monsters/

Wow!! Never saw this before. I don’t have anything to contribute other than saying that the concept of QuadWizWar is amazing. I’d love to see it!

We regularly play it on real HW using 4-player adapter with my friends. Another favourite party games are Bomberman/Dyna Blaster and MineRunner (4-player Lode Runner clone from LazyCow again):
http://www.lazycow.de/minerunner/

z00pster
Atariator
Atariator
Posts: 18
Joined: Sat Apr 06, 2019 10:23 pm

Re: Minimig (Amiga) core discussion

Postby z00pster » Sat Sep 28, 2019 5:01 pm

Should 256M memory mode work on a MiSTer with 64MB? I've got 8MB FAST working but not anything higher.

Thanks
John

R4MS
Atari maniac
Atari maniac
Posts: 78
Joined: Sun Jan 13, 2019 6:54 pm

Re: Minimig (Amiga) core discussion

Postby R4MS » Sat Sep 28, 2019 6:12 pm

z00pster wrote:Should 256M memory mode work on a MiSTer with 64MB? I've got 8MB FAST working but not anything higher.


256M is independent of external RAM module. But you have to select the 68020 to be able to access the memory, since it is above the 24 bit address range of the 68000.

z00pster
Atariator
Atariator
Posts: 18
Joined: Sat Apr 06, 2019 10:23 pm

Re: Minimig (Amiga) core discussion

Postby z00pster » Sat Sep 28, 2019 6:26 pm

R4MS wrote:
z00pster wrote:Should 256M memory mode work on a MiSTer with 64MB? I've got 8MB FAST working but not anything higher.


256M is independent of external RAM module. But you have to select the 68020 to be able to access the memory, since it is above the 24 bit address range of the 68000.


I'm using 608020. It boots fine with 8MB set but not 256M.

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

Re: Minimig (Amiga) core discussion

Postby retrofun » Sat Sep 28, 2019 7:59 pm


apolkosnik
Atari freak
Atari freak
Posts: 57
Joined: Sat May 18, 2019 3:20 pm

Re: Minimig (Amiga) core discussion

Postby apolkosnik » Sat Sep 28, 2019 9:47 pm

Oh cool, it also fixes ABCD.B (at least partially). Looking further, it looks like the same kind of fix will work for PACK and UNPK,

retrofun wrote:TG68K: fix ADDX.B, SUBX.B instructions
https://github.com/retrofun/minimig-mis ... 08bb065c06

TG68K: fix CMPM.B instruction
https://github.com/retrofun/minimig-mis ... d5ba0ad8ec

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

Re: Minimig (Amiga) core discussion

Postby retrofun » Sun Sep 29, 2019 9:19 am

apolkosnik wrote:Oh cool, it also fixes ABCD.B (at least partially).

Yep. This fixes the pre-decrement size with the stack pointer register. ABCD.B needs additional fixing.
Looking further, it looks like the same kind of fix will work for PACK and UNPK,


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

Same here as above. Fixes UNPK, but PACK needs additional fixing.

apolkosnik
Atari freak
Atari freak
Posts: 57
Joined: Sat May 18, 2019 3:20 pm

Re: Minimig (Amiga) core discussion

Postby apolkosnik » Sun Sep 29, 2019 5:50 pm

Yup, that looks good.
I was playing with the ALU for the *bcd instructions, and it looks like that appears to be slightly broken, some results are off by 0x10 in the wrong direction. Another issue pops up with undefined flags, but clearing them like shown below, seems to have helped.
elsif exec(opcSBCD) = '1' then
set_flags(2 downto 1) <= "00";
set_flags(0) <= bcd_s(8);

I've transplanted sbcd from fx68k30L ALU just for giggles, but that didn't work out that great either.

retrofun wrote:
apolkosnik wrote:Oh cool, it also fixes ABCD.B (at least partially).

Yep. This fixes the pre-decrement size with the stack pointer register. ABCD.B needs additional fixing.
Looking further, it looks like the same kind of fix will work for PACK and UNPK,


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

Same here as above. Fixes UNPK, but PACK needs additional fixing.

witchmaster
Atari maniac
Atari maniac
Posts: 99
Joined: Wed Jun 15, 2011 10:50 am

Re: Minimig (Amiga) core discussion

Postby witchmaster » Mon Sep 30, 2019 5:45 pm

z00pster wrote:Should 256M memory mode work on a MiSTer with 64MB? I've got 8MB FAST working but not anything higher.

Thanks
John

Same problem for me, only black screen if I select anything above 8MB FAST.

ziosante
Atarian
Atarian
Posts: 1
Joined: Thu Sep 12, 2019 6:29 pm

Re: Minimig (Amiga) core discussion

Postby ziosante » Tue Oct 01, 2019 7:22 am

Hi everybody,
I'm new here.
I see active development on minimig core and this is very good thing.
I'm tempted to buy a terasic de10-nano and relative expansions to build a MiSTer. Since I no more own an Amiga this could be a good mode to revive good old times and help testing new cores.

optiroc
Retro freak
Retro freak
Posts: 15
Joined: Fri Nov 23, 2018 9:19 am

Re: Minimig (Amiga) core discussion

Postby optiroc » Tue Oct 01, 2019 8:18 am

Really great to see this trickle of new instructions implemented, retrofun! :thumbs:

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

Re: Minimig (Amiga) core discussion

Postby retrofun » Wed Oct 02, 2019 8:10 pm

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

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5221
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Minimig (Amiga) core discussion

Postby Sorgelig » Thu Oct 03, 2019 4:36 pm

New test version with all recent instructions fixes:
Minimig.zip
You do not have the required permissions to view the files attached to this post.

apolkosnik
Atari freak
Atari freak
Posts: 57
Joined: Sat May 18, 2019 3:20 pm

Re: Minimig (Amiga) core discussion

Postby apolkosnik » Thu Oct 03, 2019 9:12 pm

exe_opcode is missing in process() args, I guess it will break PACK/UNPACK

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


Return to “MiSTer”

Who is online

Users browsing this forum: No registered users and 7 guests