The memory viewer offers read and write access to all types of ROM and RAM memory, including those exclusive to specific enhancement chips.
Note: Only memory types that are available for the currently loaded ROM will be shown in the dropdown.
PRG ROM can be written from the memory viewer. Any change will remain in effect until the ROM is reloaded. If you want to save your modifications to a .sfc file, or as an IPS patch, you can use the File→Save ROM as or File→Save edits as IPS commands in the debugger window.
There are a number of highlighting/coloring options in the memory viewer.
View→Memory Access Highlighting has coloring options for addresses that were recently read, written or executed. A fade-out period can also be configured, after which the byte will revert to its normal black color.
View→Data Type Highlighting offers options to change the background color of specific bytes based on their type:
View→De-emphasize offers options to display bytes matching certain conditions (unused, read, written or executed) in gray.
Note: It is possible to customize the colors used by the memory viewer in View→Configure Colors
There are 2 ways to edit memory values:
Using the hex view: Click on the byte you want to change in the hex view (on the left), and type hexadecimal values to replace it.
Using the text view: Click on the section you want to change in the text view (on the right), and type ASCII text to replace. This method is rather limited and usually not very useful unless the ROM uses ASCII values for its text.
For most types of memory, it is possible to export its contents to a binary file as well as import it back from a file. Use the Import
and Export
commands in the File
menu to do this.
TBL files are text files that define mappings between sequences of bytes and text characters. For example, it might define the byte $95 as the character ‘A’.
Normally, when no TBL file is loaded, the memory viewer will display each byte’s standard ASCII representation on the right-hand side. Once a TBL file is loaded, the text representation of the data will be updated to reflect the TBL mappings. This is useful, for example, when translating text.
When active, the debugger keeps track of all reads, writes and executions done by the CPU. It is possible to view these counters here.
Click on any column header to sort the data.
The Reset
button allows you to reset all counters back to 0 – this is useful when you are trying to gather data for a specific portion of the execution.