Minimig (Amiga) core discussion

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

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

Locked
onaryc29
Atari freak
Atari freak
Posts: 61
Joined: Mon Dec 10, 2018 9:47 am

Re: Minimig (Amiga) core discussion

Post by onaryc29 »

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: 253
Joined: Mon Apr 02, 2007 1:49 am

Re: Minimig (Amiga) core discussion

Post by remowilliams »

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
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 120
Joined: Sat Jan 12, 2019 3:12 pm

Re: Minimig (Amiga) core discussion

Post by retrofun »

@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
Atariator
Atariator
Posts: 19
Joined: Fri Nov 23, 2018 9:19 am

Re: Minimig (Amiga) core discussion

Post by optiroc »

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

Re: Minimig (Amiga) core discussion

Post by Sorgelig »

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 freak
Atari freak
Posts: 61
Joined: Mon Dec 10, 2018 9:47 am

Re: Minimig (Amiga) core discussion

Post by onaryc29 »

waoo that's what i call efficiency! Thanks for the fix.
User avatar
retrofun
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 120
Joined: Sat Jan 12, 2019 3:12 pm

Re: Minimig (Amiga) core discussion

Post by retrofun »

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: 253
Joined: Mon Apr 02, 2007 1:49 am

Re: Minimig (Amiga) core discussion

Post by remowilliams »

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: 734
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: Minimig (Amiga) core discussion

Post by DrOG »

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
Atari freak
Atari freak
Posts: 62
Joined: Tue May 14, 2019 10:12 pm

Re: Minimig (Amiga) core discussion

Post by drj3rk »

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

Re: Minimig (Amiga) core discussion

Post by Sorgelig »

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: 734
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: Minimig (Amiga) core discussion

Post by DrOG »

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: 20
Joined: Sat Apr 06, 2019 10:23 pm

Re: Minimig (Amiga) core discussion

Post by z00pster »

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: 83
Joined: Sun Jan 13, 2019 6:54 pm

Re: Minimig (Amiga) core discussion

Post by R4MS »

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: 20
Joined: Sat Apr 06, 2019 10:23 pm

Re: Minimig (Amiga) core discussion

Post by z00pster »

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
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 120
Joined: Sat Jan 12, 2019 3:12 pm

Re: Minimig (Amiga) core discussion

Post by retrofun »

apolkosnik
Atari maniac
Atari maniac
Posts: 90
Joined: Sat May 18, 2019 3:20 pm

Re: Minimig (Amiga) core discussion

Post by apolkosnik »

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
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 120
Joined: Sat Jan 12, 2019 3:12 pm

Re: Minimig (Amiga) core discussion

Post by retrofun »

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 maniac
Atari maniac
Posts: 90
Joined: Sat May 18, 2019 3:20 pm

Re: Minimig (Amiga) core discussion

Post by apolkosnik »

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.
User avatar
witchmaster
Captain Atari
Captain Atari
Posts: 150
Joined: Wed Jun 15, 2011 10:50 am

Re: Minimig (Amiga) core discussion

Post by witchmaster »

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

Post by ziosante »

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
Atariator
Atariator
Posts: 19
Joined: Fri Nov 23, 2018 9:19 am

Re: Minimig (Amiga) core discussion

Post by optiroc »

Really great to see this trickle of new instructions implemented, retrofun! :thumbs:
User avatar
retrofun
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 120
Joined: Sat Jan 12, 2019 3:12 pm

Re: Minimig (Amiga) core discussion

Post by retrofun »

TG68K: fix ABCD.B, NBCD.B, SBCD.B instructions
https://github.com/retrofun/minimig-mis ... e671f3d064
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Minimig (Amiga) core discussion

Post by Sorgelig »

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 maniac
Atari maniac
Posts: 90
Joined: Sat May 18, 2019 3:20 pm

Re: Minimig (Amiga) core discussion

Post by apolkosnik »

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
Locked

Return to “MiSTer”