09 April 2009, 19:04 | #1 |
Registered User
Join Date: Nov 2008
Location: Swedun'
Posts: 397
|
The Amiga had an MMU-chip?? What was it used for?
So I just read the MMU-thread over in the requests, but before I could ask anything, Toni shut it down, fast and mercilessly.
I didn't actually know what an MMU was before, I have to admit... But now I know, it's a part of the CPU, in modern x86 processors, that handles the communication between the RAM and the CPU - the memory handling. Now, I also read that in some older computer architectures, the MMU is not actually integrated into the CPU's functions, but is a separate chip , or missing altogether. The Atari ST has a separate chip, but apparently that's not a real MMU, somehow? So, did some of the Amiga-models have an MMU? Was it necessary for some of the higher-end 68k cpu's? Like, does the 68060 need an MMU? I'm obviously suspecting that the PPC accelerator-cards have built-in MMU's, since those are a lot more complex architectures than the 68k. Help me out here lads.... explain it to me. |
09 April 2009, 20:35 | #2 |
Registered User
Join Date: Apr 2008
Location: UK
Age: 50
Posts: 181
|
The MMU converts one set of memory addresses to another, usually on a program by program basis.
Say program A wants 2Mb. It gets told it has addresses x to y. The MMU can map that address range to wherever it wants to in the address space, including to hard disk (hence needing the MMU to run virtual memory properly). Program B can also be given memory including addresses x to y, because the MMU redirects those addresses somewhere else in he address space. The MMU in Amigas is (almost) always integrated into the CPU. 68030, 68040 and 68060 CPUs can come with one, or it may be disabled due to a bug (EC models). Some high-end Amigas did come with an MMU fitted - the 040 A4000 was one, there may be others, and all Amigas whose CPU can be upgradedd can be fitted with one. Amigas never needed an MMU, but it is needed to run virtual memory, memory protection (fewer crashes) and most versions of linux. |
09 April 2009, 21:20 | #3 |
Amiga-less!
Join Date: Feb 2005
Location: UK
Posts: 1,350
|
|
09 April 2009, 22:18 | #4 |
move.w #$4489,$dff07e
Join Date: Sep 2005
Location: Norfolk, UK
Age: 42
Posts: 2,351
|
A lot of the lower cost chips EC/LC were destined to be full versions but failed quality control. They then had the connections cut to the "optional parts" and became the economy versions. This helps manufacturers save money.
However due to supply and demand sometimes the EC/LC chips are full versions stamped with the economy part number |
09 April 2009, 22:19 | #5 |
Registered User
|
EC arn't made on purpose. they are broken full models that instead of being binned are being sold at a lower price.
Somehow the design of the MMU made it prone to errors and thus there are many EC non MMU chips out there. Same goes for the built in FPU for 040/060's They just stamp a diffrent label on it after test shown that these functions were unreliable |
09 April 2009, 22:33 | #6 |
move.w #$4489,$dff07e
Join Date: Sep 2005
Location: Norfolk, UK
Age: 42
Posts: 2,351
|
All Linux distros for Amiga use an MMU. And so do various debugging tools like Enforcer or when using WHDLoad for debugging. As said above virtual memory programs (like Gigamem) use it as do some kickstart mappers.
No Amiga "needs" an MMU to function. Even the high end 060 chips come in LC varients with no FPU or MMU. |
10 April 2009, 00:19 | #7 |
. . Mouse . .
Join Date: Jun 2005
Location: Nowhere
Age: 55
Posts: 1,792
|
Toni doesn't believe in MMU's...
...mind you that's ok as there's almost no need for one in Amiga-land. |
10 April 2009, 00:52 | #8 |
Doogster
Join Date: Dec 2007
Location: Dorset
Posts: 1,069
|
thought the blizzards use the mmu to maprom to fast ram and then speed up rom operations...in which case...it's very handy to have the mmu.
|
10 April 2009, 09:13 | #9 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
|
10 April 2009, 09:40 | #10 |
Doogster
Join Date: Dec 2007
Location: Dorset
Posts: 1,069
|
Ok...thats thrown me off, how does that work then Toni?
Why does sysinfo report mmu in use only when rom is mapped to fast ram? (as far as i've seen). |
10 April 2009, 09:59 | #11 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Quote:
I wouldn't trust sysinfo but I guess setpatch or some other program reprograms MMU differently depending on KS location or something. Try booting without startup-sequence. |
|
10 April 2009, 10:12 | #12 |
Doogster
Join Date: Dec 2007
Location: Dorset
Posts: 1,069
|
Well you learn something new everyday...i always thought that was the mmu's main use...especialy when it came to programs like softkick etc.
I know blizz's use their own memory controller for maprom. |
10 April 2009, 10:22 | #13 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Quote:
But yeah, MMU was was usually only used for non-blizzard softkicking (A3000 for example required it) and debugging. Amiga virtual memory was a toy because there is no OS-level support. About MMU emulation: Question still remains: "Why?". Running Linux/Unix on emulation = Just run native version. Enforcer = there are replacements. Virtual memory = TRY AGAIN. Debugging stuff = perhaps useful, still, nobody has said what is required. Full MMU emulation would be nearly useless (too slow). Some kind of "Mini-MMU" emulation would be useful, especially if only data accesses needs to be mapped/trapped. |
|
10 April 2009, 10:28 | #14 |
Doogster
Join Date: Dec 2007
Location: Dorset
Posts: 1,069
|
I meant softkick etc...my mistake...i knew blizz's did it with their own controller as it's done by hardware...(maprom jumper) not software....so that's rather obvious that it doesn't use the mmu.....my mistake.
|
10 April 2009, 10:49 | #15 |
hastala vista winny vista
|
you can softkick with even a plain 68000 A500. (provided you have enough memory.)
http://aminet.net/package/util/boot/skick346 |
10 April 2009, 10:54 | #16 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Quote:
(and MMU and blizzard maprom softkick is better, memory is protected from writing) |
|
10 April 2009, 14:54 | #17 |
Zone Friend
Join Date: Aug 2002
Location: Belgium
Age: 51
Posts: 1,296
|
didn't Nic Wilson's rom switcher for 040 need an MMU
and some rendering software did use the FPU Finally I think there was a virtual memory tool on Aminet using a swapfile that required the MMU. All this is nearly 15 yr old memories, I could be wrong |
10 April 2009, 15:36 | #18 |
Registered User
Join Date: Feb 2009
Location: Amiga
Posts: 465
|
If we can add more physical ram up to addressable limit you would not need a swapfile, thus no need for the MMU!
I would like to run the swapfile OFF on my Windows XP config, but stupid memory leaking apps complain when swapfile is OFF and running out of memory even with 2GB of RAM! Sometimes the MMU or flat memory model of post 486 x86 programs made things worst in the PC world, and the Mac followed. The Amiga didn't need it and was wonderful with resources. Guru Meditations are another thing though and I don't know if having a MMU to trap errors would work other than memory related. But isn't AmigaOS running with segmented memory addressing anyways so it doesn't need the MMU? Last edited by Valken; 10 April 2009 at 18:22. |
10 April 2009, 15:58 | #19 | |
Zone Friend
Join Date: Aug 2002
Location: Belgium
Age: 51
Posts: 1,296
|
Quote:
http://blogs.technet.com/markrussino...7/3155406.aspx You should always have let's say at least 256MB of virtual memory with the regkey set to load more unused kernel memory into there. 32bit apps can use upto 2GB of RAM, so the warning makes some sense. But the difference over 3GB of mem are often nil with windows 32bit. 64bit makes things a lot more interesting tho' |
|
10 April 2009, 16:33 | #20 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Quote:
IMHO 95% of web "guides" are wrong, blindly following them only makes Windows run much worse in general situations. Optimizing for rare situations is always the wrong way to do. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How 2MB chip ram with the Mini Megi Chip? | Antti | support.Hardware | 6 | 04 June 2014 20:54 |
Amiga on a Chip Project | Amigan123 | Amiga scene | 27 | 13 July 2013 17:45 |
128k Spectrum Emulator For Amiga (no MMU) | roberthazelby | support.Other | 10 | 08 February 2011 23:37 |
Amiga 1200 DBK '030 40MHz Accelerator 16MB RAM, FPU, MMU £105 | SpeedoJoe | MarketPlace | 3 | 17 September 2010 17:35 |
Amiga WB Chip Memory help | iowtheme | support.Other | 29 | 28 March 2010 20:03 |
|
|