From aa633a7e8191cc28021afc9411dc6366f4dce9a6 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Tue, 17 Dec 2002 08:57:27 +0000 Subject: [PATCH] Test for parallel port and setup bios segment for it. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@577 --- src/ints/bios.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ints/bios.cpp b/src/ints/bios.cpp index f9872d7f..83697864 100644 --- a/src/ints/bios.cpp +++ b/src/ints/bios.cpp @@ -276,6 +276,8 @@ void BIOS_Init(Section* sec) { CALLBACK_Setup(call_int1,&INT1_Single_Step,CB_IRET); RealSetVec(0x1,CALLBACK_RealPointer(call_int1)); + /* Test for some hardware */ + if (IO_Read(0x378)!=0xff) real_writed(0x40,0x08,0x378); }