Macros | |
#define | fetch_utf8_char(addrspace, offs, char) |
fetch the UTF-8 character in addrspace:offs to char More... | |
#define | convert_utf8(encoding, arg) |
Worker macro for all encodings. Common part for all encodings: map characters 0-0x7F trivially, translate pseudographics. Pseudographics for the boot screen: 0x2500 -> 0xC4, 0x2502 -> 0xB3, 0x250C -> 0xDA, 0x2510 -> 0xBF, 0x2514 -> 0xC0, 0x2518 -> 0xD9, 0x252C -> 0xC2, 0x2534 -> 0xC1, 0x2551 -> 0xBA. More... | |
#define | declare_encoding(encoding) |
#define convert_utf8 | ( | encoding, | |
arg | |||
) |
Worker macro for all encodings. Common part for all encodings: map characters 0-0x7F trivially, translate pseudographics. Pseudographics for the boot screen: 0x2500 -> 0xC4, 0x2502 -> 0xB3, 0x250C -> 0xDA, 0x2510 -> 0xBF, 0x2514 -> 0xC0, 0x2518 -> 0xD9, 0x252C -> 0xC2, 0x2534 -> 0xC1, 0x2551 -> 0xBA.
#define declare_encoding | ( | encoding | ) |
#define fetch_utf8_char | ( | addrspace, | |
offs, | |||
char | |||
) |
fetch the UTF-8 character in addrspace:offs to char