OXYGENHUB
◆ main openmsx / src / MSXCharacterSets.hh
776 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
/** \file MSXCharacterSets.hh
2
 * MSX Character Set Data for printers and plotters.
3
 * Extracted from Printer.hh for shared use.
4
 */
5
6
#ifndef MSX_CHARACTER_SETS_HH
7
#define MSX_CHARACTER_SETS_HH
8
9
#include <cstdint>
10
#include <span>
11
12
namespace openmsx {
13
14
// International MSX font (from NMS8250 BIOS ROM)
15
[[nodiscard]] std::span<const uint8_t, 8 * 256> getMSXFontRaw();
16
17
// DIN MSX font (International with modified zero)
18
[[nodiscard]] std::span<const uint8_t, 8 * 256> getMSXDINFontRaw();
19
20
// International MSX font, rotated 90 degrees and padded to 9 dots high.
21
[[nodiscard]] std::span<const uint8_t, 9 * 256> getMSXFontRotated();
22
23
// Japanese MSX font (from Sony F1XV BIOS ROM)
24
[[nodiscard]] std::span<const uint8_t, 8 * 256> getMSXJPFontRaw();
25
26
} // namespace openmsx
27
28
#endif