1 |
|
/* |
2 |
|
* serial_amiga.cpp - Serial device driver, AmigaOS specific stuff |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2002 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2001 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 |
26 |
|
#include <dos/dostags.h> |
27 |
|
#include <devices/serial.h> |
28 |
|
#include <devices/parallel.h> |
29 |
+ |
#define __USE_SYSBASE |
30 |
|
#include <proto/exec.h> |
31 |
|
#include <proto/dos.h> |
32 |
+ |
#include <inline/exec.h> |
33 |
+ |
#include <inline/dos.h> |
34 |
|
|
35 |
|
#include "sysdeps.h" |
36 |
|
#include "cpu_emulation.h" |
672 |
|
((IOExtPar *)read_io)->io_ParFlags = PARF_SHARED; |
673 |
|
else |
674 |
|
read_io->io_SerFlags = SERF_SHARED | SERF_7WIRE; |
675 |
< |
if (OpenDevice((UBYTE *)dev_name, dev_unit, (struct IORequest *)read_io, 0) || read_io->IOSer.io_Device == NULL) |
675 |
> |
if (OpenDevice((UBYTE *) dev_name, dev_unit, (struct IORequest *)read_io, 0) || read_io->IOSer.io_Device == NULL) |
676 |
|
goto quit; |
677 |
|
opened = true; |
678 |
|
|