/[RomCheater]/trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs
ViewVC logotype

Diff of /trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- 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 @@
         #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;

 

  ViewVC Help
Powered by ViewVC 1.1.22