#define CGA_START 0xb8000 int main() { char *pos; int x=20, y=20; pos = (char *)CGA_START + 2*(x + y*80); *pos = 'Q'; return 0; }