11 lines
178 B
C
11 lines
178 B
C
|
void main() {
|
||
|
/*
|
||
|
* point to first text cell of the video memory
|
||
|
*/
|
||
|
char *video_memory = (char*) 0xb8000;
|
||
|
/*
|
||
|
* store the character 'X' there
|
||
|
*/
|
||
|
*video_memory = 'X';
|
||
|
}
|