--- np2/bios/bios1c.c 2004/01/13 05:30:58 1.5 +++ np2/bios/bios1c.c 2004/03/04 17:36:05 1.8 @@ -12,7 +12,7 @@ void bios0x1c_03(void) { iocore_out8(0x71, 0x00); - if (pccore.cpumode & CPUMODE_8MHz) { + if (pccore.cpumode & CPUMODE_8MHZ) { iocore_out8(0x71, 0x4e); // 4MHz } else { @@ -28,12 +28,12 @@ void bios0x1c(void) { switch(CPU_AH) { case 0x00: // get system timer calendar_get(buf); - i286_memstr_write(CPU_ES, CPU_BX, buf, 6); + MEML_WRITESTR(CPU_ES, CPU_BX, buf, 6); break; case 0x01: // put system timer - i286_memstr_read(CPU_ES, CPU_BX, buf, 6); - mem[MEMB_MSW8] = buf[0]; // ver0.29 + MEML_READSTR(CPU_ES, CPU_BX, buf, 6); + mem[MEMB_MSW8] = buf[0]; calendar_set(buf); break;