pos 134 console.c int pos; pos 138 console.c pos = inb(CRTPORT+1) << 8; pos 140 console.c pos |= inb(CRTPORT+1); pos 143 console.c pos += 80 - pos%80; pos 145 console.c if(pos > 0) --pos; pos 147 console.c crt[pos++] = (c&0xff) | 0x0700; // black on white pos 149 console.c if(pos < 0 || pos > 25*80) pos 152 console.c if((pos/80) >= 24){ // Scroll up. pos 154 console.c pos -= 80; pos 155 console.c memset(crt+pos, 0, sizeof(crt[0])*(24*80 - pos)); pos 159 console.c outb(CRTPORT+1, pos>>8); pos 161 console.c outb(CRTPORT+1, pos); pos 162 console.c crt[pos] = ' ' | 0x0700;