pub trait PlusVidFrameDataIterator: Iterator<Item = (u8, u8, Ts)> {
    fn next_line(&mut self);
}
Expand description

Implemented by screen data iterators for rendering an image of a video frame using RendererPlus.

This emulates the Spectrum’s ULAplus/Timex’s SCLD reading two bytes of video data to compose a single cell consisting of 8 (or 16 in hi-res) pixels.

In low resolution mode the first byte returned by the iterator is interpreted as INK/PAPER bit selector (an INK mask) and the second as a color attribute.

In high resolution mode both bytes are being used to render 16 monochrome pixels.

The third value is a horizontal latch timestamp used to synchronize changes to the screen mode and the palette.

Required Methods§

Forwards the iterator to the beginning of the next video line.

Implementors§