MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / IORead

Method IORead

source/ParallelPrinter.cpp:119–126  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

117
118//===========================================================================
119BYTE __stdcall ParallelPrinterCard::IORead(WORD, WORD address, BYTE, BYTE, ULONG)
120{
121 UINT slot = ((address & 0xff) >> 4) - 8;
122 ParallelPrinterCard* card = (ParallelPrinterCard*)MemGetSlotParameters(slot);
123
124 card->CheckPrint();
125 return 0xFF; // status - TODO?
126}
127
128//===========================================================================
129BYTE __stdcall ParallelPrinterCard::IOWrite(WORD, WORD address, BYTE, BYTE value, ULONG)

Callers

nothing calls this directly

Calls 2

MemGetSlotParametersFunction · 0.85
CheckPrintMethod · 0.80

Tested by

no test coverage detected