PopUpOk("Press $$FG,GREEN$$$$FG$$."); "Ed(\"HI:Debugging\");"; AFPmtStr("\n"); PopUpOk( "$$FG,GREEN$$$$FG$$ to abort.\n"); AFUntilChar(CH_SHIFT_ESC,CH_ESC); PopUpOk( "We will now use $LK,"Uf","MN:Uf"$() to\n" "unassemble a function.\n" "It takes the function name\n" "as a string arg.\n\n" "Press $$FG,GREEN$$$$FG$$."); "WinMax;WinBorder;\nUf(\"CAlloc\");"; AFPmtStr("\n"); PopUpOk("Press $$FG,GREEN$$$$FG$$ eight times.."); I64 i; for (i=0;i<8;i++) AFGetKey(SC_CURSOR_UP); PopUpOk( "Press $$FG,GREEN$$$$FG$$.\n"); AFPmtStr(" "); PopUpOk( "$$FG,GREEN$$$$FG$$ when finished.\n"); AFUntilChar(CH_SHIFT_ESC,CH_ESC); //This puts the cursor at the bottom Msg(MSG_KEY_DOWN,0,SC_CURSOR_DOWN|SCF_CTRL); "AFView;\n"; PopUpOk( "$$FG,GREEN$$$$FG$$ when finished.\n"); AFUntilChar(CH_SHIFT_ESC,CH_ESC); PopUpOk( "We can unassemble a\n" "numeric address with $LK,"U","MN:U"$().\n\n" "Press $$FG,GREEN$$$$FG$$."); "U(&CAlloc);"; AFPmtStr("\n"); "AFView;\n"; PopUpOk( "$$FG,GREEN$$$$FG$$ when finished.\n"); AFUntilChar(CH_SHIFT_ESC,CH_ESC); PopUpOk("The opcodes are slightly nonstandard."); "Ed(\"::/TempleOS/Compiler/OpCodes.TXT.Z\");\n"; PopUpOk( "$$FG,GREEN$$$$FG$$ to abort.\n"); AFUntilChar(CH_SHIFT_ESC,CH_ESC);