1 |
|
/* |
2 |
|
* serial.h - Serial device driver |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2000 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
59 |
|
input_dt = output_dt = 0; |
60 |
|
} |
61 |
|
|
62 |
< |
virtual int16 Open(uint16 config) = 0; |
63 |
< |
virtual int16 PrimeIn(uint32 pb, uint32 dce) = 0; |
64 |
< |
virtual int16 PrimeOut(uint32 pb, uint32 dce) = 0; |
65 |
< |
virtual int16 Control(uint32 pb, uint32 dce, uint16 code) = 0; |
66 |
< |
virtual int16 Status(uint32 pb, uint32 dce, uint16 code) = 0; |
67 |
< |
virtual int16 Close(void) = 0; |
62 |
> |
virtual int16 open(uint16 config) = 0; |
63 |
> |
virtual int16 prime_in(uint32 pb, uint32 dce) = 0; |
64 |
> |
virtual int16 prime_out(uint32 pb, uint32 dce) = 0; |
65 |
> |
virtual int16 control(uint32 pb, uint32 dce, uint16 code) = 0; |
66 |
> |
virtual int16 status(uint32 pb, uint32 dce, uint16 code) = 0; |
67 |
> |
virtual int16 close(void) = 0; |
68 |
|
|
69 |
|
bool is_open; // Port has been opened |
70 |
|
uint8 cum_errors; // Cumulative errors |