projects
/
dosplash
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[dosplash]
/
src
/
main.c
1
#include <stdio.h>
2
#include <string.h>
3
#include <stdlib.h>
4
#include <conio.h>
5
#include <dos.h>
6
#include "video.h"
7
8
int main(int argc, char **argv)
9
{
10
set_video_mode(0x13);
11
12
memset(MK_FP(0xa000, 0), 4, 64000);
13
14
for(;;) {
15
if(kbhit()) {
16
if(getch() == 27) break;
17
}
18
}
19
20
set_video_mode(3);
21
return 0;
22
}