1 #ifndef V9990P2CONVERTER_HH 2 #define V9990P2CONVERTER_HH 11 template <
class Pixel>
18 Pixel* linePtr,
unsigned displayX,
unsigned displayWidth,
19 unsigned displayY,
unsigned displayYA,
bool drawSprites);
22 void renderPattern(
Pixel* buffer,
unsigned width,
23 unsigned x,
unsigned y,
byte pal);
24 void determineVisibleSprites(
int* visibleSprites,
int displayY);
25 void renderSprites(
Pixel* buffer,
int displayX,
int displayEnd,
26 unsigned displayY,
const int* visibleSprites,
bool front);
30 const Pixel*
const palette64;
Implementation of the Yamaha V9990 VDP as used in the GFX9000 cartridge by Sunrise.
void convertLine(Pixel *linePtr, unsigned displayX, unsigned displayWidth, unsigned displayY, unsigned displayYA, bool drawSprites)
V9990P2Converter(V9990 &vdp_, const Pixel *palette64)
uint8_t byte
8 bit unsigned integer
Thanks to enen for testing this on a real cartridge: