Rev | Line | |
---|
[1] | 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 | |
---|
| 8 | char kX = 0; /* position courante du curseur a l'ecran */ |
---|
| 9 | char kY = 0; |
---|
| 10 | char kattr = 0x02; /* attributs video des caracteres a afficher */ |
---|
| 11 | |
---|
| 12 | #include <types.h> |
---|
| 13 | |
---|
| 14 | void scrollup (unsigned int); |
---|
| 15 | void putcar (unsigned char); |
---|
| 16 | void printf (char *s, ...); |
---|
| 17 | void dump (uint8_t* addr, int n); |
---|
| 18 | |
---|
| 19 | #endif /* _SCREEN_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.