Home » Archimedes archive » Acorn User » AU 1997-Xmas B.adf » PD » NetPlex/!Netplex/!Help/HTML/cgi-bin/dir
NetPlex/!Netplex/!Help/HTML/cgi-bin/dir
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 1997-Xmas B.adf » PD |
Filename: | NetPlex/!Netplex/!Help/HTML/cgi-bin/dir |
Read OK: | ✔ |
File size: | 0AC3 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM >cgi-bin.dir (Netplex Example) 20REM ========================================================================= 30REM Allows the client to remotely browse the server's hard disc. Uses self- 31REM referencing to let the client traverse directories and retrieve files. 52REM Only allows the client see directories and files marked as 'Public'. 60REM ========================================================================= 70 80REM Set ourselves a suitable amount of memory, to avoid problems 90REM with programs which work under us, e.g. SparkFS. 100END = &8000 + 32768 :REM 32 Kbytes 110 120LIBRARY "<Netplex$Dir>.CGILibrary" 130REM Set up error handler, redirection and library variables. 140PROCcgi_init 150 151REM Assemble some code which lets us despatch files much more quickly 152REM than normal. 160PROCassemble 170 171REM Read the query string, if none was supplied then use ADFS::4.$ as a 172REM default. 180path$=FNsystem_getvar("CGI$QueryString") 190IF path$="" THEN path$="ADFS::4.$" 200 201REM Read the object information. 210SYS "XOS_File",23,path$ TO misc%?16,,,,,attr%,filetype%;f% 211REM If there was an error, mark it as 'Not Found'. 220IF f%AND1 THEN misc%?16=0 230 240CASE misc%?16 OF 250 260 WHEN 1 261 REM File 262 rd%=OPENIN(path$) 270 PROCcgi_header(FNmime(filetype%),EXT#rd%) 290 B%=rd%:CALL code% 300 CLOSE#rd% 310 320 WHEN 2,3 321 REM Directory or Image file 330 PROCcgi_header("text/html",-1) 340 PRINT "<HTML><HEAD><TITLE>Dir: ";path$;"</TITLE></HEAD><BODY><H1>Dir - "; 381 PRINT path$; 382 PRINT "</H1><HR><PRE>"; 390 PROCexamine(path$,0) 400 PRINT "</PRE></BODY></HTML>"; 410 420 OTHERWISE 421 REM Not Found 430 PROCcgi_header("text/html",-1) 440 PRINT "<HTML><HEAD><TITLE>Dir: Not Found</TITLE></HEAD><BODY><H1>Dir - "; 481 PRINT path$; 482 PRINT "</H1><HR>Object was not found.</BODY></HTML>"; 500 510ENDCASE 520 530END 540 550 560DEF PROCexamine(path$,level%) 570LOCAL next%,number% 580 590next%=0 600WHILE next%<>-1 610 SYS "OS_GBPB",12,path$,misc%,1,next%,256,"*" TO ,,,number%,next% 620 IF number%>0 THEN 630 REM If it's Public readable. 640 IF misc%!12AND16 THEN 660 p%=misc%+24 670 leaf$=FNstring_readtoctrl(p%) 680 IF path$="" THEN file$=leaf$ ELSE file$=path$+"."+leaf$ 690 PRINT "<A HREF=dir?";file$;">";leaf$;STRING$(15-LEN(leaf$)," ");"</A>"; 700 IF misc%?16=2 OR misc%?16=3 THEN 710 PRINT "(Dir )<BR>"; 720 ELSE 730 PRINT "(";FNfiletype(misc%!20);") ";STR$misc%!8;" bytes<BR>"; 740 ENDIF 760 ENDIF 770 ENDIF 780ENDWHILE 790 800ENDPROC 810 820 830DEF FNfiletype(filetype%) 840SYS "OS_FSControl",&12,,filetype% TO ,,misc%!32,misc%!36 850misc%?40=13 860=$(misc%+32) 870 880DEF PROCassemble 890REM This code is used to serve the file as quickly as possible. 900DIM code% 19 910FOR opt%=0 TO 2 STEP 2 920P%=code% 930[ OPT opt% 940 SWI "XOS_BGet" 950 MOVVS pc,r14 960 MOVCS pc,r14 970 SWI "OS_WriteC" 980 B code% 990] 1000NEXT 1010ENDPROC
%� >cgi-bin.dir (Netplex Example) O� ========================================================================= N� Allows the client to remotely browse the server's hard disc. Uses self- L� referencing to let the client traverse directories and retrieve files. 4J� Only allows the client see directories and files marked as 'Public'. <O� ========================================================================= F PB� Set ourselves a suitable amount of memory, to avoid problems Z6� with programs which work under us, e.g. SparkFS. d#� = &8000 + 32768 :� 32 Kbytes n x!ț "<Netplex$Dir>.CGILibrary" �>� Set up error handler, redirection and library variables. � �cgi_init � �G� Assemble some code which lets us despatch files much more quickly �� than normal. � �assemble � �I� Read the query string, if none was supplied then use ADFS::4.$ as a �� default. �+path$=�system_getvar("CGI$QueryString") �"� path$="" � path$="ADFS::4.$" � �"� Read the object information. �<ș "XOS_File",23,path$ � misc%?16,,,,,attr%,filetype%;f% �4� If there was an error, mark it as 'Not Found'. �� f%�1 � misc%?16=0 � �Ȏ misc%?16 � � � 1 � File rd%=�(path$) ) �cgi_header(�mime(filetype%),�#rd%) " B%=rd%:� code% , �#rd% 6 @ � 2,3 A � Directory or Image file J! �cgi_header("text/html",-1) TK � "<HTML><HEAD><TITLE>Dir: ";path$;"</TITLE></HEAD><BODY><H1>Dir - "; } � path$; ~ � "</H1><HR><PRE>"; � �examine(path$,0) � � "</PRE></BODY></HTML>"; � � � � Not Found �! �cgi_header("text/html",-1) �K � "<HTML><HEAD><TITLE>Dir: Not Found</TITLE></HEAD><BODY><H1>Dir - "; � � path$; �7 � "</H1><HR>Object was not found.</BODY></HTML>"; � �� � & 0� �examine(path$,level%) :� next%,number% D Nnext%=0 Xȕ next%<>-1 bD ș "OS_GBPB",12,path$,misc%,1,next%,256,"*" � ,,,number%,next% l � number%>0 � v" � If it's Public readable. � � misc%!12�16 � � p%=misc%+24 �& leaf$=�string_readtoctrl(p%) �: � path$="" � file$=leaf$ � file$=path$+"."+leaf$ �D � "<A HREF=dir?";file$;">";leaf$;�15-�(leaf$)," ");"</A>"; �% � misc%?16=2 � misc%?16=3 � � � "(Dir )<BR>"; � � �A � "(";�filetype(misc%!20);") ";�misc%!8;" bytes<BR>"; � � � � � � � * 4 >� �filetype(filetype%) H:ș "OS_FSControl",&12,,filetype% � ,,misc%!32,misc%!36 Rmisc%?40=13 \=$(misc%+32) f p� �assemble zA� This code is used to serve the file as quickly as possible. �� code% 19 �� opt%=0 � 2 � 2 �P%=code% �[ OPT opt% � SWI "XOS_BGet" � MOVVS pc,r14 � MOVCS pc,r14 � SWI "OS_WriteC" � B code% �] �� �� �
00000000 0d 00 0a 25 f4 20 3e 63 67 69 2d 62 69 6e 2e 64 |...%. >cgi-bin.d| 00000010 69 72 20 20 28 4e 65 74 70 6c 65 78 20 45 78 61 |ir (Netplex Exa| 00000020 6d 70 6c 65 29 0d 00 14 4f f4 20 3d 3d 3d 3d 3d |mple)...O. =====| 00000030 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000070 3d 3d 3d 3d 0d 00 1e 4e f4 20 41 6c 6c 6f 77 73 |====...N. Allows| 00000080 20 74 68 65 20 63 6c 69 65 6e 74 20 74 6f 20 72 | the client to r| 00000090 65 6d 6f 74 65 6c 79 20 62 72 6f 77 73 65 20 74 |emotely browse t| 000000a0 68 65 20 73 65 72 76 65 72 27 73 20 68 61 72 64 |he server's hard| 000000b0 20 64 69 73 63 2e 20 20 55 73 65 73 20 73 65 6c | disc. Uses sel| 000000c0 66 2d 0d 00 1f 4c f4 20 72 65 66 65 72 65 6e 63 |f-...L. referenc| 000000d0 69 6e 67 20 74 6f 20 6c 65 74 20 74 68 65 20 63 |ing to let the c| 000000e0 6c 69 65 6e 74 20 74 72 61 76 65 72 73 65 20 64 |lient traverse d| 000000f0 69 72 65 63 74 6f 72 69 65 73 20 61 6e 64 20 72 |irectories and r| 00000100 65 74 72 69 65 76 65 20 66 69 6c 65 73 2e 0d 00 |etrieve files...| 00000110 34 4a f4 20 4f 6e 6c 79 20 61 6c 6c 6f 77 73 20 |4J. Only allows | 00000120 74 68 65 20 63 6c 69 65 6e 74 20 73 65 65 20 64 |the client see d| 00000130 69 72 65 63 74 6f 72 69 65 73 20 61 6e 64 20 66 |irectories and f| 00000140 69 6c 65 73 20 6d 61 72 6b 65 64 20 61 73 20 27 |iles marked as '| 00000150 50 75 62 6c 69 63 27 2e 0d 00 3c 4f f4 20 3d 3d |Public'...<O. ==| 00000160 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 000001a0 3d 3d 3d 3d 3d 3d 3d 0d 00 46 04 0d 00 50 42 f4 |=======..F...PB.| 000001b0 20 53 65 74 20 6f 75 72 73 65 6c 76 65 73 20 61 | Set ourselves a| 000001c0 20 73 75 69 74 61 62 6c 65 20 61 6d 6f 75 6e 74 | suitable amount| 000001d0 20 6f 66 20 6d 65 6d 6f 72 79 2c 20 74 6f 20 61 | of memory, to a| 000001e0 76 6f 69 64 20 70 72 6f 62 6c 65 6d 73 0d 00 5a |void problems..Z| 000001f0 36 f4 20 77 69 74 68 20 70 72 6f 67 72 61 6d 73 |6. with programs| 00000200 20 77 68 69 63 68 20 77 6f 72 6b 20 75 6e 64 65 | which work unde| 00000210 72 20 75 73 2c 20 65 2e 67 2e 20 53 70 61 72 6b |r us, e.g. Spark| 00000220 46 53 2e 0d 00 64 23 e0 20 3d 20 26 38 30 30 30 |FS...d#. = &8000| 00000230 20 2b 20 33 32 37 36 38 20 20 3a f4 20 33 32 20 | + 32768 :. 32 | 00000240 4b 62 79 74 65 73 0d 00 6e 04 0d 00 78 21 c8 9b |Kbytes..n...x!..| 00000250 20 22 3c 4e 65 74 70 6c 65 78 24 44 69 72 3e 2e | "<Netplex$Dir>.| 00000260 43 47 49 4c 69 62 72 61 72 79 22 0d 00 82 3e f4 |CGILibrary"...>.| 00000270 20 53 65 74 20 75 70 20 65 72 72 6f 72 20 68 61 | Set up error ha| 00000280 6e 64 6c 65 72 2c 20 72 65 64 69 72 65 63 74 69 |ndler, redirecti| 00000290 6f 6e 20 61 6e 64 20 6c 69 62 72 61 72 79 20 76 |on and library v| 000002a0 61 72 69 61 62 6c 65 73 2e 0d 00 8c 0d f2 63 67 |ariables......cg| 000002b0 69 5f 69 6e 69 74 0d 00 96 04 0d 00 97 47 f4 20 |i_init.......G. | 000002c0 41 73 73 65 6d 62 6c 65 20 73 6f 6d 65 20 63 6f |Assemble some co| 000002d0 64 65 20 77 68 69 63 68 20 6c 65 74 73 20 75 73 |de which lets us| 000002e0 20 64 65 73 70 61 74 63 68 20 66 69 6c 65 73 20 | despatch files | 000002f0 6d 75 63 68 20 6d 6f 72 65 20 71 75 69 63 6b 6c |much more quickl| 00000300 79 0d 00 98 12 f4 20 74 68 61 6e 20 6e 6f 72 6d |y..... than norm| 00000310 61 6c 2e 0d 00 a0 0d f2 61 73 73 65 6d 62 6c 65 |al......assemble| 00000320 0d 00 aa 04 0d 00 ab 49 f4 20 52 65 61 64 20 74 |.......I. Read t| 00000330 68 65 20 71 75 65 72 79 20 73 74 72 69 6e 67 2c |he query string,| 00000340 20 69 66 20 6e 6f 6e 65 20 77 61 73 20 73 75 70 | if none was sup| 00000350 70 6c 69 65 64 20 74 68 65 6e 20 75 73 65 20 41 |plied then use A| 00000360 44 46 53 3a 3a 34 2e 24 20 61 73 20 61 0d 00 ac |DFS::4.$ as a...| 00000370 0e f4 20 64 65 66 61 75 6c 74 2e 0d 00 b4 2b 70 |.. default....+p| 00000380 61 74 68 24 3d a4 73 79 73 74 65 6d 5f 67 65 74 |ath$=.system_get| 00000390 76 61 72 28 22 43 47 49 24 51 75 65 72 79 53 74 |var("CGI$QuerySt| 000003a0 72 69 6e 67 22 29 0d 00 be 22 e7 20 70 61 74 68 |ring")...". path| 000003b0 24 3d 22 22 20 8c 20 70 61 74 68 24 3d 22 41 44 |$="" . path$="AD| 000003c0 46 53 3a 3a 34 2e 24 22 0d 00 c8 04 0d 00 c9 22 |FS::4.$"......."| 000003d0 f4 20 52 65 61 64 20 74 68 65 20 6f 62 6a 65 63 |. Read the objec| 000003e0 74 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0d 00 |t information...| 000003f0 d2 3c c8 99 20 22 58 4f 53 5f 46 69 6c 65 22 2c |.<.. "XOS_File",| 00000400 32 33 2c 70 61 74 68 24 20 b8 20 6d 69 73 63 25 |23,path$ . misc%| 00000410 3f 31 36 2c 2c 2c 2c 2c 61 74 74 72 25 2c 66 69 |?16,,,,,attr%,fi| 00000420 6c 65 74 79 70 65 25 3b 66 25 0d 00 d3 34 f4 20 |letype%;f%...4. | 00000430 49 66 20 74 68 65 72 65 20 77 61 73 20 61 6e 20 |If there was an | 00000440 65 72 72 6f 72 2c 20 6d 61 72 6b 20 69 74 20 61 |error, mark it a| 00000450 73 20 27 4e 6f 74 20 46 6f 75 6e 64 27 2e 0d 00 |s 'Not Found'...| 00000460 dc 17 e7 20 66 25 80 31 20 8c 20 6d 69 73 63 25 |... f%.1 . misc%| 00000470 3f 31 36 3d 30 0d 00 e6 04 0d 00 f0 11 c8 8e 20 |?16=0.......... | 00000480 6d 69 73 63 25 3f 31 36 20 ca 0d 00 fa 04 0d 01 |misc%?16 .......| 00000490 04 09 20 20 c9 20 31 0d 01 05 0c 20 20 f4 20 46 |.. . 1.... . F| 000004a0 69 6c 65 0d 01 06 12 20 20 72 64 25 3d 8e 28 70 |ile.... rd%=.(p| 000004b0 61 74 68 24 29 0d 01 0e 29 20 20 f2 63 67 69 5f |ath$)...) .cgi_| 000004c0 68 65 61 64 65 72 28 a4 6d 69 6d 65 28 66 69 6c |header(.mime(fil| 000004d0 65 74 79 70 65 25 29 2c a2 23 72 64 25 29 0d 01 |etype%),.#rd%)..| 000004e0 22 14 20 20 42 25 3d 72 64 25 3a d6 20 63 6f 64 |". B%=rd%:. cod| 000004f0 65 25 0d 01 2c 0b 20 20 d9 23 72 64 25 0d 01 36 |e%..,. .#rd%..6| 00000500 04 0d 01 40 0b 20 20 c9 20 32 2c 33 0d 01 41 1f |...@. . 2,3..A.| 00000510 20 20 f4 20 44 69 72 65 63 74 6f 72 79 20 6f 72 | . Directory or| 00000520 20 49 6d 61 67 65 20 66 69 6c 65 0d 01 4a 21 20 | Image file..J! | 00000530 20 f2 63 67 69 5f 68 65 61 64 65 72 28 22 74 65 | .cgi_header("te| 00000540 78 74 2f 68 74 6d 6c 22 2c 2d 31 29 0d 01 54 4b |xt/html",-1)..TK| 00000550 20 20 f1 20 22 3c 48 54 4d 4c 3e 3c 48 45 41 44 | . "<HTML><HEAD| 00000560 3e 3c 54 49 54 4c 45 3e 44 69 72 3a 20 22 3b 70 |><TITLE>Dir: ";p| 00000570 61 74 68 24 3b 22 3c 2f 54 49 54 4c 45 3e 3c 2f |ath$;"</TITLE></| 00000580 48 45 41 44 3e 3c 42 4f 44 59 3e 3c 48 31 3e 44 |HEAD><BODY><H1>D| 00000590 69 72 20 2d 20 22 3b 0d 01 7d 0e 20 20 f1 20 70 |ir - ";..}. . p| 000005a0 61 74 68 24 3b 0d 01 7e 19 20 20 f1 20 22 3c 2f |ath$;..~. . "</| 000005b0 48 31 3e 3c 48 52 3e 3c 50 52 45 3e 22 3b 0d 01 |H1><HR><PRE>";..| 000005c0 86 17 20 20 f2 65 78 61 6d 69 6e 65 28 70 61 74 |.. .examine(pat| 000005d0 68 24 2c 30 29 0d 01 90 1f 20 20 f1 20 22 3c 2f |h$,0).... . "</| 000005e0 50 52 45 3e 3c 2f 42 4f 44 59 3e 3c 2f 48 54 4d |PRE></BODY></HTM| 000005f0 4c 3e 22 3b 0d 01 9a 04 0d 01 a4 07 20 20 7f 0d |L>";........ ..| 00000600 01 a5 11 20 20 f4 20 4e 6f 74 20 46 6f 75 6e 64 |... . Not Found| 00000610 0d 01 ae 21 20 20 f2 63 67 69 5f 68 65 61 64 65 |...! .cgi_heade| 00000620 72 28 22 74 65 78 74 2f 68 74 6d 6c 22 2c 2d 31 |r("text/html",-1| 00000630 29 0d 01 b8 4b 20 20 f1 20 22 3c 48 54 4d 4c 3e |)...K . "<HTML>| 00000640 3c 48 45 41 44 3e 3c 54 49 54 4c 45 3e 44 69 72 |<HEAD><TITLE>Dir| 00000650 3a 20 4e 6f 74 20 46 6f 75 6e 64 3c 2f 54 49 54 |: Not Found</TIT| 00000660 4c 45 3e 3c 2f 48 45 41 44 3e 3c 42 4f 44 59 3e |LE></HEAD><BODY>| 00000670 3c 48 31 3e 44 69 72 20 2d 20 22 3b 0d 01 e1 0e |<H1>Dir - ";....| 00000680 20 20 f1 20 70 61 74 68 24 3b 0d 01 e2 37 20 20 | . path$;...7 | 00000690 f1 20 22 3c 2f 48 31 3e 3c 48 52 3e 4f 62 6a 65 |. "</H1><HR>Obje| 000006a0 63 74 20 77 61 73 20 6e 6f 74 20 66 6f 75 6e 64 |ct was not found| 000006b0 2e 3c 2f 42 4f 44 59 3e 3c 2f 48 54 4d 4c 3e 22 |.</BODY></HTML>"| 000006c0 3b 0d 01 f4 04 0d 01 fe 05 cb 0d 02 08 04 0d 02 |;...............| 000006d0 12 05 e0 0d 02 1c 04 0d 02 26 04 0d 02 30 1c dd |.........&...0..| 000006e0 20 f2 65 78 61 6d 69 6e 65 28 70 61 74 68 24 2c | .examine(path$,| 000006f0 6c 65 76 65 6c 25 29 0d 02 3a 13 ea 20 6e 65 78 |level%)..:.. nex| 00000700 74 25 2c 6e 75 6d 62 65 72 25 0d 02 44 04 0d 02 |t%,number%..D...| 00000710 4e 0b 6e 65 78 74 25 3d 30 0d 02 58 10 c8 95 20 |N.next%=0..X... | 00000720 6e 65 78 74 25 3c 3e 2d 31 0d 02 62 44 20 20 c8 |next%<>-1..bD .| 00000730 99 20 22 4f 53 5f 47 42 50 42 22 2c 31 32 2c 70 |. "OS_GBPB",12,p| 00000740 61 74 68 24 2c 6d 69 73 63 25 2c 31 2c 6e 65 78 |ath$,misc%,1,nex| 00000750 74 25 2c 32 35 36 2c 22 2a 22 20 b8 20 2c 2c 2c |t%,256,"*" . ,,,| 00000760 6e 75 6d 62 65 72 25 2c 6e 65 78 74 25 0d 02 6c |number%,next%..l| 00000770 13 20 20 e7 20 6e 75 6d 62 65 72 25 3e 30 20 8c |. . number%>0 .| 00000780 0d 02 76 22 20 20 20 20 f4 20 49 66 20 69 74 27 |..v" . If it'| 00000790 73 20 50 75 62 6c 69 63 20 72 65 61 64 61 62 6c |s Public readabl| 000007a0 65 2e 0d 02 80 17 20 20 20 20 e7 20 6d 69 73 63 |e..... . misc| 000007b0 25 21 31 32 80 31 36 20 8c 0d 02 94 15 20 20 20 |%!12.16 ..... | 000007c0 20 20 20 70 25 3d 6d 69 73 63 25 2b 32 34 0d 02 | p%=misc%+24..| 000007d0 9e 26 20 20 20 20 20 20 6c 65 61 66 24 3d a4 73 |.& leaf$=.s| 000007e0 74 72 69 6e 67 5f 72 65 61 64 74 6f 63 74 72 6c |tring_readtoctrl| 000007f0 28 70 25 29 0d 02 a8 3a 20 20 20 20 20 20 e7 20 |(p%)...: . | 00000800 70 61 74 68 24 3d 22 22 20 8c 20 66 69 6c 65 24 |path$="" . file$| 00000810 3d 6c 65 61 66 24 20 8b 20 66 69 6c 65 24 3d 70 |=leaf$ . file$=p| 00000820 61 74 68 24 2b 22 2e 22 2b 6c 65 61 66 24 0d 02 |ath$+"."+leaf$..| 00000830 b2 44 20 20 20 20 20 20 f1 20 22 3c 41 20 48 52 |.D . "<A HR| 00000840 45 46 3d 64 69 72 3f 22 3b 66 69 6c 65 24 3b 22 |EF=dir?";file$;"| 00000850 3e 22 3b 6c 65 61 66 24 3b c4 31 35 2d a9 28 6c |>";leaf$;.15-.(l| 00000860 65 61 66 24 29 2c 22 20 22 29 3b 22 3c 2f 41 3e |eaf$)," ");"</A>| 00000870 22 3b 0d 02 bc 25 20 20 20 20 20 20 e7 20 6d 69 |";...% . mi| 00000880 73 63 25 3f 31 36 3d 32 20 84 20 6d 69 73 63 25 |sc%?16=2 . misc%| 00000890 3f 31 36 3d 33 20 8c 0d 02 c6 1f 20 20 20 20 20 |?16=3 ..... | 000008a0 20 20 20 f1 20 22 28 44 69 72 20 20 20 20 20 29 | . "(Dir )| 000008b0 3c 42 52 3e 22 3b 0d 02 d0 0b 20 20 20 20 20 20 |<BR>";.... | 000008c0 cc 0d 02 da 41 20 20 20 20 20 20 20 20 f1 20 22 |....A . "| 000008d0 28 22 3b a4 66 69 6c 65 74 79 70 65 28 6d 69 73 |(";.filetype(mis| 000008e0 63 25 21 32 30 29 3b 22 29 20 22 3b c3 6d 69 73 |c%!20);") ";.mis| 000008f0 63 25 21 38 3b 22 20 62 79 74 65 73 3c 42 52 3e |c%!8;" bytes<BR>| 00000900 22 3b 0d 02 e4 0b 20 20 20 20 20 20 cd 0d 02 f8 |";.... ....| 00000910 09 20 20 20 20 cd 0d 03 02 07 20 20 cd 0d 03 0c |. ..... ....| 00000920 05 ce 0d 03 16 04 0d 03 20 05 e1 0d 03 2a 04 0d |........ ....*..| 00000930 03 34 04 0d 03 3e 1a dd 20 a4 66 69 6c 65 74 79 |.4...>.. .filety| 00000940 70 65 28 66 69 6c 65 74 79 70 65 25 29 0d 03 48 |pe(filetype%)..H| 00000950 3a c8 99 20 22 4f 53 5f 46 53 43 6f 6e 74 72 6f |:.. "OS_FSContro| 00000960 6c 22 2c 26 31 32 2c 2c 66 69 6c 65 74 79 70 65 |l",&12,,filetype| 00000970 25 20 b8 20 2c 2c 6d 69 73 63 25 21 33 32 2c 6d |% . ,,misc%!32,m| 00000980 69 73 63 25 21 33 36 0d 03 52 0f 6d 69 73 63 25 |isc%!36..R.misc%| 00000990 3f 34 30 3d 31 33 0d 03 5c 10 3d 24 28 6d 69 73 |?40=13..\.=$(mis| 000009a0 63 25 2b 33 32 29 0d 03 66 04 0d 03 70 0f dd 20 |c%+32)..f...p.. | 000009b0 f2 61 73 73 65 6d 62 6c 65 0d 03 7a 41 f4 20 54 |.assemble..zA. T| 000009c0 68 69 73 20 63 6f 64 65 20 69 73 20 75 73 65 64 |his code is used| 000009d0 20 74 6f 20 73 65 72 76 65 20 74 68 65 20 66 69 | to serve the fi| 000009e0 6c 65 20 61 73 20 71 75 69 63 6b 6c 79 20 61 73 |le as quickly as| 000009f0 20 70 6f 73 73 69 62 6c 65 2e 0d 03 84 0e de 20 | possible...... | 00000a00 63 6f 64 65 25 20 31 39 0d 03 8e 14 e3 20 6f 70 |code% 19..... op| 00000a10 74 25 3d 30 20 b8 20 32 20 88 20 32 0d 03 98 0c |t%=0 . 2 . 2....| 00000a20 50 25 3d 63 6f 64 65 25 0d 03 a2 14 5b 20 20 20 |P%=code%....[ | 00000a30 4f 50 54 20 20 20 20 20 6f 70 74 25 0d 03 ac 1a |OPT opt%....| 00000a40 20 20 20 20 53 57 49 20 20 20 20 20 22 58 4f 53 | SWI "XOS| 00000a50 5f 42 47 65 74 22 0d 03 b6 16 20 20 20 20 4d 4f |_BGet".... MO| 00000a60 56 56 53 20 20 20 70 63 2c 72 31 34 0d 03 c0 16 |VVS pc,r14....| 00000a70 20 20 20 20 4d 4f 56 43 53 20 20 20 70 63 2c 72 | MOVCS pc,r| 00000a80 31 34 0d 03 ca 1b 20 20 20 20 53 57 49 20 20 20 |14.... SWI | 00000a90 20 20 22 4f 53 5f 57 72 69 74 65 43 22 0d 03 d4 | "OS_WriteC"...| 00000aa0 15 20 20 20 20 42 20 20 20 20 20 20 20 63 6f 64 |. B cod| 00000ab0 65 25 0d 03 de 05 5d 0d 03 e8 05 ed 0d 03 f2 05 |e%....].........| 00000ac0 e1 0d ff |...| 00000ac3