pos 132 console.c int pos; pos 136 console.c pos = inb(CRTPORT+1) << 8; pos 138 console.c pos |= inb(CRTPORT+1); pos 141 console.c pos += 80 - pos%80; pos 143 console.c if(pos > 0) --pos; pos 145 console.c crt[pos++] = (c&0xff) | 0x0700; // black on white pos 147 console.c if((pos/80) >= 24){ // Scroll up. pos 149 console.c pos -= 80; pos 150 console.c memset(crt+pos, 0, sizeof(crt[0])*(24*80 - pos)); pos 154 console.c outb(CRTPORT+1, pos>>8); pos 156 console.c outb(CRTPORT+1, pos); pos 157 console.c crt[pos] = ' ' | 0x0700;