mirror of
https://github.com/ksherlock/mpw.git
synced 2025-02-03 05:30:28 +00:00
load error and global files
This commit is contained in:
parent
c7acd1d8e1
commit
a11eacf317
@ -76,6 +76,8 @@ namespace {
|
|||||||
ToolMap tbrkMap; // tool breaks.
|
ToolMap tbrkMap; // tool breaks.
|
||||||
|
|
||||||
std::map<std::string, uint32_t> SymbolTable;
|
std::map<std::string, uint32_t> SymbolTable;
|
||||||
|
std::map<std::string, uint16_t> ErrorTable;
|
||||||
|
std::map<std::string, uint16_t> GlobalTable;
|
||||||
std::map<std::string, uint16_t> TrapTable;
|
std::map<std::string, uint16_t> TrapTable;
|
||||||
|
|
||||||
void hexdump(const uint8_t *data, ssize_t size, uint32_t address = 0)
|
void hexdump(const uint8_t *data, ssize_t size, uint32_t address = 0)
|
||||||
@ -992,11 +994,8 @@ void Shell()
|
|||||||
|
|
||||||
Loader::Native::LoadDebugNames(SymbolTable);
|
Loader::Native::LoadDebugNames(SymbolTable);
|
||||||
|
|
||||||
//for (const auto &kv : SymbolTable)
|
LoadTrapFile(MPW::RootDirPathForFile("Errors.text"), ErrorTable);
|
||||||
//{
|
LoadTrapFile(MPW::RootDirPathForFile("Globals.text"), GlobalTable);
|
||||||
// printf("%06x: %s\n", kv.second, kv.first.c_str());
|
|
||||||
//}
|
|
||||||
|
|
||||||
LoadTrapFile(MPW::RootDirPathForFile("Traps.text"), TrapTable);
|
LoadTrapFile(MPW::RootDirPathForFile("Traps.text"), TrapTable);
|
||||||
|
|
||||||
// start it up
|
// start it up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user