1 #ifndef V9990BITMAPCONVERTER_HH
2 #define V9990BITMAPCONVERTER_HH
16 template<std::
unsigned_
integral Pixel>
22 const Pixel* palette64,
const int16_t* palette64_32768,
23 const Pixel* palette256,
const int16_t* palette256_32768,
24 const Pixel* palette32768);
29 int cursorY,
bool drawCursors);
34 colorMode = colorMode_;
35 highRes = isHighRes(display);
55 const Pixel*
const palette64;
56 const int16_t*
const palette64_32768;
61 const Pixel*
const palette256;
62 const int16_t*
const palette256_32768;
67 const Pixel*
const palette32768;
Utility class to convert VRAM content to host pixels.
V9990BitmapConverter(V9990 &vdp, const Pixel *palette64, const int16_t *palette64_32768, const Pixel *palette256, const int16_t *palette256_32768, const Pixel *palette32768)
void convertLine(Pixel *linePtr, unsigned x, unsigned y, int nrPixels, int cursorY, bool drawCursors)
Convert a line of VRAM into host pixels.
void setColorMode(V9990ColorMode colorMode_, V9990DisplayMode display)
Set a different rendering mode.
Implementation of the Yamaha V9990 VDP as used in the GFX9000 cartridge by Sunrise.
This file implemented 3 utility functions:
constexpr KeyMatrixPosition x
Keyboard bindings.