[Coco] MC6829 Memory Management Unit

Walter ZAMBOTTI zambotti at iinet.net.au
Mon Oct 10 22:48:23 EDT 2022


If the GIME can only access 512K how do memory kits allow upto 2meg?  
How is this accomplished?

On 11/10/22 01:40, Dave Philipsen via Coco wrote:
> The GIME itself will only manage 512K of memory. If you have 2 meg running under OS9 it is because there is an extension to the registers in the GIME as part of the memory upgrade. Also, the GIME only manages two tasks. Under OS9 the operating system must reload the GIME registers every time a task is switched.
>
> -Dave Philipsen
>
>> On Oct 10, 2022, at 1:04 AM, gene heskett via Coco <coco at maltedmedia.com> wrote:
>>
>> On 10/10/22 00:20, Walter ZAMBOTTI via Coco wrote:
>>>  From what I can tell from the my brief reading of the manual the device works in a similar way to the GIME MMU except
>>>
>>> it supports up to 2 megabytes,  2K block sizes and 4 tasks.
>>>
>>>            Max Mem  Block Size Tasks
>>>
>>> GIME       512MB     8K           2
>> Huh? level 2 had neither of those limits. I have the 2 meg kit from Tony Disto in my coco3, and I can recall having
>> more than 2 tasks going many times. I had two monitors, and could have a compile going in the text screen, while
>> I had two different editors working on pieces of rzsz. A 4th task might have been printform doing a printout of the
>> compile as the c compiler compiled the program.  That was all in the half meg I hadn't used for a ramdisk for the
>> compiler to use rather than scratchpad files.  The only limitation was the time sharing as the more processes i had
>> going, the slower each got.  Then Boisy started breaking up level 2 into more ever more modules, each of which
>> demanded  its $27 bytes of vtab space using up the vtab space, so today I can't even boot the os9boot I was using
>> all those years ago. There appears to be zero includes or assembler directives documenting it. And now my machine
>> has died, I suspect from old dried out caps.
>>
>> Today I can't do that, and my complaints about it at the time 20+ years ago were ignored.
>>> 6829     2048MB     2K           4
>>>
>>>
>>> The smaller 2K block size makes that quite attractive.
>>>
>> Not when it takes 8 of these to do the full 2 megs. That also expands the table well beyond the $FF80 to $ff9F it now uses.
>>
>>> However since OS9 is written for 8x8k pages the MMU register structure would need to be enlarged to cater for 32x2k, if it is not already reserved.
>


More information about the Coco mailing list