Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 477 → Rev 478

/shark/trunk/drivers/fb/gdvesa.c
59,6 → 59,30
return 1;
}
 
void vbe_restore_vga(void) {
 
X_REGS16 inregs, outregs;
X_SREGS16 sregs;
 
#ifndef VM86
BYTE p1,p2;
#endif
inregs.x.ax = 0x03;
#ifndef VM86
p1 = inp(0x21);
p2 = inp(0xA1);
outp(0x21,0xFF);
outp(0xA1,0xFF);
X_callBIOS(0x10, &inregs, &outregs, &sregs);
outp(0x21,p1);
outp(0xA1,p2);
#else
vm86_callBIOS(0x10, &inregs, &outregs, &sregs);
#endif
 
}
 
int vbe_getinfo(void)
{
X_REGS16 inregs, outregs; /* registri normali */