Mercurial > repos > blastem
diff system.h @ 2243:0d1d5dccdd28
Initial implementation of oscilloscope debug view
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 22 Nov 2022 17:57:02 -0800 |
parents | a8af8d898a7c |
children | 3ef80963c2a7 |
line wrap: on
line diff
--- a/system.h Wed Sep 21 23:16:39 2022 -0700 +++ b/system.h Tue Nov 22 17:57:02 2022 -0800 @@ -22,6 +22,15 @@ DEBUGGER_GDB } debugger_type; +enum { + DEBUG_PLANE, + DEBUG_VRAM, + DEBUG_CRAM, + DEBUG_COMPOSITE, + DEBUG_OSCILLOSCOPE, + NUM_DEBUG_TYPES +}; + typedef void (*system_fun)(system_header *); typedef uint16_t (*system_fun_r16)(system_header *); typedef void (*system_str_fun)(system_header *, char *); @@ -65,6 +74,7 @@ system_ptr8_sizet_fun deserialize; system_str_fun start_vgm_log; system_fun stop_vgm_log; + system_u8_fun toggle_debug_view; rom_info info; arena *arena; char *next_rom;