예제 #1
0
 public Memory(string RomFilePath)
 {
     memory     = new byte[256];
     start_addr = 0x00001000;
     end_addr   = start_addr + 255;
     ROMReader  = new EmuReader();
     ROMReader.OpenFile(RomFilePath);
 }
예제 #2
0
 public Memory()
 {
     memory     = new byte[256];
     start_addr = 0x00001000;
     end_addr   = start_addr + 255;
     ROMReader  = new EmuReader();
     ROMReader.OpenFile(@"D:\[KEEP]ProgrammingProjects\C#\Y86Emulator\YAS\Examples\drawPixel.yin");
 }