View Source Chip8.Interpreter.Display.Sprite (chip8 v1.0.0)
Group of bytes representing the binary structure of an image.
Sprites may be up to 15 bytes
, making it possible to have a maximum
dimension of 8x15
pixels (8 pixels wide and 15 pixels high).
When a sprite heigth is an odd number, the sprite should be padded in
order to become an even number to not interfere with the instructions
location pattern, see Chip8.Interpreter.Instruction
for more information.
Sprites are also used to represent the hexadecimal characters of the
built-in font, in this case, the sprites will be 5 pixels wide, see
Chip8.Interpreter.Font
for more information.