static void getDebugInfo(RomMapperOpcodeModule* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, "AY8910", 3); dbgIoPortsAddPort(ioPorts, 0, 0x50, DBG_IO_WRITE, 0xff); dbgIoPortsAddPort(ioPorts, 1, 0x51, DBG_IO_WRITE, 0xff); dbgIoPortsAddPort(ioPorts, 2, 0x52, DBG_IO_READ, peek(rm, 0x52)); ioPorts = dbgDeviceAddIoPorts(dbgDevice, "BIOS", 1); dbgIoPortsAddPort(ioPorts, 0, 0x40, DBG_IO_READWRITE, peek(rm, 0x40)); }
static void getDebugInfo(RomMapperMegaRAM* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevMegaRam(), 1); dbgIoPortsAddPort(ioPorts, 0, 0x77, DBG_IO_READWRITE, 0xff); }
static void getDebugInfo(RomMapperOpcodeSlotManager* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, "SLOTSELECT", 1); dbgIoPortsAddPort(ioPorts, 0, 0x41, DBG_IO_READWRITE, peek(rm, 0x41)); }
static void getDebugInfo(RomMapperF4device* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevF4Device(), 1); dbgIoPortsAddPort(ioPorts, 0, 0xf4, DBG_IO_READWRITE, read(rm, 0xe4)); }
static void getDebugInfo(RomMapperKonamiKeyboardMaster* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevKonamiKbd(), 2); dbgIoPortsAddPort(ioPorts, 0, 0x00, DBG_IO_WRITE, 0); dbgIoPortsAddPort(ioPorts, 1, 0x20, DBG_IO_READWRITE, read(rm, 0x20)); }
static void getDebugInfo(RTC* rtc, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevRtc(), 2); dbgIoPortsAddPort(ioPorts, 0, 0xb4, DBG_IO_WRITE, 0); dbgIoPortsAddPort(ioPorts, 1, 0xb5, DBG_IO_READWRITE, rtcPeekData(rtc, 0xb5)); }
static void getDebugInfo(RomMapperTurboRPcm* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevPcm(), 2); dbgIoPortsAddPort(ioPorts, 0, 0xa4, DBG_IO_READWRITE, peek(rm, 0xa4)); dbgIoPortsAddPort(ioPorts, 1, 0xa5, DBG_IO_READWRITE, peek(rm, 0xa5)); }
static void getDebugInfo(RomMapperS1990* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevS1990(), 2); dbgIoPortsAddPort(ioPorts, 0, 0xe4, DBG_IO_READWRITE, read(rm, 0xe4)); dbgIoPortsAddPort(ioPorts, 1, 0xe5, DBG_IO_READWRITE, read(rm, 0xe5)); }
static void getDebugInfo(RomMapperGoudaSCSI* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevScsiGouda(), 3); dbgIoPortsAddPort(ioPorts, 0, PORT_BASE + 0, DBG_IO_READWRITE, wd33c93Peek(rm->wd33c93, 0)); dbgIoPortsAddPort(ioPorts, 1, PORT_BASE + 1, DBG_IO_READWRITE, wd33c93Peek(rm->wd33c93, 1)); dbgIoPortsAddPort(ioPorts, 2, PORT_BASE + 2, DBG_IO_READWRITE, 0xb0); }
static void getDebugInfo(RomMapperSvi328Col80* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevSvi80Col(), 3); dbgIoPortsAddPort(ioPorts, 0, 0x50, DBG_IO_READWRITE, peekIo(rm, 0x50)); dbgIoPortsAddPort(ioPorts, 1, 0x51, DBG_IO_READWRITE, peekIo(rm, 0x51)); dbgIoPortsAddPort(ioPorts, 2, 0x58, DBG_IO_READWRITE, peekIo(rm, 0x58)); }
static void getDebugInfo(MSXMidi* msxMidi, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; int i; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevMsxMidi(), 8); for (i = 0; i < 8; i++) { dbgIoPortsAddPort(ioPorts, i, 0xe8 + i, DBG_IO_READWRITE, peekIo(msxMidi, 0xe8 + i)); } }
static void getDebugInfo(Svi328Fdc* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; int i; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevSviFdc(), 5); for (i = 0; i < 5; i++) { dbgIoPortsAddPort(ioPorts, i, 0x30 + i, DBG_IO_READWRITE, peekIo(rm, 0x30 + i)); } }
static void getDebugInfo(RamMapperIo* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; int i; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevRamMapper(), 4); for (i = 0; i < 4; i++) { dbgIoPortsAddPort(ioPorts, i, 0xfc + i, DBG_IO_READWRITE, read(rm, 0xfc + i)); } }
static void getDebugInfo(RomMapperGIde* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; int i; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevIdeGide(), 12); for (i = 0; i < 12; i++) { dbgIoPortsAddPort(ioPorts, i, 0x44 + i, DBG_IO_READWRITE, peekIo(rm, 0x44 + i)); } }
static void getDebugInfo(SonyHBI55* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevHbi55(), 4); dbgIoPortsAddPort(ioPorts, 0, 0xb0, DBG_IO_READWRITE, i8255Peek(rm->i8255, 0xb0)); dbgIoPortsAddPort(ioPorts, 1, 0xb1, DBG_IO_READWRITE, i8255Peek(rm->i8255, 0xb1)); dbgIoPortsAddPort(ioPorts, 2, 0xb2, DBG_IO_READWRITE, i8255Peek(rm->i8255, 0xb2)); dbgIoPortsAddPort(ioPorts, 3, 0xb3, DBG_IO_READWRITE, i8255Peek(rm->i8255, 0xb3)); }
static void getDebugInfo(RomMapperRsIde* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; int i; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevIdeSviRs(), 4); for (i = 0; i < 4; i++) { dbgIoPortsAddPort(ioPorts, i, 0x14 + i, DBG_IO_READWRITE, i8255Peek(rm->i8255, 0x14 + i)); } }
static void getDebugInfo(Microsol* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; int i; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevFdcMicrosol(), 2); for (i = 0; i < 5; i++) { dbgIoPortsAddPort(ioPorts, i, 0xd0, DBG_IO_READWRITE, peekIo(rm, 0xd0 + i)); } }
static void getDebugInfo(SviPPI* ppi, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevPpi(), 5); dbgIoPortsAddPort(ioPorts, 0, 0x98, DBG_IO_READWRITE, peek(ppi, 0x98)); dbgIoPortsAddPort(ioPorts, 1, 0x99, DBG_IO_READWRITE, peek(ppi, 0x99)); dbgIoPortsAddPort(ioPorts, 2, 0x96, DBG_IO_READWRITE, peek(ppi, 0x96)); dbgIoPortsAddPort(ioPorts, 3, 0x97, DBG_IO_READWRITE, peek(ppi, 0x97)); dbgIoPortsAddPort(ioPorts, 4, 0x9A, DBG_IO_READ, peek(ppi, 0x9A)); }
static void getDebugInfo(RomMapperSvi328Rs232* rs232, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; int i; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevRs232(), 8); for (i = 0; i < 8; i++) { dbgIoPortsAddPort(ioPorts, i, rs232->baseAddress + i, DBG_IO_READWRITE, peekIo(rs232, rs232->baseAddress + i)); } }
static void getDebugInfo(MSXRs232* msxRs232, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; int i; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevRs232(), 8); for (i = 0; i < 7; i++) { dbgIoPortsAddPort(ioPorts, i, 0x80 + i, DBG_IO_READWRITE, peekIo(msxRs232, 0x80 + i)); } dbgIoPortsAddPort(ioPorts, 1, 0x87, DBG_IO_WRITE, 0); }
static void getDebugInfo(RomMapperMsxAudio* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; if (rm->y8950 == NULL) { return; } ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevMsxAudio(), 2); dbgIoPortsAddPort(ioPorts, 0, rm->ioBase + 0, DBG_IO_READWRITE, y8950Peek(rm->y8950, 0)); dbgIoPortsAddPort(ioPorts, 1, rm->ioBase + 1, DBG_IO_READWRITE, y8950Peek(rm->y8950, 1)); ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevMsxAudioMidi(), 4); dbgIoPortsAddPort(ioPorts, 0, 0x00, DBG_IO_WRITE, 0); dbgIoPortsAddPort(ioPorts, 1, 0x01, DBG_IO_WRITE, 0); dbgIoPortsAddPort(ioPorts, 2, 0x04, DBG_IO_READ, midiRead(rm, 0x04)); dbgIoPortsAddPort(ioPorts, 3, 0x05, DBG_IO_READ, midiRead(rm, 0x05)); y8950GetDebugInfo(rm->y8950, dbgDevice); }
static void getDebugInfo(RomMapperOpcodeMegaRam* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; ioPorts = dbgDeviceAddIoPorts(dbgDevice, "MEGARAM", 4); dbgIoPortsAddPort(ioPorts, 0, 0x48, DBG_IO_READWRITE, peek(rm, 0x48)); dbgIoPortsAddPort(ioPorts, 1, 0x49, DBG_IO_READWRITE, peek(rm, 0x49)); dbgIoPortsAddPort(ioPorts, 2, 0x4a, DBG_IO_READWRITE, peek(rm, 0x4a)); dbgIoPortsAddPort(ioPorts, 3, 0x4b, DBG_IO_READWRITE, peek(rm, 0x4b)); dbgDeviceAddMemoryBlock(dbgDevice, "Mega Ram", 0, 0, sizeof(rm->megaRam), rm->megaRam); }
static void getDebugInfo(RomMapperKanji12* rm, DbgDevice* dbgDevice) { if (ioPortCheckSub(0xf7)) { DbgIoPorts* ioPorts; int i; ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevKanji12(), 2); for (i = 0; i < 16; i++) { dbgIoPortsAddPort(ioPorts, i, 0x40 + i, DBG_IO_READWRITE, peek(rm, i)); } } }
static void getDebugInfo(RomMapperFMPAK* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; if (rm->ym2413 == NULL) { return; } ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevFmpak(), 2); dbgIoPortsAddPort(ioPorts, 0, 0x7c, DBG_IO_WRITE, 0); dbgIoPortsAddPort(ioPorts, 1, 0x7d, DBG_IO_WRITE, 0); ym2413GetDebugInfo(rm->ym2413, dbgDevice); }
static void getDebugInfo(RomMapperMoonsound* rm, DbgDevice* dbgDevice) { DbgIoPorts* ioPorts; if (rm->moonsound == NULL) { return; } moonsoundGetDebugInfo(rm->moonsound, dbgDevice); ioPorts = dbgDeviceAddIoPorts(dbgDevice, langDbgDevMoonsound(), 6); dbgIoPortsAddPort(ioPorts, 0, 0x7e, DBG_IO_READWRITE, peek(rm, 0x7e)); dbgIoPortsAddPort(ioPorts, 1, 0x7f, DBG_IO_READWRITE, peek(rm, 0x7f)); dbgIoPortsAddPort(ioPorts, 2, 0xc4, DBG_IO_READWRITE, peek(rm, 0xc4)); dbgIoPortsAddPort(ioPorts, 3, 0xc5, DBG_IO_READWRITE, peek(rm, 0xc5)); dbgIoPortsAddPort(ioPorts, 4, 0xc6, DBG_IO_READWRITE, peek(rm, 0xc6)); dbgIoPortsAddPort(ioPorts, 5, 0xc7, DBG_IO_READWRITE, peek(rm, 0xc7)); }