projects
/
dosdemo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
backport builds
[dosdemo]
/
src
/
dos
/
vga.c
1
#include "vga.h"
2
#include "cdpmi.h"
3
4
int vga_setmode(int mode)
5
{
6
struct dpmi_regs regs = {0};
7
8
regs.eax = mode; /* func 00 | mode */
9
dpmi_int(0x10, ®s);
10
return 0;
11
}