Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 82 → Rev 83

/shark/trunk/oslib/xlib/xinfo.c
45,7 → 45,7
WORD X_version(void)
{
X_CALLBIOS *x_bios = x_bios_address();
return(x_bios->ver);
return(x_bios->_ver);
}
 
void X_meminfo(LIN_ADDR *b1,DWORD *s1,LIN_ADDR *b2,DWORD *s2)
/shark/trunk/oslib/xlib/xbios.c
38,14 → 38,14
X_CALLBIOS *xbc = x_bios_address();
 
/* Send interrupt request & register through the X_Info structure */
xbc->irqno = service;
memcpy(&(xbc->ir),in,sizeof(X_REGS16));
memcpy(&(xbc->sr),s,sizeof(X_SREGS16));
xbc->_irqno = service;
memcpy(&(xbc->_ir),in,sizeof(X_REGS16));
memcpy(&(xbc->_sr),s,sizeof(X_SREGS16));
/* Back to RM to execute the BIOS routine */
_x_callBIOS();
 
/* Get the return register values */
memcpy(out,&(xbc->or),sizeof(X_REGS16));
memcpy(s,&(xbc->sr),sizeof(X_SREGS16));
memcpy(out,&(xbc->_or),sizeof(X_REGS16));
memcpy(s,&(xbc->_sr),sizeof(X_SREGS16));
}