/[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 653 by william, Sun Jun 9 00:34:29 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;
# Line 210  namespace RomCheater.EmuMMAPPlugin Line 214  namespace RomCheater.EmuMMAPPlugin
214          #region WII          #region WII
215          private DeviceMemoryMap CreateWIIMemMap()          private DeviceMemoryMap CreateWIIMemMap()
216          {          {
217                /* http://wiibrew.org/wiki/Memory_Map */
218              const string name = "WII";              const string name = "WII";
219              DeviceMemoryMap map = new DeviceMemoryMap();              DeviceMemoryMap map = new DeviceMemoryMap();
220              List<IMemMap> maprange = new List<IMemMap>();              List<IMemMap> maprange = new List<IMemMap>();
221              #region memory maps              #region memory maps
222              maprange.Add(new MemMap(string.Format("{0}_test", name), 0, 0));              //maprange.Add(new MemMap(string.Format("{0}_test", name), 0, 0));
223                maprange.Add(new MemMap("MEM1 [cached]", 0x80000000, 0x817FFFFF));
224                maprange.Add(new MemMap("MEM1 [uncached]", 0xC0000000, 0xC17FFFFF));
225                maprange.Add(new MemMap("MEM2 [cached]", 0x90000000, 0x93FFFFFF));
226                maprange.Add(new MemMap("MEM2 [uncached]", 0xD0000000, 0xD3FFFFFF));
227                maprange.Add(new MemMap("Hollywood/Starlet Registers?", 0xCD000000, 0xCD008000));
228              #endregion              #endregion
229              map = new DeviceMemoryMap(name, maprange);              map = new DeviceMemoryMap(name, maprange);
230              return map;              return map;

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

  ViewVC Help
Powered by ViewVC 1.1.22