if (blink_diff < 0 || blink_diff > 450) {
if (blink_diff < 0 || blink_diff > (TICKSPERSEC * 9 / 20)) {
void term_blink(int flg){    static long last_blink = 0;    static long last_tblink = 0;    long now, blink_diff;    now = GETTICKCOUNT();    blink_diff = now - last_tblink;    /* Make sure the text blinks no more than 2Hz */    if (blink_diff < 0 || blink_diff > 450) {	last_tblink = now;	tblinker = !tblinker;    }    if (flg) {	blinker = 1;	last_blink = now;	return;    }    blink_diff = now - last_blink;    /* Make sure the cursor blinks no faster than system blink rate */    if (blink_diff >= 0 && blink_diff < (long) CURSORBLINK)	return;    last_blink = now;    blinker = !blinker;}