private void updateAC(int ac, Word36 newv) { var dr = acDataRow[ac]; var memval = newv; dr.SetCellValue(1, memval.ToString()); dr.SetCellValue(2, memval.ASCII()); dr.SetCellValue(3, memval.SIXBIT()); }
public ulong this[ulong loc] { get { checkAc((int)loc); return(mainCore[0, loc].UL); } set { checkAc((int)loc); mainCore[0, loc] = new Word36(value); } }
public InstructionFailure( SimhPDP10CPU cpu, InstructionExit exitType, ulong pc, ulong inst, OpCodes opcode, int ac, ulong ea, string message, Exception inner) : base(message, inner) { CPU = cpu; Instruction = new Word36(inst); PC = pc; AC = ac; EA = ea; Opcode = opcode; ExitType = exitType; }
private void updateMem(int memloc, Word36 newv) { var memvalue = newv; var m = new object[6]; //m[0] = false; //m[1] = "[" + memloc.ToOctal(6) + "]"; //if (symbolTable.ContainsKey(memloc)) // m[1] += " " + symbolTable[memloc]; m[2] = memvalue.ToString(); m[3] = memvalue.Instruction(memloc); m[4] = memvalue.ASCII(); m[5] = memvalue.SIXBIT(); var dr = GetRowFromAddress(0, (ulong)memloc); for (var i = 2; i < 6; i++) { dr.SetCellValue(i, m[i]); } }
public PageChangedEvent(int index, Word36 oldValue, Word36 newValue) { Index = index; OldValue = oldValue; NewValue = newValue; }
public void SetValue(Word36 value) { throw new NotImplementedException(); }
public LightsChangedEvent(Word36 oldl, Word36 newl) { OldLights = oldl; NewLights = newl; }