/[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

revision 651 by william, Sun Jun 9 00:26:42 2013 UTC revision 652 by william, Sun Jun 9 00:30:55 2013 UTC
# Line 197  namespace RomCheater.EmuMMAPPlugin Line 197  namespace RomCheater.EmuMMAPPlugin
197          #region NGC          #region NGC
198          private DeviceMemoryMap CreateNGCMemMap()          private DeviceMemoryMap CreateNGCMemMap()
199          {          {
200                /* http://hitmen.c02.at/files/yagcd/yagcd/chap4.html#sec4 */
201              const string name = "NGC";              const string name = "NGC";
202              DeviceMemoryMap map = new DeviceMemoryMap();              DeviceMemoryMap map = new DeviceMemoryMap();
203              List<IMemMap> maprange = new List<IMemMap>();              List<IMemMap> maprange = new List<IMemMap>();
204              #region memory maps              #region memory maps
205              maprange.Add(new MemMap(string.Format("{0}_test", name), 0, 0));              //maprange.Add(new MemMap(string.Format("{0}_test", name), 0, 0));
206                maprange.Add(new MemMap("Physical RAM", 0x00000000, 0x017fffff));
207                maprange.Add(new MemMap("Logical RAM [cached]", 0x80000000, 0x817fffff));
208                maprange.Add(new MemMap("Logical RAM [uncached]", 0xC0000000, 0xC17fffff));
209              #endregion              #endregion
210              map = new DeviceMemoryMap(name, maprange);              map = new DeviceMemoryMap(name, maprange);
211              return map;              return map;

Legend:
Removed from v.651  
changed lines
  Added in v.652

  ViewVC Help
Powered by ViewVC 1.1.22