Beispiel #1
0
 private void Init()
 {
     for (int i = 0; i < PhysicPageCount; i++)
     {
         ram[i] = new PhysicPage(i);
     }
     for (int i = 0; i < VirtualPageCount; i++)
     {
         virtualMemory[i] = new VirtualPage()
         {
             Index = i
         }
     }
     ;
 }
Beispiel #2
0
 private void Init()
 {
     for (int i = 0; i < PhysicPageCount; i++)
         ram[i] = new PhysicPage(i);
     for (int i = 0; i < VirtualPageCount; i++)
         virtualMemory[i] = new VirtualPage() { Index = i };
 }