ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/AmigaOS/serial_amiga.cpp
(Generate patch)

Comparing BasiliskII/src/AmigaOS/serial_amiga.cpp (file contents):
Revision 1.5 by cebix, 2002-01-15T14:58:34Z vs.
Revision 1.7 by gbeauche, 2008-01-01T09:40:31Z

# Line 1 | Line 1
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-2008 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
# Line 26 | Line 26
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"
# Line 669 | Line 672 | __saveds void ASERDPort::serial_func(voi
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines