source: trunk/hal/i386/screen.h @ 5

Last change on this file since 5 was 1, checked in by alain, 8 years ago

First import

File size: 549 bytes
Line 
1#ifndef _SCREEN_H_
2#define _SCREEN_H_
3
4#define RAMSCREEN   0xB8000     /* debut de la memoire video */
5#define SIZESCREEN  0xFA0       /* 4000, nombres d'octets d'une page texte */
6#define SCREENLIM   0xB8FA0
7
8char kX    = 0;                 /* position courante du curseur a l'ecran */
9char kY    = 0;
10char kattr = 0x02;              /* attributs video des caracteres a afficher */
11
12#include <types.h>
13
14void scrollup (unsigned int);
15void putcar   (unsigned char);
16void printf   (char *s, ...);
17void dump     (uint8_t* addr, int n);
18
19#endif  /* _SCREEN_H_ */
Note: See TracBrowser for help on using the repository browser.