示例#1
0
        public DebugFunctions(DebuggerForm main)
        {
            m_mainForm = main;

            m_Z80ViewForm           = new Z80ViewForm(GameBoy.Cpu);
            m_Z80ViewForm.MdiParent = m_mainForm;

            m_ramForm           = new RamViewForm(GameBoy.Ram);
            m_ramForm.MdiParent = m_mainForm;

            m_instForm           = new InstructionForm(GameBoy.Cpu, GameBoy.Ram);
            m_instForm.MdiParent = m_mainForm;

            m_codeForm           = new CodeView3Form();
            m_codeForm.MdiParent = m_mainForm;

            m_speedForm           = new SpeedForm();
            m_speedForm.MdiParent = m_mainForm;

            m_bgTileMapForm           = new BgTileMapForm(GameBoy.Ram);
            m_bgTileMapForm.MdiParent = m_mainForm;

            m_serialForm           = new SerialForm();
            m_serialForm.MdiParent = m_mainForm;

            m_callstackForm           = new CallstackForm();
            m_callstackForm.MdiParent = m_mainForm;

            m_interruptsForm           = new InterruptsForm();
            m_interruptsForm.MdiParent = m_mainForm;

            m_bDoRefresh = true;
            m_IsInit     = true;
        }
示例#2
0
        private void lblInstructions_Click(object sender, EventArgs e)
        {
            this.Hide();
            InstructionForm instruction = new InstructionForm();

            instruction.ShowDialog();
        }
示例#3
0
        private void btn_Start_Click(object sender, EventArgs e)
        {
            this.Hide();
            InstructionForm insForm = new InstructionForm();

            insForm.Show();
        }