projects
/
dos_low3d
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
672eb6a0d13da198e58fda5077befe04ff52c45d
[dos_low3d]
/
src
/
video.h
1
#ifndef VIDEO_H_
2
#define VIDEO_H_
3
4
void init_video(void);
5
void close_video(void);
6
7
void wait_vsync(void);
8
#pragma aux wait_vsync = \
9
"mov dx, 0x3da" \
10
"invb:" \
11
"in al, dx" \
12
"and al, 8" \
13
"jnz invb" \
14
"waitvb:" \
15
"in al, dx" \
16
"and al, 8" \
17
"jz waitvb" \
18
modify [eax edx];
19
20
#endif /* VIDEO_H_ */