Amiga 68030/40?

Samurai_Crow
Posts: 4
Joined: Tue Jun 07, 2022 8:27 pm
Has thanked: 1 time

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: 1107
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 13 times
Been thanked: 169 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: 1107
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 13 times
Been thanked: 169 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: 619
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 135 times
Been thanked: 418 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: 1107
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 13 times
Been thanked: 169 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: 105
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: 105
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: 229 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.
Post Reply