short BIOSGetCursor( char page ) { unsigned char row, col; int type, attr; page = page; _uigetcursor( &row, &col, &type, &attr ); return( (row << 8) | col ); }
void BIOSSetCursor( char page, char row, char col ) { int type, attr; unsigned char oldrow, oldcol; page = page; _uigetcursor( &oldrow, &oldcol, &type, &attr ); _uisetcursor( row, col, type, attr ); }
unsigned short BIOSGetCursor( unsigned char page ) { unsigned char row, col; int attr; CURSOR_TYPE type; page = page; _uigetcursor( &row, &col, &type, &attr ); return( ( row << 8 ) | col ); }
void BIOSSetCursor( unsigned char page, unsigned char row, unsigned char col ) { int attr; CURSOR_TYPE type; unsigned char oldrow, oldcol; page = page; _uigetcursor( &oldrow, &oldcol, &type, &attr ); _uisetcursor( row, col, type, attr ); }
/* * BIOSKeyboardHit - test for keyboard hit */ bool BIOSKeyboardHit( void ) { int type, attr; unsigned char row, col; _uigetcursor( &row, &col, &type, &attr ); _uisetcursor( row, col, C_NORMAL, attr ); _ui_refresh( 0 ); return( ( kb_wait( 0, 0 ) != 0 ) ); } /* BIOSKeyboardHit */