Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/!AppBuild/NewApp/!RunImage
!AWJan95/Goodies/Event/!AppBuild/NewApp/!RunImage
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/!AppBuild/NewApp/!RunImage |
Read OK: | ✔ |
File size: | 0E02 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
1REM > <@@@@@@@@@$Dir>.!@@@@@@@@@ 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%=FNshell_WimpInit_I(200,"@@@@@@@@@") 18REM PROCshell_TraceInit("") 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%)) 41UNTIL _closedown% 42: 43PROCshell_Exit:END 44: 45REM ====================================================================== 46: 47DEF PROCapp_init 48PROCSetUp_Windows 49PROCSetUp_Menus 50PROCSetUp_IconBar 51PROCshell_InitHelpSystem(FNshell_GetAppName+"Res:"+FNshell_GetAppName,-1) 52ENDPROC 53: 54 55REM ===== Menu_Setup routines ====================================== 56 57DEF PROCSetUp_Menus 58LOCAL void% 59 60MenuHandle_IconBar%=FNshell_MenuNew(FNshell_MessageNoArgs("MTIBar")) 61MenuItem_Info% =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Info"),"") 62void% =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Quit"),"_MenuSelect_Quit") 63PROCshell_AttachMenuDBox(MenuItem_Info%,"progInfo","_PreOpenInfo","") 64 65ENDPROC 66: 67 68REM ===== Window_SetUp routines ==================================== 69 70DEF PROCSetUp_Windows 71PROCshell_CreateWindowStatic("mainw",mainw%) 72ENDPROC 73: 74 75REM ===== IconBar_SetUp routines =================================== 76 77DEF PROCSetUp_IconBar 78sicon=FNshell_Iconbar(-1,"!"+FNshell_GetAppName,"",120,MenuHandle_IconBar%,0,0,0) 79PROCshell_AttachHelpTag(-1,sicon,"iconbar") 80PROCshell_AttachClickSelect(-1,sicon,"_ClickSelect_IconBar") 81ENDPROC 82: 83 84REM ===== Dialog_PreOpen routines ================================== 85 86DEF FN_PreOpenInfo(wh%) 87PROCshell_IconPutData(wh%,0,FNshell_MessageNoArgs("progInfo0"),0) 88PROCshell_IconPutData(wh%,1,FNshell_MessageNoArgs("progInfo1"),0) 89PROCshell_IconPutData(wh%,2,FNshell_MessageNoArgs("progInfo2"),0) 90PROCshell_IconPutData(wh%,3,FNshell_MessageNoArgs("progInfo3"),0) 91=0 92: 93 94REM ===== Dialog_PostOpen routines ================================= 95 96REM ===== Click_Select routines ==================================== 97 98DEF FN_ClickSelect_IconBar(wh%,icon%) 99PROCshell_OpenWindowStatic(mainw%) 100=0 101: 102 103REM ===== Click_Adjust routines ==================================== 104 105REM ===== Menu_Select routines ===================================== 106 107DEF FN_MenuSelect_Quit(blk%) 108_closedown%=TRUE 109=0 110: 111 112REM ===== Menu_Warning routines ==================================== 113 114REM ===== Data_Load routines ======================================= 115 116REM ===== Data_Save routines ======================================= 117 118REM ===== User application routines ================================ 119 120REM ================= End Of User Application ====================== 121:
"� > <@@@@@@@@@$Dir>.!@@@@@@@@@ : � � �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 ,task%=�shell_WimpInit_I(200,"@@@@@@@@@") � PROCshell_TraceInit("") � 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%)) )� _closedown% *: +�shell_Exit:� ,: -L� ====================================================================== .: /� �app_init 0�SetUp_Windows 1�SetUp_Menus 2�SetUp_IconBar 3H�shell_InitHelpSystem(�shell_GetAppName+"Res:"+�shell_GetAppName,-1) 4� 5: 6 7F� ===== Menu_Setup routines ====================================== 8 9� �SetUp_Menus :� void% ; <FMenuHandle_IconBar%=�shell_MenuNew(�shell_MessageNoArgs("MTIBar")) =IMenuItem_Info% =�shell_MenuAdd(0,�shell_MessageNoArgs("Info"),"") >Yvoid% =�shell_MenuAdd(0,�shell_MessageNoArgs("Quit"),"_MenuSelect_Quit") ?F�shell_AttachMenuDBox(MenuItem_Info%,"progInfo","_PreOpenInfo","") @ A� B: C DF� ===== Window_SetUp routines ==================================== E F� �SetUp_Windows G-�shell_CreateWindowStatic("mainw",mainw%) H� I: J KF� ===== IconBar_SetUp routines =================================== L M� �SetUp_IconBar NSsicon=�shell_Iconbar(-1,"!"+�shell_GetAppName,"",120,MenuHandle_IconBar%,0,0,0) O,�shell_AttachHelpTag(-1,sicon,"iconbar") P=�shell_AttachClickSelect(-1,sicon,"_ClickSelect_IconBar") Q� R: S TF� ===== Dialog_PreOpen routines ================================== U V� �_PreOpenInfo(wh%) WA�shell_IconPutData(wh%,0,�shell_MessageNoArgs("progInfo0"),0) XA�shell_IconPutData(wh%,1,�shell_MessageNoArgs("progInfo1"),0) YA�shell_IconPutData(wh%,2,�shell_MessageNoArgs("progInfo2"),0) ZA�shell_IconPutData(wh%,3,�shell_MessageNoArgs("progInfo3"),0) [=0 \: ] ^F� ===== Dialog_PostOpen routines ================================= _ `F� ===== Click_Select routines ==================================== a b&� �_ClickSelect_IconBar(wh%,icon%) c#�shell_OpenWindowStatic(mainw%) d=0 e: f gF� ===== Click_Adjust routines ==================================== h iF� ===== Menu_Select routines ===================================== j k� �_MenuSelect_Quit(blk%) l_closedown%=� m=0 n: o pF� ===== Menu_Warning routines ==================================== q rF� ===== Data_Load routines ======================================= s tF� ===== Data_Save routines ======================================= u vF� ===== User application routines ================================ w xF� ================= End Of User Application ====================== y: �
00000000 0d 00 01 22 f4 20 3e 20 3c 40 40 40 40 40 40 40 |...". > <@@@@@@@| 00000010 40 40 24 44 69 72 3e 2e 21 40 40 40 40 40 40 40 |@@$Dir>.!@@@@@@@| 00000020 40 40 0d 00 02 05 3a 0d 00 03 14 ee 20 85 20 f2 |@@....:..... . .| 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 2c 74 61 73 6b 25 3d a4 73 68 65 |it...,task%=.she| 00000160 6c 6c 5f 57 69 6d 70 49 6e 69 74 5f 49 28 32 30 |ll_WimpInit_I(20| 00000170 30 2c 22 40 40 40 40 40 40 40 40 40 22 29 0d 00 |0,"@@@@@@@@@")..| 00000180 12 1d f4 20 50 52 4f 43 73 68 65 6c 6c 5f 54 72 |... PROCshell_Tr| 00000190 61 63 65 49 6e 69 74 28 22 22 29 0d 00 13 17 f4 |aceInit("").....| 000001a0 20 50 52 4f 43 73 68 65 6c 6c 5f 54 72 61 63 65 | PROCshell_Trace| 000001b0 4f 6e 0d 00 14 18 f2 73 68 65 6c 6c 5f 52 65 73 |On.....shell_Res| 000001c0 6f 75 72 63 65 73 49 6e 69 74 0d 00 15 0d f2 61 |ourcesInit.....a| 000001d0 70 70 5f 69 6e 69 74 0d 00 16 05 3a 0d 00 17 4c |pp_init....:...L| 000001e0 f4 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |. --------------| 000001f0 2d 2d 2d 2d 2d 2d 20 49 6e 69 74 69 61 6c 69 73 |------ Initialis| 00000200 65 20 56 61 72 69 61 62 6c 65 73 20 2d 2d 2d 2d |e Variables ----| 00000210 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00000220 2d 2d 2d 2d 2d 2d 2d 2d 0d 00 18 05 3a 0d 00 19 |--------....:...| 00000230 47 5f 63 6c 6f 73 65 64 6f 77 6e 25 20 20 20 20 |G_closedown% | 00000240 20 3d a3 20 3a f4 20 53 65 74 20 74 68 69 73 20 | =. :. Set this | 00000250 74 6f 20 54 52 55 45 20 77 68 65 6e 20 79 6f 75 |to TRUE when you| 00000260 20 77 61 6e 74 20 74 68 65 20 70 72 6f 67 72 61 | want the progra| 00000270 6d 20 74 6f 0d 00 1a 21 20 20 20 20 20 20 20 20 |m to...! | 00000280 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a | :| 00000290 f4 20 65 6e 64 0d 00 1b 44 63 68 61 6e 67 65 64 |. end...Dchanged| 000002a0 25 20 20 20 20 20 20 20 20 3d a3 20 3a f4 20 55 |% =. :. U| 000002b0 73 65 64 20 74 6f 20 6b 65 65 70 20 74 72 61 63 |sed to keep trac| 000002c0 6b 20 6f 66 20 77 68 65 74 68 65 72 20 74 68 65 |k of whether the| 000002d0 20 64 61 74 61 20 68 61 73 0d 00 1c 4b 20 20 20 | data has...K | 000002e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000002f0 20 20 20 20 3a f4 20 62 65 65 6e 20 63 68 61 6e | :. been chan| 00000300 67 65 64 2e 20 43 61 6c 6c 20 50 52 4f 43 66 69 |ged. Call PROCfi| 00000310 6c 65 5f 63 68 61 6e 67 65 64 28 29 20 77 68 65 |le_changed() whe| 00000320 6e 20 69 74 0d 00 1d 47 20 20 20 20 20 20 20 20 |n it...G | 00000330 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a | :| 00000340 f4 20 68 61 73 2e 20 42 75 74 20 69 66 20 74 68 |. has. But if th| 00000350 65 20 70 72 6f 67 72 61 6d 20 64 6f 65 73 20 6e |e program does n| 00000360 6f 74 20 75 73 65 20 64 61 74 61 0d 00 1e 48 20 |ot use data...H | 00000370 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000380 20 20 20 20 20 20 3a f4 20 66 69 6c 65 73 20 6a | :. files j| 00000390 75 73 74 20 69 67 6e 6f 72 65 20 74 68 69 73 20 |ust ignore this | 000003a0 76 61 72 69 61 62 6c 65 20 62 75 74 20 64 6f 20 |variable but do | 000003b0 6e 6f 74 0d 00 1f 47 20 20 20 20 20 20 20 20 20 |not...G | 000003c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a f4 | :.| 000003d0 20 64 65 6c 65 74 65 20 69 74 20 61 73 20 74 68 | delete it as th| 000003e0 65 20 70 72 6f 67 72 61 6d 20 63 68 65 63 6b 73 |e program checks| 000003f0 20 69 74 20 62 65 66 6f 72 65 0d 00 20 26 20 20 | it before.. & | 00000400 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000410 20 20 20 20 20 3a f4 20 65 78 69 74 69 6e 67 21 | :. exiting!| 00000420 0d 00 21 05 3a 0d 00 22 4c f4 20 2d 2d 2d 2d 2d |..!.:.."L. -----| 00000430 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 20 |--------------- | 00000440 4d 69 73 63 65 6c 6c 65 61 6e 6f 75 73 20 49 6e |Miscelleanous In| 00000450 69 74 69 61 6c 69 73 61 74 69 6f 6e 20 2d 2d 2d |itialisation ---| 00000460 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00000470 2d 0d 00 23 05 3a 0d 00 24 16 c8 99 20 22 48 6f |-..#.:..$... "Ho| 00000480 75 72 67 6c 61 73 73 5f 4f 66 66 22 0d 00 25 09 |urglass_Off"..%.| 00000490 ee 20 85 20 87 0d 00 26 14 ee 20 85 20 f2 73 68 |. . ...&.. . .sh| 000004a0 65 6c 6c 5f 45 72 72 6f 72 0d 00 27 05 f5 0d 00 |ell_Error..'....| 000004b0 28 2b 20 20 f2 73 68 65 6c 6c 5f 41 63 74 69 6f |(+ .shell_Actio| 000004c0 6e 28 a4 73 68 65 6c 6c 5f 50 6f 6c 6c 5f 49 28 |n(.shell_Poll_I(| 000004d0 30 2c 74 61 73 6b 25 29 29 0d 00 29 11 fd 20 5f |0,task%))..).. _| 000004e0 63 6c 6f 73 65 64 6f 77 6e 25 0d 00 2a 05 3a 0d |closedown%..*.:.| 000004f0 00 2b 11 f2 73 68 65 6c 6c 5f 45 78 69 74 3a e0 |.+..shell_Exit:.| 00000500 0d 00 2c 05 3a 0d 00 2d 4c f4 20 3d 3d 3d 3d 3d |..,.:..-L. =====| 00000510 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000550 3d 0d 00 2e 05 3a 0d 00 2f 0f dd 20 f2 61 70 70 |=....:../.. .app| 00000560 5f 69 6e 69 74 0d 00 30 12 f2 53 65 74 55 70 5f |_init..0..SetUp_| 00000570 57 69 6e 64 6f 77 73 0d 00 31 10 f2 53 65 74 55 |Windows..1..SetU| 00000580 70 5f 4d 65 6e 75 73 0d 00 32 12 f2 53 65 74 55 |p_Menus..2..SetU| 00000590 70 5f 49 63 6f 6e 42 61 72 0d 00 33 48 f2 73 68 |p_IconBar..3H.sh| 000005a0 65 6c 6c 5f 49 6e 69 74 48 65 6c 70 53 79 73 74 |ell_InitHelpSyst| 000005b0 65 6d 28 a4 73 68 65 6c 6c 5f 47 65 74 41 70 70 |em(.shell_GetApp| 000005c0 4e 61 6d 65 2b 22 52 65 73 3a 22 2b a4 73 68 65 |Name+"Res:"+.she| 000005d0 6c 6c 5f 47 65 74 41 70 70 4e 61 6d 65 2c 2d 31 |ll_GetAppName,-1| 000005e0 29 0d 00 34 05 e1 0d 00 35 05 3a 0d 00 36 04 0d |)..4....5.:..6..| 000005f0 00 37 46 f4 20 3d 3d 3d 3d 3d 20 4d 65 6e 75 5f |.7F. ===== Menu_| 00000600 53 65 74 75 70 20 72 6f 75 74 69 6e 65 73 20 3d |Setup routines =| 00000610 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000630 3d 3d 3d 3d 3d 0d 00 38 04 0d 00 39 12 dd 20 f2 |=====..8...9.. .| 00000640 53 65 74 55 70 5f 4d 65 6e 75 73 0d 00 3a 0b ea |SetUp_Menus..:..| 00000650 20 76 6f 69 64 25 0d 00 3b 04 0d 00 3c 46 4d 65 | void%..;...<FMe| 00000660 6e 75 48 61 6e 64 6c 65 5f 49 63 6f 6e 42 61 72 |nuHandle_IconBar| 00000670 25 3d a4 73 68 65 6c 6c 5f 4d 65 6e 75 4e 65 77 |%=.shell_MenuNew| 00000680 28 a4 73 68 65 6c 6c 5f 4d 65 73 73 61 67 65 4e |(.shell_MessageN| 00000690 6f 41 72 67 73 28 22 4d 54 49 42 61 72 22 29 29 |oArgs("MTIBar"))| 000006a0 0d 00 3d 49 4d 65 6e 75 49 74 65 6d 5f 49 6e 66 |..=IMenuItem_Inf| 000006b0 6f 25 20 20 20 20 20 3d a4 73 68 65 6c 6c 5f 4d |o% =.shell_M| 000006c0 65 6e 75 41 64 64 28 30 2c a4 73 68 65 6c 6c 5f |enuAdd(0,.shell_| 000006d0 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 22 49 |MessageNoArgs("I| 000006e0 6e 66 6f 22 29 2c 22 22 29 0d 00 3e 59 76 6f 69 |nfo"),"")..>Yvoi| 000006f0 64 25 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |d% | 00000700 3d a4 73 68 65 6c 6c 5f 4d 65 6e 75 41 64 64 28 |=.shell_MenuAdd(| 00000710 30 2c a4 73 68 65 6c 6c 5f 4d 65 73 73 61 67 65 |0,.shell_Message| 00000720 4e 6f 41 72 67 73 28 22 51 75 69 74 22 29 2c 22 |NoArgs("Quit"),"| 00000730 5f 4d 65 6e 75 53 65 6c 65 63 74 5f 51 75 69 74 |_MenuSelect_Quit| 00000740 22 29 0d 00 3f 46 f2 73 68 65 6c 6c 5f 41 74 74 |")..?F.shell_Att| 00000750 61 63 68 4d 65 6e 75 44 42 6f 78 28 4d 65 6e 75 |achMenuDBox(Menu| 00000760 49 74 65 6d 5f 49 6e 66 6f 25 2c 22 70 72 6f 67 |Item_Info%,"prog| 00000770 49 6e 66 6f 22 2c 22 5f 50 72 65 4f 70 65 6e 49 |Info","_PreOpenI| 00000780 6e 66 6f 22 2c 22 22 29 0d 00 40 04 0d 00 41 05 |nfo","")..@...A.| 00000790 e1 0d 00 42 05 3a 0d 00 43 04 0d 00 44 46 f4 20 |...B.:..C...DF. | 000007a0 3d 3d 3d 3d 3d 20 57 69 6e 64 6f 77 5f 53 65 74 |===== Window_Set| 000007b0 55 70 20 72 6f 75 74 69 6e 65 73 20 3d 3d 3d 3d |Up routines ====| 000007c0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 000007e0 0d 00 45 04 0d 00 46 14 dd 20 f2 53 65 74 55 70 |..E...F.. .SetUp| 000007f0 5f 57 69 6e 64 6f 77 73 0d 00 47 2d f2 73 68 65 |_Windows..G-.she| 00000800 6c 6c 5f 43 72 65 61 74 65 57 69 6e 64 6f 77 53 |ll_CreateWindowS| 00000810 74 61 74 69 63 28 22 6d 61 69 6e 77 22 2c 6d 61 |tatic("mainw",ma| 00000820 69 6e 77 25 29 0d 00 48 05 e1 0d 00 49 05 3a 0d |inw%)..H....I.:.| 00000830 00 4a 04 0d 00 4b 46 f4 20 3d 3d 3d 3d 3d 20 49 |.J...KF. ===== I| 00000840 63 6f 6e 42 61 72 5f 53 65 74 55 70 20 72 6f 75 |conBar_SetUp rou| 00000850 74 69 6e 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |tines ==========| 00000860 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000870 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 4c 04 0d 00 4d |=========..L...M| 00000880 14 dd 20 f2 53 65 74 55 70 5f 49 63 6f 6e 42 61 |.. .SetUp_IconBa| 00000890 72 0d 00 4e 53 73 69 63 6f 6e 3d a4 73 68 65 6c |r..NSsicon=.shel| 000008a0 6c 5f 49 63 6f 6e 62 61 72 28 2d 31 2c 22 21 22 |l_Iconbar(-1,"!"| 000008b0 2b a4 73 68 65 6c 6c 5f 47 65 74 41 70 70 4e 61 |+.shell_GetAppNa| 000008c0 6d 65 2c 22 22 2c 31 32 30 2c 4d 65 6e 75 48 61 |me,"",120,MenuHa| 000008d0 6e 64 6c 65 5f 49 63 6f 6e 42 61 72 25 2c 30 2c |ndle_IconBar%,0,| 000008e0 30 2c 30 29 0d 00 4f 2c f2 73 68 65 6c 6c 5f 41 |0,0)..O,.shell_A| 000008f0 74 74 61 63 68 48 65 6c 70 54 61 67 28 2d 31 2c |ttachHelpTag(-1,| 00000900 73 69 63 6f 6e 2c 22 69 63 6f 6e 62 61 72 22 29 |sicon,"iconbar")| 00000910 0d 00 50 3d f2 73 68 65 6c 6c 5f 41 74 74 61 63 |..P=.shell_Attac| 00000920 68 43 6c 69 63 6b 53 65 6c 65 63 74 28 2d 31 2c |hClickSelect(-1,| 00000930 73 69 63 6f 6e 2c 22 5f 43 6c 69 63 6b 53 65 6c |sicon,"_ClickSel| 00000940 65 63 74 5f 49 63 6f 6e 42 61 72 22 29 0d 00 51 |ect_IconBar")..Q| 00000950 05 e1 0d 00 52 05 3a 0d 00 53 04 0d 00 54 46 f4 |....R.:..S...TF.| 00000960 20 3d 3d 3d 3d 3d 20 44 69 61 6c 6f 67 5f 50 72 | ===== Dialog_Pr| 00000970 65 4f 70 65 6e 20 72 6f 75 74 69 6e 65 73 20 3d |eOpen routines =| 00000980 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 000009a0 3d 0d 00 55 04 0d 00 56 18 dd 20 a4 5f 50 72 65 |=..U...V.. ._Pre| 000009b0 4f 70 65 6e 49 6e 66 6f 28 77 68 25 29 0d 00 57 |OpenInfo(wh%)..W| 000009c0 41 f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 74 44 |A.shell_IconPutD| 000009d0 61 74 61 28 77 68 25 2c 30 2c a4 73 68 65 6c 6c |ata(wh%,0,.shell| 000009e0 5f 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 22 |_MessageNoArgs("| 000009f0 70 72 6f 67 49 6e 66 6f 30 22 29 2c 30 29 0d 00 |progInfo0"),0)..| 00000a00 58 41 f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 74 |XA.shell_IconPut| 00000a10 44 61 74 61 28 77 68 25 2c 31 2c a4 73 68 65 6c |Data(wh%,1,.shel| 00000a20 6c 5f 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 |l_MessageNoArgs(| 00000a30 22 70 72 6f 67 49 6e 66 6f 31 22 29 2c 30 29 0d |"progInfo1"),0).| 00000a40 00 59 41 f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 |.YA.shell_IconPu| 00000a50 74 44 61 74 61 28 77 68 25 2c 32 2c a4 73 68 65 |tData(wh%,2,.she| 00000a60 6c 6c 5f 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 |ll_MessageNoArgs| 00000a70 28 22 70 72 6f 67 49 6e 66 6f 32 22 29 2c 30 29 |("progInfo2"),0)| 00000a80 0d 00 5a 41 f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 |..ZA.shell_IconP| 00000a90 75 74 44 61 74 61 28 77 68 25 2c 33 2c a4 73 68 |utData(wh%,3,.sh| 00000aa0 65 6c 6c 5f 4d 65 73 73 61 67 65 4e 6f 41 72 67 |ell_MessageNoArg| 00000ab0 73 28 22 70 72 6f 67 49 6e 66 6f 33 22 29 2c 30 |s("progInfo3"),0| 00000ac0 29 0d 00 5b 06 3d 30 0d 00 5c 05 3a 0d 00 5d 04 |)..[.=0..\.:..].| 00000ad0 0d 00 5e 46 f4 20 3d 3d 3d 3d 3d 20 44 69 61 6c |..^F. ===== Dial| 00000ae0 6f 67 5f 50 6f 73 74 4f 70 65 6e 20 72 6f 75 74 |og_PostOpen rout| 00000af0 69 6e 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |ines ===========| 00000b00 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000b10 3d 3d 3d 3d 3d 3d 0d 00 5f 04 0d 00 60 46 f4 20 |======.._...`F. | 00000b20 3d 3d 3d 3d 3d 20 43 6c 69 63 6b 5f 53 65 6c 65 |===== Click_Sele| 00000b30 63 74 20 72 6f 75 74 69 6e 65 73 20 3d 3d 3d 3d |ct routines ====| 00000b40 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000b60 0d 00 61 04 0d 00 62 26 dd 20 a4 5f 43 6c 69 63 |..a...b&. ._Clic| 00000b70 6b 53 65 6c 65 63 74 5f 49 63 6f 6e 42 61 72 28 |kSelect_IconBar(| 00000b80 77 68 25 2c 69 63 6f 6e 25 29 0d 00 63 23 f2 73 |wh%,icon%)..c#.s| 00000b90 68 65 6c 6c 5f 4f 70 65 6e 57 69 6e 64 6f 77 53 |hell_OpenWindowS| 00000ba0 74 61 74 69 63 28 6d 61 69 6e 77 25 29 0d 00 64 |tatic(mainw%)..d| 00000bb0 06 3d 30 0d 00 65 05 3a 0d 00 66 04 0d 00 67 46 |.=0..e.:..f...gF| 00000bc0 f4 20 3d 3d 3d 3d 3d 20 43 6c 69 63 6b 5f 41 64 |. ===== Click_Ad| 00000bd0 6a 75 73 74 20 72 6f 75 74 69 6e 65 73 20 3d 3d |just routines ==| 00000be0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000c00 3d 3d 0d 00 68 04 0d 00 69 46 f4 20 3d 3d 3d 3d |==..h...iF. ====| 00000c10 3d 20 4d 65 6e 75 5f 53 65 6c 65 63 74 20 72 6f |= Menu_Select ro| 00000c20 75 74 69 6e 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d |utines =========| 00000c30 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000c40 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 6a 04 |============..j.| 00000c50 0d 00 6b 1d dd 20 a4 5f 4d 65 6e 75 53 65 6c 65 |..k.. ._MenuSele| 00000c60 63 74 5f 51 75 69 74 28 62 6c 6b 25 29 0d 00 6c |ct_Quit(blk%)..l| 00000c70 11 5f 63 6c 6f 73 65 64 6f 77 6e 25 3d b9 0d 00 |._closedown%=...| 00000c80 6d 06 3d 30 0d 00 6e 05 3a 0d 00 6f 04 0d 00 70 |m.=0..n.:..o...p| 00000c90 46 f4 20 3d 3d 3d 3d 3d 20 4d 65 6e 75 5f 57 61 |F. ===== Menu_Wa| 00000ca0 72 6e 69 6e 67 20 72 6f 75 74 69 6e 65 73 20 3d |rning routines =| 00000cb0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000cd0 3d 3d 3d 0d 00 71 04 0d 00 72 46 f4 20 3d 3d 3d |===..q...rF. ===| 00000ce0 3d 3d 20 44 61 74 61 5f 4c 6f 61 64 20 72 6f 75 |== Data_Load rou| 00000cf0 74 69 6e 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |tines ==========| 00000d00 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000d10 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 73 |=============..s| 00000d20 04 0d 00 74 46 f4 20 3d 3d 3d 3d 3d 20 44 61 74 |...tF. ===== Dat| 00000d30 61 5f 53 61 76 65 20 72 6f 75 74 69 6e 65 73 20 |a_Save routines | 00000d40 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000d60 3d 3d 3d 3d 3d 3d 3d 0d 00 75 04 0d 00 76 46 f4 |=======..u...vF.| 00000d70 20 3d 3d 3d 3d 3d 20 55 73 65 72 20 61 70 70 6c | ===== User appl| 00000d80 69 63 61 74 69 6f 6e 20 72 6f 75 74 69 6e 65 73 |ication routines| 00000d90 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d | ===============| 00000da0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000db0 3d 0d 00 77 04 0d 00 78 46 f4 20 3d 3d 3d 3d 3d |=..w...xF. =====| 00000dc0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 20 45 6e 64 |============ End| 00000dd0 20 4f 66 20 55 73 65 72 20 41 70 70 6c 69 63 61 | Of User Applica| 00000de0 74 69 6f 6e 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |tion ===========| 00000df0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 79 05 3a |===========..y.:| 00000e00 0d ff |..| 00000e02