Faster CPU for Minimig core?

kolla
Posts: 188
Joined: Sat Jun 13, 2020 7:56 am
Has thanked: 17 times
Been thanked: 33 times

Re: Faster CPU for Minimig core?

Unread post by kolla »

Bas wrote: Thu Mar 04, 2021 5:04 pm That's quite a bold statement: the only useful hardware config.
The only useful hardware config *missing*! Just about all configs there are working and useful solutions for, but fast CPU with fast, latency free, CPU independent native chipset... that is missing.
robinsonb5
Posts: 129
Joined: Fri Jun 19, 2020 8:54 pm
Has thanked: 13 times
Been thanked: 57 times

Re: Faster CPU for Minimig core?

Unread post by robinsonb5 »

LamerDeluxe wrote: Fri Mar 05, 2021 8:00 pm I didn't know the Craftgold games had problems before. I recently played Fire&Ice again and love Paradroid '90.
It was a TG68 bug (stack frame related, I believe) which only happened with the TG68 in '020 mode. Slingshot fixed it on MiST some months back and it filtered through to MiSTer shortly afterwards.
Bas
Top Contributor
Posts: 547
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 70 times
Been thanked: 251 times

Re: Faster CPU for Minimig core?

Unread post by Bas »

So nobody here misses a CPU with MMU capabilities? That's at least my main takeaway from this thread so far.
ByteMavericks
Posts: 53
Joined: Tue Oct 27, 2020 4:52 pm
Has thanked: 69 times
Been thanked: 11 times

Re: Faster CPU for Minimig core?

Unread post by ByteMavericks »

The only thing I really used the MMU for was for Enforcer.

A faster CPU in the core would be awesome, however I'm not aware of other 68k implementations in FPGA that could give a better result - apart from the vampire 68080, and that's not likely to be coming any time soon I guess!

Of course, I could just be parading my ignorance around implementations there ;-)
kolla
Posts: 188
Joined: Sat Jun 13, 2020 7:56 am
Has thanked: 17 times
Been thanked: 33 times

Re: Faster CPU for Minimig core?

Unread post by kolla »

Bas wrote: Fri Mar 05, 2021 9:42 pm So nobody here misses a CPU with MMU capabilities? That's at least my main takeaway from this thread so far.
I don’t miss it because I have that with software CPU emulation, I don’t see much point in implementing it on FPGA. The memory of the MiSTer is already quite different than old “classic” fast page RAM, so it is doubtful you can even do in a backward compatible way. And in any case, the simplified 040 MMU would be preferred over the apparently overcomplicated 68851/68030 MMU, so no AMIX...

There was long discussions on this topic on Apollo Core many years ago, nothing has changed since and MiSTer isn’t much different in this regard. If anyone think they know better and wish to prove naysayers wrong, then please do :)
Fularu
Posts: 29
Joined: Sat Jun 13, 2020 3:25 am

Re: Faster CPU for Minimig core?

Unread post by Fularu »

Tbh having a 68040/60 option would be great as a dev environment for me. Having a super small sized ASM dev setup to dabble into Amiga coding without having to break the bank on a warp card (and equally capable 68060) would do wonders to the current Amiga demoscene.

And no, a WinUAE dev setup really isn't optimal for that. It's fine for the basics but not for any kind of serious scene work imho

Also I would love if we could get a 68030/40 core to open up Falcon core development
lordoftime79
Posts: 97
Joined: Sun Feb 14, 2021 6:29 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Faster CPU for Minimig core?

Unread post by lordoftime79 »

I agree I really do think the Mister core has potential for so much more than just playing the old Amiga games - lets use it!
Michael1260
Posts: 36
Joined: Wed Sep 16, 2020 11:42 am
Been thanked: 10 times

Re: Faster CPU for Minimig core?

Unread post by Michael1260 »

Fularu wrote: Sat Mar 06, 2021 1:39 am Tbh having a 68040/60 option would be great as a dev environment for me. Having a super small sized ASM dev setup to dabble into Amiga coding without having to break the bank on a warp card (and equally capable 68060) would do wonders to the current Amiga demoscene.

And no, a WinUAE dev setup really isn't optimal for that. It's fine for the basics but not for any kind of serious scene work imho

Also I would love if we could get a 68030/40 core to open up Falcon core development
Yep !!!
guddler
Posts: 56
Joined: Sun Aug 09, 2020 8:37 pm
Has thanked: 3 times
Been thanked: 5 times

Re: Faster CPU for Minimig core?

Unread post by guddler »

Just a quick question that's kind of related, although not directly to speed...

One of the main things that I use an Amiga for is watching demo's. Love 'em. Now I know they are a problematic use case because so many do timing related things and so on. I see a lot of AGA demos with issues that don't have issues on other systems (Vampire, my 060 GBA1K, etc) and after following the discussion here, I'm wondering if using 68000 instead of 68020 would maybe help? Can you even use 68000 with AGA? Didn't the A1200 have 02/AGA ? I'll go and try that idea out and see what happens!

Also, I'd like to see an FPU for demos. I can always manage to find the few that want an FPU and refuse to run :D

Oh, PS: On the topic of Vampires. With the addition of RTG, I think MiSTer is getting near as good as Vampire. It already does RTG better. I had one for 5 months last year and sold it again. Primarily because it just couldn't deliver what it was sold as delivering which was 1920x1080@60Hz. I still keep an eye on them with a view to buying back in again one day and as far as I know it still can't achieve the advertised resolution(s). Clearly this is personal, and not everyone's use case, but for me the RTG is primarily for Workbench and a few SDL ported games and the rest is down to PAL. MiSTer is pretty well getting there for me in that regard now.
guddler
Posts: 56
Joined: Sun Aug 09, 2020 8:37 pm
Has thanked: 3 times
Been thanked: 5 times

Re: Faster CPU for Minimig core?

Unread post by guddler »

OK, so of course, you can't have AGA on 68000 since the A1200 was an 020 machine and that's what the A1200 ROM is expecting. At least that's why I assume that it won't boot for me if I try that.

What's really bugging me now is that once today, just once, I had a demo run perfectly on me that I haven't been able to get to run OK before or since. Mesmerized by PMC. (warning: the tune is an ear worm!) Try as I might I can't workout which combination of settings, ROM and OS it worked with. Probably not helped by the fact that it may not have been from a cold boot.

Anyway, that's got nothing to do with this thread!
rhester72
Top Contributor
Posts: 1118
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 13 times
Been thanked: 171 times

Re: Faster CPU for Minimig core?

Unread post by rhester72 »

AGA is absolutely compatible with the 68000, despite never having been shipped in that configuration.
guddler
Posts: 56
Joined: Sun Aug 09, 2020 8:37 pm
Has thanked: 3 times
Been thanked: 5 times

Re: Faster CPU for Minimig core?

Unread post by guddler »

Must have been something else with my config stopping it from booting then which wouldn't surprise me at all. It looks a lot like my HDF is just a clone of my 060 machine that I've tweaked a bit but I can't really remember what I did to build it.

My problem is solved now anyway. I feel rather dumb admitting this, but I almost always set "Video area by : Blank+" in the OSD options. Simply because it tends to fit my screen better. Of course, I guess it also changes /VBLANK - because that was the setting preventing a lot of my demos from working properly. Setting it back to "Blank" and now the ones that weren't working before miraculously are. Where's that facepalm when you need it !!

So basically, ignore me. This is pretty sweet now. FPU would be sweeter, but other than that...
kolla
Posts: 188
Joined: Sat Jun 13, 2020 7:56 am
Has thanked: 17 times
Been thanked: 33 times

Re: Faster CPU for Minimig core?

Unread post by kolla »

FEMU works, but is super slow (using the math libraries). What potentially could be done, is to use FEMU as a starting point for FPU emulation on the ARM processor.
robinsonb5
Posts: 129
Joined: Fri Jun 19, 2020 8:54 pm
Has thanked: 13 times
Been thanked: 57 times

Re: Faster CPU for Minimig core?

Unread post by robinsonb5 »

kolla wrote: Tue Mar 09, 2021 10:49 am FEMU works, but is super slow (using the math libraries). What potentially could be done, is to use FEMU as a starting point for FPU emulation on the ARM processor.
It would also be possible to implement some FPU functions as memory-mapped registers which an FEMU-type program could poke. Is FEMU's source available?
kolla
Posts: 188
Joined: Sat Jun 13, 2020 7:56 am
Has thanked: 17 times
Been thanked: 33 times

Re: Faster CPU for Minimig core?

Unread post by kolla »

breiztiger
Top Contributor
Posts: 428
Joined: Sun May 24, 2020 7:17 pm
Has thanked: 23 times
Been thanked: 93 times

Re: Faster CPU for Minimig core?

Unread post by breiztiger »

hi can someone make a build package ready to install please ?
CPC-Power Staff
kolla
Posts: 188
Joined: Sat Jun 13, 2020 7:56 am
Has thanked: 17 times
Been thanked: 33 times

Re: Faster CPU for Minimig core?

Unread post by kolla »

breiztiger wrote: Wed Mar 10, 2021 6:42 am hi can someone make a build package ready to install please ?
What do you mean by “a build package”?

I have dockerfiles for building kernel and firmware, building the minimig core is still a “manual” job that takes place in Windows (AFAIK).
breiztiger
Top Contributor
Posts: 428
Joined: Sun May 24, 2020 7:17 pm
Has thanked: 23 times
Been thanked: 93 times

Re: Faster CPU for Minimig core?

Unread post by breiztiger »

i have understand it's code for amiga 68k gcc and execute on maiga side

isn't that ?
CPC-Power Staff
lordoftime79
Posts: 97
Joined: Sun Feb 14, 2021 6:29 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Faster CPU for Minimig core?

Unread post by lordoftime79 »

I think he means the fpu emu
kolla
Posts: 188
Joined: Sat Jun 13, 2020 7:56 am
Has thanked: 17 times
Been thanked: 33 times

Re: Faster CPU for Minimig core?

Unread post by kolla »

breiztiger
Top Contributor
Posts: 428
Joined: Sun May 24, 2020 7:17 pm
Has thanked: 23 times
Been thanked: 93 times

Re: Faster CPU for Minimig core?

Unread post by breiztiger »

thanks a lot !!!
CPC-Power Staff
richx
Posts: 2
Joined: Sat Jul 25, 2020 1:15 pm

Re: Faster CPU for Minimig core?

Unread post by richx »

The new https://www.buffee.ca/ accelerator project (love the name) is very interesting and could be a possible future solution. Buffee is using an ARM processor for 680x0 emulation/JIT and interfaces directly with Amiga hardware (currently OCS/ECS based systems). But thanks to Buffee being open source as well, the software portion of it could be adapted for the Mister.

https://github.com/nonarkitten/pseudo-jit
User avatar
ericgus09
Posts: 208
Joined: Mon May 25, 2020 2:47 am
Has thanked: 7 times
Been thanked: 26 times

Re: Faster CPU for Minimig core?

Unread post by ericgus09 »

richx wrote: Sat Mar 20, 2021 4:20 pm The new https://www.buffee.ca/ accelerator project (love the name) is very interesting and could be a possible future solution. Buffee is using an ARM processor for 680x0 emulation/JIT and interfaces directly with Amiga hardware (currently OCS/ECS based systems). But thanks to Buffee being open source as well, the software portion of it could be adapted for the Mister.

https://github.com/nonarkitten/pseudo-jit
Kinda cheating is it not? .. if you are doing that, might as well run FS-UAE emulator in frame buffer mode like Basilisk II does .. but thats kinda defeating the entire purpose of the mister/fpga to recreate the hardware not run a software emulator.
richx
Posts: 2
Joined: Sat Jul 25, 2020 1:15 pm

Re: Faster CPU for Minimig core?

Unread post by richx »

ericgus09 wrote: Sat Mar 20, 2021 5:49 pm Kinda cheating is it not? .. if you are doing that, might as well run FS-UAE emulator in frame buffer mode like Basilisk II does .. but thats kinda defeating the entire purpose of the mister/fpga to recreate the hardware not run a software emulator.
Not exactly, it would probably be the fastest CPU option with the current Mister setup, while still using the FPGA side for the Amiga hardware. Sure, a 68060 performance level FPGA core would be a very nice option as well, but other than the closed source Vampire, I'm not aware of any others yet.
zakk4223
Posts: 270
Joined: Sun May 24, 2020 10:55 pm
Been thanked: 107 times

Re: Faster CPU for Minimig core?

Unread post by zakk4223 »

I feel like every time this topic comes up people vastly underestimate the amount of effort required to have the 'hybrid' system that keeps getting proposed.
dshadoff
Core Developer
Posts: 534
Joined: Sun May 24, 2020 9:30 pm
Has thanked: 19 times
Been thanked: 143 times

Re: Faster CPU for Minimig core?

Unread post by dshadoff »

zakk4223 wrote: Sun Mar 21, 2021 12:09 am I feel like every time this topic comes up people vastly underestimate the amount of effort required to have the 'hybrid' system that keeps getting proposed.
Anybody who isn't writing cores is vastly underestimating the effort of pretty much any request that is made.
User avatar
LamerDeluxe
Top Contributor
Posts: 1179
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 822 times
Been thanked: 264 times

Re: Faster CPU for Minimig core?

Unread post by LamerDeluxe »

That is a thing with software engineering in general (as well as graphics design).
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: Faster CPU for Minimig core?

Unread post by ron »

I don't wish what I'm going to say sounds like sarcasm, but ... when there isn't even an open core of 68030, don't you think the expectations are too high?

Forget about the Apollo Team's Vampire, it's a proprietary core and will not be used outside its projects. According to a Finnish colleague, they say the Vampire's core reeks of Coldfire. There is no data to support this claim, but it is clear that MISTer poses a serious threat as far as its intentions are concerned.

Perhaps an alternative is to start with something more affordable, like the M68030, also a PMMU and it would be the gateway to cores that support Atari Falcon 030, Macintosh II, Amiga 3000 and even NeXT.

Dreaming is free, I'm just trying to be realistic with the items currently available. No acrimony, please. The best of the news for those of us who like Motorola processors would be a functional 68030 core. Those are major words.
throAU
Posts: 181
Joined: Fri Sep 11, 2020 1:06 am
Has thanked: 230 times
Been thanked: 27 times

Re: Faster CPU for Minimig core?

Unread post by throAU »

other than the mmu which isn’t used by amigaOS, the 020 and 030 are functionally identical.

the only difference is cache and manufacturing process/clock speed which is irrelevant to mister as mister itself is on a far more advanced process - the simulated 020 is much faster than a real a3000 and has the same instruction set and runs the same code.

sounds like what some people really want are 68k MMU and FPU. and if you’re running amigaOS both are mostly irrelevant. unless you’re running amiga unix or linux i don’t believe the MMU is used anywhere?

unless code is actually checking for an 030 somehow it should just run on simulated 020 unless it uses mmu. and if it doesn’t run, and performs some sort of check and doesn’t use the mmu all that is required is to lie to the OS.

simulated 040 is a different thing entirely and it has an extended instruction set
lordoftime79
Posts: 97
Joined: Sun Feb 14, 2021 6:29 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Faster CPU for Minimig core?

Unread post by lordoftime79 »

Could the 020 core be made as fast as the vampire cpu?
Post Reply