46 virtual void frameEnd(EmuTime::param time) = 0;
59 EmuTime::param time) = 0;
98 virtual void updatePalette(
unsigned index,
int grb, EmuTime::param time) = 0;
187 0x000, 0x002, 0x030, 0x032, 0x300, 0x302, 0x330, 0x332,
188 0x472, 0x007, 0x070, 0x077, 0x700, 0x707, 0x770, 0x777,
Represents a VDP display mode.
A post processor builds the frame that is displayed from the MSX frame, while applying effects such a...
A video frame as output by the VDP scanline conversion unit, before any postprocessing filters are ap...
Abstract base class for Renderers.
virtual void updateBlinkBackgroundColor(byte color, EmuTime::param time)=0
Informs the renderer of a VDP blink background color change.
virtual void updateBlinkForegroundColor(byte color, EmuTime::param time)=0
Informs the renderer of a VDP blink foreground color change.
virtual void updateBorderMask(bool masked, EmuTime::param time)=0
Informs the renderer of a horizontal scroll change: the border mask has been enabled/disabled.
virtual void updateSuperimposing(const RawFrame *videoSource, EmuTime::param time)=0
Informs the renderer of a VDP superimposing change.
virtual void reInit()=0
Reinitialize Renderer state.
virtual void updateDisplayMode(DisplayMode mode, EmuTime::param time)=0
Informs the renderer of a VDP display mode change.
virtual void updateTransparency(bool enabled, EmuTime::param time)=0
Informs the renderer of a VDP transparency enable/disable change.
virtual void updateColorBase(unsigned addr, EmuTime::param time)=0
Informs the renderer of a color table base address change.
virtual void updateBackgroundColor(byte color, EmuTime::param time)=0
Informs the renderer of a VDP background color change.
virtual void updateNameBase(unsigned addr, EmuTime::param time)=0
Informs the renderer of a name table base address change.
virtual void updateMultiPage(bool multiPage, EmuTime::param time)=0
Informs the renderer of a horizontal scroll change: the multi page setting has changed.
virtual ~Renderer()=default
static constexpr std::array< uint16_t, 16 > GRAPHIC7_SPRITE_PALETTE
Sprite palette in Graphic 7 mode.
virtual void frameEnd(EmuTime::param time)=0
Signals the end of a frame.
virtual void updateSpritesEnabled(bool enabled, EmuTime::param time)=0
Informs the renderer of a VDP sprites enabled change.
virtual void updateBlinkState(bool enabled, EmuTime::param time)=0
Informs the renderer of a VDP blinking state change.
virtual void updateForegroundColor(byte color, EmuTime::param time)=0
Informs the renderer of a VDP foreground color change.
virtual PostProcessor * getPostProcessor() const =0
See VDP::getPostProcessor.
virtual void frameStart(EmuTime::param time)=0
Signals the start of a new frame.
virtual void updatePalette(unsigned index, int grb, EmuTime::param time)=0
Informs the renderer of a VDP palette change.
virtual void updateVerticalScroll(int scroll, EmuTime::param time)=0
Informs the renderer of a vertical scroll change.
virtual void updateHorizontalScrollLow(byte scroll, EmuTime::param time)=0
Informs the renderer of a horizontal scroll change: the lower scroll value has changed.
virtual void updatePatternBase(unsigned addr, EmuTime::param time)=0
Informs the renderer of a pattern table base address change.
virtual void updateHorizontalScrollHigh(byte scroll, EmuTime::param time)=0
Informs the renderer of a horizontal scroll change: the higher scroll value has changed.
virtual void updateDisplayEnabled(bool enabled, EmuTime::param time)=0
Informs the renderer of a VDP display enabled change.
virtual void updateHorizontalAdjust(int adjust, EmuTime::param time)=0
Informs the renderer of a horizontal adjust change.
Interface that can be registered at VRAMWindow, to be called when the contents of the VRAM inside tha...
This file implemented 3 utility functions: