mirror of
http://git.hugovil.com/git/emu8051.git
synced 2025-10-14 02:48:29 +08:00
Rename DumpMem function -> memory_dump
This commit is contained in:
@@ -128,19 +128,19 @@ dump_mem:
|
||||
TOK_DE NUMBER NUMBER TOK_ENTER
|
||||
{
|
||||
log_debug(" Dump External Data Memory at $%04X, len %d", $2, $3);
|
||||
DumpMem($2, $3, EXT_MEM_ID);
|
||||
memory_dump($2, $3, EXT_MEM_ID);
|
||||
}
|
||||
|
|
||||
TOK_DI NUMBER NUMBER TOK_ENTER
|
||||
{
|
||||
log_debug(" Dump Internal Data Memory at $%04X, len %d", $2, $3);
|
||||
DumpMem($2, $3, INT_MEM_ID);
|
||||
memory_dump($2, $3, INT_MEM_ID);
|
||||
}
|
||||
|
|
||||
TOK_DP NUMBER NUMBER TOK_ENTER
|
||||
{
|
||||
log_debug(" Dump Program Memory at $%04X, len %d", $2, $3);
|
||||
DumpMem($2, $3, PGM_MEM_ID);
|
||||
memory_dump($2, $3, PGM_MEM_ID);
|
||||
}
|
||||
;
|
||||
|
||||
|
@@ -220,7 +220,7 @@ pgm_read_addr16(uint16_t base)
|
||||
|
||||
/* Dump memory */
|
||||
void
|
||||
DumpMem(unsigned int address, int size, int memory_id)
|
||||
memory_dump(unsigned int address, int size, int memory_id)
|
||||
{
|
||||
int rc;
|
||||
int Offset, Column;
|
||||
|
@@ -92,6 +92,6 @@ uint16_t
|
||||
pgm_read_addr16(uint16_t base);
|
||||
|
||||
void
|
||||
DumpMem(unsigned int address, int size, int memory_id);
|
||||
memory_dump(unsigned int address, int size, int memory_id);
|
||||
|
||||
#endif /* MEMORY_H */
|
||||
|
Reference in New Issue
Block a user