1 #ifndef CHARACTERCONVERTER_HH
2 #define CHARACTERCONVERTER_HH
16 template<std::
unsigned_
integral Pixel>
46 inline void renderText1 (
Pixel* pixelPtr,
int line);
47 inline void renderText1Q (
Pixel* pixelPtr,
int line);
48 inline void renderText2 (
Pixel* pixelPtr,
int line);
49 inline void renderGraphic1(
Pixel* pixelPtr,
int line);
50 inline void renderGraphic2(
Pixel* pixelPtr,
int line);
51 inline void renderMulti (
Pixel* pixelPtr,
int line);
52 inline void renderMultiQ (
Pixel* pixelPtr,
int line);
53 inline void renderBogus (
Pixel* pixelPtr);
54 inline void renderBlank (
Pixel* pixelPtr);
55 inline void renderMultiHelper(
Pixel* pixelPtr,
int line,
56 int mask,
int patternQuarter);
58 [[nodiscard]]
const byte* getNamePtr(
int line,
int scroll);
64 const Pixel*
const palFg;
65 const Pixel*
const palBg;
Utility class for converting VRAM contents to host pixels.
CharacterConverter(VDP &vdp, const Pixel *palFg, const Pixel *palBg)
Create a new bitmap scanline converter.
void setDisplayMode(DisplayMode mode)
Select the display mode to use for scanline conversion.
void convertLine(Pixel *linePtr, int line)
Convert a line of V9938 VRAM to 512 host pixels.
Represents a VDP display mode.
Manages VRAM contents and synchronizes the various users of the VRAM.
Unified implementation of MSX Video Display Processors (VDPs).
This file implemented 3 utility functions:
constexpr nibble mask[4][13]