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:

Data Viewer Interface

To view data at a specific offset:

  1. 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.
  2. Specify the Length: Enter the number of bytes you wish to load in the Length box.
  3. View the Data: Press the View button to load the data into the Data box.

Loaded Data Display

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.