Skip to content
Matt Waltz edited this page Jan 14, 2018 · 2 revisions

This page describes the various debugging options available from the Debug Settings dock.

Automatically save and restore debug state

When debugging this option saves the addresses of the breakpoints, watchpoints, port monitor, equates, and other user debug information and will automatically load it again when CEmu is restarted. This allows you to not have to enter the same data every time you run CEmu.

Show Data column

This checkbox toggles the display of the data column in the disassembly view.

Enable software commands

Use this option in order to enable the execution of various software commands. This option is enabled by default.

Open debugger on reset or nmi

When the calculator resets due to a write to flash or an invalid command, this option will allow you to see where the reset occurred. You can then trace back to see why the reset is happening in order to better debug your program.

Opcode / Operand space

This option adds a space between the operand and the opcode in the disassembly view.

Ignore DMA cycles in cycle counter

Because the calculator uses Direct Memory Access (DMA) in order to move data to the LCD and USB, this results in cycle stealing from the actual CPU. If you do not wish to have these cycle steals interfere with your calculations, simply enable this checkbox.

Emulate Pre-Revision I

Pre-Revision I simply makes interrupt mode 2 (IM 2) function and behave as it should. Currently, all models after hardware revision I treat IM 2 as IM 0. If you find this annoying, feel free to send an email to TI.

Text Size

This controls the size of text across the different debugging features.