PancakeNESEmu
A homebrewed NES Emulator written in C
|
Go to the source code of this file.
Functions | |
void | init_nscreen (const char *local_format) |
Procedure that init the ncurses screen. | |
void | printw_cpu_state (CPU *cpu) |
Procedure that displays the current state of the cpu in a ncurses window. | |
void | end_nscreen () |
Procedure that kill the current ncurses window. | |
void end_nscreen | ( | ) |
void init_nscreen | ( | const char * | local_format | ) |
Procedure that init the ncurses screen.
[in] | local_format | The locale text formatting |
Definition at line 5 of file tui.c.
Referenced by main().
void printw_cpu_state | ( | CPU * | cpu | ) |
Procedure that displays the current state of the cpu in a ncurses window.
[in] | cpu | The CPU to display |
Definition at line 14 of file tui.c.
References CPU::accumulator, GET_B_FLAG, GET_C_FLAG, GET_D_FLAG, GET_I_FLAG, GET_N_FLAG, GET_P_FLAG, GET_V_FLAG, GET_Z_FLAG, CPU::program_counter, CPU::register_x, CPU::register_y, and CPU::stack_pointer.
Referenced by main().