libc8
CHIP-8 utility library
|
Functions | |
void | __attribute__ ((weak)) |
Play sound. More... | |
uint8_t * | c8_get_pixel (c8_display_t *display, int x, int y) |
Get the value of (x,y) from display More... | |
Backend-agnostic graphics-related functions
int __attribute__ | ( | (weak) | ) |
Play sound.
Grab current keypresses and delay execution to match clockspeed.
Render graphics.
Initialize graphics system.
Deinitialize graphics system.
This definition is overridden in libc8_sdl2 by definition in internal/graphics_sdl.c.
In libc8, this should be overridden by the user if c8_simulate() is called.
uint8_t * c8_get_pixel | ( | c8_display_t * | display, |
int | x, | ||
int | y | ||
) |
Get the value of (x,y) from display
display | display_t to get pixel from |
x | the x value |
y | the y value |
display