--- np2/bios/bios1c.c 2003/12/08 00:55:30 1.3 +++ np2/bios/bios1c.c 2004/02/19 11:32:11 1.7 @@ -2,7 +2,6 @@ #include "parts.h" #include "timemng.h" #include "cpucore.h" -#include "memory.h" #include "pccore.h" #include "iocore.h" #include "calendar.h" @@ -13,7 +12,7 @@ void bios0x1c_03(void) { iocore_out8(0x71, 0x00); - if (pc.cpumode & CPUMODE_8MHz) { + if (pccore.cpumode & CPUMODE_8MHZ) { iocore_out8(0x71, 0x4e); // 4MHz } else { @@ -34,7 +33,7 @@ void bios0x1c(void) { case 0x01: // put system timer i286_memstr_read(CPU_ES, CPU_BX, buf, 6); - mem[MEMB_MSW8] = buf[0]; // ver0.29 + mem[MEMB_MSW8] = buf[0]; calendar_set(buf); break;