Beispiel #1
0
 public LinkCable(Gameboy gameboy)
 {
     if (ENABLED)
     {
         socket            = new WebSocket("ws://127.0.0.1:8001/GBSharp");
         socket.OnMessage += Socket_OnMessage;
         socket.Connect();
     }
     _gameboy = gameboy;
     Reset();
 }
Beispiel #2
0
        public MMU(Gameboy gameboy)
        {
            _inBios = false;
            _vram   = new int[0x4000];
            _eram   = new int[0x2000];
            _wram   = new int[0x8000];
            _oam    = new int[0xA0];
            _io     = new int[0x80];
            _zram   = new int[0x80];

            _gameboy = gameboy;
            SetBios();

            //Reset();
        }
Beispiel #3
0
 public Debugger(Gameboy gameboy)
 {
     _gameboy = gameboy;
     Reset();
 }
Beispiel #4
0
        public Input(Gameboy gameboy)
        {
            _gameboy = gameboy;

            Reset();
        }
Beispiel #5
0
 public DMA(Gameboy gameboy)
 {
     _gameboy = gameboy;
     Reset();
 }