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