Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/!ShellDBug/!ShellDBug
!AWJan95/Goodies/Event/!ShellDBug/!ShellDBug
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 |
Filename: | !AWJan95/Goodies/Event/!ShellDBug/!ShellDBug |
Read OK: | ✔ |
File size: | 2525 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
1REM > <ShellDBug$Dir>.!ShellDBug 2: 3ON ERROR PROCshell_Error 4: 5LIBRARY "<EvntShell$Path>ShellLibRT" 6: 7SYS "Hourglass_On" 8: 9SYS "Wimp_SlotSize",-1,-1 TO progsize% 10pagesize%=1<<10 11freespace%=&8000+progsize% 12END=freespace%+pagesize% 13HIMEM=freespace% 14: 15PROCshell_HeapManagerInit("<EvntShell$Path>",freespace%) 16PROCshell_Init 17task_id%=FNshell_WimpInit_I(200,"EvntShell Debugger") 18REM PROCshell_TraceInit("RAM::RamDisc0.$.Tracefile") 19REM PROCshell_TraceOn 20PROCshell_ResourcesInit 21PROCapp_init 22: 23REM -------------------- Initialise Variables ---------------------------- 24: 25_closedown% =FALSE :REM Set this to TRUE when you want the program to 26 :REM end 27changed% =FALSE :REM Used to keep track of whether the data has 28 :REM been changed. Call PROCfile_changed() when it 29 :REM has. But if the program does not use data 30 :REM files just ignore this variable but do not 31 :REM delete it as the program checks it before 32 :REM exiting! 33: 34REM -------------------- Miscelleanous Initialisation -------------------- 35: 36SYS "Hourglass_Off" 37ON ERROR OFF 38ON ERROR PROCshell_Error 39REPEAT 40 PROCshell_Action(FNshell_Poll_I(0,task_id%)) 41UNTIL _closedown% 42: 43PROCshell_Exit:END 44: 45REM ====================================================================== 46: 47DEF PROCapp_init 48PROCSetUp_Menus 49PROCSetUp_Windows 50PROCSetUp_IconBar 51 52TraceActive%=FALSE :REM global flag.. 53respond_to_task%=0 :REM task handle to accept debug info from 54line_spacing% =40 :REM obvious.. 55running%=0 :REM keeps track of how many times ShellDBug has started 56UpdateRequired% =-1 :REM only update window on null events.. 57PROCshell_InitHelpSystem(FNshell_GetAppDir+".ShellDBug",TRUE) 58nr_lines%=0:nr_chars%=0:buffer%=FNshell_HeapBlockFetch(4) 59PROCshell_BroadcastMessage(&43B00,"EvntShellLib:ShellDBug started") 60PROCshell_AttachTaskInitialiseHandler("_TaskInit") 61ENDPROC 62: 63DEF FN_TaskInit(handle%,name$) 64LOCAL void%,blk% 65IF name$="EvntShell Debugger" THEN 66 running%+=1 67 IF running%>1 THEN 68 void%=FNshell_MessageWindow(FNshell_MessageNoArgs("onecopy"),0,FNshell_GetAppName,"") 69 blk%=FNshell_HeapBlockFetch(24) 70 blk%!00=24 71 blk%!04=0 72 blk%!16=0 73 SYS "Wimp_SendMessage",17,blk%,handle% 74 PROCshell_HeapBlockReturn(blk%) 75 running%=1 76 ENDIF 77ENDIF 78=0 79: 80REM ===== Menu_Setup routines ====================================== 81 82DEF PROCSetUp_Menus 83LOCAL void% 84 85MenuHandle_IconBar%=FNshell_MenuNew(FNshell_MessageNoArgs("ShellDBug")) 86MenuItem_Info% =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Info"),"") 87void% =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Help"),"_MenuSelect_Help") 88MenuItem_Events% =FNshell_MenuAdd(0,FNshell_MessageNoArgs("ListEvnts"),"_MenuSelect_Events") 89void% =FNshell_MenuAdd(0,"Quit","_MenuSelect_Quit") 90PROCshell_AttachMenuDBox(MenuItem_Info%,"progInfo","_PreOpen_Info","") 91 92MenuHandle_Buffer% =FNshell_MenuNew(FNshell_MessageNoArgs("Debugbuffer")) 93void% =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Clearbuffer"),"_MenuSelect_Clear") 94MenuItem_Save% =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Savebuffer"),"") 95PROCshell_AttachMenuDBox(MenuItem_Save%,"save_temp","_PreOpen_SaveTemp","") 96 97MenuHandle_Events% =FNshell_MenuNew("Events") 98MenuItem_ClickSel% =FNshell_MenuAdd(0,"Click_Select","_MenuSelect_ClickSel") 99MenuItem_ClickAdj% =FNshell_MenuAdd(0,"Click_Adjust","_MenuSelect_ClickAdj") 100MenuItem_Tags% =FNshell_MenuAdd(0,"Help tags","_MenuSelect_Tags") 101PROCshell_AttachSubMenu(MenuItem_Events%,MenuHandle_Events%,"") 102 103ENDPROC 104: 105 106REM ===== Window_SetUp routines ==================================== 107 108DEF PROCSetUp_Windows 109PROCshell_CreateWindowStatic("mainw",mainw%) 110PROCshell_AttachUserRedraw(mainw%,"_redraw") 111PROCshell_AttachHelpTag(mainw%,-1,"mainw") 112PROCshell_AttachMenu(mainw%,-1,MenuHandle_Buffer%,0,0,0) 113ENDPROC 114: 115 116REM ===== IconBar_SetUp routines =================================== 117 118DEF PROCSetUp_IconBar 119sicon=FNshell_Iconbar(-1,"!"+FNshell_GetAppName,"Off",120,MenuHandle_IconBar%,0,0,0) 120PROCshell_AttachHelpTag(-1,sicon,"iconbar") 121PROCshell_AttachClickSelect(-1,sicon,"_ClickSelIconbar") 122PROCshell_AttachClickAdjust(-1,sicon,"_ClickAdjIconbar") 123ENDPROC 124: 125 126REM ===== Dialog_PreOpen routines ================================== 127 128DEF FN_PreOpen_Info(h%) 129PROCshell_IconPutData(h%,0,FNshell_MessageNoArgs("progInfo0"),0) 130PROCshell_IconPutData(h%,1,FNshell_MessageNoArgs("progInfo1"),0) 131PROCshell_IconPutData(h%,2,FNshell_MessageNoArgs("progInfo2"),0) 132PROCshell_IconPutData(h%,3,FNshell_MessageNoArgs("progInfo3"),0) 133PROCshell_AttachHelpTag(h%,-1,"proginfow") 134=0 135: 136DEF FN_PreOpen_SaveTemp(h%) 137PROCshell_IconPutData(h%,1,"TraceFile",0) 138PROCshell_AttachDataSave(h%,2,nr_chars%,&FFF,1,"_do_save") 139PROCshell_AttachHelpTag(h%,-1,"savetempw") 140=0 141: 142 143REM ===== Dialog_PostOpen routines ================================= 144 145REM ===== Click_Select routines ==================================== 146 147DEF FN_ClickSelIconbar(wh%,icon%) 148PROCshell_OpenWindowStatic(mainw%) 149=0 150: 151 152REM ===== Click_Adjust routines ==================================== 153 154DEF FN_ClickAdjIconbar(wh%,icon%) 155REM Toggle active status.. 156VDU7 157IF TraceActive%=FALSE THEN 158 TraceActive%=TRUE 159 PROCshell_IconbarSetText(-1,sicon,"On") 160 PROCshell_BroadcastMessage(&43B00,"EvntShellLib:TraceOn") 161ELSE 162 TraceActive%=FALSE 163 PROCshell_IconbarSetText(-1,sicon,"Off") 164 PROCshell_BroadcastMessage(&43B00,"EvntShellLib:TraceOff") 165ENDIF 166=0 167: 168REM ===== Menu_Select routines ===================================== 169 170DEF FN_MenuSelect_Help(blk%) 171IF FNshell_StrongHlpIsAvailable THEN 172 PROCshell_HelpWord(FNshell_GetAppName+".$") 173ELSE 174 PROCshell_MessageSendDataLoad(&FFF,"ShellDBugRes:Help") 175ENDIF 176=0 177: 178DEF FN_MenuSelect_Quit(blk%) 179_closedown%=TRUE 180=0 181: 182DEF FN_MenuSelect_Clear(blk%) 183nr_lines%=0:PROCshell_HeapBlockReturn(buffer%) 184buffer%=FNshell_HeapBlockFetch(4) 185IF FNshell_WindowIsOpen(mainw%) THEN 186 PROCshell_CloseWindow(mainw%) 187 PROCshell_OpenWindowStatic(mainw%) 188ENDIF 189buffer%=FNshell_HeapBlockFetch(4) 190PROCshell_WindowResize(mainw%,0,-120,1000,0,-1) 191=0 192: 193 194DEF FN_MenuSelect_ClickSel(blk%) 195PROCshell_BroadcastMessage(&43B00,"EvntShellLib:ListClickSelect") 196=0 197: 198DEF FN_MenuSelect_ClickAdj(blk%) 199PROCshell_BroadcastMessage(&43B00,"EvntShellLib:ListClickAdjust") 200=0 201: 202DEF FN_MenuSelect_Tags(blk%) 203PROCshell_BroadcastMessage(&43B00,"EvntShellLib:ListHelpTags") 204=0 205: 206 207REM ===== Menu_Warning routines ==================================== 208 209REM ===== Data_Load routines ======================================= 210 211REM ===== Data_Save routines ======================================= 212 213DEF FN_do_save(name$) 214LOCAL ptr%,X%,lines% 215PROCshell_Tracef0("In FN_do_save..") 216PROCshell_Tracef0("File name is "+name$) 217ptr%=0 218X%=OPENOUT(name$) 219IF nr_lines%>0 THEN 220 REPEAT 221 BPUT# X%,$(buffer%+ptr%) 222 ptr%+=100:lines%+=1 223 UNTIL lines%=nr_lines% 224ENDIF 225CLOSE# X% 226OSCLI("SetType "+name$+" FFF") 227=0 228: 229REM ================ Application Routines ================================ 230: 231DEF PROCshell_HandleUnknownMessage(blk%) 232CASE blk%!16 OF 233 WHEN &43B00:PROCmessage(blk%!4,$(blk%+20)):REM possible trace message! 234ENDCASE 235ENDPROC 236: 237DEF PROCmessage(task%,text$) 238REM Ignore messages sent by this task!! 239IF task%<>task_id% THEN 240 IF LEFT$(text$,14)="ShellDBug:Init" THEN 241 PROCshelldbug_init(task%,MID$(text$,16)) 242 PROCshell_BroadcastMessage(&43B00,"EvntShellLib:TraceInitAck") 243 ENDIF 244 IF LEFT$(text$,15)="ShellDBug:Trace" THEN 245 PROCshelldbug_trace(task%,MID$(text$,16)) 246 ENDIF 247 IF LEFT$(text$,17)="ShellDBug:TraceOn" THEN 248 TraceActive%=TRUE 249 PROCshell_IconbarSetText(-1,sicon,"On") 250 PROCshelldbug_trace(task%,"Starting Trace...") 251 ENDIF 252 IF LEFT$(text$,18)="ShellDBug:TraceOff" THEN 253 TraceActive%=FALSE 254 PROCshell_IconbarSetText(-1,sicon,"Off") 255 PROCshelldbug_trace(task%,"Trace Off...") 256 ENDIF 257ENDIF 258ENDPROC 259: 260DEF PROCshelldbug_init(task%,text$) 261respond_to_task%=task% 262PROCshell_CloseWindow(mainw%) 263PROCshell_OpenWindowStatic(mainw%) 264nr_lines%=0:nr_chars%=0 265PROCshell_WindowResize(mainw%,0,-120,1000,0,-1) 266PROCshell_WindowRetitle(mainw%,text$) 267PROCshell_HeapBlockReturn(buffer%) 268buffer%=FNshell_HeapBlockFetch(4) 269IF TraceActive% THEN 270 PROCshell_BroadcastMessage(&43B00,"EvntShellLib:TraceOn") 271ENDIF 272ENDPROC 273: 274DEF PROCshelldbug_trace(task%,text$) 275IF task%=respond_to_task% THEN 276 buffer%=FNshell_HeapBlockExtend(buffer%,100) 277 text$=LEFT$(text$,LENtext$-1):REM strip CHR$0 from end.. 278 nr_chars%=nr_chars%+LENtext$+1 279 $(buffer%+(nr_lines%*100))=LEFT$(text$,99) 280 nr_lines%+=1 281 UpdateRequired%=TRUE 282ENDIF 283ENDPROC 284: 285DEF FN_redraw(blk%,x0%,y0%) 286LOCAL top%,base%,i% 287top%=(y0%-blk%!40)DIVline_spacing% 288IF top%<0 THEN top%=0 289base%=(47+y0%-blk%!32)DIVline_spacing% 290i%=top% 291WHILE i%<nr_lines% AND i%<=base% 292 IF i%=nr_lines%-1 THEN SYS "Wimp_SetColour",11 ELSE SYS "Wimp_SetColour",5 293 MOVE x0%+10,y0%-(i%*line_spacing%)-10 294 PRINT $(buffer%+(100*i%)) 295 i%+=1 296ENDWHILE 297=0 298: 299DEF PROCshell_DoBackgroundTask 300IF UpdateRequired% THEN 301PROCshell_WindowResize(mainw%,0,(((nr_lines%+1)*line_spacing%)*-1)+line_spacing%,1600,0,0) 302 IF FNshell_WindowIsOpen(mainw%) THEN 303 _Q%!0=mainw% 304 SYS "Wimp_GetWindowInfo",,_Q% 305 _Q%!24=_Q%!48-_Q%!8 306 SYS "Wimp_CloseWindow",,_Q% 307 SYS "Wimp_OpenWindow",,_Q% 308 ENDIF 309 UpdateRequired%=FALSE 310ENDIF 311ENDPROC 312: 313REM ================= End Of User Application ============================ 314:
"� > <ShellDBug$Dir>.!ShellDBug : � � �shell_Error : #ț "<EvntShell$Path>ShellLibRT" : ș "Hourglass_On" : (ș "Wimp_SlotSize",-1,-1 � progsize% pagesize%=1<<10 freespace%=&8000+progsize% �=freespace%+pagesize% �=freespace% : 9�shell_HeapManagerInit("<EvntShell$Path>",freespace%) �shell_Init 8task_id%=�shell_WimpInit_I(200,"EvntShell Debugger") 6� PROCshell_TraceInit("RAM::RamDisc0.$.Tracefile") � PROCshell_TraceOn �shell_ResourcesInit �app_init : L� -------------------- Initialise Variables ---------------------------- : G_closedown% =� :� Set this to TRUE when you want the program to ! :� end Dchanged% =� :� Used to keep track of whether the data has K :� been changed. Call PROCfile_changed() when it G :� has. But if the program does not use data H :� files just ignore this variable but do not G :� delete it as the program checks it before & :� exiting! !: "L� -------------------- Miscelleanous Initialisation -------------------- #: $ș "Hourglass_Off" % � � � &� � �shell_Error '� (. �shell_Action(�shell_Poll_I(0,task_id%)) )� _closedown% *: +�shell_Exit:� ,: -L� ====================================================================== .: /� �app_init 0�SetUp_Menus 1�SetUp_Windows 2�SetUp_IconBar 3 4&TraceActive%=� :� global flag.. 5Brespond_to_task%=0 :� task handle to accept debug info from 6&line_spacing% =40 :� obvious.. 7Prunning%=0 :� keeps track of how many times ShellDBug has started 8@UpdateRequired% =-1 :� only update window on null events.. 9:�shell_InitHelpSystem(�shell_GetAppDir+".ShellDBug",�) :<nr_lines%=0:nr_chars%=0:buffer%=�shell_HeapBlockFetch(4) ;D�shell_BroadcastMessage(&43B00,"EvntShellLib:ShellDBug started") <3�shell_AttachTaskInitialiseHandler("_TaskInit") =� >: ?� �_TaskInit(handle%,name$) @� void%,blk% A"� name$="EvntShell Debugger" � B running%+=1 C � running%>1 � DZ void%=�shell_MessageWindow(�shell_MessageNoArgs("onecopy"),0,�shell_GetAppName,"") E& blk%=�shell_HeapBlockFetch(24) F blk%!00=24 G blk%!04=0 H blk%!16=0 I- ș "Wimp_SendMessage",17,blk%,handle% J$ �shell_HeapBlockReturn(blk%) K running%=1 L � M� N=0 O: PF� ===== Menu_Setup routines ====================================== Q R� �SetUp_Menus S� void% T UIMenuHandle_IconBar%=�shell_MenuNew(�shell_MessageNoArgs("ShellDBug")) VIMenuItem_Info% =�shell_MenuAdd(0,�shell_MessageNoArgs("Info"),"") WYvoid% =�shell_MenuAdd(0,�shell_MessageNoArgs("Help"),"_MenuSelect_Help") X`MenuItem_Events% =�shell_MenuAdd(0,�shell_MessageNoArgs("ListEvnts"),"_MenuSelect_Events") YCvoid% =�shell_MenuAdd(0,"Quit","_MenuSelect_Quit") ZG�shell_AttachMenuDBox(MenuItem_Info%,"progInfo","_PreOpen_Info","") [ \KMenuHandle_Buffer% =�shell_MenuNew(�shell_MessageNoArgs("Debugbuffer")) ]avoid% =�shell_MenuAdd(0,�shell_MessageNoArgs("Clearbuffer"),"_MenuSelect_Clear") ^OMenuItem_Save% =�shell_MenuAdd(0,�shell_MessageNoArgs("Savebuffer"),"") _L�shell_AttachMenuDBox(MenuItem_Save%,"save_temp","_PreOpen_SaveTemp","") ` a0MenuHandle_Events% =�shell_MenuNew("Events") bOMenuItem_ClickSel% =�shell_MenuAdd(0,"Click_Select","_MenuSelect_ClickSel") cOMenuItem_ClickAdj% =�shell_MenuAdd(0,"Click_Adjust","_MenuSelect_ClickAdj") dDMenuItem_Tags% =�shell_MenuAdd(0,"Help tags","_MenuSelect_Tags") e@�shell_AttachSubMenu(MenuItem_Events%,MenuHandle_Events%,"") f g� h: i jF� ===== Window_SetUp routines ==================================== k l� �SetUp_Windows m-�shell_CreateWindowStatic("mainw",mainw%) n-�shell_AttachUserRedraw(mainw%,"_redraw") o+�shell_AttachHelpTag(mainw%,-1,"mainw") p9�shell_AttachMenu(mainw%,-1,MenuHandle_Buffer%,0,0,0) q� r: s tF� ===== IconBar_SetUp routines =================================== u v� �SetUp_IconBar wVsicon=�shell_Iconbar(-1,"!"+�shell_GetAppName,"Off",120,MenuHandle_IconBar%,0,0,0) x,�shell_AttachHelpTag(-1,sicon,"iconbar") y9�shell_AttachClickSelect(-1,sicon,"_ClickSelIconbar") z9�shell_AttachClickAdjust(-1,sicon,"_ClickAdjIconbar") {� |: } ~F� ===== Dialog_PreOpen routines ================================== �� �_PreOpen_Info(h%) �@�shell_IconPutData(h%,0,�shell_MessageNoArgs("progInfo0"),0) �@�shell_IconPutData(h%,1,�shell_MessageNoArgs("progInfo1"),0) �@�shell_IconPutData(h%,2,�shell_MessageNoArgs("progInfo2"),0) �@�shell_IconPutData(h%,3,�shell_MessageNoArgs("progInfo3"),0) �+�shell_AttachHelpTag(h%,-1,"proginfow") �=0 �: �� �_PreOpen_SaveTemp(h%) �*�shell_IconPutData(h%,1,"TraceFile",0) �;�shell_AttachDataSave(h%,2,nr_chars%,&FFF,1,"_do_save") �+�shell_AttachHelpTag(h%,-1,"savetempw") �=0 �: � �F� ===== Dialog_PostOpen routines ================================= � �F� ===== Click_Select routines ==================================== � �"� �_ClickSelIconbar(wh%,icon%) �#�shell_OpenWindowStatic(mainw%) �=0 �: � �F� ===== Click_Adjust routines ==================================== � �"� �_ClickAdjIconbar(wh%,icon%) �� Toggle active status.. ��7 �� TraceActive%=� � � TraceActive%=� �* �shell_IconbarSetText(-1,sicon,"On") �< �shell_BroadcastMessage(&43B00,"EvntShellLib:TraceOn") �� � TraceActive%=� �+ �shell_IconbarSetText(-1,sicon,"Off") �= �shell_BroadcastMessage(&43B00,"EvntShellLib:TraceOff") �� �=0 �: �F� ===== Menu_Select routines ===================================== � �� �_MenuSelect_Help(blk%) �#� �shell_StrongHlpIsAvailable � �- �shell_HelpWord(�shell_GetAppName+".$") �� �: �shell_MessageSendDataLoad(&FFF,"ShellDBugRes:Help") �� �=0 �: �� �_MenuSelect_Quit(blk%) �_closedown%=� �=0 �: �� �_MenuSelect_Clear(blk%) �/nr_lines%=0:�shell_HeapBlockReturn(buffer%) �$buffer%=�shell_HeapBlockFetch(4) �#� �shell_WindowIsOpen(mainw%) � � �shell_CloseWindow(mainw%) �+ �shell_OpenWindowStatic(mainw%) �� �$buffer%=�shell_HeapBlockFetch(4) �0�shell_WindowResize(mainw%,0,-120,1000,0,-1) �=0 �: � �!� �_MenuSelect_ClickSel(blk%) �B�shell_BroadcastMessage(&43B00,"EvntShellLib:ListClickSelect") �=0 �: �!� �_MenuSelect_ClickAdj(blk%) �B�shell_BroadcastMessage(&43B00,"EvntShellLib:ListClickAdjust") �=0 �: �� �_MenuSelect_Tags(blk%) �?�shell_BroadcastMessage(&43B00,"EvntShellLib:ListHelpTags") �=0 �: � �F� ===== Menu_Warning routines ==================================== � �F� ===== Data_Load routines ======================================= � �F� ===== Data_Save routines ======================================= � �� �_do_save(name$) �� ptr%,X%,lines% �%�shell_Tracef0("In FN_do_save..") �)�shell_Tracef0("File name is "+name$) � ptr%=0 �X%=�(name$) �� nr_lines%>0 � � � � �# X%,$(buffer%+ptr%) � ptr%+=100:lines%+=1 � � lines%=nr_lines% �� � �# X% ��("SetType "+name$+" FFF") �=0 �: �L� ================ Application Routines ================================ �: �'� �shell_HandleUnknownMessage(blk%) �Ȏ blk%!16 � �D � &43B00:�message(blk%!4,$(blk%+20)):� possible trace message! �� �� �: �� �message(task%,text$) �)� Ignore messages sent by this task!! �� task%<>task_id% � �& � �text$,14)="ShellDBug:Init" � �) �shelldbug_init(task%,�text$,16)) �C �shell_BroadcastMessage(&43B00,"EvntShellLib:TraceInitAck") � � �& � �text$,15)="ShellDBug:Trace" � �* �shelldbug_trace(task%,�text$,16)) � � �( � �text$,17)="ShellDBug:TraceOn" � � TraceActive%=� �, �shell_IconbarSetText(-1,sicon,"On") �3 �shelldbug_trace(task%,"Starting Trace...") � � �) � �text$,18)="ShellDBug:TraceOff" � � TraceActive%=� �- �shell_IconbarSetText(-1,sicon,"Off") �. �shelldbug_trace(task%,"Trace Off...") � � � : "� �shelldbug_init(task%,text$) respond_to_task%=task% �shell_CloseWindow(mainw%) #�shell_OpenWindowStatic(mainw%) nr_lines%=0:nr_chars%=0 0�shell_WindowResize(mainw%,0,-120,1000,0,-1) &�shell_WindowRetitle(mainw%,text$) #�shell_HeapBlockReturn(buffer%) $buffer%=�shell_HeapBlockFetch(4) � TraceActive% � < �shell_BroadcastMessage(&43B00,"EvntShellLib:TraceOn") � � : #� �shelldbug_trace(task%,text$) � task%=respond_to_task% � 1 buffer%=�shell_HeapBlockExtend(buffer%,100) 5 text$=�text$,�text$-1):� strip CHR$0 from end.. " nr_chars%=nr_chars%+�text$+1 + $(buffer%+(nr_lines%*100))=�text$,99) nr_lines%+=1 UpdateRequired%=� � � : � �_redraw(blk%,x0%,y0%) � top%,base%,i% $top%=(y0%-blk%!40)�line_spacing% � top%<0 � top%=0 !(base%=(47+y0%-blk%!32)�line_spacing% "i%=top% #ȕ i%<nr_lines% � i%<=base% $G � i%=nr_lines%-1 � ș "Wimp_SetColour",11 � ș "Wimp_SetColour",5 %( � x0%+10,y0%-(i%*line_spacing%)-10 & � $(buffer%+(100*i%)) ' i%+=1 (� )=0 *: +� �shell_DoBackgroundTask ,� UpdateRequired% � -[�shell_WindowResize(mainw%,0,(((nr_lines%+1)*line_spacing%)*-1)+line_spacing%,1600,0,0) .% � �shell_WindowIsOpen(mainw%) � / _Q%!0=mainw% 0$ ș "Wimp_GetWindowInfo",,_Q% 1 _Q%!24=_Q%!48-_Q%!8 2" ș "Wimp_CloseWindow",,_Q% 3! ș "Wimp_OpenWindow",,_Q% 4 � 5 UpdateRequired%=� 6� 7� 8: 9L� ================= End Of User Application ============================ :: �
00000000 0d 00 01 22 f4 20 3e 20 3c 53 68 65 6c 6c 44 42 |...". > <ShellDB| 00000010 75 67 24 44 69 72 3e 2e 21 53 68 65 6c 6c 44 42 |ug$Dir>.!ShellDB| 00000020 75 67 0d 00 02 05 3a 0d 00 03 14 ee 20 85 20 f2 |ug....:..... . .| 00000030 73 68 65 6c 6c 5f 45 72 72 6f 72 0d 00 04 05 3a |shell_Error....:| 00000040 0d 00 05 23 c8 9b 20 22 3c 45 76 6e 74 53 68 65 |...#.. "<EvntShe| 00000050 6c 6c 24 50 61 74 68 3e 53 68 65 6c 6c 4c 69 62 |ll$Path>ShellLib| 00000060 52 54 22 0d 00 06 05 3a 0d 00 07 15 c8 99 20 22 |RT"....:...... "| 00000070 48 6f 75 72 67 6c 61 73 73 5f 4f 6e 22 0d 00 08 |Hourglass_On"...| 00000080 05 3a 0d 00 09 28 c8 99 20 22 57 69 6d 70 5f 53 |.:...(.. "Wimp_S| 00000090 6c 6f 74 53 69 7a 65 22 2c 2d 31 2c 2d 31 20 b8 |lotSize",-1,-1 .| 000000a0 20 70 72 6f 67 73 69 7a 65 25 0d 00 0a 13 70 61 | progsize%....pa| 000000b0 67 65 73 69 7a 65 25 3d 31 3c 3c 31 30 0d 00 0b |gesize%=1<<10...| 000000c0 1e 66 72 65 65 73 70 61 63 65 25 3d 26 38 30 30 |.freespace%=&800| 000000d0 30 2b 70 72 6f 67 73 69 7a 65 25 0d 00 0c 1a e0 |0+progsize%.....| 000000e0 3d 66 72 65 65 73 70 61 63 65 25 2b 70 61 67 65 |=freespace%+page| 000000f0 73 69 7a 65 25 0d 00 0d 10 d3 3d 66 72 65 65 73 |size%.....=frees| 00000100 70 61 63 65 25 0d 00 0e 05 3a 0d 00 0f 39 f2 73 |pace%....:...9.s| 00000110 68 65 6c 6c 5f 48 65 61 70 4d 61 6e 61 67 65 72 |hell_HeapManager| 00000120 49 6e 69 74 28 22 3c 45 76 6e 74 53 68 65 6c 6c |Init("<EvntShell| 00000130 24 50 61 74 68 3e 22 2c 66 72 65 65 73 70 61 63 |$Path>",freespac| 00000140 65 25 29 0d 00 10 0f f2 73 68 65 6c 6c 5f 49 6e |e%).....shell_In| 00000150 69 74 0d 00 11 38 74 61 73 6b 5f 69 64 25 3d a4 |it...8task_id%=.| 00000160 73 68 65 6c 6c 5f 57 69 6d 70 49 6e 69 74 5f 49 |shell_WimpInit_I| 00000170 28 32 30 30 2c 22 45 76 6e 74 53 68 65 6c 6c 20 |(200,"EvntShell | 00000180 44 65 62 75 67 67 65 72 22 29 0d 00 12 36 f4 20 |Debugger")...6. | 00000190 50 52 4f 43 73 68 65 6c 6c 5f 54 72 61 63 65 49 |PROCshell_TraceI| 000001a0 6e 69 74 28 22 52 41 4d 3a 3a 52 61 6d 44 69 73 |nit("RAM::RamDis| 000001b0 63 30 2e 24 2e 54 72 61 63 65 66 69 6c 65 22 29 |c0.$.Tracefile")| 000001c0 0d 00 13 17 f4 20 50 52 4f 43 73 68 65 6c 6c 5f |..... PROCshell_| 000001d0 54 72 61 63 65 4f 6e 0d 00 14 18 f2 73 68 65 6c |TraceOn.....shel| 000001e0 6c 5f 52 65 73 6f 75 72 63 65 73 49 6e 69 74 0d |l_ResourcesInit.| 000001f0 00 15 0d f2 61 70 70 5f 69 6e 69 74 0d 00 16 05 |....app_init....| 00000200 3a 0d 00 17 4c f4 20 2d 2d 2d 2d 2d 2d 2d 2d 2d |:...L. ---------| 00000210 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 20 49 6e 69 74 |----------- Init| 00000220 69 61 6c 69 73 65 20 56 61 72 69 61 62 6c 65 73 |ialise Variables| 00000230 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d | ---------------| 00000240 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 00 18 |-------------...| 00000250 05 3a 0d 00 19 47 5f 63 6c 6f 73 65 64 6f 77 6e |.:...G_closedown| 00000260 25 20 20 20 20 20 3d a3 20 3a f4 20 53 65 74 20 |% =. :. Set | 00000270 74 68 69 73 20 74 6f 20 54 52 55 45 20 77 68 65 |this to TRUE whe| 00000280 6e 20 79 6f 75 20 77 61 6e 74 20 74 68 65 20 70 |n you want the p| 00000290 72 6f 67 72 61 6d 20 74 6f 0d 00 1a 21 20 20 20 |rogram to...! | 000002a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000002b0 20 20 20 20 3a f4 20 65 6e 64 0d 00 1b 44 63 68 | :. end...Dch| 000002c0 61 6e 67 65 64 25 20 20 20 20 20 20 20 20 3d a3 |anged% =.| 000002d0 20 3a f4 20 55 73 65 64 20 74 6f 20 6b 65 65 70 | :. Used to keep| 000002e0 20 74 72 61 63 6b 20 6f 66 20 77 68 65 74 68 65 | track of whethe| 000002f0 72 20 74 68 65 20 64 61 74 61 20 68 61 73 0d 00 |r the data has..| 00000300 1c 4b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |.K | 00000310 20 20 20 20 20 20 20 20 20 3a f4 20 62 65 65 6e | :. been| 00000320 20 63 68 61 6e 67 65 64 2e 20 43 61 6c 6c 20 50 | changed. Call P| 00000330 52 4f 43 66 69 6c 65 5f 63 68 61 6e 67 65 64 28 |ROCfile_changed(| 00000340 29 20 77 68 65 6e 20 69 74 0d 00 1d 47 20 20 20 |) when it...G | 00000350 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000360 20 20 20 20 3a f4 20 68 61 73 2e 20 42 75 74 20 | :. has. But | 00000370 69 66 20 74 68 65 20 70 72 6f 67 72 61 6d 20 64 |if the program d| 00000380 6f 65 73 20 6e 6f 74 20 75 73 65 20 64 61 74 61 |oes not use data| 00000390 0d 00 1e 48 20 20 20 20 20 20 20 20 20 20 20 20 |...H | 000003a0 20 20 20 20 20 20 20 20 20 20 20 3a f4 20 66 69 | :. fi| 000003b0 6c 65 73 20 6a 75 73 74 20 69 67 6e 6f 72 65 20 |les just ignore | 000003c0 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 62 75 |this variable bu| 000003d0 74 20 64 6f 20 6e 6f 74 0d 00 1f 47 20 20 20 20 |t do not...G | 000003e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000003f0 20 20 20 3a f4 20 64 65 6c 65 74 65 20 69 74 20 | :. delete it | 00000400 61 73 20 74 68 65 20 70 72 6f 67 72 61 6d 20 63 |as the program c| 00000410 68 65 63 6b 73 20 69 74 20 62 65 66 6f 72 65 0d |hecks it before.| 00000420 00 20 26 20 20 20 20 20 20 20 20 20 20 20 20 20 |. & | 00000430 20 20 20 20 20 20 20 20 20 20 3a f4 20 65 78 69 | :. exi| 00000440 74 69 6e 67 21 0d 00 21 05 3a 0d 00 22 4c f4 20 |ting!..!.:.."L. | 00000450 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00000460 2d 2d 2d 2d 20 4d 69 73 63 65 6c 6c 65 61 6e 6f |---- Miscelleano| 00000470 75 73 20 49 6e 69 74 69 61 6c 69 73 61 74 69 6f |us Initialisatio| 00000480 6e 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |n --------------| 00000490 2d 2d 2d 2d 2d 2d 0d 00 23 05 3a 0d 00 24 16 c8 |------..#.:..$..| 000004a0 99 20 22 48 6f 75 72 67 6c 61 73 73 5f 4f 66 66 |. "Hourglass_Off| 000004b0 22 0d 00 25 09 ee 20 85 20 87 0d 00 26 14 ee 20 |"..%.. . ...&.. | 000004c0 85 20 f2 73 68 65 6c 6c 5f 45 72 72 6f 72 0d 00 |. .shell_Error..| 000004d0 27 05 f5 0d 00 28 2e 20 20 f2 73 68 65 6c 6c 5f |'....(. .shell_| 000004e0 41 63 74 69 6f 6e 28 a4 73 68 65 6c 6c 5f 50 6f |Action(.shell_Po| 000004f0 6c 6c 5f 49 28 30 2c 74 61 73 6b 5f 69 64 25 29 |ll_I(0,task_id%)| 00000500 29 0d 00 29 11 fd 20 5f 63 6c 6f 73 65 64 6f 77 |)..).. _closedow| 00000510 6e 25 0d 00 2a 05 3a 0d 00 2b 11 f2 73 68 65 6c |n%..*.:..+..shel| 00000520 6c 5f 45 78 69 74 3a e0 0d 00 2c 05 3a 0d 00 2d |l_Exit:...,.:..-| 00000530 4c f4 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |L. =============| 00000540 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000570 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 2e 05 3a 0d 00 |=========....:..| 00000580 2f 0f dd 20 f2 61 70 70 5f 69 6e 69 74 0d 00 30 |/.. .app_init..0| 00000590 10 f2 53 65 74 55 70 5f 4d 65 6e 75 73 0d 00 31 |..SetUp_Menus..1| 000005a0 12 f2 53 65 74 55 70 5f 57 69 6e 64 6f 77 73 0d |..SetUp_Windows.| 000005b0 00 32 12 f2 53 65 74 55 70 5f 49 63 6f 6e 42 61 |.2..SetUp_IconBa| 000005c0 72 0d 00 33 04 0d 00 34 26 54 72 61 63 65 41 63 |r..3...4&TraceAc| 000005d0 74 69 76 65 25 3d a3 20 20 20 20 3a f4 20 67 6c |tive%=. :. gl| 000005e0 6f 62 61 6c 20 66 6c 61 67 2e 2e 0d 00 35 42 72 |obal flag....5Br| 000005f0 65 73 70 6f 6e 64 5f 74 6f 5f 74 61 73 6b 25 3d |espond_to_task%=| 00000600 30 20 20 20 20 3a f4 20 74 61 73 6b 20 68 61 6e |0 :. task han| 00000610 64 6c 65 20 74 6f 20 61 63 63 65 70 74 20 64 65 |dle to accept de| 00000620 62 75 67 20 69 6e 66 6f 20 66 72 6f 6d 0d 00 36 |bug info from..6| 00000630 26 6c 69 6e 65 5f 73 70 61 63 69 6e 67 25 20 20 |&line_spacing% | 00000640 20 3d 34 30 20 20 20 3a f4 20 6f 62 76 69 6f 75 | =40 :. obviou| 00000650 73 2e 2e 0d 00 37 50 72 75 6e 6e 69 6e 67 25 3d |s....7Prunning%=| 00000660 30 20 20 20 20 20 20 20 20 20 20 20 20 3a f4 20 |0 :. | 00000670 6b 65 65 70 73 20 74 72 61 63 6b 20 6f 66 20 68 |keeps track of h| 00000680 6f 77 20 6d 61 6e 79 20 74 69 6d 65 73 20 53 68 |ow many times Sh| 00000690 65 6c 6c 44 42 75 67 20 68 61 73 20 73 74 61 72 |ellDBug has star| 000006a0 74 65 64 0d 00 38 40 55 70 64 61 74 65 52 65 71 |ted..8@UpdateReq| 000006b0 75 69 72 65 64 25 20 3d 2d 31 20 20 20 3a f4 20 |uired% =-1 :. | 000006c0 6f 6e 6c 79 20 75 70 64 61 74 65 20 77 69 6e 64 |only update wind| 000006d0 6f 77 20 6f 6e 20 6e 75 6c 6c 20 65 76 65 6e 74 |ow on null event| 000006e0 73 2e 2e 0d 00 39 3a f2 73 68 65 6c 6c 5f 49 6e |s....9:.shell_In| 000006f0 69 74 48 65 6c 70 53 79 73 74 65 6d 28 a4 73 68 |itHelpSystem(.sh| 00000700 65 6c 6c 5f 47 65 74 41 70 70 44 69 72 2b 22 2e |ell_GetAppDir+".| 00000710 53 68 65 6c 6c 44 42 75 67 22 2c b9 29 0d 00 3a |ShellDBug",.)..:| 00000720 3c 6e 72 5f 6c 69 6e 65 73 25 3d 30 3a 6e 72 5f |<nr_lines%=0:nr_| 00000730 63 68 61 72 73 25 3d 30 3a 62 75 66 66 65 72 25 |chars%=0:buffer%| 00000740 3d a4 73 68 65 6c 6c 5f 48 65 61 70 42 6c 6f 63 |=.shell_HeapBloc| 00000750 6b 46 65 74 63 68 28 34 29 0d 00 3b 44 f2 73 68 |kFetch(4)..;D.sh| 00000760 65 6c 6c 5f 42 72 6f 61 64 63 61 73 74 4d 65 73 |ell_BroadcastMes| 00000770 73 61 67 65 28 26 34 33 42 30 30 2c 22 45 76 6e |sage(&43B00,"Evn| 00000780 74 53 68 65 6c 6c 4c 69 62 3a 53 68 65 6c 6c 44 |tShellLib:ShellD| 00000790 42 75 67 20 73 74 61 72 74 65 64 22 29 0d 00 3c |Bug started")..<| 000007a0 33 f2 73 68 65 6c 6c 5f 41 74 74 61 63 68 54 61 |3.shell_AttachTa| 000007b0 73 6b 49 6e 69 74 69 61 6c 69 73 65 48 61 6e 64 |skInitialiseHand| 000007c0 6c 65 72 28 22 5f 54 61 73 6b 49 6e 69 74 22 29 |ler("_TaskInit")| 000007d0 0d 00 3d 05 e1 0d 00 3e 05 3a 0d 00 3f 1f dd 20 |..=....>.:..?.. | 000007e0 a4 5f 54 61 73 6b 49 6e 69 74 28 68 61 6e 64 6c |._TaskInit(handl| 000007f0 65 25 2c 6e 61 6d 65 24 29 0d 00 40 10 ea 20 76 |e%,name$)..@.. v| 00000800 6f 69 64 25 2c 62 6c 6b 25 0d 00 41 22 e7 20 6e |oid%,blk%..A". n| 00000810 61 6d 65 24 3d 22 45 76 6e 74 53 68 65 6c 6c 20 |ame$="EvntShell | 00000820 44 65 62 75 67 67 65 72 22 20 8c 0d 00 42 11 20 |Debugger" ...B. | 00000830 20 72 75 6e 6e 69 6e 67 25 2b 3d 31 0d 00 43 14 | running%+=1..C.| 00000840 20 20 e7 20 72 75 6e 6e 69 6e 67 25 3e 31 20 8c | . running%>1 .| 00000850 0d 00 44 5a 20 20 20 20 76 6f 69 64 25 3d a4 73 |..DZ void%=.s| 00000860 68 65 6c 6c 5f 4d 65 73 73 61 67 65 57 69 6e 64 |hell_MessageWind| 00000870 6f 77 28 a4 73 68 65 6c 6c 5f 4d 65 73 73 61 67 |ow(.shell_Messag| 00000880 65 4e 6f 41 72 67 73 28 22 6f 6e 65 63 6f 70 79 |eNoArgs("onecopy| 00000890 22 29 2c 30 2c a4 73 68 65 6c 6c 5f 47 65 74 41 |"),0,.shell_GetA| 000008a0 70 70 4e 61 6d 65 2c 22 22 29 0d 00 45 26 20 20 |ppName,"")..E& | 000008b0 20 20 62 6c 6b 25 3d a4 73 68 65 6c 6c 5f 48 65 | blk%=.shell_He| 000008c0 61 70 42 6c 6f 63 6b 46 65 74 63 68 28 32 34 29 |apBlockFetch(24)| 000008d0 0d 00 46 12 20 20 20 20 62 6c 6b 25 21 30 30 3d |..F. blk%!00=| 000008e0 32 34 0d 00 47 11 20 20 20 20 62 6c 6b 25 21 30 |24..G. blk%!0| 000008f0 34 3d 30 0d 00 48 11 20 20 20 20 62 6c 6b 25 21 |4=0..H. blk%!| 00000900 31 36 3d 30 0d 00 49 2d 20 20 20 20 c8 99 20 22 |16=0..I- .. "| 00000910 57 69 6d 70 5f 53 65 6e 64 4d 65 73 73 61 67 65 |Wimp_SendMessage| 00000920 22 2c 31 37 2c 62 6c 6b 25 2c 68 61 6e 64 6c 65 |",17,blk%,handle| 00000930 25 0d 00 4a 24 20 20 20 20 f2 73 68 65 6c 6c 5f |%..J$ .shell_| 00000940 48 65 61 70 42 6c 6f 63 6b 52 65 74 75 72 6e 28 |HeapBlockReturn(| 00000950 62 6c 6b 25 29 0d 00 4b 12 20 20 20 20 72 75 6e |blk%)..K. run| 00000960 6e 69 6e 67 25 3d 31 0d 00 4c 07 20 20 cd 0d 00 |ning%=1..L. ...| 00000970 4d 05 cd 0d 00 4e 06 3d 30 0d 00 4f 05 3a 0d 00 |M....N.=0..O.:..| 00000980 50 46 f4 20 3d 3d 3d 3d 3d 20 4d 65 6e 75 5f 53 |PF. ===== Menu_S| 00000990 65 74 75 70 20 72 6f 75 74 69 6e 65 73 20 3d 3d |etup routines ==| 000009a0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 000009c0 3d 3d 3d 3d 0d 00 51 04 0d 00 52 12 dd 20 f2 53 |====..Q...R.. .S| 000009d0 65 74 55 70 5f 4d 65 6e 75 73 0d 00 53 0b ea 20 |etUp_Menus..S.. | 000009e0 76 6f 69 64 25 0d 00 54 04 0d 00 55 49 4d 65 6e |void%..T...UIMen| 000009f0 75 48 61 6e 64 6c 65 5f 49 63 6f 6e 42 61 72 25 |uHandle_IconBar%| 00000a00 3d a4 73 68 65 6c 6c 5f 4d 65 6e 75 4e 65 77 28 |=.shell_MenuNew(| 00000a10 a4 73 68 65 6c 6c 5f 4d 65 73 73 61 67 65 4e 6f |.shell_MessageNo| 00000a20 41 72 67 73 28 22 53 68 65 6c 6c 44 42 75 67 22 |Args("ShellDBug"| 00000a30 29 29 0d 00 56 49 4d 65 6e 75 49 74 65 6d 5f 49 |))..VIMenuItem_I| 00000a40 6e 66 6f 25 20 20 20 20 20 3d a4 73 68 65 6c 6c |nfo% =.shell| 00000a50 5f 4d 65 6e 75 41 64 64 28 30 2c a4 73 68 65 6c |_MenuAdd(0,.shel| 00000a60 6c 5f 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 |l_MessageNoArgs(| 00000a70 22 49 6e 66 6f 22 29 2c 22 22 29 0d 00 57 59 76 |"Info"),"")..WYv| 00000a80 6f 69 64 25 20 20 20 20 20 20 20 20 20 20 20 20 |oid% | 00000a90 20 20 3d a4 73 68 65 6c 6c 5f 4d 65 6e 75 41 64 | =.shell_MenuAd| 00000aa0 64 28 30 2c a4 73 68 65 6c 6c 5f 4d 65 73 73 61 |d(0,.shell_Messa| 00000ab0 67 65 4e 6f 41 72 67 73 28 22 48 65 6c 70 22 29 |geNoArgs("Help")| 00000ac0 2c 22 5f 4d 65 6e 75 53 65 6c 65 63 74 5f 48 65 |,"_MenuSelect_He| 00000ad0 6c 70 22 29 0d 00 58 60 4d 65 6e 75 49 74 65 6d |lp")..X`MenuItem| 00000ae0 5f 45 76 65 6e 74 73 25 20 20 20 3d a4 73 68 65 |_Events% =.she| 00000af0 6c 6c 5f 4d 65 6e 75 41 64 64 28 30 2c a4 73 68 |ll_MenuAdd(0,.sh| 00000b00 65 6c 6c 5f 4d 65 73 73 61 67 65 4e 6f 41 72 67 |ell_MessageNoArg| 00000b10 73 28 22 4c 69 73 74 45 76 6e 74 73 22 29 2c 22 |s("ListEvnts"),"| 00000b20 5f 4d 65 6e 75 53 65 6c 65 63 74 5f 45 76 65 6e |_MenuSelect_Even| 00000b30 74 73 22 29 0d 00 59 43 76 6f 69 64 25 20 20 20 |ts")..YCvoid% | 00000b40 20 20 20 20 20 20 20 20 20 20 20 3d a4 73 68 65 | =.she| 00000b50 6c 6c 5f 4d 65 6e 75 41 64 64 28 30 2c 22 51 75 |ll_MenuAdd(0,"Qu| 00000b60 69 74 22 2c 22 5f 4d 65 6e 75 53 65 6c 65 63 74 |it","_MenuSelect| 00000b70 5f 51 75 69 74 22 29 0d 00 5a 47 f2 73 68 65 6c |_Quit")..ZG.shel| 00000b80 6c 5f 41 74 74 61 63 68 4d 65 6e 75 44 42 6f 78 |l_AttachMenuDBox| 00000b90 28 4d 65 6e 75 49 74 65 6d 5f 49 6e 66 6f 25 2c |(MenuItem_Info%,| 00000ba0 22 70 72 6f 67 49 6e 66 6f 22 2c 22 5f 50 72 65 |"progInfo","_Pre| 00000bb0 4f 70 65 6e 5f 49 6e 66 6f 22 2c 22 22 29 0d 00 |Open_Info","")..| 00000bc0 5b 04 0d 00 5c 4b 4d 65 6e 75 48 61 6e 64 6c 65 |[...\KMenuHandle| 00000bd0 5f 42 75 66 66 65 72 25 20 3d a4 73 68 65 6c 6c |_Buffer% =.shell| 00000be0 5f 4d 65 6e 75 4e 65 77 28 a4 73 68 65 6c 6c 5f |_MenuNew(.shell_| 00000bf0 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 22 44 |MessageNoArgs("D| 00000c00 65 62 75 67 62 75 66 66 65 72 22 29 29 0d 00 5d |ebugbuffer"))..]| 00000c10 61 76 6f 69 64 25 20 20 20 20 20 20 20 20 20 20 |avoid% | 00000c20 20 20 20 20 3d a4 73 68 65 6c 6c 5f 4d 65 6e 75 | =.shell_Menu| 00000c30 41 64 64 28 30 2c a4 73 68 65 6c 6c 5f 4d 65 73 |Add(0,.shell_Mes| 00000c40 73 61 67 65 4e 6f 41 72 67 73 28 22 43 6c 65 61 |sageNoArgs("Clea| 00000c50 72 62 75 66 66 65 72 22 29 2c 22 5f 4d 65 6e 75 |rbuffer"),"_Menu| 00000c60 53 65 6c 65 63 74 5f 43 6c 65 61 72 22 29 0d 00 |Select_Clear")..| 00000c70 5e 4f 4d 65 6e 75 49 74 65 6d 5f 53 61 76 65 25 |^OMenuItem_Save%| 00000c80 20 20 20 20 20 3d a4 73 68 65 6c 6c 5f 4d 65 6e | =.shell_Men| 00000c90 75 41 64 64 28 30 2c a4 73 68 65 6c 6c 5f 4d 65 |uAdd(0,.shell_Me| 00000ca0 73 73 61 67 65 4e 6f 41 72 67 73 28 22 53 61 76 |ssageNoArgs("Sav| 00000cb0 65 62 75 66 66 65 72 22 29 2c 22 22 29 0d 00 5f |ebuffer"),"").._| 00000cc0 4c f2 73 68 65 6c 6c 5f 41 74 74 61 63 68 4d 65 |L.shell_AttachMe| 00000cd0 6e 75 44 42 6f 78 28 4d 65 6e 75 49 74 65 6d 5f |nuDBox(MenuItem_| 00000ce0 53 61 76 65 25 2c 22 73 61 76 65 5f 74 65 6d 70 |Save%,"save_temp| 00000cf0 22 2c 22 5f 50 72 65 4f 70 65 6e 5f 53 61 76 65 |","_PreOpen_Save| 00000d00 54 65 6d 70 22 2c 22 22 29 0d 00 60 04 0d 00 61 |Temp","")..`...a| 00000d10 30 4d 65 6e 75 48 61 6e 64 6c 65 5f 45 76 65 6e |0MenuHandle_Even| 00000d20 74 73 25 20 3d a4 73 68 65 6c 6c 5f 4d 65 6e 75 |ts% =.shell_Menu| 00000d30 4e 65 77 28 22 45 76 65 6e 74 73 22 29 0d 00 62 |New("Events")..b| 00000d40 4f 4d 65 6e 75 49 74 65 6d 5f 43 6c 69 63 6b 53 |OMenuItem_ClickS| 00000d50 65 6c 25 20 3d a4 73 68 65 6c 6c 5f 4d 65 6e 75 |el% =.shell_Menu| 00000d60 41 64 64 28 30 2c 22 43 6c 69 63 6b 5f 53 65 6c |Add(0,"Click_Sel| 00000d70 65 63 74 22 2c 22 5f 4d 65 6e 75 53 65 6c 65 63 |ect","_MenuSelec| 00000d80 74 5f 43 6c 69 63 6b 53 65 6c 22 29 0d 00 63 4f |t_ClickSel")..cO| 00000d90 4d 65 6e 75 49 74 65 6d 5f 43 6c 69 63 6b 41 64 |MenuItem_ClickAd| 00000da0 6a 25 20 3d a4 73 68 65 6c 6c 5f 4d 65 6e 75 41 |j% =.shell_MenuA| 00000db0 64 64 28 30 2c 22 43 6c 69 63 6b 5f 41 64 6a 75 |dd(0,"Click_Adju| 00000dc0 73 74 22 2c 22 5f 4d 65 6e 75 53 65 6c 65 63 74 |st","_MenuSelect| 00000dd0 5f 43 6c 69 63 6b 41 64 6a 22 29 0d 00 64 44 4d |_ClickAdj")..dDM| 00000de0 65 6e 75 49 74 65 6d 5f 54 61 67 73 25 20 3d a4 |enuItem_Tags% =.| 00000df0 73 68 65 6c 6c 5f 4d 65 6e 75 41 64 64 28 30 2c |shell_MenuAdd(0,| 00000e00 22 48 65 6c 70 20 74 61 67 73 22 2c 22 5f 4d 65 |"Help tags","_Me| 00000e10 6e 75 53 65 6c 65 63 74 5f 54 61 67 73 22 29 0d |nuSelect_Tags").| 00000e20 00 65 40 f2 73 68 65 6c 6c 5f 41 74 74 61 63 68 |.e@.shell_Attach| 00000e30 53 75 62 4d 65 6e 75 28 4d 65 6e 75 49 74 65 6d |SubMenu(MenuItem| 00000e40 5f 45 76 65 6e 74 73 25 2c 4d 65 6e 75 48 61 6e |_Events%,MenuHan| 00000e50 64 6c 65 5f 45 76 65 6e 74 73 25 2c 22 22 29 0d |dle_Events%,"").| 00000e60 00 66 04 0d 00 67 05 e1 0d 00 68 05 3a 0d 00 69 |.f...g....h.:..i| 00000e70 04 0d 00 6a 46 f4 20 3d 3d 3d 3d 3d 20 57 69 6e |...jF. ===== Win| 00000e80 64 6f 77 5f 53 65 74 55 70 20 72 6f 75 74 69 6e |dow_SetUp routin| 00000e90 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |es =============| 00000ea0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000eb0 3d 3d 3d 3d 3d 3d 3d 0d 00 6b 04 0d 00 6c 14 dd |=======..k...l..| 00000ec0 20 f2 53 65 74 55 70 5f 57 69 6e 64 6f 77 73 0d | .SetUp_Windows.| 00000ed0 00 6d 2d f2 73 68 65 6c 6c 5f 43 72 65 61 74 65 |.m-.shell_Create| 00000ee0 57 69 6e 64 6f 77 53 74 61 74 69 63 28 22 6d 61 |WindowStatic("ma| 00000ef0 69 6e 77 22 2c 6d 61 69 6e 77 25 29 0d 00 6e 2d |inw",mainw%)..n-| 00000f00 f2 73 68 65 6c 6c 5f 41 74 74 61 63 68 55 73 65 |.shell_AttachUse| 00000f10 72 52 65 64 72 61 77 28 6d 61 69 6e 77 25 2c 22 |rRedraw(mainw%,"| 00000f20 5f 72 65 64 72 61 77 22 29 0d 00 6f 2b f2 73 68 |_redraw")..o+.sh| 00000f30 65 6c 6c 5f 41 74 74 61 63 68 48 65 6c 70 54 61 |ell_AttachHelpTa| 00000f40 67 28 6d 61 69 6e 77 25 2c 2d 31 2c 22 6d 61 69 |g(mainw%,-1,"mai| 00000f50 6e 77 22 29 0d 00 70 39 f2 73 68 65 6c 6c 5f 41 |nw")..p9.shell_A| 00000f60 74 74 61 63 68 4d 65 6e 75 28 6d 61 69 6e 77 25 |ttachMenu(mainw%| 00000f70 2c 2d 31 2c 4d 65 6e 75 48 61 6e 64 6c 65 5f 42 |,-1,MenuHandle_B| 00000f80 75 66 66 65 72 25 2c 30 2c 30 2c 30 29 0d 00 71 |uffer%,0,0,0)..q| 00000f90 05 e1 0d 00 72 05 3a 0d 00 73 04 0d 00 74 46 f4 |....r.:..s...tF.| 00000fa0 20 3d 3d 3d 3d 3d 20 49 63 6f 6e 42 61 72 5f 53 | ===== IconBar_S| 00000fb0 65 74 55 70 20 72 6f 75 74 69 6e 65 73 20 3d 3d |etUp routines ==| 00000fc0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000fe0 3d 0d 00 75 04 0d 00 76 14 dd 20 f2 53 65 74 55 |=..u...v.. .SetU| 00000ff0 70 5f 49 63 6f 6e 42 61 72 0d 00 77 56 73 69 63 |p_IconBar..wVsic| 00001000 6f 6e 3d a4 73 68 65 6c 6c 5f 49 63 6f 6e 62 61 |on=.shell_Iconba| 00001010 72 28 2d 31 2c 22 21 22 2b a4 73 68 65 6c 6c 5f |r(-1,"!"+.shell_| 00001020 47 65 74 41 70 70 4e 61 6d 65 2c 22 4f 66 66 22 |GetAppName,"Off"| 00001030 2c 31 32 30 2c 4d 65 6e 75 48 61 6e 64 6c 65 5f |,120,MenuHandle_| 00001040 49 63 6f 6e 42 61 72 25 2c 30 2c 30 2c 30 29 0d |IconBar%,0,0,0).| 00001050 00 78 2c f2 73 68 65 6c 6c 5f 41 74 74 61 63 68 |.x,.shell_Attach| 00001060 48 65 6c 70 54 61 67 28 2d 31 2c 73 69 63 6f 6e |HelpTag(-1,sicon| 00001070 2c 22 69 63 6f 6e 62 61 72 22 29 0d 00 79 39 f2 |,"iconbar")..y9.| 00001080 73 68 65 6c 6c 5f 41 74 74 61 63 68 43 6c 69 63 |shell_AttachClic| 00001090 6b 53 65 6c 65 63 74 28 2d 31 2c 73 69 63 6f 6e |kSelect(-1,sicon| 000010a0 2c 22 5f 43 6c 69 63 6b 53 65 6c 49 63 6f 6e 62 |,"_ClickSelIconb| 000010b0 61 72 22 29 0d 00 7a 39 f2 73 68 65 6c 6c 5f 41 |ar")..z9.shell_A| 000010c0 74 74 61 63 68 43 6c 69 63 6b 41 64 6a 75 73 74 |ttachClickAdjust| 000010d0 28 2d 31 2c 73 69 63 6f 6e 2c 22 5f 43 6c 69 63 |(-1,sicon,"_Clic| 000010e0 6b 41 64 6a 49 63 6f 6e 62 61 72 22 29 0d 00 7b |kAdjIconbar")..{| 000010f0 05 e1 0d 00 7c 05 3a 0d 00 7d 04 0d 00 7e 46 f4 |....|.:..}...~F.| 00001100 20 3d 3d 3d 3d 3d 20 44 69 61 6c 6f 67 5f 50 72 | ===== Dialog_Pr| 00001110 65 4f 70 65 6e 20 72 6f 75 74 69 6e 65 73 20 3d |eOpen routines =| 00001120 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00001140 3d 0d 00 7f 04 0d 00 80 18 dd 20 a4 5f 50 72 65 |=......... ._Pre| 00001150 4f 70 65 6e 5f 49 6e 66 6f 28 68 25 29 0d 00 81 |Open_Info(h%)...| 00001160 40 f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 74 44 |@.shell_IconPutD| 00001170 61 74 61 28 68 25 2c 30 2c a4 73 68 65 6c 6c 5f |ata(h%,0,.shell_| 00001180 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 22 70 |MessageNoArgs("p| 00001190 72 6f 67 49 6e 66 6f 30 22 29 2c 30 29 0d 00 82 |rogInfo0"),0)...| 000011a0 40 f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 74 44 |@.shell_IconPutD| 000011b0 61 74 61 28 68 25 2c 31 2c a4 73 68 65 6c 6c 5f |ata(h%,1,.shell_| 000011c0 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 22 70 |MessageNoArgs("p| 000011d0 72 6f 67 49 6e 66 6f 31 22 29 2c 30 29 0d 00 83 |rogInfo1"),0)...| 000011e0 40 f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 74 44 |@.shell_IconPutD| 000011f0 61 74 61 28 68 25 2c 32 2c a4 73 68 65 6c 6c 5f |ata(h%,2,.shell_| 00001200 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 22 70 |MessageNoArgs("p| 00001210 72 6f 67 49 6e 66 6f 32 22 29 2c 30 29 0d 00 84 |rogInfo2"),0)...| 00001220 40 f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 74 44 |@.shell_IconPutD| 00001230 61 74 61 28 68 25 2c 33 2c a4 73 68 65 6c 6c 5f |ata(h%,3,.shell_| 00001240 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 22 70 |MessageNoArgs("p| 00001250 72 6f 67 49 6e 66 6f 33 22 29 2c 30 29 0d 00 85 |rogInfo3"),0)...| 00001260 2b f2 73 68 65 6c 6c 5f 41 74 74 61 63 68 48 65 |+.shell_AttachHe| 00001270 6c 70 54 61 67 28 68 25 2c 2d 31 2c 22 70 72 6f |lpTag(h%,-1,"pro| 00001280 67 69 6e 66 6f 77 22 29 0d 00 86 06 3d 30 0d 00 |ginfow")....=0..| 00001290 87 05 3a 0d 00 88 1c dd 20 a4 5f 50 72 65 4f 70 |..:..... ._PreOp| 000012a0 65 6e 5f 53 61 76 65 54 65 6d 70 28 68 25 29 0d |en_SaveTemp(h%).| 000012b0 00 89 2a f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 |..*.shell_IconPu| 000012c0 74 44 61 74 61 28 68 25 2c 31 2c 22 54 72 61 63 |tData(h%,1,"Trac| 000012d0 65 46 69 6c 65 22 2c 30 29 0d 00 8a 3b f2 73 68 |eFile",0)...;.sh| 000012e0 65 6c 6c 5f 41 74 74 61 63 68 44 61 74 61 53 61 |ell_AttachDataSa| 000012f0 76 65 28 68 25 2c 32 2c 6e 72 5f 63 68 61 72 73 |ve(h%,2,nr_chars| 00001300 25 2c 26 46 46 46 2c 31 2c 22 5f 64 6f 5f 73 61 |%,&FFF,1,"_do_sa| 00001310 76 65 22 29 0d 00 8b 2b f2 73 68 65 6c 6c 5f 41 |ve")...+.shell_A| 00001320 74 74 61 63 68 48 65 6c 70 54 61 67 28 68 25 2c |ttachHelpTag(h%,| 00001330 2d 31 2c 22 73 61 76 65 74 65 6d 70 77 22 29 0d |-1,"savetempw").| 00001340 00 8c 06 3d 30 0d 00 8d 05 3a 0d 00 8e 04 0d 00 |...=0....:......| 00001350 8f 46 f4 20 3d 3d 3d 3d 3d 20 44 69 61 6c 6f 67 |.F. ===== Dialog| 00001360 5f 50 6f 73 74 4f 70 65 6e 20 72 6f 75 74 69 6e |_PostOpen routin| 00001370 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |es =============| 00001380 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00001390 3d 3d 3d 3d 0d 00 90 04 0d 00 91 46 f4 20 3d 3d |====.......F. ==| 000013a0 3d 3d 3d 20 43 6c 69 63 6b 5f 53 65 6c 65 63 74 |=== Click_Select| 000013b0 20 72 6f 75 74 69 6e 65 73 20 3d 3d 3d 3d 3d 3d | routines ======| 000013c0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 000013d0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 |==============..| 000013e0 92 04 0d 00 93 22 dd 20 a4 5f 43 6c 69 63 6b 53 |.....". ._ClickS| 000013f0 65 6c 49 63 6f 6e 62 61 72 28 77 68 25 2c 69 63 |elIconbar(wh%,ic| 00001400 6f 6e 25 29 0d 00 94 23 f2 73 68 65 6c 6c 5f 4f |on%)...#.shell_O| 00001410 70 65 6e 57 69 6e 64 6f 77 53 74 61 74 69 63 28 |penWindowStatic(| 00001420 6d 61 69 6e 77 25 29 0d 00 95 06 3d 30 0d 00 96 |mainw%)....=0...| 00001430 05 3a 0d 00 97 04 0d 00 98 46 f4 20 3d 3d 3d 3d |.:.......F. ====| 00001440 3d 20 43 6c 69 63 6b 5f 41 64 6a 75 73 74 20 72 |= Click_Adjust r| 00001450 6f 75 74 69 6e 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d |outines ========| 00001460 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00001470 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 99 04 |============....| 00001480 0d 00 9a 22 dd 20 a4 5f 43 6c 69 63 6b 41 64 6a |...". ._ClickAdj| 00001490 49 63 6f 6e 62 61 72 28 77 68 25 2c 69 63 6f 6e |Iconbar(wh%,icon| 000014a0 25 29 0d 00 9b 1c f4 20 54 6f 67 67 6c 65 20 61 |%)..... Toggle a| 000014b0 63 74 69 76 65 20 73 74 61 74 75 73 2e 2e 0d 00 |ctive status....| 000014c0 9c 06 ef 37 0d 00 9d 16 e7 20 54 72 61 63 65 41 |...7..... TraceA| 000014d0 63 74 69 76 65 25 3d a3 20 8c 0d 00 9e 14 20 20 |ctive%=. ..... | 000014e0 54 72 61 63 65 41 63 74 69 76 65 25 3d b9 0d 00 |TraceActive%=...| 000014f0 9f 2a 20 20 f2 73 68 65 6c 6c 5f 49 63 6f 6e 62 |.* .shell_Iconb| 00001500 61 72 53 65 74 54 65 78 74 28 2d 31 2c 73 69 63 |arSetText(-1,sic| 00001510 6f 6e 2c 22 4f 6e 22 29 0d 00 a0 3c 20 20 f2 73 |on,"On")...< .s| 00001520 68 65 6c 6c 5f 42 72 6f 61 64 63 61 73 74 4d 65 |hell_BroadcastMe| 00001530 73 73 61 67 65 28 26 34 33 42 30 30 2c 22 45 76 |ssage(&43B00,"Ev| 00001540 6e 74 53 68 65 6c 6c 4c 69 62 3a 54 72 61 63 65 |ntShellLib:Trace| 00001550 4f 6e 22 29 0d 00 a1 05 cc 0d 00 a2 14 20 20 54 |On")......... T| 00001560 72 61 63 65 41 63 74 69 76 65 25 3d a3 0d 00 a3 |raceActive%=....| 00001570 2b 20 20 f2 73 68 65 6c 6c 5f 49 63 6f 6e 62 61 |+ .shell_Iconba| 00001580 72 53 65 74 54 65 78 74 28 2d 31 2c 73 69 63 6f |rSetText(-1,sico| 00001590 6e 2c 22 4f 66 66 22 29 0d 00 a4 3d 20 20 f2 73 |n,"Off")...= .s| 000015a0 68 65 6c 6c 5f 42 72 6f 61 64 63 61 73 74 4d 65 |hell_BroadcastMe| 000015b0 73 73 61 67 65 28 26 34 33 42 30 30 2c 22 45 76 |ssage(&43B00,"Ev| 000015c0 6e 74 53 68 65 6c 6c 4c 69 62 3a 54 72 61 63 65 |ntShellLib:Trace| 000015d0 4f 66 66 22 29 0d 00 a5 05 cd 0d 00 a6 06 3d 30 |Off").........=0| 000015e0 0d 00 a7 05 3a 0d 00 a8 46 f4 20 3d 3d 3d 3d 3d |....:...F. =====| 000015f0 20 4d 65 6e 75 5f 53 65 6c 65 63 74 20 72 6f 75 | Menu_Select rou| 00001600 74 69 6e 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |tines ==========| 00001610 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00001620 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 a9 04 0d |===========.....| 00001630 00 aa 1d dd 20 a4 5f 4d 65 6e 75 53 65 6c 65 63 |.... ._MenuSelec| 00001640 74 5f 48 65 6c 70 28 62 6c 6b 25 29 0d 00 ab 23 |t_Help(blk%)...#| 00001650 e7 20 a4 73 68 65 6c 6c 5f 53 74 72 6f 6e 67 48 |. .shell_StrongH| 00001660 6c 70 49 73 41 76 61 69 6c 61 62 6c 65 20 8c 0d |lpIsAvailable ..| 00001670 00 ac 2d 20 20 f2 73 68 65 6c 6c 5f 48 65 6c 70 |..- .shell_Help| 00001680 57 6f 72 64 28 a4 73 68 65 6c 6c 5f 47 65 74 41 |Word(.shell_GetA| 00001690 70 70 4e 61 6d 65 2b 22 2e 24 22 29 0d 00 ad 05 |ppName+".$")....| 000016a0 cc 0d 00 ae 3a 20 20 f2 73 68 65 6c 6c 5f 4d 65 |....: .shell_Me| 000016b0 73 73 61 67 65 53 65 6e 64 44 61 74 61 4c 6f 61 |ssageSendDataLoa| 000016c0 64 28 26 46 46 46 2c 22 53 68 65 6c 6c 44 42 75 |d(&FFF,"ShellDBu| 000016d0 67 52 65 73 3a 48 65 6c 70 22 29 0d 00 af 05 cd |gRes:Help").....| 000016e0 0d 00 b0 06 3d 30 0d 00 b1 05 3a 0d 00 b2 1d dd |....=0....:.....| 000016f0 20 a4 5f 4d 65 6e 75 53 65 6c 65 63 74 5f 51 75 | ._MenuSelect_Qu| 00001700 69 74 28 62 6c 6b 25 29 0d 00 b3 11 5f 63 6c 6f |it(blk%)...._clo| 00001710 73 65 64 6f 77 6e 25 3d b9 0d 00 b4 06 3d 30 0d |sedown%=.....=0.| 00001720 00 b5 05 3a 0d 00 b6 1e dd 20 a4 5f 4d 65 6e 75 |...:..... ._Menu| 00001730 53 65 6c 65 63 74 5f 43 6c 65 61 72 28 62 6c 6b |Select_Clear(blk| 00001740 25 29 0d 00 b7 2f 6e 72 5f 6c 69 6e 65 73 25 3d |%).../nr_lines%=| 00001750 30 3a f2 73 68 65 6c 6c 5f 48 65 61 70 42 6c 6f |0:.shell_HeapBlo| 00001760 63 6b 52 65 74 75 72 6e 28 62 75 66 66 65 72 25 |ckReturn(buffer%| 00001770 29 0d 00 b8 24 62 75 66 66 65 72 25 3d a4 73 68 |)...$buffer%=.sh| 00001780 65 6c 6c 5f 48 65 61 70 42 6c 6f 63 6b 46 65 74 |ell_HeapBlockFet| 00001790 63 68 28 34 29 0d 00 b9 23 e7 20 a4 73 68 65 6c |ch(4)...#. .shel| 000017a0 6c 5f 57 69 6e 64 6f 77 49 73 4f 70 65 6e 28 6d |l_WindowIsOpen(m| 000017b0 61 69 6e 77 25 29 20 8c 0d 00 ba 20 20 20 f2 73 |ainw%) .... .s| 000017c0 68 65 6c 6c 5f 43 6c 6f 73 65 57 69 6e 64 6f 77 |hell_CloseWindow| 000017d0 28 6d 61 69 6e 77 25 29 0d 00 bb 2b 20 20 f2 73 |(mainw%)...+ .s| 000017e0 68 65 6c 6c 5f 4f 70 65 6e 57 69 6e 64 6f 77 53 |hell_OpenWindowS| 000017f0 74 61 74 69 63 28 6d 61 69 6e 77 25 29 20 20 20 |tatic(mainw%) | 00001800 20 20 20 0d 00 bc 05 cd 0d 00 bd 24 62 75 66 66 | ........$buff| 00001810 65 72 25 3d a4 73 68 65 6c 6c 5f 48 65 61 70 42 |er%=.shell_HeapB| 00001820 6c 6f 63 6b 46 65 74 63 68 28 34 29 0d 00 be 30 |lockFetch(4)...0| 00001830 f2 73 68 65 6c 6c 5f 57 69 6e 64 6f 77 52 65 73 |.shell_WindowRes| 00001840 69 7a 65 28 6d 61 69 6e 77 25 2c 30 2c 2d 31 32 |ize(mainw%,0,-12| 00001850 30 2c 31 30 30 30 2c 30 2c 2d 31 29 0d 00 bf 06 |0,1000,0,-1)....| 00001860 3d 30 0d 00 c0 05 3a 0d 00 c1 04 0d 00 c2 21 dd |=0....:.......!.| 00001870 20 a4 5f 4d 65 6e 75 53 65 6c 65 63 74 5f 43 6c | ._MenuSelect_Cl| 00001880 69 63 6b 53 65 6c 28 62 6c 6b 25 29 0d 00 c3 42 |ickSel(blk%)...B| 00001890 f2 73 68 65 6c 6c 5f 42 72 6f 61 64 63 61 73 74 |.shell_Broadcast| 000018a0 4d 65 73 73 61 67 65 28 26 34 33 42 30 30 2c 22 |Message(&43B00,"| 000018b0 45 76 6e 74 53 68 65 6c 6c 4c 69 62 3a 4c 69 73 |EvntShellLib:Lis| 000018c0 74 43 6c 69 63 6b 53 65 6c 65 63 74 22 29 0d 00 |tClickSelect")..| 000018d0 c4 06 3d 30 0d 00 c5 05 3a 0d 00 c6 21 dd 20 a4 |..=0....:...!. .| 000018e0 5f 4d 65 6e 75 53 65 6c 65 63 74 5f 43 6c 69 63 |_MenuSelect_Clic| 000018f0 6b 41 64 6a 28 62 6c 6b 25 29 0d 00 c7 42 f2 73 |kAdj(blk%)...B.s| 00001900 68 65 6c 6c 5f 42 72 6f 61 64 63 61 73 74 4d 65 |hell_BroadcastMe| 00001910 73 73 61 67 65 28 26 34 33 42 30 30 2c 22 45 76 |ssage(&43B00,"Ev| 00001920 6e 74 53 68 65 6c 6c 4c 69 62 3a 4c 69 73 74 43 |ntShellLib:ListC| 00001930 6c 69 63 6b 41 64 6a 75 73 74 22 29 0d 00 c8 06 |lickAdjust")....| 00001940 3d 30 0d 00 c9 05 3a 0d 00 ca 1d dd 20 a4 5f 4d |=0....:..... ._M| 00001950 65 6e 75 53 65 6c 65 63 74 5f 54 61 67 73 28 62 |enuSelect_Tags(b| 00001960 6c 6b 25 29 0d 00 cb 3f f2 73 68 65 6c 6c 5f 42 |lk%)...?.shell_B| 00001970 72 6f 61 64 63 61 73 74 4d 65 73 73 61 67 65 28 |roadcastMessage(| 00001980 26 34 33 42 30 30 2c 22 45 76 6e 74 53 68 65 6c |&43B00,"EvntShel| 00001990 6c 4c 69 62 3a 4c 69 73 74 48 65 6c 70 54 61 67 |lLib:ListHelpTag| 000019a0 73 22 29 0d 00 cc 06 3d 30 0d 00 cd 05 3a 0d 00 |s")....=0....:..| 000019b0 ce 04 0d 00 cf 46 f4 20 3d 3d 3d 3d 3d 20 4d 65 |.....F. ===== Me| 000019c0 6e 75 5f 57 61 72 6e 69 6e 67 20 72 6f 75 74 69 |nu_Warning routi| 000019d0 6e 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |nes ============| 000019e0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 000019f0 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 d0 04 0d 00 d1 46 |========.......F| 00001a00 f4 20 3d 3d 3d 3d 3d 20 44 61 74 61 5f 4c 6f 61 |. ===== Data_Loa| 00001a10 64 20 72 6f 75 74 69 6e 65 73 20 3d 3d 3d 3d 3d |d routines =====| 00001a20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00001a40 3d 3d 0d 00 d2 04 0d 00 d3 46 f4 20 3d 3d 3d 3d |==.......F. ====| 00001a50 3d 20 44 61 74 61 5f 53 61 76 65 20 72 6f 75 74 |= Data_Save rout| 00001a60 69 6e 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |ines ===========| 00001a70 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00001a80 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 d4 04 |============....| 00001a90 0d 00 d5 16 dd 20 a4 5f 64 6f 5f 73 61 76 65 28 |..... ._do_save(| 00001aa0 6e 61 6d 65 24 29 0d 00 d6 14 ea 20 70 74 72 25 |name$)..... ptr%| 00001ab0 2c 58 25 2c 6c 69 6e 65 73 25 0d 00 d7 25 f2 73 |,X%,lines%...%.s| 00001ac0 68 65 6c 6c 5f 54 72 61 63 65 66 30 28 22 49 6e |hell_Tracef0("In| 00001ad0 20 46 4e 5f 64 6f 5f 73 61 76 65 2e 2e 22 29 0d | FN_do_save..").| 00001ae0 00 d8 29 f2 73 68 65 6c 6c 5f 54 72 61 63 65 66 |..).shell_Tracef| 00001af0 30 28 22 46 69 6c 65 20 6e 61 6d 65 20 69 73 20 |0("File name is | 00001b00 22 2b 6e 61 6d 65 24 29 0d 00 d9 0a 70 74 72 25 |"+name$)....ptr%| 00001b10 3d 30 0d 00 da 0f 58 25 3d ae 28 6e 61 6d 65 24 |=0....X%=.(name$| 00001b20 29 0d 00 db 13 e7 20 6e 72 5f 6c 69 6e 65 73 25 |)..... nr_lines%| 00001b30 3e 30 20 8c 0d 00 dc 07 20 20 f5 0d 00 dd 1d 20 |>0 ..... ..... | 00001b40 20 20 20 d5 23 20 58 25 2c 24 28 62 75 66 66 65 | .# X%,$(buffe| 00001b50 72 25 2b 70 74 72 25 29 0d 00 de 1b 20 20 20 20 |r%+ptr%).... | 00001b60 70 74 72 25 2b 3d 31 30 30 3a 6c 69 6e 65 73 25 |ptr%+=100:lines%| 00001b70 2b 3d 31 0d 00 df 18 20 20 fd 20 6c 69 6e 65 73 |+=1.... . lines| 00001b80 25 3d 6e 72 5f 6c 69 6e 65 73 25 0d 00 e0 05 cd |%=nr_lines%.....| 00001b90 0d 00 e1 09 d9 23 20 58 25 0d 00 e2 1e ff 28 22 |.....# X%.....("| 00001ba0 53 65 74 54 79 70 65 20 22 2b 6e 61 6d 65 24 2b |SetType "+name$+| 00001bb0 22 20 46 46 46 22 29 0d 00 e3 06 3d 30 0d 00 e4 |" FFF")....=0...| 00001bc0 05 3a 0d 00 e5 4c f4 20 3d 3d 3d 3d 3d 3d 3d 3d |.:...L. ========| 00001bd0 3d 3d 3d 3d 3d 3d 3d 3d 20 41 70 70 6c 69 63 61 |======== Applica| 00001be0 74 69 6f 6e 20 52 6f 75 74 69 6e 65 73 20 3d 3d |tion Routines ==| 00001bf0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00001c00 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 |==============..| 00001c10 e6 05 3a 0d 00 e7 27 dd 20 f2 73 68 65 6c 6c 5f |..:...'. .shell_| 00001c20 48 61 6e 64 6c 65 55 6e 6b 6e 6f 77 6e 4d 65 73 |HandleUnknownMes| 00001c30 73 61 67 65 28 62 6c 6b 25 29 0d 00 e8 10 c8 8e |sage(blk%)......| 00001c40 20 62 6c 6b 25 21 31 36 20 ca 0d 00 e9 44 20 20 | blk%!16 ....D | 00001c50 c9 20 26 34 33 42 30 30 3a f2 6d 65 73 73 61 67 |. &43B00:.messag| 00001c60 65 28 62 6c 6b 25 21 34 2c 24 28 62 6c 6b 25 2b |e(blk%!4,$(blk%+| 00001c70 32 30 29 29 3a f4 20 70 6f 73 73 69 62 6c 65 20 |20)):. possible | 00001c80 74 72 61 63 65 20 6d 65 73 73 61 67 65 21 0d 00 |trace message!..| 00001c90 ea 05 cb 0d 00 eb 05 e1 0d 00 ec 05 3a 0d 00 ed |............:...| 00001ca0 1b dd 20 f2 6d 65 73 73 61 67 65 28 74 61 73 6b |.. .message(task| 00001cb0 25 2c 74 65 78 74 24 29 0d 00 ee 29 f4 20 49 67 |%,text$)...). Ig| 00001cc0 6e 6f 72 65 20 6d 65 73 73 61 67 65 73 20 73 65 |nore messages se| 00001cd0 6e 74 20 62 79 20 74 68 69 73 20 74 61 73 6b 21 |nt by this task!| 00001ce0 21 0d 00 ef 17 e7 20 74 61 73 6b 25 3c 3e 74 61 |!..... task%<>ta| 00001cf0 73 6b 5f 69 64 25 20 8c 0d 00 f0 26 20 20 e7 20 |sk_id% ....& . | 00001d00 c0 74 65 78 74 24 2c 31 34 29 3d 22 53 68 65 6c |.text$,14)="Shel| 00001d10 6c 44 42 75 67 3a 49 6e 69 74 22 20 20 8c 0d 00 |lDBug:Init" ...| 00001d20 f1 29 20 20 20 20 f2 73 68 65 6c 6c 64 62 75 67 |.) .shelldbug| 00001d30 5f 69 6e 69 74 28 74 61 73 6b 25 2c c1 74 65 78 |_init(task%,.tex| 00001d40 74 24 2c 31 36 29 29 0d 00 f2 43 20 20 20 20 f2 |t$,16))...C .| 00001d50 73 68 65 6c 6c 5f 42 72 6f 61 64 63 61 73 74 4d |shell_BroadcastM| 00001d60 65 73 73 61 67 65 28 26 34 33 42 30 30 2c 22 45 |essage(&43B00,"E| 00001d70 76 6e 74 53 68 65 6c 6c 4c 69 62 3a 54 72 61 63 |vntShellLib:Trac| 00001d80 65 49 6e 69 74 41 63 6b 22 29 0d 00 f3 07 20 20 |eInitAck").... | 00001d90 cd 0d 00 f4 26 20 20 e7 20 c0 74 65 78 74 24 2c |....& . .text$,| 00001da0 31 35 29 3d 22 53 68 65 6c 6c 44 42 75 67 3a 54 |15)="ShellDBug:T| 00001db0 72 61 63 65 22 20 8c 0d 00 f5 2a 20 20 20 20 f2 |race" ....* .| 00001dc0 73 68 65 6c 6c 64 62 75 67 5f 74 72 61 63 65 28 |shelldbug_trace(| 00001dd0 74 61 73 6b 25 2c c1 74 65 78 74 24 2c 31 36 29 |task%,.text$,16)| 00001de0 29 0d 00 f6 07 20 20 cd 0d 00 f7 28 20 20 e7 20 |).... ....( . | 00001df0 c0 74 65 78 74 24 2c 31 37 29 3d 22 53 68 65 6c |.text$,17)="Shel| 00001e00 6c 44 42 75 67 3a 54 72 61 63 65 4f 6e 22 20 8c |lDBug:TraceOn" .| 00001e10 0d 00 f8 16 20 20 20 20 54 72 61 63 65 41 63 74 |.... TraceAct| 00001e20 69 76 65 25 3d b9 0d 00 f9 2c 20 20 20 20 f2 73 |ive%=...., .s| 00001e30 68 65 6c 6c 5f 49 63 6f 6e 62 61 72 53 65 74 54 |hell_IconbarSetT| 00001e40 65 78 74 28 2d 31 2c 73 69 63 6f 6e 2c 22 4f 6e |ext(-1,sicon,"On| 00001e50 22 29 0d 00 fa 33 20 20 20 20 f2 73 68 65 6c 6c |")...3 .shell| 00001e60 64 62 75 67 5f 74 72 61 63 65 28 74 61 73 6b 25 |dbug_trace(task%| 00001e70 2c 22 53 74 61 72 74 69 6e 67 20 54 72 61 63 65 |,"Starting Trace| 00001e80 2e 2e 2e 22 29 0d 00 fb 07 20 20 cd 0d 00 fc 29 |...").... ....)| 00001e90 20 20 e7 20 c0 74 65 78 74 24 2c 31 38 29 3d 22 | . .text$,18)="| 00001ea0 53 68 65 6c 6c 44 42 75 67 3a 54 72 61 63 65 4f |ShellDBug:TraceO| 00001eb0 66 66 22 20 8c 0d 00 fd 16 20 20 20 20 54 72 61 |ff" ..... Tra| 00001ec0 63 65 41 63 74 69 76 65 25 3d a3 0d 00 fe 2d 20 |ceActive%=....- | 00001ed0 20 20 20 f2 73 68 65 6c 6c 5f 49 63 6f 6e 62 61 | .shell_Iconba| 00001ee0 72 53 65 74 54 65 78 74 28 2d 31 2c 73 69 63 6f |rSetText(-1,sico| 00001ef0 6e 2c 22 4f 66 66 22 29 0d 00 ff 2e 20 20 20 20 |n,"Off").... | 00001f00 f2 73 68 65 6c 6c 64 62 75 67 5f 74 72 61 63 65 |.shelldbug_trace| 00001f10 28 74 61 73 6b 25 2c 22 54 72 61 63 65 20 4f 66 |(task%,"Trace Of| 00001f20 66 2e 2e 2e 22 29 0d 01 00 07 20 20 cd 0d 01 01 |f...").... ....| 00001f30 05 cd 0d 01 02 05 e1 0d 01 03 05 3a 0d 01 04 22 |...........:..."| 00001f40 dd 20 f2 73 68 65 6c 6c 64 62 75 67 5f 69 6e 69 |. .shelldbug_ini| 00001f50 74 28 74 61 73 6b 25 2c 74 65 78 74 24 29 0d 01 |t(task%,text$)..| 00001f60 05 1a 72 65 73 70 6f 6e 64 5f 74 6f 5f 74 61 73 |..respond_to_tas| 00001f70 6b 25 3d 74 61 73 6b 25 0d 01 06 1e f2 73 68 65 |k%=task%.....she| 00001f80 6c 6c 5f 43 6c 6f 73 65 57 69 6e 64 6f 77 28 6d |ll_CloseWindow(m| 00001f90 61 69 6e 77 25 29 0d 01 07 23 f2 73 68 65 6c 6c |ainw%)...#.shell| 00001fa0 5f 4f 70 65 6e 57 69 6e 64 6f 77 53 74 61 74 69 |_OpenWindowStati| 00001fb0 63 28 6d 61 69 6e 77 25 29 0d 01 08 1b 6e 72 5f |c(mainw%)....nr_| 00001fc0 6c 69 6e 65 73 25 3d 30 3a 6e 72 5f 63 68 61 72 |lines%=0:nr_char| 00001fd0 73 25 3d 30 0d 01 09 30 f2 73 68 65 6c 6c 5f 57 |s%=0...0.shell_W| 00001fe0 69 6e 64 6f 77 52 65 73 69 7a 65 28 6d 61 69 6e |indowResize(main| 00001ff0 77 25 2c 30 2c 2d 31 32 30 2c 31 30 30 30 2c 30 |w%,0,-120,1000,0| 00002000 2c 2d 31 29 0d 01 0a 26 f2 73 68 65 6c 6c 5f 57 |,-1)...&.shell_W| 00002010 69 6e 64 6f 77 52 65 74 69 74 6c 65 28 6d 61 69 |indowRetitle(mai| 00002020 6e 77 25 2c 74 65 78 74 24 29 0d 01 0b 23 f2 73 |nw%,text$)...#.s| 00002030 68 65 6c 6c 5f 48 65 61 70 42 6c 6f 63 6b 52 65 |hell_HeapBlockRe| 00002040 74 75 72 6e 28 62 75 66 66 65 72 25 29 0d 01 0c |turn(buffer%)...| 00002050 24 62 75 66 66 65 72 25 3d a4 73 68 65 6c 6c 5f |$buffer%=.shell_| 00002060 48 65 61 70 42 6c 6f 63 6b 46 65 74 63 68 28 34 |HeapBlockFetch(4| 00002070 29 0d 01 0d 14 e7 20 54 72 61 63 65 41 63 74 69 |)..... TraceActi| 00002080 76 65 25 20 8c 0d 01 0e 3c 20 20 f2 73 68 65 6c |ve% ....< .shel| 00002090 6c 5f 42 72 6f 61 64 63 61 73 74 4d 65 73 73 61 |l_BroadcastMessa| 000020a0 67 65 28 26 34 33 42 30 30 2c 22 45 76 6e 74 53 |ge(&43B00,"EvntS| 000020b0 68 65 6c 6c 4c 69 62 3a 54 72 61 63 65 4f 6e 22 |hellLib:TraceOn"| 000020c0 29 0d 01 0f 05 cd 0d 01 10 05 e1 0d 01 11 05 3a |)..............:| 000020d0 0d 01 12 23 dd 20 f2 73 68 65 6c 6c 64 62 75 67 |...#. .shelldbug| 000020e0 5f 74 72 61 63 65 28 74 61 73 6b 25 2c 74 65 78 |_trace(task%,tex| 000020f0 74 24 29 0d 01 13 1e e7 20 74 61 73 6b 25 3d 72 |t$)..... task%=r| 00002100 65 73 70 6f 6e 64 5f 74 6f 5f 74 61 73 6b 25 20 |espond_to_task% | 00002110 8c 0d 01 14 31 20 20 62 75 66 66 65 72 25 3d a4 |....1 buffer%=.| 00002120 73 68 65 6c 6c 5f 48 65 61 70 42 6c 6f 63 6b 45 |shell_HeapBlockE| 00002130 78 74 65 6e 64 28 62 75 66 66 65 72 25 2c 31 30 |xtend(buffer%,10| 00002140 30 29 0d 01 15 35 20 20 74 65 78 74 24 3d c0 74 |0)...5 text$=.t| 00002150 65 78 74 24 2c a9 74 65 78 74 24 2d 31 29 3a f4 |ext$,.text$-1):.| 00002160 20 73 74 72 69 70 20 43 48 52 24 30 20 66 72 6f | strip CHR$0 fro| 00002170 6d 20 65 6e 64 2e 2e 0d 01 16 22 20 20 6e 72 5f |m end....." nr_| 00002180 63 68 61 72 73 25 3d 6e 72 5f 63 68 61 72 73 25 |chars%=nr_chars%| 00002190 2b a9 74 65 78 74 24 2b 31 0d 01 17 2b 20 20 24 |+.text$+1...+ $| 000021a0 28 62 75 66 66 65 72 25 2b 28 6e 72 5f 6c 69 6e |(buffer%+(nr_lin| 000021b0 65 73 25 2a 31 30 30 29 29 3d c0 74 65 78 74 24 |es%*100))=.text$| 000021c0 2c 39 39 29 0d 01 18 12 20 20 6e 72 5f 6c 69 6e |,99).... nr_lin| 000021d0 65 73 25 2b 3d 31 0d 01 19 17 20 20 55 70 64 61 |es%+=1.... Upda| 000021e0 74 65 52 65 71 75 69 72 65 64 25 3d b9 0d 01 1a |teRequired%=....| 000021f0 05 cd 0d 01 1b 05 e1 0d 01 1c 05 3a 0d 01 1d 1c |...........:....| 00002200 dd 20 a4 5f 72 65 64 72 61 77 28 62 6c 6b 25 2c |. ._redraw(blk%,| 00002210 78 30 25 2c 79 30 25 29 0d 01 1e 13 ea 20 74 6f |x0%,y0%)..... to| 00002220 70 25 2c 62 61 73 65 25 2c 69 25 0d 01 1f 24 74 |p%,base%,i%...$t| 00002230 6f 70 25 3d 28 79 30 25 2d 62 6c 6b 25 21 34 30 |op%=(y0%-blk%!40| 00002240 29 81 6c 69 6e 65 5f 73 70 61 63 69 6e 67 25 0d |).line_spacing%.| 00002250 01 20 15 e7 20 74 6f 70 25 3c 30 20 8c 20 74 6f |. .. top%<0 . to| 00002260 70 25 3d 30 0d 01 21 28 62 61 73 65 25 3d 28 34 |p%=0..!(base%=(4| 00002270 37 2b 79 30 25 2d 62 6c 6b 25 21 33 32 29 81 6c |7+y0%-blk%!32).l| 00002280 69 6e 65 5f 73 70 61 63 69 6e 67 25 0d 01 22 0b |ine_spacing%..".| 00002290 69 25 3d 74 6f 70 25 0d 01 23 1f c8 95 20 69 25 |i%=top%..#... i%| 000022a0 3c 6e 72 5f 6c 69 6e 65 73 25 20 80 20 69 25 3c |<nr_lines% . i%<| 000022b0 3d 62 61 73 65 25 0d 01 24 47 20 20 e7 20 69 25 |=base%..$G . i%| 000022c0 3d 6e 72 5f 6c 69 6e 65 73 25 2d 31 20 8c 20 c8 |=nr_lines%-1 . .| 000022d0 99 20 22 57 69 6d 70 5f 53 65 74 43 6f 6c 6f 75 |. "Wimp_SetColou| 000022e0 72 22 2c 31 31 20 8b 20 c8 99 20 22 57 69 6d 70 |r",11 . .. "Wimp| 000022f0 5f 53 65 74 43 6f 6c 6f 75 72 22 2c 35 0d 01 25 |_SetColour",5..%| 00002300 28 20 20 ec 20 78 30 25 2b 31 30 2c 79 30 25 2d |( . x0%+10,y0%-| 00002310 28 69 25 2a 6c 69 6e 65 5f 73 70 61 63 69 6e 67 |(i%*line_spacing| 00002320 25 29 2d 31 30 0d 01 26 1b 20 20 f1 20 24 28 62 |%)-10..&. . $(b| 00002330 75 66 66 65 72 25 2b 28 31 30 30 2a 69 25 29 29 |uffer%+(100*i%))| 00002340 0d 01 27 0b 20 20 69 25 2b 3d 31 0d 01 28 05 ce |..'. i%+=1..(..| 00002350 0d 01 29 06 3d 30 0d 01 2a 05 3a 0d 01 2b 1d dd |..).=0..*.:..+..| 00002360 20 f2 73 68 65 6c 6c 5f 44 6f 42 61 63 6b 67 72 | .shell_DoBackgr| 00002370 6f 75 6e 64 54 61 73 6b 0d 01 2c 17 e7 20 55 70 |oundTask..,.. Up| 00002380 64 61 74 65 52 65 71 75 69 72 65 64 25 20 8c 0d |dateRequired% ..| 00002390 01 2d 5b f2 73 68 65 6c 6c 5f 57 69 6e 64 6f 77 |.-[.shell_Window| 000023a0 52 65 73 69 7a 65 28 6d 61 69 6e 77 25 2c 30 2c |Resize(mainw%,0,| 000023b0 28 28 28 6e 72 5f 6c 69 6e 65 73 25 2b 31 29 2a |(((nr_lines%+1)*| 000023c0 6c 69 6e 65 5f 73 70 61 63 69 6e 67 25 29 2a 2d |line_spacing%)*-| 000023d0 31 29 2b 6c 69 6e 65 5f 73 70 61 63 69 6e 67 25 |1)+line_spacing%| 000023e0 2c 31 36 30 30 2c 30 2c 30 29 0d 01 2e 25 20 20 |,1600,0,0)...% | 000023f0 e7 20 a4 73 68 65 6c 6c 5f 57 69 6e 64 6f 77 49 |. .shell_WindowI| 00002400 73 4f 70 65 6e 28 6d 61 69 6e 77 25 29 20 8c 0d |sOpen(mainw%) ..| 00002410 01 2f 14 20 20 20 20 5f 51 25 21 30 3d 6d 61 69 |./. _Q%!0=mai| 00002420 6e 77 25 0d 01 30 24 20 20 20 20 c8 99 20 22 57 |nw%..0$ .. "W| 00002430 69 6d 70 5f 47 65 74 57 69 6e 64 6f 77 49 6e 66 |imp_GetWindowInf| 00002440 6f 22 2c 2c 5f 51 25 0d 01 31 1b 20 20 20 20 5f |o",,_Q%..1. _| 00002450 51 25 21 32 34 3d 5f 51 25 21 34 38 2d 5f 51 25 |Q%!24=_Q%!48-_Q%| 00002460 21 38 0d 01 32 22 20 20 20 20 c8 99 20 22 57 69 |!8..2" .. "Wi| 00002470 6d 70 5f 43 6c 6f 73 65 57 69 6e 64 6f 77 22 2c |mp_CloseWindow",| 00002480 2c 5f 51 25 0d 01 33 21 20 20 20 20 c8 99 20 22 |,_Q%..3! .. "| 00002490 57 69 6d 70 5f 4f 70 65 6e 57 69 6e 64 6f 77 22 |Wimp_OpenWindow"| 000024a0 2c 2c 5f 51 25 0d 01 34 07 20 20 cd 0d 01 35 17 |,,_Q%..4. ...5.| 000024b0 20 20 55 70 64 61 74 65 52 65 71 75 69 72 65 64 | UpdateRequired| 000024c0 25 3d a3 0d 01 36 05 cd 0d 01 37 05 e1 0d 01 38 |%=...6....7....8| 000024d0 05 3a 0d 01 39 4c f4 20 3d 3d 3d 3d 3d 3d 3d 3d |.:..9L. ========| 000024e0 3d 3d 3d 3d 3d 3d 3d 3d 3d 20 45 6e 64 20 4f 66 |========= End Of| 000024f0 20 55 73 65 72 20 41 70 70 6c 69 63 61 74 69 6f | User Applicatio| 00002500 6e 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |n ==============| 00002510 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 01 |==============..| 00002520 3a 05 3a 0d ff |:.:..| 00002525