MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / CmdDebugStartup

Function CmdDebugStartup

source/Debugger/Debug.cpp:9492–9523  ·  view source on GitHub ↗

Load debugger script files Called from DebugInitialize() User can also call ===========================================================================

Source from the content-addressed store, hash-verified

9490// User can also call
9491//===========================================================================
9492Update_t CmdDebugStartup (int nArgs)
9493{
9494 SymbolsClear();
9495
9496 // Load Main, Applesoft, and User Symbols
9497 g_bSymbolsDisplayMissingFile = false;
9498
9499 g_iCommand = CMD_SYMBOLS_ROM;
9500 CmdSymbolsLoad(0);
9501
9502 g_iCommand = CMD_SYMBOLS_APPLESOFT;
9503 CmdSymbolsLoad(0);
9504
9505 // 2.9.2.5 Added: Symbol table A2_DOS33.SYM2
9506 g_iCommand = CMD_SYMBOLS_DOS33;
9507 CmdSymbolsLoad(0);
9508
9509 // ,0x7,0xFF // Treat zero-page as data
9510 // $00 GOWARM JSR ...
9511 // $01 LOC1 DW
9512 // $03 GOSTROUT JSR ...
9513 // $07..$B0
9514 // $B1 CHRGET
9515 // $C8
9516 // $C9 RNDSEED DW
9517 // $D0..$FF
9518
9519 g_iCommand = CMD_SYMBOLS_USER_1;
9520 CmdSymbolsLoad(0);
9521
9522 return UPDATE_NOTHING;
9523}
9524
9525// Add character to the input line
9526//===========================================================================

Callers 1

DebugInitializeFunction · 0.85

Calls 2

SymbolsClearFunction · 0.85
CmdSymbolsLoadFunction · 0.85

Tested by

no test coverage detected