| 41 | //=========================================================================== |
| 42 | |
| 43 | void ParallelPrinterCard::InitializeIO(LPBYTE pCxRomPeripheral) |
| 44 | { |
| 45 | const uint32_t PRINTDRVR_SIZE = APPLE_SLOT_SIZE; |
| 46 | BYTE* pData = GetFrame().GetResource(IDR_PRINTDRVR_FW, "FIRMWARE", PRINTDRVR_SIZE); |
| 47 | if(pData == NULL) |
| 48 | return; |
| 49 | |
| 50 | memcpy(pCxRomPeripheral + m_slot*APPLE_SLOT_SIZE, pData, PRINTDRVR_SIZE); |
| 51 | |
| 52 | RegisterIoHandler(m_slot, IORead, IOWrite, NULL, NULL, this, NULL); |
| 53 | } |
| 54 | |
| 55 | //=========================================================================== |
| 56 | bool ParallelPrinterCard::CheckPrint(void) |
nothing calls this directly
no test coverage detected