Appearance
MemoryDebuggerAPI
cpp
#include <VirtualC64.h>cpp
class MemoryDebuggerAPIDefined in VirtualC64.h:130
Memory Debugger API
Public Methods
| Return | Name | Description |
|---|---|---|
string | ascDump const | Returns a string of characters for a portion of memory. |
string | hexDump const | Returns a string of numbers for a portion of memory. |
string | decDump const | Variant of hexDump() that uses a different output format. |
string | memDump const | Variant of hexDump() that uses a different output format. |
ascDump
const
cpp
string ascDump(MemType src, u16 addr, isize bytes) constDefined in VirtualC64.h:149
Returns a string of characters for a portion of memory.
Unmapped memory (MemType::NONE) is shown as nothing.
Parameters
| Parameter | Type | Description |
|---|---|---|
src | MemType | The memory type the bytes are read from. |
addr | u16 | First address to dump. |
bytes | isize | Number of bytes to dump. |
hexDump
const
cpp
string hexDump(MemType src, u16 addr, isize bytes, isize sz = 1) constDefined in VirtualC64.h:163
Returns a string of numbers for a portion of memory.
hexDump() shows the bytes as hexadecimal numbers, decDump() as decimal numbers, and memDump() as hexadecimal numbers followed by characters. Each group of 'sz' bytes forms one number and is followed by a space. Unmapped memory (MemType::NONE) is shown as '–'.
Parameters
| Parameter | Type | Description |
|---|---|---|
src | MemType | The memory type the bytes are read from. |
addr | u16 | First address to dump. |
bytes | isize | Number of bytes to dump. |
sz | isize | Group size in bytes (1, 2, or 4). |
decDump
const
cpp
string decDump(MemType src, u16 addr, isize bytes, isize sz = 1) constDefined in VirtualC64.h:165
Variant of hexDump() that uses a different output format.
memDump
const
cpp
string memDump(MemType src, u16 addr, isize bytes, isize sz = 1) constDefined in VirtualC64.h:167
Variant of hexDump() that uses a different output format.