Represents current state of the CHIP-8 interpreter.
More...
#include <chip8.h>
Represents current state of the CHIP-8 interpreter.
- Parameters
-
mem | CHIP-8 memory |
R | flag registers |
V | V (general purpose) registers |
sp | stack pointer |
dt | display timer |
st | sound timer |
stack | stack |
pc | program counter |
I | I (address) register |
key | key press states |
VK | V to store next keypress |
cs | instructions to execute per second |
waitingForKey | 1 or 0 |
running | 1 or 0 |
display | graphics display |
flags | CLI flags |
breakpoints | debug breakpoint map |
colors | 24 bit hex colors, background=[0] foreground=[1] |
fonts | font IDs (see font.c) |
draw | need to draw? (1 or 0) |
mode | interpreter mode (C8_MODE_CHIP8, C8_MODE_SCHIP, C8_MODE_XOCHIP) |
◆ breakpoints
◆ colors
◆ cs
◆ display
◆ draw
◆ dt
◆ flags
◆ fonts
◆ key
◆ mem
◆ mode
◆ pc
◆ running
◆ sp
◆ st
◆ stack
◆ VK
◆ waitingForKey
The documentation for this struct was generated from the following file: