Searched refs:pos (Results 1 – 1 of 1) sorted by relevance
134 int pos; in cgaputc() local138 pos = inb(CRTPORT+1) << 8; in cgaputc()140 pos |= inb(CRTPORT+1); in cgaputc()143 pos += 80 - pos%80; in cgaputc()145 if(pos > 0) --pos; in cgaputc()149 if(pos < 0 || pos > 25*80) in cgaputc()154 pos -= 80; in cgaputc()155 memset(crt+pos, 0, sizeof(crt[0])*(24*80 - pos)); in cgaputc()159 outb(CRTPORT+1, pos>>8); in cgaputc()161 outb(CRTPORT+1, pos); in cgaputc()[all …]