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

Method CommCommand

source/SerialComms.cpp:561–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559}
560
561BYTE __stdcall CSuperSerialCard::CommCommand(WORD, WORD, BYTE write, BYTE value, ULONG)
562{
563 if (!CheckComm())
564 return 0;
565
566 if (write && (value != m_uCommandByte))
567 {
568 UpdateCommandReg(value);
569 UpdateCommState();
570 }
571
572 return m_uCommandByte;
573}
574
575//===========================================================================
576

Callers 2

SSC_IOReadMethod · 0.80
SSC_IOWriteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected