chip8

A simple C CHIP8 VM.
git clone git://git.vgx.fr/chip8
Log | Files | Refs | README

media.h (333B)


      1 #ifndef C8_MEDIA_H
      2 #define C8_MEDIA_H
      3 
      4 int m_init(int argc, char **argv);
      5 
      6 void m_quit(void);
      7 
      8 unsigned short get_input(unsigned short input);
      9 unsigned short wait_input(unsigned short input);
     10 
     11 void clear_screen(void);
     12 void draw(int x, int y, int value);
     13 
     14 void frame(void);
     15 
     16 void set_buzzer_state(int state);
     17 
     18 #endif /* C8_MEDIA_H */