1
0
Fork 0

Doing Stuff some people don't seem to care about.

Added Directserial to makefile (else it will not be in the source archive and thus not in the builds)
Enabled it on win32 hosts.
Made it only compilable for win32 target hosts.
dosbox.cpp:
Added help for the configfile for directserial! (Users don't read the source.)
ifdef some more stuff
enable MPU-intelligent-mode by default.
disable Directserial by default.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1897
This commit is contained in:
Peter Veenstra 2004-07-30 01:41:10 +00:00
parent 9deb278528
commit 83d6b619ca
5 changed files with 43 additions and 11 deletions

View file

@ -8,7 +8,8 @@ libhardware_a_SOURCES = adlib.cpp dma.cpp gameblaster.cpp hardware.cpp iohandler
memory.cpp mixer.cpp pcspeaker.cpp pic.cpp sblaster.cpp tandy_sound.cpp timer.cpp \
vga.cpp vga_attr.cpp vga_crtc.cpp vga_dac.cpp vga_draw.cpp vga_gfx.cpp vga_other.cpp \
vga_memory.cpp vga_misc.cpp vga_seq.cpp vga_xga.cpp cmos.cpp disney.cpp \
gus.cpp mpu401.cpp serialport.cpp softmodem.cpp ipx.cpp ipxserver.cpp
gus.cpp mpu401.cpp serialport.cpp softmodem.cpp ipx.cpp ipxserver.cpp \
directserial_win32.cpp

View file

@ -16,10 +16,15 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: directserial_win32.cpp,v 1.2 2004-07-30 01:41:10 qbix79 Exp $ */
#include "dosbox.h"
#if C_DIRECTSERIAL
/* Windows version */
#ifdef __WIN32__
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
@ -186,5 +191,8 @@ void DIRECTSERIAL_Init(Section* sec) {
seriallist.push_back(cds);
}
#else /*linux and others oneday maybe */
#endif
#endif
#endif