2007-04-02 14:52:01 +02:00
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#define TEXTSCREEN 0xB8000 /* debut de la memoire video texte*/
|
|
|
|
#define GRPHSCREEN 0xA0000 /* debut de la memoire video graphique*/
|
2007-04-02 15:38:45 +02:00
|
|
|
|
2007-04-02 15:14:21 +02:00
|
|
|
typedef u8 mode_def[64];
|
2007-04-02 14:52:01 +02:00
|
|
|
|
|
|
|
|
2007-04-02 15:14:21 +02:00
|
|
|
u32 setvmode(u8);
|
|
|
|
u32 loadfont(u8* def,u8 size,u8 font);
|
|
|
|
void gotoscr(u16 x,u16 y);
|
|
|
|
void useplane(u8 plan);
|
|
|
|
u8 getfont(u8 num);
|
|
|
|
void setfont(u8 num);
|
|
|
|
void waitvretrace (void);
|
|
|
|
void waithretrace (void);
|
|
|
|
void enablecursor (void);
|
|
|
|
void disablecursor (void);
|
|
|
|
void enablescroll (void);
|
|
|
|
void disablescroll (void);
|
|
|
|
void (*writepxl)(u16 x, u16 y, u32 c);
|
2007-04-02 15:38:45 +02:00
|
|
|
void (*showchar)(u16 coordx,u16 coordy,u8 thechar,u8 attrib);
|
|
|
|
void (*fill)(u8 attrib);
|
|
|
|
void (*scroll)(u8 lines,u8 attrib);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-02 15:14:21 +02:00
|
|
|
|