--- np2/bios/Attic/bios02.c 2003/10/16 17:58:19 1.1.1.1 +++ np2/bios/Attic/bios02.c 2003/12/08 00:55:30 1.3 @@ -1,5 +1,5 @@ #include "compiler.h" -#include "i286.h" +#include "cpucore.h" #include "memory.h" #include "pccore.h" #include "iocore.h" @@ -17,7 +17,7 @@ static const char msg4[] = " MEMORY"; static UINT16 textout(UINT16 ptr, const char *str) { while(*str) { - i286_membyte_write(0xa000, ptr, *str); + i286_membyte_write(0xa000, ptr, (BYTE)*str); i286_membyte_write(0xa200, ptr, 0x43); str++; ptr += 2; @@ -42,8 +42,8 @@ void bios0x02(void) { textout(ptr, msg4); mem[0x004f8] = 0xfa; // cli mem[0x004f9] = 0xf4; // hlt - I286_CS = 0; - I286_IP = 0x4f8; + CPU_CS = 0; + CPU_IP = 0x4f8; } }