Only report a coprocessor when enabled
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1109
This commit is contained in:
parent
3d2607e514
commit
e8d9586fee
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue