Home » Archimedes archive » Acorn User » AU 1998-09.adf » Features » DesktopPD/ExtraBar/!ExLibrary/Utils/!Web/Web
DesktopPD/ExtraBar/!ExLibrary/Utils/!Web/Web
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 » Acorn User » AU 1998-09.adf » Features |
Filename: | DesktopPD/ExtraBar/!ExLibrary/Utils/!Web/Web |
Read OK: | ✔ |
File size: | 0999 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
1REM > Web handler 2REM 3REM Universal URL launcher 4 5ON ERROR PROCquit(0,REPORT$):END 6 7DIM result% 512,blk% 2048 8 9SYS "OS_GetEnv" TO command$:I%=INSTR(command$," -quit "):url$="" 10IF I% THEN url$=MID$(command$,INSTR(command$," ",I%+LEN" -quit ")+1) 11 12SYS "Wimp_ReadSysInfo",3 TO desk% 13IF desk% = 0 THEN ERROR EXT 0,"Web command can only be used in the desktop" 14 15 16IF url$ = "" THEN PROCquit(1,"No url was supplied.") 17 18SYS "Wimp_Initialise",200,&4B534154,"URL Handler" TO ,task% 19PROCaccess_url(url$) 20REPEAT 21 SYS "OS_ReadMonotonicTime" TO time% 22 SYS "Wimp_PollIdle",0,blk%,time%+200 TO r% 23 IF r% = 19 THEN 24 IF blk%!16 = &4AF80 THEN 25 url$ = FNget_string(blk%+20,253) 26 prot$ = LEFT$(url$,INSTR(url$,":/")-1) 27 command$ = FNsystem_variable("Alias$URLOpen_"+prot$) 28 IF command$ <> "" THEN 29 SYS "Wimp_StartTask","URLOpen_"+prot$+" "+url$ 30 ELSE 31 PROCreport_error("No application has been setup to acess this url") 32 ENDIF 33 ENDIF 34 ENDIF 35UNTIL r% = 0 36PROCquit(0,"") 37END 38 39DEF FNget_string(pointer%,length%) 40LOCAL temp$ 41IF length%=0 THEN length%=255 42FOR pointer%=pointer% TO pointer%+length%-1 43IF ?pointer%<32 THEN 44 pointer%=pointer%+length%+pointer% 45ELSE 46 temp$+=CHR$(?pointer%) 47ENDIF 48NEXT 49=temp$ 50 51DEF PROCquit(status%,text$) 52SYS "XOS_CLI","Set ExtraBar$ReturnCode "+STR$(status%) 53SYS "XOS_CLI","Set ExtraBar$ReturnInfo "+text$ 54ENDPROC 55 56DEF PROCaccess_url(addr$) 57LOCAL swi%,flags%,version% 58SYS "XOS_SWINumberFromString",,"URI_Version" TO swi%;flags% 59IF (flags%AND1) = 0 THEN SYS "URI_Version" TO version% ELSE version% = -1 60 61IF version% > 0 THEN 62 SYS "URI_Dispatch",1,addr$+CHR$(0),task% TO uri_flags%,uri_handler_th%,uri_handle%;flags% 63 IF uri_flags% THEN PROCsend_ant_launch(addr$) 64ELSE 65 PROCsend_ant_launch(addr$) 66ENDIF 67ENDPROC 68 69DEF PROCsend_ant_launch(addr$) 70blk%!0 = 20+((LEN(addr$) DIV 4)*4)+4 71blk%!4 = task% 72blk%!8 = 0 73blk%!12 = 0 74blk%!16 = &4AF80 75$(blk%+20) = addr$+CHR$(0) 76SYS "Wimp_SendMessage",18,blk%,0 77ENDPROC 78 79DEF PROCreport_error(e$) 80LOCAL flags%,spr_blk% 81e$ = STRING$(4,CHR$(0))+e$+CHR$(0) 82IF INKEY-256 > &A4 THEN flags% = (%1<<9)+256+2 ELSE flags% = 2 83SYS "Wimp_BaseOfSprites" TO ,spr_blk% 84SYS "Wimp_ReportError",e$,flags%,"ExtraBar" 85ENDPROC 86 87DEF FNsystem_variable(sys_var$) 88LOCAL length%,text$ 89SYS"XOS_ReadVarVal",sys_var$+CHR$(0),blk%,-1 TO ,,length% 90IF length% <> 0 THEN 91 SYS"XOS_ReadVarVal",sys_var$+CHR$(0),blk%,255,,3 TO ,,length% 92 ?(blk%+length%)=13 93 text$ = $blk% 94ELSE 95 text$ = "" 96ENDIF 97= text$
� > Web handler � � Universal URL launcher � � �quit(0,�$):� � result% 512,blk% 2048 =ș "OS_GetEnv" � command$:I%=�command$," -quit "):url$="" 9� I% � url$=�command$,�command$," ",I%+�" -quit ")+1) #ș "Wimp_ReadSysInfo",3 � desk% E� desk% = 0 � � � 0,"Web command can only be used in the desktop" 1� url$ = "" � �quit(1,"No url was supplied.") =ș "Wimp_Initialise",200,&4B534154,"URL Handler" � ,task% �access_url(url$) � ' ș "OS_ReadMonotonicTime" � time% . ș "Wimp_PollIdle",0,blk%,time%+200 � r% � r% = 19 � � blk%!16 = &4AF80 � * url$ = �get_string(blk%+20,253) & prot$ = �url$,�url$,":/")-1) = command$ = �system_variable("Alias$URLOpen_"+prot$) � command$ <> "" � 9 ș "Wimp_StartTask","URLOpen_"+prot$+" "+url$ � L �report_error("No application has been setup to acess this url") � ! � " � #� r% = 0 $�quit(0,"") %� & '#� �get_string(pointer%,length%) (� temp$ )� length%=0 � length%=255 *,� pointer%=pointer% � pointer%+length%-1 +� ?pointer%<32 � ,( pointer%=pointer%+length%+pointer% -� . temp$+=�(?pointer%) /� 0� 1 =temp$ 2 3� �quit(status%,text$) 46ș "XOS_CLI","Set ExtraBar$ReturnCode "+�(status%) 51ș "XOS_CLI","Set ExtraBar$ReturnInfo "+text$ 6� 7 8� �access_url(addr$) 9� swi%,flags%,version% :=ș "XOS_SWINumberFromString",,"URI_Version" � swi%;flags% ;B� (flags%�1) = 0 � ș "URI_Version" � version% � version% = -1 < =� version% > 0 � >Z ș "URI_Dispatch",1,addr$+�(0),task% � uri_flags%,uri_handler_th%,uri_handle%;flags% ?, � uri_flags% � �send_ant_launch(addr$) @� A �send_ant_launch(addr$) B� C� D E� �send_ant_launch(addr$) F(blk%!0 = 20+((�(addr$) � 4)*4)+4 Gblk%!4 = task% Hblk%!8 = 0 Iblk%!12 = 0 Jblk%!16 = &4AF80 K$(blk%+20) = addr$+�(0) L#ș "Wimp_SendMessage",18,blk%,0 M� N O� �report_error(e$) P� flags%,spr_blk% Qe$ = �4,�(0))+e$+�(0) R7� �-256 > &A4 � flags% = (%1<<9)+256+2 � flags% = 2 S'ș "Wimp_BaseOfSprites" � ,spr_blk% T.ș "Wimp_ReportError",e$,flags%,"ExtraBar" U� V W � �system_variable(sys_var$) X� length%,text$ Y8ș"XOS_ReadVarVal",sys_var$+�(0),blk%,-1 � ,,length% Z� length% <> 0 � [> ș"XOS_ReadVarVal",sys_var$+�(0),blk%,255,,3 � ,,length% \ ?(blk%+length%)=13 ] text$ = $blk% ^� _ text$ = "" `� a= text$ �
00000000 0d 00 01 13 f4 20 3e 20 57 65 62 20 68 61 6e 64 |..... > Web hand| 00000010 6c 65 72 0d 00 02 05 f4 0d 00 03 1c f4 20 55 6e |ler.......... Un| 00000020 69 76 65 72 73 61 6c 20 55 52 4c 20 6c 61 75 6e |iversal URL laun| 00000030 63 68 65 72 0d 00 04 04 0d 00 05 15 ee 20 85 20 |cher......... . | 00000040 f2 71 75 69 74 28 30 2c f6 24 29 3a e0 0d 00 06 |.quit(0,.$):....| 00000050 04 0d 00 07 1b de 20 72 65 73 75 6c 74 25 20 35 |...... result% 5| 00000060 31 32 2c 62 6c 6b 25 20 32 30 34 38 0d 00 08 04 |12,blk% 2048....| 00000070 0d 00 09 3d c8 99 20 22 4f 53 5f 47 65 74 45 6e |...=.. "OS_GetEn| 00000080 76 22 20 b8 20 63 6f 6d 6d 61 6e 64 24 3a 49 25 |v" . command$:I%| 00000090 3d a7 63 6f 6d 6d 61 6e 64 24 2c 22 20 2d 71 75 |=.command$," -qu| 000000a0 69 74 20 22 29 3a 75 72 6c 24 3d 22 22 0d 00 0a |it "):url$=""...| 000000b0 39 e7 20 49 25 20 8c 20 75 72 6c 24 3d c1 63 6f |9. I% . url$=.co| 000000c0 6d 6d 61 6e 64 24 2c a7 63 6f 6d 6d 61 6e 64 24 |mmand$,.command$| 000000d0 2c 22 20 22 2c 49 25 2b a9 22 20 2d 71 75 69 74 |," ",I%+." -quit| 000000e0 20 22 29 2b 31 29 0d 00 0b 04 0d 00 0c 23 c8 99 | ")+1).......#..| 000000f0 20 22 57 69 6d 70 5f 52 65 61 64 53 79 73 49 6e | "Wimp_ReadSysIn| 00000100 66 6f 22 2c 33 20 b8 20 64 65 73 6b 25 0d 00 0d |fo",3 . desk%...| 00000110 45 e7 20 64 65 73 6b 25 20 3d 20 30 20 8c 20 85 |E. desk% = 0 . .| 00000120 20 a2 20 30 2c 22 57 65 62 20 63 6f 6d 6d 61 6e | . 0,"Web comman| 00000130 64 20 63 61 6e 20 6f 6e 6c 79 20 62 65 20 75 73 |d can only be us| 00000140 65 64 20 69 6e 20 74 68 65 20 64 65 73 6b 74 6f |ed in the deskto| 00000150 70 22 0d 00 0e 04 0d 00 0f 04 0d 00 10 31 e7 20 |p"...........1. | 00000160 75 72 6c 24 20 3d 20 22 22 20 8c 20 f2 71 75 69 |url$ = "" . .qui| 00000170 74 28 31 2c 22 4e 6f 20 75 72 6c 20 77 61 73 20 |t(1,"No url was | 00000180 73 75 70 70 6c 69 65 64 2e 22 29 0d 00 11 05 20 |supplied.").... | 00000190 0d 00 12 3d c8 99 20 22 57 69 6d 70 5f 49 6e 69 |...=.. "Wimp_Ini| 000001a0 74 69 61 6c 69 73 65 22 2c 32 30 30 2c 26 34 42 |tialise",200,&4B| 000001b0 35 33 34 31 35 34 2c 22 55 52 4c 20 48 61 6e 64 |534154,"URL Hand| 000001c0 6c 65 72 22 20 b8 20 2c 74 61 73 6b 25 0d 00 13 |ler" . ,task%...| 000001d0 15 f2 61 63 63 65 73 73 5f 75 72 6c 28 75 72 6c |..access_url(url| 000001e0 24 29 0d 00 14 05 f5 0d 00 15 27 20 20 c8 99 20 |$)........' .. | 000001f0 22 4f 53 5f 52 65 61 64 4d 6f 6e 6f 74 6f 6e 69 |"OS_ReadMonotoni| 00000200 63 54 69 6d 65 22 20 b8 20 74 69 6d 65 25 0d 00 |cTime" . time%..| 00000210 16 2e 20 20 c8 99 20 22 57 69 6d 70 5f 50 6f 6c |.. .. "Wimp_Pol| 00000220 6c 49 64 6c 65 22 2c 30 2c 62 6c 6b 25 2c 74 69 |lIdle",0,blk%,ti| 00000230 6d 65 25 2b 32 30 30 20 b8 20 72 25 0d 00 17 11 |me%+200 . r%....| 00000240 20 20 e7 20 72 25 20 3d 20 31 39 20 8c 0d 00 18 | . r% = 19 ....| 00000250 1c 20 20 20 20 e7 20 62 6c 6b 25 21 31 36 20 3d |. . blk%!16 =| 00000260 20 26 34 41 46 38 30 20 8c 0d 00 19 2a 20 20 20 | &4AF80 ....* | 00000270 20 20 20 75 72 6c 24 20 20 3d 20 a4 67 65 74 5f | url$ = .get_| 00000280 73 74 72 69 6e 67 28 62 6c 6b 25 2b 32 30 2c 32 |string(blk%+20,2| 00000290 35 33 29 0d 00 1a 26 20 20 20 20 20 20 70 72 6f |53)...& pro| 000002a0 74 24 20 3d 20 c0 75 72 6c 24 2c a7 75 72 6c 24 |t$ = .url$,.url$| 000002b0 2c 22 3a 2f 22 29 2d 31 29 0d 00 1b 3d 20 20 20 |,":/")-1)...= | 000002c0 20 20 20 63 6f 6d 6d 61 6e 64 24 20 3d 20 a4 73 | command$ = .s| 000002d0 79 73 74 65 6d 5f 76 61 72 69 61 62 6c 65 28 22 |ystem_variable("| 000002e0 41 6c 69 61 73 24 55 52 4c 4f 70 65 6e 5f 22 2b |Alias$URLOpen_"+| 000002f0 70 72 6f 74 24 29 0d 00 1c 1c 20 20 20 20 20 20 |prot$).... | 00000300 e7 20 63 6f 6d 6d 61 6e 64 24 20 3c 3e 20 22 22 |. command$ <> ""| 00000310 20 8c 0d 00 1d 39 20 20 20 20 20 20 20 20 c8 99 | ....9 ..| 00000320 20 22 57 69 6d 70 5f 53 74 61 72 74 54 61 73 6b | "Wimp_StartTask| 00000330 22 2c 22 55 52 4c 4f 70 65 6e 5f 22 2b 70 72 6f |","URLOpen_"+pro| 00000340 74 24 2b 22 20 22 2b 75 72 6c 24 0d 00 1e 0b 20 |t$+" "+url$.... | 00000350 20 20 20 20 20 cc 0d 00 1f 4c 20 20 20 20 20 20 | ....L | 00000360 20 20 f2 72 65 70 6f 72 74 5f 65 72 72 6f 72 28 | .report_error(| 00000370 22 4e 6f 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 |"No application | 00000380 68 61 73 20 62 65 65 6e 20 73 65 74 75 70 20 74 |has been setup t| 00000390 6f 20 61 63 65 73 73 20 74 68 69 73 20 75 72 6c |o acess this url| 000003a0 22 29 0d 00 20 0b 20 20 20 20 20 20 cd 0d 00 21 |").. . ...!| 000003b0 09 20 20 20 20 cd 0d 00 22 07 20 20 cd 0d 00 23 |. ...". ...#| 000003c0 0c fd 20 72 25 20 3d 20 30 0d 00 24 0f f2 71 75 |.. r% = 0..$..qu| 000003d0 69 74 28 30 2c 22 22 29 0d 00 25 05 e0 0d 00 26 |it(0,"")..%....&| 000003e0 04 0d 00 27 23 dd 20 a4 67 65 74 5f 73 74 72 69 |...'#. .get_stri| 000003f0 6e 67 28 70 6f 69 6e 74 65 72 25 2c 6c 65 6e 67 |ng(pointer%,leng| 00000400 74 68 25 29 0d 00 28 0b ea 20 74 65 6d 70 24 0d |th%)..(.. temp$.| 00000410 00 29 1d e7 20 6c 65 6e 67 74 68 25 3d 30 20 8c |.).. length%=0 .| 00000420 20 6c 65 6e 67 74 68 25 3d 32 35 35 0d 00 2a 2c | length%=255..*,| 00000430 e3 20 70 6f 69 6e 74 65 72 25 3d 70 6f 69 6e 74 |. pointer%=point| 00000440 65 72 25 20 b8 20 70 6f 69 6e 74 65 72 25 2b 6c |er% . pointer%+l| 00000450 65 6e 67 74 68 25 2d 31 0d 00 2b 14 e7 20 3f 70 |ength%-1..+.. ?p| 00000460 6f 69 6e 74 65 72 25 3c 33 32 20 8c 0d 00 2c 28 |ointer%<32 ...,(| 00000470 20 20 70 6f 69 6e 74 65 72 25 3d 70 6f 69 6e 74 | pointer%=point| 00000480 65 72 25 2b 6c 65 6e 67 74 68 25 2b 70 6f 69 6e |er%+length%+poin| 00000490 74 65 72 25 0d 00 2d 05 cc 0d 00 2e 19 20 20 74 |ter%..-...... t| 000004a0 65 6d 70 24 2b 3d bd 28 3f 70 6f 69 6e 74 65 72 |emp$+=.(?pointer| 000004b0 25 29 0d 00 2f 05 cd 0d 00 30 05 ed 0d 00 31 0a |%)../....0....1.| 000004c0 3d 74 65 6d 70 24 0d 00 32 04 0d 00 33 1a dd 20 |=temp$..2...3.. | 000004d0 f2 71 75 69 74 28 73 74 61 74 75 73 25 2c 74 65 |.quit(status%,te| 000004e0 78 74 24 29 0d 00 34 36 c8 99 20 22 58 4f 53 5f |xt$)..46.. "XOS_| 000004f0 43 4c 49 22 2c 22 53 65 74 20 45 78 74 72 61 42 |CLI","Set ExtraB| 00000500 61 72 24 52 65 74 75 72 6e 43 6f 64 65 20 22 2b |ar$ReturnCode "+| 00000510 c3 28 73 74 61 74 75 73 25 29 0d 00 35 31 c8 99 |.(status%)..51..| 00000520 20 22 58 4f 53 5f 43 4c 49 22 2c 22 53 65 74 20 | "XOS_CLI","Set | 00000530 45 78 74 72 61 42 61 72 24 52 65 74 75 72 6e 49 |ExtraBar$ReturnI| 00000540 6e 66 6f 20 22 2b 74 65 78 74 24 0d 00 36 05 e1 |nfo "+text$..6..| 00000550 0d 00 37 04 0d 00 38 18 dd 20 f2 61 63 63 65 73 |..7...8.. .acces| 00000560 73 5f 75 72 6c 28 61 64 64 72 24 29 0d 00 39 1a |s_url(addr$)..9.| 00000570 ea 20 73 77 69 25 2c 66 6c 61 67 73 25 2c 76 65 |. swi%,flags%,ve| 00000580 72 73 69 6f 6e 25 0d 00 3a 3d c8 99 20 22 58 4f |rsion%..:=.. "XO| 00000590 53 5f 53 57 49 4e 75 6d 62 65 72 46 72 6f 6d 53 |S_SWINumberFromS| 000005a0 74 72 69 6e 67 22 2c 2c 22 55 52 49 5f 56 65 72 |tring",,"URI_Ver| 000005b0 73 69 6f 6e 22 20 b8 20 73 77 69 25 3b 66 6c 61 |sion" . swi%;fla| 000005c0 67 73 25 0d 00 3b 42 e7 20 28 66 6c 61 67 73 25 |gs%..;B. (flags%| 000005d0 80 31 29 20 3d 20 30 20 8c 20 c8 99 20 22 55 52 |.1) = 0 . .. "UR| 000005e0 49 5f 56 65 72 73 69 6f 6e 22 20 b8 20 76 65 72 |I_Version" . ver| 000005f0 73 69 6f 6e 25 20 8b 20 76 65 72 73 69 6f 6e 25 |sion% . version%| 00000600 20 3d 20 2d 31 0d 00 3c 04 0d 00 3d 14 e7 20 76 | = -1..<...=.. v| 00000610 65 72 73 69 6f 6e 25 20 3e 20 30 20 8c 0d 00 3e |ersion% > 0 ...>| 00000620 5a 20 20 c8 99 20 22 55 52 49 5f 44 69 73 70 61 |Z .. "URI_Dispa| 00000630 74 63 68 22 2c 31 2c 61 64 64 72 24 2b bd 28 30 |tch",1,addr$+.(0| 00000640 29 2c 74 61 73 6b 25 20 b8 20 75 72 69 5f 66 6c |),task% . uri_fl| 00000650 61 67 73 25 2c 75 72 69 5f 68 61 6e 64 6c 65 72 |ags%,uri_handler| 00000660 5f 74 68 25 2c 75 72 69 5f 68 61 6e 64 6c 65 25 |_th%,uri_handle%| 00000670 3b 66 6c 61 67 73 25 0d 00 3f 2c 20 20 e7 20 75 |;flags%..?, . u| 00000680 72 69 5f 66 6c 61 67 73 25 20 8c 20 f2 73 65 6e |ri_flags% . .sen| 00000690 64 5f 61 6e 74 5f 6c 61 75 6e 63 68 28 61 64 64 |d_ant_launch(add| 000006a0 72 24 29 0d 00 40 05 cc 0d 00 41 1d 20 20 f2 73 |r$)..@....A. .s| 000006b0 65 6e 64 5f 61 6e 74 5f 6c 61 75 6e 63 68 28 61 |end_ant_launch(a| 000006c0 64 64 72 24 29 0d 00 42 05 cd 0d 00 43 05 e1 0d |ddr$)..B....C...| 000006d0 00 44 04 0d 00 45 1d dd 20 f2 73 65 6e 64 5f 61 |.D...E.. .send_a| 000006e0 6e 74 5f 6c 61 75 6e 63 68 28 61 64 64 72 24 29 |nt_launch(addr$)| 000006f0 0d 00 46 28 62 6c 6b 25 21 30 20 20 20 20 20 3d |..F(blk%!0 =| 00000700 20 32 30 2b 28 28 a9 28 61 64 64 72 24 29 20 81 | 20+((.(addr$) .| 00000710 20 34 29 2a 34 29 2b 34 0d 00 47 16 62 6c 6b 25 | 4)*4)+4..G.blk%| 00000720 21 34 20 20 20 20 20 3d 20 74 61 73 6b 25 0d 00 |!4 = task%..| 00000730 48 12 62 6c 6b 25 21 38 20 20 20 20 20 3d 20 30 |H.blk%!8 = 0| 00000740 0d 00 49 12 62 6c 6b 25 21 31 32 20 20 20 20 3d |..I.blk%!12 =| 00000750 20 30 0d 00 4a 17 62 6c 6b 25 21 31 36 20 20 20 | 0..J.blk%!16 | 00000760 20 3d 20 26 34 41 46 38 30 0d 00 4b 1b 24 28 62 | = &4AF80..K.$(b| 00000770 6c 6b 25 2b 32 30 29 20 3d 20 61 64 64 72 24 2b |lk%+20) = addr$+| 00000780 bd 28 30 29 0d 00 4c 23 c8 99 20 22 57 69 6d 70 |.(0)..L#.. "Wimp| 00000790 5f 53 65 6e 64 4d 65 73 73 61 67 65 22 2c 31 38 |_SendMessage",18| 000007a0 2c 62 6c 6b 25 2c 30 0d 00 4d 05 e1 0d 00 4e 04 |,blk%,0..M....N.| 000007b0 0d 00 4f 17 dd 20 f2 72 65 70 6f 72 74 5f 65 72 |..O.. .report_er| 000007c0 72 6f 72 28 65 24 29 0d 00 50 15 ea 20 66 6c 61 |ror(e$)..P.. fla| 000007d0 67 73 25 2c 73 70 72 5f 62 6c 6b 25 0d 00 51 19 |gs%,spr_blk%..Q.| 000007e0 65 24 20 3d 20 c4 34 2c bd 28 30 29 29 2b 65 24 |e$ = .4,.(0))+e$| 000007f0 2b bd 28 30 29 0d 00 52 37 e7 20 a6 2d 32 35 36 |+.(0)..R7. .-256| 00000800 20 3e 20 26 41 34 20 8c 20 66 6c 61 67 73 25 20 | > &A4 . flags% | 00000810 3d 20 28 25 31 3c 3c 39 29 2b 32 35 36 2b 32 20 |= (%1<<9)+256+2 | 00000820 8b 20 66 6c 61 67 73 25 20 3d 20 32 0d 00 53 27 |. flags% = 2..S'| 00000830 c8 99 20 22 57 69 6d 70 5f 42 61 73 65 4f 66 53 |.. "Wimp_BaseOfS| 00000840 70 72 69 74 65 73 22 20 b8 20 2c 73 70 72 5f 62 |prites" . ,spr_b| 00000850 6c 6b 25 0d 00 54 2e c8 99 20 22 57 69 6d 70 5f |lk%..T... "Wimp_| 00000860 52 65 70 6f 72 74 45 72 72 6f 72 22 2c 65 24 2c |ReportError",e$,| 00000870 66 6c 61 67 73 25 2c 22 45 78 74 72 61 42 61 72 |flags%,"ExtraBar| 00000880 22 0d 00 55 05 e1 0d 00 56 04 0d 00 57 20 dd 20 |"..U....V...W . | 00000890 a4 73 79 73 74 65 6d 5f 76 61 72 69 61 62 6c 65 |.system_variable| 000008a0 28 73 79 73 5f 76 61 72 24 29 0d 00 58 13 ea 20 |(sys_var$)..X.. | 000008b0 6c 65 6e 67 74 68 25 2c 74 65 78 74 24 0d 00 59 |length%,text$..Y| 000008c0 38 c8 99 22 58 4f 53 5f 52 65 61 64 56 61 72 56 |8.."XOS_ReadVarV| 000008d0 61 6c 22 2c 73 79 73 5f 76 61 72 24 2b bd 28 30 |al",sys_var$+.(0| 000008e0 29 2c 62 6c 6b 25 2c 2d 31 20 b8 20 2c 2c 6c 65 |),blk%,-1 . ,,le| 000008f0 6e 67 74 68 25 0d 00 5a 14 e7 20 6c 65 6e 67 74 |ngth%..Z.. lengt| 00000900 68 25 20 3c 3e 20 30 20 8c 0d 00 5b 3e 20 20 c8 |h% <> 0 ...[> .| 00000910 99 22 58 4f 53 5f 52 65 61 64 56 61 72 56 61 6c |."XOS_ReadVarVal| 00000920 22 2c 73 79 73 5f 76 61 72 24 2b bd 28 30 29 2c |",sys_var$+.(0),| 00000930 62 6c 6b 25 2c 32 35 35 2c 2c 33 20 b8 20 2c 2c |blk%,255,,3 . ,,| 00000940 6c 65 6e 67 74 68 25 0d 00 5c 18 20 20 3f 28 62 |length%..\. ?(b| 00000950 6c 6b 25 2b 6c 65 6e 67 74 68 25 29 3d 31 33 0d |lk%+length%)=13.| 00000960 00 5d 13 20 20 74 65 78 74 24 20 3d 20 24 62 6c |.]. text$ = $bl| 00000970 6b 25 0d 00 5e 05 cc 0d 00 5f 10 20 20 74 65 78 |k%..^...._. tex| 00000980 74 24 20 3d 20 22 22 0d 00 60 05 cd 0d 00 61 0b |t$ = ""..`....a.| 00000990 3d 20 74 65 78 74 24 0d ff |= text$..| 00000999