private void handleDisplaySprites(int startAddress, int bank) { m_startAddress = startAddress; m_startBank = bank; VICECOMManager vcom = VICECOMManager.getVICEComManager(); vcom.addTextCommand("bank ram", CommandStruct.eMode.DoCommandThrowAwayResults, null, null, null); vcom.addBinaryMemCommand(m_startAddress, m_startAddress + 0x2fff, new CommandStruct.CS_BinaryDelegate(got_ramLo), null, this.Dispatcher); vcom.addBinaryMemCommand(m_startAddress + 0x2000, m_startAddress + 0x4fff, new CommandStruct.CS_BinaryDelegate(got_ram), null, this.Dispatcher); vcom.addTextCommand("bank cpu", CommandStruct.eMode.DoCommandThrowAwayResults, null, null, null); }
private void drawScreen() { //first we need to get the RAM upto date VICECOMManager vcom = VICECOMManager.getVICEComManager(); vcom.addTextCommand("bank ram", CommandStruct.eMode.DoCommandThrowAwayResults, null, null, null); vcom.addBinaryMemCommand(m_screenAddress, m_screenAddress + 0x400, new CommandStruct.CS_BinaryDelegate(got_screen), null, this.Dispatcher); }
private void handleDisplayChars() { getStartAddress(); VICECOMManager vcom = VICECOMManager.getVICEComManager(); vcom.addTextCommand("bank ram", CommandStruct.eMode.DoCommandThrowAwayResults, null, null, null); vcom.addBinaryMemCommand(m_startAddress, m_startAddress + 0x2000, new CommandStruct.CS_BinaryDelegate(got_ram), null, this.Dispatcher); vcom.addTextCommand("bank cpu", CommandStruct.eMode.DoCommandThrowAwayResults, null, null, null); }
private void got_screen(byte[] data, object none) { C64RAM ram = C64RAM.getInstace(); ram.injectBinaryData(m_screenAddress, data); VICECOMManager vcom = VICECOMManager.getVICEComManager(); vcom.addBinaryMemCommand(m_screenAddress, m_charAddress + 0x800, new CommandStruct.CS_BinaryDelegate(got_char), null, this.Dispatcher); }
private void hitBreakpoint(String eventType, int number, int address) { try { WatchObject obj = m_breakpointToWatchMap[number]; VICECOMManager vcom = VICECOMManager.getVICEComManager(); vcom.addBinaryMemCommand(obj.m_address, obj.m_address + 0x0100, new CommandStruct.CS_BinaryDelegate(got_new_value), obj, this.Dispatcher); } catch (Exception) { VICECOMManager vcom = VICECOMManager.getVICEComManager(); vcom.addTextCommand("x", CommandStruct.eMode.DoCommandOnly, null, null, null); } }
private void handleDisplayBitmap() { m_startAddress = Convert.ToInt32(startBox.Text, 16); // m_startBank = bank; VICECOMManager vcom = VICECOMManager.getVICEComManager(); if (ram0Rad.IsChecked ?? true) { vcom.addTextCommand("bank ram", CommandStruct.eMode.DoCommandThrowAwayResults, null, null, null); } else if (ram1Rad.IsChecked ?? true) { vcom.addTextCommand("bank ram1", CommandStruct.eMode.DoCommandThrowAwayResults, null, null, null); } else { vcom.addTextCommand("bank vdc", CommandStruct.eMode.DoCommandThrowAwayResults, null, null, null); } vcom.addBinaryMemCommand(m_startAddress, m_startAddress + 0x2000, new CommandStruct.CS_BinaryDelegate(got_ram), null, this.Dispatcher); vcom.addTextCommand("bank cpu", CommandStruct.eMode.DoCommandThrowAwayResults, null, null, null); }
public void RefreshDump(Dispatcher dispatch) { VICECOMManager vcom = VICECOMManager.getVICEComManager(); vcom.addBinaryMemCommand(0, 0xFFFF, full_mem_dump, null, dispatch); }