/[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 650 by william, Sun Jun 9 00:04:18 2013 UTC revision 652 by william, Sun Jun 9 00:30:55 2013 UTC
# Line 178  namespace RomCheater.EmuMMAPPlugin Line 178  namespace RomCheater.EmuMMAPPlugin
178          #region N64          #region N64
179          private DeviceMemoryMap CreateN64MemMap()          private DeviceMemoryMap CreateN64MemMap()
180          {          {
181                /* http://n64.icequake.net/doc/n64intro/kantan/step1/1-4.html */
182              const string name = "N64";              const string name = "N64";
183              DeviceMemoryMap map = new DeviceMemoryMap();              DeviceMemoryMap map = new DeviceMemoryMap();
184              List<IMemMap> maprange = new List<IMemMap>();              List<IMemMap> maprange = new List<IMemMap>();
185              #region memory maps              #region memory maps
186              maprange.Add(new MemMap(string.Format("{0}_test", name), 0, 0));              //maprange.Add(new MemMap(string.Format("{0}_test", name), 0, 0));
187                maprange.Add(new MemMap("KUSEG [TLB Map]", 0x00000000, 0x7fffffff));
188                maprange.Add(new MemMap("KSEG0 [Ram cached]", 0x80000000, 0x9fffffff));
189                maprange.Add(new MemMap("KSEG1 [Ram uncached]", 0xa0000000, 0xbfffffff));
190                maprange.Add(new MemMap("KSSEG [TLB Map]", 0xc0000000, 0xdfffffff));
191                maprange.Add(new MemMap("KSEG3 [TLB Map]", 0xe0000000, 0xffffffff));
192              #endregion              #endregion
193              map = new DeviceMemoryMap(name, maprange);              map = new DeviceMemoryMap(name, maprange);
194              return map;              return map;
# Line 191  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.650  
changed lines
  Added in v.652

  ViewVC Help
Powered by ViewVC 1.1.22