fix issue with HBC stub + 64B L2 cache (tueidj)
[libogc.git] / libogc / console.h
blobc60d4676d5206c2950a072c2b7bd8406b4482962
1 #ifndef __CONSOLE_H__
2 #define __CONSOLE_H__
5 #define FONT_XSIZE 8
6 #define FONT_YSIZE 16
7 #define FONT_XFACTOR 1
8 #define FONT_YFACTOR 1
9 #define FONT_XGAP 0
10 #define FONT_YGAP 0
11 #define TAB_SIZE 4
13 typedef struct _console_data_s {
14 void *destbuffer;
15 unsigned char *font;
16 int con_xres,con_yres,con_stride;
17 int target_x,target_y, tgt_stride;
18 int cursor_row,cursor_col;
19 int saved_row,saved_col;
20 int con_rows, con_cols;
22 unsigned int foreground,background;
23 } console_data_s;
25 extern int __console_write(struct _reent *r,int fd,const char *ptr,size_t len);
26 extern void __console_init(void *framebuffer,int xstart,int ystart,int xres,int yres,int stride);
28 //extern const devoptab_t dotab_stdout;
30 #endif