openMSX
V9990PxConverter.hh
Go to the documentation of this file.
1#ifndef V9990PXCONVERTER_HH
2#define V9990PXCONVERTER_HH
3
4#include <cstdint>
5#include <span>
6
7namespace openmsx {
8
9class V9990;
10class V9990VRAM;
11
13{
14public:
15 using Pixel = uint32_t;
16
17 V9990P1Converter(V9990& vdp, std::span<const Pixel, 64> palette64);
18
19 void convertLine(
20 std::span<Pixel> buf, unsigned displayX, unsigned displayY,
21 unsigned displayYA, unsigned displayYB, bool drawSprites);
22
23private:
24 V9990& vdp;
25 V9990VRAM& vram;
26 std::span<const Pixel, 64> palette64;
27};
28
30{
31public:
32 using Pixel = uint32_t;
33
34 V9990P2Converter(V9990& vdp, std::span<const Pixel, 64> palette64);
35
36 void convertLine(
37 std::span<Pixel> buf, unsigned displayX, unsigned displayY,
38 unsigned displayYA, bool drawSprites);
39
40private:
41 V9990& vdp;
42 V9990VRAM& vram;
43 std::span<const Pixel, 64> palette64;
44};
45
46} // namespace openmsx
47
48#endif
void convertLine(std::span< Pixel > buf, unsigned displayX, unsigned displayY, unsigned displayYA, unsigned displayYB, bool drawSprites)
void convertLine(std::span< Pixel > buf, unsigned displayX, unsigned displayY, unsigned displayYA, bool drawSprites)
Video RAM for the V9990.
Definition V9990VRAM.hh:17
Implementation of the Yamaha V9990 VDP as used in the GFX9000 cartridge by Sunrise.
Definition V9990.hh:35
This file implemented 3 utility functions:
Definition Autofire.cc:11