2 Copyright � 2013, The AROS Development Team. All rights reserved.
9 extern void *scr_FrameBuffer
; /* VRAM address, must be set */
10 extern unsigned int scr_Width
; /* Display width in characters */
11 extern unsigned int scr_Height
; /* Display height in characters */
13 extern unsigned int scr_XPos
;
14 extern unsigned int scr_YPos
;
16 extern const unsigned int fontWidth
;
17 extern const unsigned int fontHeight
;
18 extern const unsigned char fontData
[];
21 * Address of mirror buffer for graphical console.
22 * Must be set if you want to use it.
24 extern char *fb_Mirror
;
26 extern unsigned short Serial_Base
;
29 /* Current screen type */
37 extern unsigned char scr_Type
;
39 /* Common initialization */
40 void con_InitMultiboot(struct multiboot
*mb
);
41 void con_InitMultiboot2(void *mb
);
42 void con_InitTagList(const struct TagItem
*tags
);
43 void con_InitVESA(unsigned short version
, struct vbe_mode
*mode
);
44 void con_InitVGA(void);
45 void con_InitSerial(char *cmdline
);
49 void con_Putc(char chr
);
53 void txt_Putc(char chr
);
55 /* Graphical framebuffer output */
56 void fb_Init(unsigned int width
, unsigned int height
, unsigned int depth
, unsigned int pitch
);
57 void fb_Resize(unsigned int height
);
59 void fb_Putc(char chr
);
60 void fb_SetMirror(char *addr
);
63 void serial_Init(char *opts
);
64 void serial_Putc(char chr
);