MediaWiki:Sitenotice:
2025-12-29: I have restored the wiki to a backup from the end of November. Starting in September 2025, accesses went form the 800MB-1.2GB range per month to 26GB in September, 42GB in October, and 70GB in November with most accesses originating from China. As soon as I realized what was causing all the access problems in November, I shut it down (it had reached 36GB by then) behind a password/login screen. The database had gotten corrupted, and I tried a restore from just before the spike in access but that didn't work. Thus, end of November. I still have the other daily backups so if there were any important additions in December, let me know and maybe they can be recovered. - Allen H.

MMU RAMROM Mode: Difference between revisions

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to navigation Jump to search
Tlindner (talk | contribs)
Composing
 
adding NavArticles template (also adds category)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{NavArticles}}
Color Computer 3 Memory Management Unit in ROM/RAM
Color Computer 3 Memory Management Unit in ROM/RAM


The MMU in the CoCo 3 has access to 63 blocks of RAM each 8 kilobytes in size. In ROM/RAM mode the last four blocks don't access RAM. They access either internal or external ROM.
The MMU in the CoCo 3 has access to 64 blocks of RAM each 8 kilobytes in size. In ROM/RAM mode the last four blocks don't access RAM. They access either internal or external ROM. The RAM/ROM mode is entered by writing any value to address $FFDE. RAM mode is selected by writing any value to address $FFDF.


*
In ROM/RAM mode there are three different ROM configurations available. They are selected by setting bits 1 and 0 of address $FF90 to:
     
*


The ROM pages (3C-3F) can be written to any of the eight avaiable MMU slots. In all cases the last two bits the page page are ignored by the MMU and substituted by the last two bits of the slot number.
{| border="1" cellspacing="0" cellpadding="5" align="center"
! $3C
! $3D
! $3E
! $3F
! Bit Value
|-
| align="center" | Extended Color BASIC
| align="center" | Color BASIC
| align="center" colspan="2" | 16K Cartridge ROM
| align="center" | 0X
|-
| align="center" | Extended Color BASIC
| align="center" | Color BASIC
| align="center" | Reset Initialization
| align="center" | Super Extended Color BASIC
| align="center" | 10
|-
| align="center" colspan="4" | 32K Cartridge ROM
| align="center" | 11
|}
 
 
{| border="1" cellspacing="0" cellpadding="5" align="center"
|+ MMU Slot description
|-
! CPU Address Range
! Slot Address
|-
| $0000 - $1FFF
| Slot 0: $FFA0, $FFA8
|-
| $2000 - $3FFF
| Slot 1: $FFA1, $FFA9
|-
| $4000 - $5FFF
| Slot 2: $FFA2, $FFAA
|-
| $6000 - $7FFF
| Slot 3: $FFA3, $FFAB
|-
| $8000 - $9FFF
| Slot 4: $FFA4, $FFAC
|-
| $A000 - $BFFF
| Slot 5: $FFA5, $FFAD
|-
| $C000 - $DFFF
| Slot 6: $FFA6, $FFAE
|-
| $E000 - $FFFF
| Slot 7: $FFA6, $FFAF
|}
 
 
The ROM pages ($3C-$3F) can be written to any of the eight available MMU slots. In all cases the last two bits of the page are ignored by the MMU and substituted by the last two bits of the slot number.


For example, writing $3D to slot 2 of the MMU does not map the second 8k page of ROM to addresses $4000-$5FFF. It maps page $3E (the third ROM page), because:
For example, writing $3D to slot 2 of the MMU does not map the second 8k page of ROM to addresses $4000-$5FFF. It maps page $3E (the third ROM page), because:


*


This essemtially means that Page $3C will only appear in slots 0 and 4; $3D in 1 and 5; $3E in 1 and 6; $3F in 1 and 7.
[[image:ROMRAM.png|center]]
 
This essentially means that page $3C will only appear in slots 0 and 4; $3D in 1 and 5; $3E in 2 and 6; $3F in 3 and 7.

Latest revision as of 15:02, 16 April 2008

WELCOME
Looking for CoCo help? If you are trying to do something with your old Color Computer, read this quick reference. Want to contribute to this wiki? Be sure to read this first. This CoCo wiki project was started on October 29, 2004. --OS-9 Al

See Recent Changes. | About this site. | Join the E-Mail List or Facebook Group. | Contact me with updates/questions.

This page was last updated on 04/16/2008. Total Pages: 747. Total Files: 997.


Home / Articles - MMU RAMROM Mode


Color Computer 3 Memory Management Unit in ROM/RAM

The MMU in the CoCo 3 has access to 64 blocks of RAM each 8 kilobytes in size. In ROM/RAM mode the last four blocks don't access RAM. They access either internal or external ROM. The RAM/ROM mode is entered by writing any value to address $FFDE. RAM mode is selected by writing any value to address $FFDF.

In ROM/RAM mode there are three different ROM configurations available. They are selected by setting bits 1 and 0 of address $FF90 to:

$3C $3D $3E $3F Bit Value
Extended Color BASIC Color BASIC 16K Cartridge ROM 0X
Extended Color BASIC Color BASIC Reset Initialization Super Extended Color BASIC 10
32K Cartridge ROM 11


MMU Slot description
CPU Address Range Slot Address
$0000 - $1FFF Slot 0: $FFA0, $FFA8
$2000 - $3FFF Slot 1: $FFA1, $FFA9
$4000 - $5FFF Slot 2: $FFA2, $FFAA
$6000 - $7FFF Slot 3: $FFA3, $FFAB
$8000 - $9FFF Slot 4: $FFA4, $FFAC
$A000 - $BFFF Slot 5: $FFA5, $FFAD
$C000 - $DFFF Slot 6: $FFA6, $FFAE
$E000 - $FFFF Slot 7: $FFA6, $FFAF


The ROM pages ($3C-$3F) can be written to any of the eight available MMU slots. In all cases the last two bits of the page are ignored by the MMU and substituted by the last two bits of the slot number.

For example, writing $3D to slot 2 of the MMU does not map the second 8k page of ROM to addresses $4000-$5FFF. It maps page $3E (the third ROM page), because:


This essentially means that page $3C will only appear in slots 0 and 4; $3D in 1 and 5; $3E in 2 and 6; $3F in 3 and 7.