-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcon-none.c
60 lines (47 loc) · 799 Bytes
/
con-none.c
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//-------------------------------------------------------------------------------
// EMU86 - Console to null mapping
//-------------------------------------------------------------------------------
#include "emu-con.h" // generic console
int con_put_char (byte_t c, byte_t a)
{
return 0;
}
int con_pos_set (byte_t row, byte_t col)
{
return 0;
}
int con_pos_get (byte_t *row, byte_t *col)
{
*row = *col = 0;
return 0;
}
int con_scroll (int dn, byte_t n, byte_t at, byte_t r, byte_t c, byte_t r2, byte_t c2)
{
return 0;
}
int con_get_key (word_t * k)
{
*k = 0;
return 1; // no key
}
int con_poll_key ()
{
return 0; // no key
}
int con_proc ()
{
return 0;
}
void con_raw ()
{
}
void con_normal ()
{
}
int con_init ()
{
return 0;
}
void con_term ()
{
}