Lines Matching defs:col
420 static void vga_read_pixel(uint8_t page, uint16_t col, uint16_t row, uint16_t STACK_BASED *pixel)
437 addr = col / 8 + row * read_word(BIOSMEM_SEG, BIOSMEM_NB_COLS);
438 mask = 0x80 >> (col & 0x07);
448 addr = (col >> 2) + (row >> 1) * 80;
453 attr = (data >> ((3 - (col & 0x03)) * 2)) & 0x03;
455 attr = (data >> (7 - (col & 0x07))) & 0x01;
458 addr = col + row * (read_word(BIOSMEM_SEG, BIOSMEM_NB_COLS) * 8);
1717 uint8_t row, uint8_t col, uint16_t seg, uint16_t offset)
1727 {col=oldcurs&0x00ff;
1731 newcurs=row; newcurs<<=8; newcurs+=col;