Esempio n. 1
0
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 );
}
Esempio n. 2
0
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 );
}
Esempio n. 3
0
/*
 * 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 */