File: portable.h

package info (click to toggle)
chdrv 1.0.13-0.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,204 kB
  • ctags: 1,069
  • sloc: ansic: 8,972; perl: 412; asm: 234; makefile: 195; sh: 36
file content (33 lines) | stat: -rw-r--r-- 1,049 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

#ifndef __PROTABLE_H
#define __PORTABLE_H
extern void (*mon_init)();
extern void (*mon_grmode)();
extern void (*mon_textmode)();
extern void (*mon_clearblock)(int sx,int sy ,int ex,int ey);
extern int (*mon_setcolor)(int);
extern void (*mon_moveleft)(int sx,int ex,int y,int c);
extern void (*mon_moveright)(int sx,int ex,int y,int c);
extern void (*mon_drawctext)(int x,int y,char *);
extern void (*mon_drawcachefont)(int x,int y,int n);
extern void (*mon_drawtext)(int x,int y,char *);
extern void (*mon_addcachefont)(int);
extern void (*mon_maxcachefont)();
extern void (*mon_expandfont)(char *,char *,int,int);
extern void (*mon_invert)(int);
extern void (*mon_underline)(int);
extern void (*mon_scroll)(int sy,int ey,int l);
extern void (*mon_rscroll)(int sy,int ey,int l);
extern void (*mon_drawline)(int sx,int sy,int ex,int ey);
extern void (*mon_cursor)(int x,int y);
extern int (*mon_curcolor)();
extern int (*mon_fontsize)(int x,int y);
/* portable.c */
void vga1_init_console();

/* svga-driver.c */
void svga_init_console();


#endif