Headless NES emulator core.
Gets the current framebuffer from the PPU.
Use this to draw pixels on the screen.
Gets the current frame count from the PPU.
When the frame counter advances, draw a new frame on the screen.
A button on a NES controller.
The controller port a button press is sent to.
Whether a button is held down (True) or released (False).
Register a key press (or release)
The state of the emulated console: CPU, PPU, memory, controllers, and the inserted cartridge.