crt 127 console.c static ushort *crt = (ushort*)P2V(0xb8000); // CGA memory crt 145 console.c crt[pos++] = (c&0xff) | 0x0700; // black on white crt 148 console.c memmove(crt, crt+80, sizeof(crt[0])*23*80); crt 150 console.c memset(crt+pos, 0, sizeof(crt[0])*(24*80 - pos)); crt 157 console.c crt[pos] = ' ' | 0x0700;