Lines Matching refs:mem_base
96 M.mem_base = malloc(memSize); in BE_init()
98 if (M.mem_base == NULL){ in BE_init()
150 memcpy((u8 *) M.mem_base, info->LowMem, sizeof(info->LowMem)); in BE_setVGA()
172 memcpy(info->LowMem, (u8 *) M.mem_base, sizeof(info->LowMem)); in BE_getVGA()
197 return (void *)(M.mem_base + addr); in BE_mapRealPointer()
221 return (void *)(M.mem_base + ((u32) * rseg << 4) + *roff); in BE_getVESABuf()
230 free(M.mem_base); in BE_exit()
260 ((u8 *) M.mem_base)[0x4000] = 0x9A; in BE_callRealMode()
261 ((u8 *) M.mem_base)[0x4001] = (u8) off; in BE_callRealMode()
262 ((u8 *) M.mem_base)[0x4002] = (u8) (off >> 8); in BE_callRealMode()
263 ((u8 *) M.mem_base)[0x4003] = (u8) seg; in BE_callRealMode()
264 ((u8 *) M.mem_base)[0x4004] = (u8) (seg >> 8); in BE_callRealMode()
265 ((u8 *) M.mem_base)[0x4005] = 0xF1; /* Illegal op-code */ in BE_callRealMode()
306 ((u8 *) M.mem_base)[0x4000] = 0xCD; in BE_int86()
307 ((u8 *) M.mem_base)[0x4001] = (u8) intno; in BE_int86()
308 ((u8 *) M.mem_base)[0x4002] = 0xF1; in BE_int86()
350 ((u8 *) M.mem_base)[0x4000] = 0xCD; in BE_int86x()
351 ((u8 *) M.mem_base)[0x4001] = (u8) intno; in BE_int86x()
352 ((u8 *) M.mem_base)[0x4002] = 0xF1; in BE_int86x()