예제 #1
0
                    public Joypad( )
                    {
                        // Temp binding
                        RequestIRQ   = (aIRQ_flag) => { };
                        GetKeysState = () => { return(0); };

                        SelectedOutPort = 0;
                    }
예제 #2
0
                    public TimerController()
                    {
                        m_targetCounterMask = 0;
                        TimerControllerData = 0;
                        SetTimerFreqMaskCheck();

                        // Temp binding
                        RequestIRQ = (aIRQ_flag) => { };
                    }
예제 #3
0
                    public PPU( )
                    {
                        m_VRAM          = new byte[0x2000]; // 8 KB
                        m_OAM           = new OAM();
                        m_operationMode = 0;
                        m_scanlineTotalCyclesElapsed = 0;
                        m_cyclesElapsed = 0;

                        m_lcdControlInfo = new LCDControlInfo();
                        m_lcdControlInfo.Set(0);

                        // Temp binding
                        RequestIRQ = (aIRQ_flag) => { };
                    }
예제 #4
0
 public void BindRequestIRQ(CPU.RequestIRQFunc aRequestIRQFunc)
 {
     RequestIRQ = aRequestIRQFunc;
 }