Amiga 68030/40?

Samurai_Crow
Posts: 13
Joined: Tue Jun 07, 2022 8:27 pm
Has thanked: 3 times
Been thanked: 6 times

Re: Amiga 68030/40?

Unread post by Samurai_Crow »

@rhester72

That's certainly above my pay-grade. I'm barely a software guy any more, though I have a grasp of gate layout and pipelining on the hardware end. If I had to do an MMU on an FPGA, I'd probably just do like the Apollo Team have done with their Memory Protection Unit.

I think it's a pity that the Open Innovation Network requires Linux to be incorporated in the end-product to gain access to more modern patents. A much better CPU than the AC68080 would be possible using instruction cracking. Maybe optimized CHK and CHK2 opcodes could be used to implement the Memory Protection Unit just by injecting implicit operations into the micro-op stream and bypass the page size requirements of a traditional MMU.
rhester72
Top Contributor
Posts: 1323
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 15 times
Been thanked: 213 times

Re: Amiga 68030/40?

Unread post by rhester72 »

Well, I was referring to the '030 MMU specifically because that unlocks a lot of fun stuff (full Enforcer, AUX, virtual memory) that can't be done any other way. I'm still a bit lost with the fascination of pushing Motorola instruction set performance boundaries when there's VERY good odds that the machine you're using to do the FPGA development is many orders of magnitude more performant than a fantasy CPU nobody will ever target possibly could be, but that's just me. Amiga is interesting for what it _was_...what it *could* be, as I see it, is well evidenced in the Raspberry Pi itself as a hobbyist construct.
User avatar
Caldor
Top Contributor
Posts: 930
Joined: Sat Jul 25, 2020 11:20 am
Has thanked: 112 times
Been thanked: 111 times

Re: Amiga 68030/40?

Unread post by Caldor »

I found another reason to get a 030 or 040 CPU on the MiSTer... seems The Settlers can only be played with map size 8 if you have an 030 or 040 CPU.

Of course, you could play it with map size 8 in the AO486 core, but I do think some prefer the Amiga version of the game.
Fularu
Posts: 29
Joined: Sat Jun 13, 2020 3:25 am

Re: Amiga 68030/40?

Unread post by Fularu »

040 would be great for 060 games/demos. While I'm fortunate enough to have a TF1260 with a rev6 cpu, those are about as easy to find as unobtainium.
rhester72
Top Contributor
Posts: 1323
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 15 times
Been thanked: 213 times

Re: Amiga 68030/40?

Unread post by rhester72 »

Caldor wrote: Sun Jun 12, 2022 7:04 pm I found another reason to get a 030 or 040 CPU on the MiSTer... seems The Settlers can only be played with map size 8 if you have an 030 or 040 CPU.

Of course, you could play it with map size 8 in the AO486 core, but I do think some prefer the Amiga version of the game.
There used to be an Aminet patch that you could run in User-Startup that would allow an '020 to respond as an EC030 that was useful for (brain-dead) stuff like this. Or you could just patch a single byte in the game where the check is done. *shrugs*
User avatar
Caldor
Top Contributor
Posts: 930
Joined: Sat Jul 25, 2020 11:20 am
Has thanked: 112 times
Been thanked: 111 times

Re: Amiga 68030/40?

Unread post by Caldor »

rhester72 wrote: Mon Jun 13, 2022 7:11 pm
Caldor wrote: Sun Jun 12, 2022 7:04 pm I found another reason to get a 030 or 040 CPU on the MiSTer... seems The Settlers can only be played with map size 8 if you have an 030 or 040 CPU.

Of course, you could play it with map size 8 in the AO486 core, but I do think some prefer the Amiga version of the game.
There used to be an Aminet patch that you could run in User-Startup that would allow an '020 to respond as an EC030 that was useful for (brain-dead) stuff like this. Or you could just patch a single byte in the game where the check is done. *shrugs*
Yeah, I have been thinking that it ought to be possible to just patch the game. The 020 in the MiSTer Minimig core should be more than fast enough, and I highly doubt the problem is the game actually needs 030 or 040 instructions to be able to do map-size 8.

Anyone tried forcing a map size 8 maybe? I thought about using a map editor, or maybe just using WinUAE, load a game with a large enough map, save the game and see if it loads on the 020 after a reboot. I suspect they might not have added a check for this with the savegames.
User avatar
limi
Top Contributor
Posts: 776
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 180 times
Been thanked: 570 times

Re: Amiga 68030/40?

Unread post by limi »

rhester72 wrote: Mon Jun 13, 2022 7:11 pm There used to be an Aminet patch that you could run in User-Startup that would allow an '020 to respond as an EC030 that was useful for (brain-dead) stuff like this. Or you could just patch a single byte in the game where the check is done. *shrugs*
Would you happen to know the name of that tool? Did a quick search of Aminet, but couldn’t find it.
rhester72
Top Contributor
Posts: 1323
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 15 times
Been thanked: 213 times

Re: Amiga 68030/40?

Unread post by rhester72 »

limi wrote: Tue Jun 14, 2022 8:01 am
rhester72 wrote: Mon Jun 13, 2022 7:11 pm There used to be an Aminet patch that you could run in User-Startup that would allow an '020 to respond as an EC030 that was useful for (brain-dead) stuff like this. Or you could just patch a single byte in the game where the check is done. *shrugs*
Would you happen to know the name of that tool? Did a quick search of Aminet, but couldn’t find it.
No...it's literally been decades since I last used it. I'll see if I can find it again. I thought it was Aminet, but it's _possible_ it was on a Fish disk, probably worth looking there as well. It didn't do much at all besides live-patching the chip ID when queried.
Optiroc
Posts: 107
Joined: Sun May 24, 2020 7:29 pm
Has thanked: 7 times
Been thanked: 38 times

Re: Amiga 68030/40?

Unread post by Optiroc »

Now I need to know... I'll whip up a tool that patches exec.library and see what The Settlers thinks of it. :)
Optiroc
Posts: 107
Joined: Sun May 24, 2020 7:29 pm
Has thanked: 7 times
Been thanked: 38 times

Re: Amiga 68030/40?

Unread post by Optiroc »

Did some tests and unfortunately WHDLoad crashes when execbase->attnflags is set to anything higher than the actual CPU. Contacting the slave author (or anyone else who might be up to the task) about patching away the CPU type restriction on maximum map size is the better way to accomplish this...
throAU
Posts: 181
Joined: Fri Sep 11, 2020 1:06 am
Has thanked: 233 times
Been thanked: 27 times

Re: Amiga 68030/40?

Unread post by throAU »

Malor wrote: Sat Apr 30, 2022 12:57 am But with a faster CPU, that would be less true. Perhaps nobody will actually do one, but quite a few software packages would benefit from a faster CPU. For example, one that seemed to benefit from all the CPU you could scare up was Stunt Car Racer, and the Amiga version of that game is the best one.

It seems very weird to me to criticize wanting more CPU on Minimig. It may not happen, but it doesn't seem weird to me to want it.

Not really criticising, more explaining why development effort (and it will be significant) is likely focused elsewhere. If someone wants to take up the challenge and do it, more power to them! But expecting others to prioritise this is unrealistic because of the limited payoff.

I'd love the MiSTer to do everything as well, but in terms of return on effort invested it's way down the list vs. something that will have more relevance to more people.
chrisy
Posts: 27
Joined: Wed Oct 20, 2021 3:32 pm
Has thanked: 11 times

Re: Amiga 68030/40?

Unread post by chrisy »

Another reason for a 68030 with MMU: https://github.com/dplanitzer/Serena

rhester72
Top Contributor
Posts: 1323
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 15 times
Been thanked: 213 times

Re: Amiga 68030/40?

Unread post by rhester72 »

I'm not sure obscure, never-existed-contemporarily-with-the-hardware operating systems necessarily falls into the "reason" bucket. =)

Bas
Top Contributor
Posts: 623
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 80 times
Been thanked: 324 times

Re: Amiga 68030/40?

Unread post by Bas »

A proper 68030 would open more than just big box Amiga. Atari Falcon and bigger Macs would come much closer as well.

User avatar
ericgus09
Posts: 217
Joined: Mon May 25, 2020 2:47 am
Has thanked: 12 times
Been thanked: 32 times

Re: Amiga 68030/40?

Unread post by ericgus09 »

Bas wrote: Sun Aug 18, 2024 9:06 am

A proper 68030 would open more than just big box Amiga. Atari Falcon and bigger Macs would come much closer as well.

NeXT machines too..

User avatar
limi
Top Contributor
Posts: 776
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 180 times
Been thanked: 570 times

Re: Amiga 68030/40?

Unread post by limi »

FYI, you can already run NeXT on the SparcStation core.

breiztiger
Top Contributor
Posts: 468
Joined: Sun May 24, 2020 7:17 pm
Has thanked: 35 times
Been thanked: 99 times

Re: Amiga 68030/40?

Unread post by breiztiger »

Yes but it’s not a next it’s a previous 😝

CPC-Power Staff
chrisy
Posts: 27
Joined: Wed Oct 20, 2021 3:32 pm
Has thanked: 11 times

Re: Amiga 68030/40?

Unread post by chrisy »

rhester72 wrote: Sat Aug 17, 2024 8:35 pm

I'm not sure obscure, never-existed-contemporarily-with-the-hardware operating systems necessarily falls into the "reason" bucket. =)

It's definitely a reason - it opens up this sort of thing, along with running Linux on the Amiga core.
There are a lot of people who want to do things because they can, not because there's any good reason to do so.
Opening up the obscure to the MiSTer audience isn't a bad thing (if it was there are a lot of cores which wouldn't exist)

A full 68030 is definitely useful for contemporary Amiga software - but that's already a well-covered obvious use-case.

User avatar
ericgus09
Posts: 217
Joined: Mon May 25, 2020 2:47 am
Has thanked: 12 times
Been thanked: 32 times

Re: Amiga 68030/40?

Unread post by ericgus09 »

limi wrote: Mon Aug 19, 2024 10:15 am

FYI, you can already run NeXT on the SparcStation core.

ill have to look into this.. thanks! Still would be nice for all the OTHER reasons stated to have something beyond the 020

DMJC
Posts: 1
Joined: Tue Sep 24, 2024 12:41 pm

Re: Amiga 68030/40?

Unread post by DMJC »

I'd love a 68040 without the FPU. A bunch of old Macintosh 7/8 systems could use it. E.g a Performa 650. FPU would be cool to have, but not necessary for a bunch of software I currently want to use which can't run on MISTer in it's current form.

rhester72
Top Contributor
Posts: 1323
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 15 times
Been thanked: 213 times

Re: Amiga 68030/40?

Unread post by rhester72 »

I'd like to just get any form of color Mac first. LOL

Post Reply