Mercurial > hg > index.cgi
changeset 6:80b9b4503bb4
Adjust Coco 3 default MMU map for stock ROM compatibility
It seems sensible to set up the default MMU mapping the same as the stock
ROM does. Since the ROM area has to be up at the top of RAM anyway, there's
no particular reason not to do that.
author | William Astle <lost@l-w.ca> |
---|---|
date | Fri, 04 Nov 2022 00:33:38 -0600 |
parents | 80c18925436d |
children | b898c74f745c |
files | src/lwbasic.s |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lwbasic.s Fri Nov 04 00:29:38 2022 -0600 +++ b/src/lwbasic.s Fri Nov 04 00:33:38 2022 -0600 @@ -356,9 +356,9 @@ fdb 0 ; *reserved placeholder* fcb 0,0,0,0 ; SG4 screen settings with black border fcb 0x0f,0x00,0x00,0x00 ; (puts screen in bottom 64K of memory) - fcb 0x00,0x01,0x02,0x03 ; MMU task 0 (non-ROM area at bottom of RAM) + fcb 0x38,0x39,0x3a,0x3b ; MMU task 0 (bottom of top 64K of RAM) fcb 0x3c,0x3d,0x3e,0x3f ; (ROM shadow must be in 3c...3f) - fcb 0x00,0x01,0x02,0x03 ; MMU task 1 (copy of task 0) + fcb 0x38,0x39,0x3a,0x3b ; MMU task 1 (copy of task 0) fcb 0x3c,0x3d,0x3e,0x3f fcb 18,54,9,36,63,27,45,38 ; palette values (RGB) fcb 0,18,0,63,0,18,0,38