/[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 651 by william, Sun Jun 9 00:26:42 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;

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

  ViewVC Help
Powered by ViewVC 1.1.22