6 setlocale(LC_ALL, local_format);
This structure will be used to represent the state of the Central Processing Unit (CPU) of our emulat...
data accumulator
A 8 bit register used to perform operations.
data register_y
A 8 bit register. Commonly used to hold offset and counters.
address program_counter
An address pointing to the next instruction to be executed.
data stack_pointer
A register that holds the 8 lower bytes of the address 0x11??.
data register_x
A 8 bit register. Commonly used to hold offset and counters.
void printw_cpu_state(CPU *cpu)
Procedure that displays the current state of the cpu in a ncurses window.
void init_nscreen(const char *local_format)
Procedure that init the ncurses screen.
void end_nscreen()
Procedure that kill the current ncurses window.