MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / portPopulate

Method portPopulate

gui/qt/debugger.cpp:1153–1158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1151}
1152
1153void MainWindow::portPopulate(int currRow) {
1154 uint16_t port = static_cast<uint16_t>(hex2int(m_ports->item(currRow, PORT_ADDR_COL)->text()));
1155 uint8_t read = static_cast<uint8_t>(port_peek_byte(port));
1156
1157 m_ports->item(currRow, PORT_VALUE_COL)->setText(int2hex(read, 2));
1158}
1159
1160void MainWindow::portAddSlot() {
1161 portAdd(0, DBG_MASK_NONE, true);

Callers

nothing calls this directly

Calls 3

hex2intFunction · 0.85
port_peek_byteFunction · 0.85
int2hexFunction · 0.85

Tested by

no test coverage detected