- set a bit in the CMOS that says the processor has an FPU. This is
from patch [ #455006 ] Device byte is not initialized aptly. I can't give credit, because he or she did not leave a name.
This commit is contained in:
parent
3bba2f657f
commit
6d129d771c
@ -58,7 +58,7 @@ bx_cmos_c::~bx_cmos_c(void)
|
||||
bx_cmos_c::init(bx_devices_c *d)
|
||||
{
|
||||
unsigned i;
|
||||
BX_DEBUG(("Init $Id: cmos.cc,v 1.12 2001-06-27 20:11:10 fries Exp $"));
|
||||
BX_DEBUG(("Init $Id: cmos.cc,v 1.13 2001-09-19 17:29:07 bdenney Exp $"));
|
||||
|
||||
// CMOS RAM & RTC
|
||||
|
||||
@ -151,6 +151,9 @@ bx_cmos_c::init(bx_devices_c *d)
|
||||
BX_CMOS_THIS s.reg[0x0b] = 0x02;
|
||||
BX_CMOS_THIS s.reg[0x0c] = 0x00;
|
||||
BX_CMOS_THIS s.reg[0x0d] = 0x80;
|
||||
#if BX_SUPPORT_FPU == 1
|
||||
BX_CMOS_THIS s.reg[0x14] = 0x02;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user