2006-02-25 20:50:29 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
extern DWORD serialport;
|
|
|
|
|
|
|
|
void CommDestroy ();
|
|
|
|
void CommReset ();
|
|
|
|
void CommSetSerialPort (HWND,DWORD);
|
|
|
|
void CommUpdate (DWORD);
|
2006-05-02 21:42:45 +00:00
|
|
|
bool CommThInit();
|
|
|
|
void CommThUninit();
|
2006-02-25 20:50:29 +00:00
|
|
|
DWORD CommGetSnapshot(SS_IO_Comms* pSS);
|
|
|
|
DWORD CommSetSnapshot(SS_IO_Comms* pSS);
|
|
|
|
|
|
|
|
BYTE __stdcall CommCommand (WORD pc, BYTE addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|
|
|
|
BYTE __stdcall CommControl (WORD pc, BYTE addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|
|
|
|
BYTE __stdcall CommDipSw (WORD pc, BYTE addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|
|
|
|
BYTE __stdcall CommReceive (WORD pc, BYTE addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|
|
|
|
BYTE __stdcall CommStatus (WORD pc, BYTE addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|
|
|
|
BYTE __stdcall CommTransmit (WORD pc, BYTE addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|