Search
lxdream.org :: lxdream/src/sh4/sh4mem.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4mem.c
changeset 38:9ccc7ac66a9d
prev35:21a4be098304
next70:a5a5cef16deb
author nkeynes
date Tue Jan 03 12:20:36 2006 +0000 (18 years ago)
permissions -rw-r--r--
last change Correct disasm of TST, TEQ, CMP, CMN
file annotate diff log raw
1.1 --- a/src/sh4/sh4mem.c Mon Dec 26 03:54:55 2005 +0000
1.2 +++ b/src/sh4/sh4mem.c Tue Jan 03 12:20:36 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: sh4mem.c,v 1.2 2005-12-26 03:54:55 nkeynes Exp $
1.6 + * $Id: sh4mem.c,v 1.3 2005-12-26 10:47:10 nkeynes Exp $
1.7 * sh4mem.c is responsible for the SH4's access to memory (including memory
1.8 * mapped I/O), using the page maps created in mem.c
1.9 *
1.10 @@ -73,7 +73,9 @@
1.11 if( (addr & 0xFC000000) == 0xE0000000 ) {
1.12 /* Store queue */
1.13 SH4_WRITE_STORE_QUEUE( addr, val );
1.14 - } else {
1.15 + } else if( (addr & 0xFF000000) != 0xF4000000 ) {
1.16 + /* OC address cache isn't implemented, but don't complain about it.
1.17 + * Complain about anything else though */
1.18 ERROR( "Attempted write to unknown P4 region: %08X", addr );
1.19 }
1.20 } else {
.