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