internal breakpoints not visible in gui */ the gui should automatically update breakpoints, so it should be */ fine if asm or C also uses these addresses */
| 292 | /* the gui should automatically update breakpoints, so it should be */ |
| 293 | /* fine if asm or C also uses these addresses */ |
| 294 | void debug_enable_basic_mode(bool fetches, bool live) { |
| 295 | debug.basicMode = true; |
| 296 | debug.basicModeLive = live; |
| 297 | debug_watch(DBG_BASIC_BEGPC+2, DBG_MASK_WRITE, fetches); |
| 298 | debug_watch(DBG_BASIC_CURPC+2, DBG_MASK_WRITE, fetches); |
| 299 | //debug_watch(DBG_BASIC_ENDPC+2, DBG_MASK_WRITE, fetches); |
| 300 | debug_watch(DBG_BASIC_BASIC_PROG+8, DBG_MASK_WRITE, fetches); |
| 301 | debug_watch(DBG_BASIC_SYSHOOKFLAG2, DBG_MASK_READ, !fetches); |
| 302 | } |
| 303 | |
| 304 | void debug_disable_basic_mode(void) { |
| 305 | debug.basicMode = false; |
no test coverage detected