ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs
(Generate patch)

Comparing trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs (file contents):
Revision 651 by william, Sun Jun 9 00:26:42 2013 UTC vs.
Revision 652 by william, Sun Jun 9 00:30:55 2013 UTC

--- trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs	2013/06/09 00:26:42	651
+++ trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs	2013/06/09 00:30:55	652
@@ -197,11 +197,15 @@ namespace RomCheater.EmuMMAPPlugin
         #region NGC
         private DeviceMemoryMap CreateNGCMemMap()
         {
+            /* http://hitmen.c02.at/files/yagcd/yagcd/chap4.html#sec4 */
             const string name = "NGC";
             DeviceMemoryMap map = new DeviceMemoryMap();
             List<IMemMap> maprange = new List<IMemMap>();
             #region memory maps
-            maprange.Add(new MemMap(string.Format("{0}_test", name), 0, 0));
+            //maprange.Add(new MemMap(string.Format("{0}_test", name), 0, 0));
+            maprange.Add(new MemMap("Physical RAM", 0x00000000, 0x017fffff));
+            maprange.Add(new MemMap("Logical RAM [cached]", 0x80000000, 0x817fffff));
+            maprange.Add(new MemMap("Logical RAM [uncached]", 0xC0000000, 0xC17fffff));
             #endregion
             map = new DeviceMemoryMap(name, maprange);
             return map;