--- hatari/src/includes/rs232.h 2019/04/01 07:14:48 1.1.1.4 +++ hatari/src/includes/rs232.h 2019/04/09 08:52:05 1.1.1.6 @@ -11,16 +11,14 @@ #define MAX_RS232INPUT_BUFFER 2048 /* Must be ^2 */ -extern bool bConnectedRS232; - extern void RS232_Init(void); extern void RS232_UnInit(void); -extern void RS232_HandleUCR(short int ucr); +extern void RS232_HandleUCR(Sint16 ucr); extern bool RS232_SetBaudRate(int nBaud); extern void RS232_SetBaudRateFromTimerD(void); -extern void RS232_SetFlowControl(int ctrl); -extern bool RS232_TransferBytesTo(unsigned char *pBytes, int nBytes); -extern bool RS232_ReadBytes(unsigned char *pBytes, int nBytes); +extern void RS232_SetFlowControl(Sint16 ctrl); +extern bool RS232_TransferBytesTo(Uint8 *pBytes, int nBytes); +extern bool RS232_ReadBytes(Uint8 *pBytes, int nBytes); extern bool RS232_GetStatus(void); extern void RS232_SCR_ReadByte(void); extern void RS232_SCR_WriteByte(void);