xref: /haiku/src/system/boot/platform/amiga_m68k/console.cpp (revision c2f0a314a012bea8e4ebb35b8ce9e1a85c798727)
1 /*
2  * Copyright 2007, Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT license.
4  *
5  * Author:
6  *		François Revol, revol@free.fr.
7  */
8 
9 #include <SupportDefs.h>
10 #include <string.h>
11 #include "rom_calls.h"
12 #include <util/kernel_cpp.h>
13 
14 #include "Handle.h"
15 #include "console.h"
16 #include "keyboard.h"
17 
18 
19 FILE *stdin, *stdout, *stderr;
20 
21 
22 
23 //	#pragma mark -
24 
25 
26 status_t
27 console_init(void)
28 {
29 	//TODO
30 
31 	return B_OK;
32 }
33 
34 
35 // #pragma mark -
36 
37 
38 void
39 console_clear_screen(void)
40 {
41 	//TODO
42 }
43 
44 
45 int32
46 console_width(void)
47 {
48 	int columnCount = 80; //XXX: check video mode
49 	return columnCount;
50 }
51 
52 
53 int32
54 console_height(void)
55 {
56 	int lineCount = 25; //XXX: check video mode
57 	return lineCount;
58 }
59 
60 
61 void
62 console_set_cursor(int32 x, int32 y)
63 {
64 	//TODO
65 }
66 
67 
68 void
69 console_set_color(int32 foreground, int32 background)
70 {
71 	//TODO
72 }
73 
74 
75 int
76 console_wait_for_key(void)
77 {
78 	//TODO
79 	return 0;
80 }
81 
82