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
openmsx::V9990VRAM
Video RAM for the V9990.
Definition: V9990VRAM.hh:16
openmsx::V9990P1Converter::convertLine
void convertLine(Pixel *linePtr, unsigned displayX, unsigned displayWidth, unsigned displayY, unsigned displayYA, unsigned displayYB, bool drawSprites)
Definition: V9990PxConverter.cc:269
openmsx::V9990P1Converter::V9990P1Converter
V9990P1Converter(V9990 &vdp, const Pixel *palette64)
Definition: V9990PxConverter.cc:15
openmsx::Pixel
uint32_t Pixel
Definition: GLHQLiteScaler.cc:98
openmsx::V9990
V9990
Definition: V9990.cc:974
openmsx::V9990P2Converter::convertLine
void convertLine(Pixel *linePtr, unsigned displayX, unsigned displayWidth, unsigned displayY, unsigned displayYA, bool drawSprites)
Definition: V9990PxConverter.cc:322
openmsx::V9990P1Converter
Definition: V9990PxConverter.hh:11
openmsx::V9990P2Converter
Definition: V9990PxConverter.hh:28
openmsx::V9990VRAM
V9990VRAM
Definition: V9990VRAM.cc:59
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5
openmsx::V9990P2Converter::V9990P2Converter
V9990P2Converter(V9990 &vdp, const Pixel *palette64)
Definition: V9990PxConverter.cc:22
openmsx::V9990
Implementation of the Yamaha V9990 VDP as used in the GFX9000 cartridge by Sunrise.
Definition: V9990.hh:31