New kernel
This commit is contained in:
parent
b8e0e6ab44
commit
1dad4c06c5
4 changed files with 17 additions and 3 deletions
|
|
@ -44,7 +44,7 @@ CONFDIR = $(SRCDIR)/src/config
|
|||
# Common prefix for installation directories.
|
||||
# NOTE: This directory must exist when you start the install.
|
||||
TOPDIR=
|
||||
prefix = $(TOPDIR)/usr
|
||||
prefix = $(TOPDIR)/usr/local
|
||||
exec_prefix = $(prefix)
|
||||
|
||||
# Directory where the shared stubs and static library will be installed.
|
||||
|
|
|
|||
1
src/svgalib_helper.h
Symbolic link
1
src/svgalib_helper.h
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../kernel/svgalib_helper/svgalib_helper.h
|
||||
|
|
@ -438,9 +438,9 @@ int mouse_open = 0;
|
|||
static int mouse_mode = 0;
|
||||
static int mouse_type = -1;
|
||||
static int mouse_modem_ctl = 0;
|
||||
char *__svgalib_mouse_device = "/dev/mouse";
|
||||
char *__svgalib_mouse_device = "/dev/input/mice";
|
||||
int __svgalib_mouse_flag;
|
||||
static char *helper_device = "/dev/svga";
|
||||
static char *helper_device = "/dev/svga0";
|
||||
static int __svgalib_oktowrite = 1;
|
||||
static int modeinfo_mask = ~0;
|
||||
static int configfile_chipset = UNDEFINED;
|
||||
|
|
|
|||
13
stars/stars.c
Normal file
13
stars/stars.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <vga.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
int main(void)
|
||||
{ vga_init();
|
||||
/* vga_setmode(G320x200x256); */
|
||||
vga_setmode(146);
|
||||
while(vga_getkey()==0) vga_setcolor(rand()&255),
|
||||
vga_drawpixel(rand()%320,rand()%200);
|
||||
vga_setmode(TEXT);
|
||||
exit(0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue