Data Viewer - LAMP-Platform/LAMP GitHub Wiki
Note: The Data Viewer has become quite obsolete in the recent versions of LAMP.
The Data Viewer was initially designed to read and display binary data directly from the ROM loaded in LAMP. This functionality was crucial back when LAMP made changes directly to the ROM rather than to dedicated project files. This tool could show users the exact data applied at specific offsets, aiding in manual debugging and verification.
Currently, the Data Viewer only displays the unmodified data from the ROM, which could be either the vanilla base ROM, project specific ROM or the disassembly ROM. This reflects the shift in LAMP's architecture away from direct ROM modifications to using project files and Data Chunks.
When you open the Data Viewer, it will look like this:
To view data at a specific offset:
- Input the Start Offset: Enter the starting point of the data you want to view in the
Offset
box. LAMP accepts both direct and bank offsets. - Specify the Length: Enter the number of bytes you wish to load in the
Length
box. - View the Data: Press the
View
button to load the data into theData
box.
The offsets in the data view start at $00. Therefore, the actual address you are looking at is calculated as "Offset
+ Data Offset
+ Index of byte from current line
".
On the right side of the Data
box, you will see an ASCII representation of the loaded data, providing a textual view of binary contents.