kern/vga.c
/* 
 * The arguments `start` and `end` define the shape of the cursor.
 * The lowest scaline value is 0x00 and the highest 0x0f. A cursor shape
 * with `start = 0x00` and `end = 0x0f` is effectively a block cursor.
 */
The arguments `start` and `end` define the shape of the cursor.
The lowest scaline value is 0x00 and the highest 0x0f. A cursor shape
with `start = 0x00` and `end = 0x0f` is effectively a block cursor.
The arguments ` start ` and ` end ` define the shape of the cursor . The lowest scaline value is 0x00 and the highest 0x0f . A cursor shape with ` start = 0x00 ` and ` end = 0x0f ` is effectively a block cursor .
void
vga_curs_enable(u_int8_t start, u_int8_t end)
{
	outb(CURS_CMD, 0x0a);
	outb(CURS_DATA, (inb(CURS_DATA) & 0xc0) | start);
	outb(CURS_CMD, 0x0b);
	outb(CURS_DATA, (inb(CURS_DATA) & 0xe0) | end);
}
void vga_curs_enable ( u_int8_t start , u_int8_t end ) { outb ( CURS_CMD , 0x0a ) ; outb ( CURS_DATA , ( inb ( CURS_DATA ) & 0xc0 ) | start ) ; outb ( CURS_CMD , 0x0b ) ; outb ( CURS_DATA , ( inb ( CURS_DATA ) & 0xe0 ) | end ) ; }
The arguments `start` and `end` define the shape of the cursor.
The arguments ` start ` and ` end ` define the shape of the cursor .
/* 0x0a: Low cursor shape */