openMSX
V9990P1Converter.hh
Go to the documentation of this file.
1 #ifndef V9990P1CONVERTER_HH
2 #define V9990P1CONVERTER_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 } // namespace openmsx
27 
28 #endif
Implementation of the Yamaha V9990 VDP as used in the GFX9000 cartridge by Sunrise.
Definition: V9990.hh:29
uint32_t Pixel
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
Video RAM for the V9990.
Definition: V9990VRAM.hh:15
V9990P1Converter(V9990 &vdp, const Pixel *palette64)
void convertLine(Pixel *linePtr, unsigned displayX, unsigned displayWidth, unsigned displayY, unsigned displayYA, unsigned displayYB, bool drawSprites)