#ifndef __mpw_loader_h__ #define __mpw_loader_h__ #include #include #include namespace Loader { typedef std::map> DebugNameTable; namespace Native { /* * loads the file * sets registers PC and A5. * sets certain globals. * * Dependencies: MM, RM */ uint16_t LoadFile(const std::string &path); // scans segments for MacsBug debug names. // associates them with the start of the segment. void LoadDebugNames(DebugNameTable &table); } uint16_t LoadSeg(uint16_t trap); uint16_t UnloadSeg(uint16_t trap); } #endif