From e8d9586feee734ab312d8f7390b012ea2bedc556 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Thu, 10 Jul 2003 22:28:44 +0000 Subject: [PATCH] Only report a coprocessor when enabled Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1109 --- src/ints/bios.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ints/bios.cpp b/src/ints/bios.cpp index 3b23e9ae..59447d4a 100644 --- a/src/ints/bios.cpp +++ b/src/ints/bios.cpp @@ -327,8 +327,11 @@ void BIOS_Init(Section* sec) { if (IO_Read(0x3f8)!=0xff) real_writew(0x40,(index++)*2,0x3f8); if (IO_Read(0x2f8)!=0xff) real_writew(0x40,(index++)*2,0x2f8); /* Setup equipment list */ +#if (C_FPU) mem_writew(BIOS_CONFIGURATION,0xc823); //1 Floppy,FPU,2 serial, 1 parallel - +#else + mem_writew(BIOS_CONFIGURATION,0xc821); //1 Floppy,FPU,2 serial, 1 parallel +#endif }