Esempio n. 1
0
        public void SetRegisters(RegisterInfo Registers)
        {
            SetRegister(Registers.A, editA, editADec);
            SetRegister(Registers.X, editX, editXDec);
            SetRegister(Registers.Y, editY, editYDec);
            SetRegister(Registers.StackPointer, editStack, editStackDec);
            SetRegister(Registers.PC, editPC, editPCDec);

            SetRegister(Registers.RasterLine, editLIN);
            SetRegister(Registers.Cycles, editCycle);
            SetRegister(Registers.ProcessorPort01, edit01);

            // NV-BDIZC
            SetRegister(FlagByteToString(Registers.StatusFlags), editStatus);
        }
Esempio n. 2
0
        public void SetRegisters(RegisterInfo Registers)
        {
            SetRegister(Registers.A, editA, editADec, editABin, ref RegisterAChanged);
            SetRegister(Registers.X, editX, editXDec, editXBin, ref RegisterXChanged);
            SetRegister(Registers.Y, editY, editYDec, editYBin, ref RegisterYChanged);
            SetRegister(Registers.StackPointer, editStack, editStackDec, ref RegisterSPChanged);
            SetRegister(Registers.PC, editPC, editPCDec, ref RegisterPCChanged);

            SetRegister(Registers.RasterLine, editLIN, ref RegisterRasterLineChanged);
            SetRegister(Registers.Cycles, editCycle, ref RegisterCyclesChanged);
            SetRegister(Registers.ProcessorPort01, edit01, ref RegisterPort01Changed);

            // NV-BDIZC
            SetRegister(FlagByteToString(Registers.StatusFlags), editStatus, ref RegisterStatusChanged);
        }