fb11e647
vrobic
reseau statique a...
|
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
61
62
63
64
65
66
67
68
69
70
|
/*
* Copyright (C) 2014 René Kijewski <rene.kijewski@fu-berlin.de>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/**
* Writing to the videoram.
*
* @ingroup x86
* @{
* @file
* @author René Kijewski <rene.kijewski@fu-berlin.de>
*/
#ifndef CPU__X86__VIDEORAM_H__
#define CPU__X86__VIDEORAM_H__
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Print out a single character on the graphical device.
*
* This method can be used before the UART system was initialized.
*
* Special characters that are understood: '\\n' and '\\r'.
* Use DOS newlines.
*/
void videoram_putc(char c);
/**
* @brief Print out multiple characters on the graphical device.
*
* This is the same as calling videoram_putc() repeatedly.
*/
void videoram_put(const char *s);
/**
* @brief Print out multiple characters on the graphical device, then go to the next line.
*
* This is the same as calling `videoram_put(s); videoram_put("\r\n");`.
*/
void videoram_puts(const char *s);
/**
* @brief Print out a hexadecimal number on the graphical device, including "0x" at the start.
*/
void videoram_put_hex(unsigned long v);
#ifdef __cplusplus
}
#endif
#endif
/** @} */
|