NESe (pronounced "Nessie") is a NES emulator based on the e6502 emulator, also written in C with a focus on speed and portability for use on embedded platforms, especially ARM.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
341B

  1. #ifndef NES_H_
  2. #define NES_H_
  3. #include "ines.h"
  4. #include "input.h"
  5. #include "f6502.h"
  6. #include "ppu.h"
  7. typedef struct {
  8. const ines_Header* cart_header;
  9. f6502_Core core;
  10. nes_PPU ppu;
  11. // TODO: PPU
  12. // TODO: APU
  13. nes_Input input;
  14. } nes;
  15. void nes_init(nes*);
  16. void nes_done(nes*);
  17. int nes_loop(nes*);
  18. #endif // NES_H_