Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199607.adf » Regulars » StarInfo/Bloch/!AutoType/TypeProg

StarInfo/Bloch/!AutoType/TypeProg

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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199607.adf » Regulars
Filename: StarInfo/Bloch/!AutoType/TypeProg
Read OK:
File size: 0B4A bytes
Load address: 0000
Exec address: 0000
File contents
   10ON ERROR REPORT:PRINT" at line ";ERL:END
   20DIM hd% 1536,name% 256:len%=1536:REM Code lifted from TinyType :-)
   30FOR l%=65 TO 90
   40SYS "XOS_ReadVarVal","AutoType$File"+CHR$(l%),0,1<<31 TO ,,exists%
   50IF exists%<>0 THEN
   60SYS "XOS_ReadVarVal","AutoType$File"+CHR$(l%),name%,256,0,0 TO ,,len%:name%?len%=0
   70SYS "XOS_ReadVarVal","AutoTypeHeader"+CHR$(l%),0,1<<31 TO ,,r2%
   80IF r2%<>0 THEN
   90 SYS "OS_ReadVarVal","AutoTypeHeader"+CHR$(l%),hd%,1536,0,0
  100ELSE
  110 SYS "XOS_Find",&43,name% TO handle%:IF handle%=0 OR handle%>255 THEN OSCLI"Unset AutoType$File"+CHR$(l%):END
  120 SYS "OS_GBPB",3,handle%,hd%,1536,0
  130 SYS "OS_Find",0,handle%,27 TO handle%:REM 27 signals *don't trap* to module
  140ENDIF
  150:
  160REM Anything we don't know is filetyped as text
  170g%=&FFF:g$="?? Text ??"
  180IFhd%?0=&1A AND (hd%?1=&82 OR hd%?1=&FF OR hd%?1=&88) THENg%=&DDC:g$="Archive"
  190IFhd%!0=&48535153 THEN g%=&FCA:g$="Squash"
  200IFhd%!0=&68637241 AND hd%!4=&00657669THENg%=&3FB:g$="Archive"
  210IFhd%?0=&50 AND hd%?1=&4BTHENg%=&FE4:g$="PKZip"
  220IFhd%!0=&77617244THENg%=&AFF:g$="Draw"
  230IFhd%!0=&13130102 AND hd%!4=&0B011214THENg%=&10B:g$="Digital symphony"
  240IFhd%!0=&5853554D THENg%=&CB6:g$="Tracker"
  250IFhd%!0=&6468544D THENg%=&FD4:g$="MIDI"
  260IF(hd%?6=&4A AND hd%?7=&46 AND hd%?8=&49 AND hd%?9=&46)THENg%=&C85:g$="JPEG"
  270IFhd%?2=&2D AND hd%?3=&6C AND hd%?4=&68 AND hd%?5=&35 AND hd%?6=&2DTHENg%=&FE4:g$="LHA archive"
  280IFhd%!0=&38464947 THENg%=&695:g$="GIF"
  290IFhd%!0=&002A4949THENg%=&FF0:g$="TIFF"
  300IFhd%?0=&42 AND hd%?1=&4D THENg%=&69C:g$="Windows BMP"
  310IFhd%!0=&21706F54 THEN g%=&D94:g$="Artworks"
  320IFhd%!0=&B3010000 THEN g%=&BF8:g$="MPEG"
  330IFhd%!0=&6F4D5241 AND hd%!4=&0A656976 THEN g%=&AE7:g$="Replay"
  340IFhd%!0=&46464952 AND hd%!8=&20495641 AND hd%!12=&5453595C THEN g%=&FB2:g$=".AVI movie"
  350IFhd%!0=&46464952 AND hd%!8=&45564157 AND hd%!12=&20746D66 THEN g%=&FB1:g$=".WAV sound"
  360IFhd%!12=&5F444E54 AND hd%!16=&44414548 THEN g%=&BD6:g$="Audioworks"
  370IFhd%!16=&584F5644 THEN g%=&108:g$="Datavox"
  380IFhd%!0=&6E617254 AND hd%!4=&74616C73 THEN g%=&690:g$="Clear"
  390REM +++ Extra filetypes added by Mike Williams +++
  400REM Desktop Tracker files are also &CD6 (like Tracker files)
  410REM Soundtracker files are &701
  420REM ColoRIX files are &6A2
  430REM AutoDesk FLI and FLC files are &B9F
  440REM PBM+ files are &69E
  450REM Unix RLE files are &6A1
  460IF hd%!0 = &546B7344 OR hd% = &546B7345 THEN g%=&CB6:g$="Tracker"
  470IF len%>=1084 AND (hd%!1080=&2E4B2E4D OR hd%=&34544C46 OR hd%=&38544c46) THEN g%=&701:g$="STModule"
  480IF hd%!0 = &33584952 THEN g%=&6A2:g$="ColoRIX"
  490
  500REM filetypes identified by only 2 characters are less certain
  510REM If we've already got a filetype then ignore this
  520IF g%=&FFF THEN
  530  IF (hd%?4=&12 OR hd%?4 =&11)AND hd%?5=&AF THEN g%=&B9F:g$="FLIC"
  540  IF hd%?4=&50 AND (hd%?5=&34 OR hd%?5=&35 OR hd%?5=36) THEN g%=&69E:g$="PBM+"
  550  IF hd%?4=&CC AND hd%?5=&52 THEN g%=&6A1:g$="UnixRLE"
  560ENDIF
  570SYS "OS_File",23,name% TO ,,,,,,type%
  580IF type%=&FFD OR type%=-1 OR r2%=0 THEN SYS "XOS_File",18,name%,g%,27:REM See note above
  590OSCLI"Unset AutoTypeHeader"+CHR$(l%)
  600OSCLI"Unset AutoType$File"+CHR$(l%)
  610ENDIF
  620NEXT
  630END

� � �:�" at line ";�:�
B� hd% 1536,name% 256:len%=1536:� Code lifted from TinyType :-)
� l%=65 � 90
(Aș "XOS_ReadVarVal","AutoType$File"+�(l%),0,1<<31 � ,,exists%
2� exists%<>0 �
<Qș "XOS_ReadVarVal","AutoType$File"+�(l%),name%,256,0,0 � ,,len%:name%?len%=0
F>ș "XOS_ReadVarVal","AutoTypeHeader"+�(l%),0,1<<31 � ,,r2%
P� r2%<>0 �
Z; ș "OS_ReadVarVal","AutoTypeHeader"+�(l%),hd%,1536,0,0
d�
na ș "XOS_Find",&43,name% � handle%:� handle%=0 � handle%>255 � �"Unset AutoType$File"+�(l%):�
x& ș "OS_GBPB",3,handle%,hd%,1536,0
�L ș "OS_Find",0,handle%,27 � handle%:� 27 signals *don't trap* to module
��
�:
�1� Anything we don't know is filetyped as text
�g%=&FFF:g$="?? Text ??"
�J�hd%?0=&1A � (hd%?1=&82 � hd%?1=&FF � hd%?1=&88) �g%=&DDC:g$="Archive"
�*�hd%!0=&48535153 � g%=&FCA:g$="Squash"
�;�hd%!0=&68637241 � hd%!4=&00657669�g%=&3FB:g$="Archive"
�-�hd%?0=&50 � hd%?1=&4B�g%=&FE4:g$="PKZip"
�&�hd%!0=&77617244�g%=&AFF:g$="Draw"
�D�hd%!0=&13130102 � hd%!4=&0B011214�g%=&10B:g$="Digital symphony"
�*�hd%!0=&5853554D �g%=&CB6:g$="Tracker"
�'�hd%!0=&6468544D �g%=&FD4:g$="MIDI"
F�(hd%?6=&4A � hd%?7=&46 � hd%?8=&49 � hd%?9=&46)�g%=&C85:g$="JPEG"
W�hd%?2=&2D � hd%?3=&6C � hd%?4=&68 � hd%?5=&35 � hd%?6=&2D�g%=&FE4:g$="LHA archive"
&�hd%!0=&38464947 �g%=&695:g$="GIF"
"&�hd%!0=&002A4949�g%=&FF0:g$="TIFF"
,4�hd%?0=&42 � hd%?1=&4D �g%=&69C:g$="Windows BMP"
6,�hd%!0=&21706F54 � g%=&D94:g$="Artworks"
@(�hd%!0=&B3010000 � g%=&BF8:g$="MPEG"
J<�hd%!0=&6F4D5241 � hd%!4=&0A656976 � g%=&AE7:g$="Replay"
TS�hd%!0=&46464952 � hd%!8=&20495641 � hd%!12=&5453595C � g%=&FB2:g$=".AVI movie"
^S�hd%!0=&46464952 � hd%!8=&45564157 � hd%!12=&20746D66 � g%=&FB1:g$=".WAV sound"
hB�hd%!12=&5F444E54 � hd%!16=&44414548 � g%=&BD6:g$="Audioworks"
r,�hd%!16=&584F5644 � g%=&108:g$="Datavox"
|;�hd%!0=&6E617254 � hd%!4=&74616C73 � g%=&690:g$="Clear"
�4� +++ Extra filetypes added by Mike Williams +++
�>� Desktop Tracker files are also &CD6 (like Tracker files)
�!� Soundtracker files are &701
�� ColoRIX files are &6A2
�)� AutoDesk FLI and FLC files are &B9F
�� PBM+ files are &69E
�� Unix RLE files are &6A1
�@� hd%!0 = &546B7344 � hd% = &546B7345 � g%=&CB6:g$="Tracker"
�_� len%>=1084 � (hd%!1080=&2E4B2E4D � hd%=&34544C46 � hd%=&38544c46) � g%=&701:g$="STModule"
�.� hd%!0 = &33584952 � g%=&6A2:g$="ColoRIX"
�
�@� filetypes identified by only 2 characters are less certain
�6� If we've already got a filetype then ignore this
� g%=&FFF �
?  � (hd%?4=&12 � hd%?4 =&11)� hd%?5=&AF � g%=&B9F:g$="FLIC"
J  � hd%?4=&50 � (hd%?5=&34 � hd%?5=&35 � hd%?5=36) � g%=&69E:g$="PBM+"
&4  � hd%?4=&CC � hd%?5=&52 � g%=&6A1:g$="UnixRLE"
0�
:'ș "OS_File",23,name% � ,,,,,,type%
DS� type%=&FFD � type%=-1 � r2%=0 � ș "XOS_File",18,name%,g%,27:� See note above
N!�"Unset AutoTypeHeader"+�(l%)
X �"Unset AutoType$File"+�(l%)
b�
l�
v�
�
00000000  0d 00 0a 1a ee 20 85 20  f6 3a f1 22 20 61 74 20  |..... . .:." at |
00000010  6c 69 6e 65 20 22 3b 9e  3a e0 0d 00 14 42 de 20  |line ";.:....B. |
00000020  68 64 25 20 31 35 33 36  2c 6e 61 6d 65 25 20 32  |hd% 1536,name% 2|
00000030  35 36 3a 6c 65 6e 25 3d  31 35 33 36 3a f4 20 43  |56:len%=1536:. C|
00000040  6f 64 65 20 6c 69 66 74  65 64 20 66 72 6f 6d 20  |ode lifted from |
00000050  54 69 6e 79 54 79 70 65  20 3a 2d 29 0d 00 1e 10  |TinyType :-)....|
00000060  e3 20 6c 25 3d 36 35 20  b8 20 39 30 0d 00 28 41  |. l%=65 . 90..(A|
00000070  c8 99 20 22 58 4f 53 5f  52 65 61 64 56 61 72 56  |.. "XOS_ReadVarV|
00000080  61 6c 22 2c 22 41 75 74  6f 54 79 70 65 24 46 69  |al","AutoType$Fi|
00000090  6c 65 22 2b bd 28 6c 25  29 2c 30 2c 31 3c 3c 33  |le"+.(l%),0,1<<3|
000000a0  31 20 b8 20 2c 2c 65 78  69 73 74 73 25 0d 00 32  |1 . ,,exists%..2|
000000b0  12 e7 20 65 78 69 73 74  73 25 3c 3e 30 20 8c 0d  |.. exists%<>0 ..|
000000c0  00 3c 51 c8 99 20 22 58  4f 53 5f 52 65 61 64 56  |.<Q.. "XOS_ReadV|
000000d0  61 72 56 61 6c 22 2c 22  41 75 74 6f 54 79 70 65  |arVal","AutoType|
000000e0  24 46 69 6c 65 22 2b bd  28 6c 25 29 2c 6e 61 6d  |$File"+.(l%),nam|
000000f0  65 25 2c 32 35 36 2c 30  2c 30 20 b8 20 2c 2c 6c  |e%,256,0,0 . ,,l|
00000100  65 6e 25 3a 6e 61 6d 65  25 3f 6c 65 6e 25 3d 30  |en%:name%?len%=0|
00000110  0d 00 46 3e c8 99 20 22  58 4f 53 5f 52 65 61 64  |..F>.. "XOS_Read|
00000120  56 61 72 56 61 6c 22 2c  22 41 75 74 6f 54 79 70  |VarVal","AutoTyp|
00000130  65 48 65 61 64 65 72 22  2b bd 28 6c 25 29 2c 30  |eHeader"+.(l%),0|
00000140  2c 31 3c 3c 33 31 20 b8  20 2c 2c 72 32 25 0d 00  |,1<<31 . ,,r2%..|
00000150  50 0e e7 20 72 32 25 3c  3e 30 20 8c 0d 00 5a 3b  |P.. r2%<>0 ...Z;|
00000160  20 c8 99 20 22 4f 53 5f  52 65 61 64 56 61 72 56  | .. "OS_ReadVarV|
00000170  61 6c 22 2c 22 41 75 74  6f 54 79 70 65 48 65 61  |al","AutoTypeHea|
00000180  64 65 72 22 2b bd 28 6c  25 29 2c 68 64 25 2c 31  |der"+.(l%),hd%,1|
00000190  35 33 36 2c 30 2c 30 0d  00 64 05 cc 0d 00 6e 61  |536,0,0..d....na|
000001a0  20 c8 99 20 22 58 4f 53  5f 46 69 6e 64 22 2c 26  | .. "XOS_Find",&|
000001b0  34 33 2c 6e 61 6d 65 25  20 b8 20 68 61 6e 64 6c  |43,name% . handl|
000001c0  65 25 3a e7 20 68 61 6e  64 6c 65 25 3d 30 20 84  |e%:. handle%=0 .|
000001d0  20 68 61 6e 64 6c 65 25  3e 32 35 35 20 8c 20 ff  | handle%>255 . .|
000001e0  22 55 6e 73 65 74 20 41  75 74 6f 54 79 70 65 24  |"Unset AutoType$|
000001f0  46 69 6c 65 22 2b bd 28  6c 25 29 3a e0 0d 00 78  |File"+.(l%):...x|
00000200  26 20 c8 99 20 22 4f 53  5f 47 42 50 42 22 2c 33  |& .. "OS_GBPB",3|
00000210  2c 68 61 6e 64 6c 65 25  2c 68 64 25 2c 31 35 33  |,handle%,hd%,153|
00000220  36 2c 30 0d 00 82 4c 20  c8 99 20 22 4f 53 5f 46  |6,0...L .. "OS_F|
00000230  69 6e 64 22 2c 30 2c 68  61 6e 64 6c 65 25 2c 32  |ind",0,handle%,2|
00000240  37 20 b8 20 68 61 6e 64  6c 65 25 3a f4 20 32 37  |7 . handle%:. 27|
00000250  20 73 69 67 6e 61 6c 73  20 2a 64 6f 6e 27 74 20  | signals *don't |
00000260  74 72 61 70 2a 20 74 6f  20 6d 6f 64 75 6c 65 0d  |trap* to module.|
00000270  00 8c 05 cd 0d 00 96 05  3a 0d 00 a0 31 f4 20 41  |........:...1. A|
00000280  6e 79 74 68 69 6e 67 20  77 65 20 64 6f 6e 27 74  |nything we don't|
00000290  20 6b 6e 6f 77 20 69 73  20 66 69 6c 65 74 79 70  | know is filetyp|
000002a0  65 64 20 61 73 20 74 65  78 74 0d 00 aa 1b 67 25  |ed as text....g%|
000002b0  3d 26 46 46 46 3a 67 24  3d 22 3f 3f 20 54 65 78  |=&FFF:g$="?? Tex|
000002c0  74 20 3f 3f 22 0d 00 b4  4a e7 68 64 25 3f 30 3d  |t ??"...J.hd%?0=|
000002d0  26 31 41 20 80 20 28 68  64 25 3f 31 3d 26 38 32  |&1A . (hd%?1=&82|
000002e0  20 84 20 68 64 25 3f 31  3d 26 46 46 20 84 20 68  | . hd%?1=&FF . h|
000002f0  64 25 3f 31 3d 26 38 38  29 20 8c 67 25 3d 26 44  |d%?1=&88) .g%=&D|
00000300  44 43 3a 67 24 3d 22 41  72 63 68 69 76 65 22 0d  |DC:g$="Archive".|
00000310  00 be 2a e7 68 64 25 21  30 3d 26 34 38 35 33 35  |..*.hd%!0=&48535|
00000320  31 35 33 20 8c 20 67 25  3d 26 46 43 41 3a 67 24  |153 . g%=&FCA:g$|
00000330  3d 22 53 71 75 61 73 68  22 0d 00 c8 3b e7 68 64  |="Squash"...;.hd|
00000340  25 21 30 3d 26 36 38 36  33 37 32 34 31 20 80 20  |%!0=&68637241 . |
00000350  68 64 25 21 34 3d 26 30  30 36 35 37 36 36 39 8c  |hd%!4=&00657669.|
00000360  67 25 3d 26 33 46 42 3a  67 24 3d 22 41 72 63 68  |g%=&3FB:g$="Arch|
00000370  69 76 65 22 0d 00 d2 2d  e7 68 64 25 3f 30 3d 26  |ive"...-.hd%?0=&|
00000380  35 30 20 80 20 68 64 25  3f 31 3d 26 34 42 8c 67  |50 . hd%?1=&4B.g|
00000390  25 3d 26 46 45 34 3a 67  24 3d 22 50 4b 5a 69 70  |%=&FE4:g$="PKZip|
000003a0  22 0d 00 dc 26 e7 68 64  25 21 30 3d 26 37 37 36  |"...&.hd%!0=&776|
000003b0  31 37 32 34 34 8c 67 25  3d 26 41 46 46 3a 67 24  |17244.g%=&AFF:g$|
000003c0  3d 22 44 72 61 77 22 0d  00 e6 44 e7 68 64 25 21  |="Draw"...D.hd%!|
000003d0  30 3d 26 31 33 31 33 30  31 30 32 20 80 20 68 64  |0=&13130102 . hd|
000003e0  25 21 34 3d 26 30 42 30  31 31 32 31 34 8c 67 25  |%!4=&0B011214.g%|
000003f0  3d 26 31 30 42 3a 67 24  3d 22 44 69 67 69 74 61  |=&10B:g$="Digita|
00000400  6c 20 73 79 6d 70 68 6f  6e 79 22 0d 00 f0 2a e7  |l symphony"...*.|
00000410  68 64 25 21 30 3d 26 35  38 35 33 35 35 34 44 20  |hd%!0=&5853554D |
00000420  8c 67 25 3d 26 43 42 36  3a 67 24 3d 22 54 72 61  |.g%=&CB6:g$="Tra|
00000430  63 6b 65 72 22 0d 00 fa  27 e7 68 64 25 21 30 3d  |cker"...'.hd%!0=|
00000440  26 36 34 36 38 35 34 34  44 20 8c 67 25 3d 26 46  |&6468544D .g%=&F|
00000450  44 34 3a 67 24 3d 22 4d  49 44 49 22 0d 01 04 46  |D4:g$="MIDI"...F|
00000460  e7 28 68 64 25 3f 36 3d  26 34 41 20 80 20 68 64  |.(hd%?6=&4A . hd|
00000470  25 3f 37 3d 26 34 36 20  80 20 68 64 25 3f 38 3d  |%?7=&46 . hd%?8=|
00000480  26 34 39 20 80 20 68 64  25 3f 39 3d 26 34 36 29  |&49 . hd%?9=&46)|
00000490  8c 67 25 3d 26 43 38 35  3a 67 24 3d 22 4a 50 45  |.g%=&C85:g$="JPE|
000004a0  47 22 0d 01 0e 57 e7 68  64 25 3f 32 3d 26 32 44  |G"...W.hd%?2=&2D|
000004b0  20 80 20 68 64 25 3f 33  3d 26 36 43 20 80 20 68  | . hd%?3=&6C . h|
000004c0  64 25 3f 34 3d 26 36 38  20 80 20 68 64 25 3f 35  |d%?4=&68 . hd%?5|
000004d0  3d 26 33 35 20 80 20 68  64 25 3f 36 3d 26 32 44  |=&35 . hd%?6=&2D|
000004e0  8c 67 25 3d 26 46 45 34  3a 67 24 3d 22 4c 48 41  |.g%=&FE4:g$="LHA|
000004f0  20 61 72 63 68 69 76 65  22 0d 01 18 26 e7 68 64  | archive"...&.hd|
00000500  25 21 30 3d 26 33 38 34  36 34 39 34 37 20 8c 67  |%!0=&38464947 .g|
00000510  25 3d 26 36 39 35 3a 67  24 3d 22 47 49 46 22 0d  |%=&695:g$="GIF".|
00000520  01 22 26 e7 68 64 25 21  30 3d 26 30 30 32 41 34  |."&.hd%!0=&002A4|
00000530  39 34 39 8c 67 25 3d 26  46 46 30 3a 67 24 3d 22  |949.g%=&FF0:g$="|
00000540  54 49 46 46 22 0d 01 2c  34 e7 68 64 25 3f 30 3d  |TIFF"..,4.hd%?0=|
00000550  26 34 32 20 80 20 68 64  25 3f 31 3d 26 34 44 20  |&42 . hd%?1=&4D |
00000560  8c 67 25 3d 26 36 39 43  3a 67 24 3d 22 57 69 6e  |.g%=&69C:g$="Win|
00000570  64 6f 77 73 20 42 4d 50  22 0d 01 36 2c e7 68 64  |dows BMP"..6,.hd|
00000580  25 21 30 3d 26 32 31 37  30 36 46 35 34 20 8c 20  |%!0=&21706F54 . |
00000590  67 25 3d 26 44 39 34 3a  67 24 3d 22 41 72 74 77  |g%=&D94:g$="Artw|
000005a0  6f 72 6b 73 22 0d 01 40  28 e7 68 64 25 21 30 3d  |orks"..@(.hd%!0=|
000005b0  26 42 33 30 31 30 30 30  30 20 8c 20 67 25 3d 26  |&B3010000 . g%=&|
000005c0  42 46 38 3a 67 24 3d 22  4d 50 45 47 22 0d 01 4a  |BF8:g$="MPEG"..J|
000005d0  3c e7 68 64 25 21 30 3d  26 36 46 34 44 35 32 34  |<.hd%!0=&6F4D524|
000005e0  31 20 80 20 68 64 25 21  34 3d 26 30 41 36 35 36  |1 . hd%!4=&0A656|
000005f0  39 37 36 20 8c 20 67 25  3d 26 41 45 37 3a 67 24  |976 . g%=&AE7:g$|
00000600  3d 22 52 65 70 6c 61 79  22 0d 01 54 53 e7 68 64  |="Replay"..TS.hd|
00000610  25 21 30 3d 26 34 36 34  36 34 39 35 32 20 80 20  |%!0=&46464952 . |
00000620  68 64 25 21 38 3d 26 32  30 34 39 35 36 34 31 20  |hd%!8=&20495641 |
00000630  80 20 68 64 25 21 31 32  3d 26 35 34 35 33 35 39  |. hd%!12=&545359|
00000640  35 43 20 8c 20 67 25 3d  26 46 42 32 3a 67 24 3d  |5C . g%=&FB2:g$=|
00000650  22 2e 41 56 49 20 6d 6f  76 69 65 22 0d 01 5e 53  |".AVI movie"..^S|
00000660  e7 68 64 25 21 30 3d 26  34 36 34 36 34 39 35 32  |.hd%!0=&46464952|
00000670  20 80 20 68 64 25 21 38  3d 26 34 35 35 36 34 31  | . hd%!8=&455641|
00000680  35 37 20 80 20 68 64 25  21 31 32 3d 26 32 30 37  |57 . hd%!12=&207|
00000690  34 36 44 36 36 20 8c 20  67 25 3d 26 46 42 31 3a  |46D66 . g%=&FB1:|
000006a0  67 24 3d 22 2e 57 41 56  20 73 6f 75 6e 64 22 0d  |g$=".WAV sound".|
000006b0  01 68 42 e7 68 64 25 21  31 32 3d 26 35 46 34 34  |.hB.hd%!12=&5F44|
000006c0  34 45 35 34 20 80 20 68  64 25 21 31 36 3d 26 34  |4E54 . hd%!16=&4|
000006d0  34 34 31 34 35 34 38 20  8c 20 67 25 3d 26 42 44  |4414548 . g%=&BD|
000006e0  36 3a 67 24 3d 22 41 75  64 69 6f 77 6f 72 6b 73  |6:g$="Audioworks|
000006f0  22 0d 01 72 2c e7 68 64  25 21 31 36 3d 26 35 38  |"..r,.hd%!16=&58|
00000700  34 46 35 36 34 34 20 8c  20 67 25 3d 26 31 30 38  |4F5644 . g%=&108|
00000710  3a 67 24 3d 22 44 61 74  61 76 6f 78 22 0d 01 7c  |:g$="Datavox"..||
00000720  3b e7 68 64 25 21 30 3d  26 36 45 36 31 37 32 35  |;.hd%!0=&6E61725|
00000730  34 20 80 20 68 64 25 21  34 3d 26 37 34 36 31 36  |4 . hd%!4=&74616|
00000740  43 37 33 20 8c 20 67 25  3d 26 36 39 30 3a 67 24  |C73 . g%=&690:g$|
00000750  3d 22 43 6c 65 61 72 22  0d 01 86 34 f4 20 2b 2b  |="Clear"...4. ++|
00000760  2b 20 45 78 74 72 61 20  66 69 6c 65 74 79 70 65  |+ Extra filetype|
00000770  73 20 61 64 64 65 64 20  62 79 20 4d 69 6b 65 20  |s added by Mike |
00000780  57 69 6c 6c 69 61 6d 73  20 2b 2b 2b 0d 01 90 3e  |Williams +++...>|
00000790  f4 20 44 65 73 6b 74 6f  70 20 54 72 61 63 6b 65  |. Desktop Tracke|
000007a0  72 20 66 69 6c 65 73 20  61 72 65 20 61 6c 73 6f  |r files are also|
000007b0  20 26 43 44 36 20 28 6c  69 6b 65 20 54 72 61 63  | &CD6 (like Trac|
000007c0  6b 65 72 20 66 69 6c 65  73 29 0d 01 9a 21 f4 20  |ker files)...!. |
000007d0  53 6f 75 6e 64 74 72 61  63 6b 65 72 20 66 69 6c  |Soundtracker fil|
000007e0  65 73 20 61 72 65 20 26  37 30 31 0d 01 a4 1c f4  |es are &701.....|
000007f0  20 43 6f 6c 6f 52 49 58  20 66 69 6c 65 73 20 61  | ColoRIX files a|
00000800  72 65 20 26 36 41 32 0d  01 ae 29 f4 20 41 75 74  |re &6A2...). Aut|
00000810  6f 44 65 73 6b 20 46 4c  49 20 61 6e 64 20 46 4c  |oDesk FLI and FL|
00000820  43 20 66 69 6c 65 73 20  61 72 65 20 26 42 39 46  |C files are &B9F|
00000830  0d 01 b8 19 f4 20 50 42  4d 2b 20 66 69 6c 65 73  |..... PBM+ files|
00000840  20 61 72 65 20 26 36 39  45 0d 01 c2 1d f4 20 55  | are &69E..... U|
00000850  6e 69 78 20 52 4c 45 20  66 69 6c 65 73 20 61 72  |nix RLE files ar|
00000860  65 20 26 36 41 31 0d 01  cc 40 e7 20 68 64 25 21  |e &6A1...@. hd%!|
00000870  30 20 3d 20 26 35 34 36  42 37 33 34 34 20 84 20  |0 = &546B7344 . |
00000880  68 64 25 20 3d 20 26 35  34 36 42 37 33 34 35 20  |hd% = &546B7345 |
00000890  8c 20 67 25 3d 26 43 42  36 3a 67 24 3d 22 54 72  |. g%=&CB6:g$="Tr|
000008a0  61 63 6b 65 72 22 0d 01  d6 5f e7 20 6c 65 6e 25  |acker"..._. len%|
000008b0  3e 3d 31 30 38 34 20 80  20 28 68 64 25 21 31 30  |>=1084 . (hd%!10|
000008c0  38 30 3d 26 32 45 34 42  32 45 34 44 20 84 20 68  |80=&2E4B2E4D . h|
000008d0  64 25 3d 26 33 34 35 34  34 43 34 36 20 84 20 68  |d%=&34544C46 . h|
000008e0  64 25 3d 26 33 38 35 34  34 63 34 36 29 20 8c 20  |d%=&38544c46) . |
000008f0  67 25 3d 26 37 30 31 3a  67 24 3d 22 53 54 4d 6f  |g%=&701:g$="STMo|
00000900  64 75 6c 65 22 0d 01 e0  2e e7 20 68 64 25 21 30  |dule"..... hd%!0|
00000910  20 3d 20 26 33 33 35 38  34 39 35 32 20 8c 20 67  | = &33584952 . g|
00000920  25 3d 26 36 41 32 3a 67  24 3d 22 43 6f 6c 6f 52  |%=&6A2:g$="ColoR|
00000930  49 58 22 0d 01 ea 04 0d  01 f4 40 f4 20 66 69 6c  |IX".......@. fil|
00000940  65 74 79 70 65 73 20 69  64 65 6e 74 69 66 69 65  |etypes identifie|
00000950  64 20 62 79 20 6f 6e 6c  79 20 32 20 63 68 61 72  |d by only 2 char|
00000960  61 63 74 65 72 73 20 61  72 65 20 6c 65 73 73 20  |acters are less |
00000970  63 65 72 74 61 69 6e 0d  01 fe 36 f4 20 49 66 20  |certain...6. If |
00000980  77 65 27 76 65 20 61 6c  72 65 61 64 79 20 67 6f  |we've already go|
00000990  74 20 61 20 66 69 6c 65  74 79 70 65 20 74 68 65  |t a filetype the|
000009a0  6e 20 69 67 6e 6f 72 65  20 74 68 69 73 0d 02 08  |n ignore this...|
000009b0  0f e7 20 67 25 3d 26 46  46 46 20 8c 0d 02 12 3f  |.. g%=&FFF ....?|
000009c0  20 20 e7 20 28 68 64 25  3f 34 3d 26 31 32 20 84  |  . (hd%?4=&12 .|
000009d0  20 68 64 25 3f 34 20 3d  26 31 31 29 80 20 68 64  | hd%?4 =&11). hd|
000009e0  25 3f 35 3d 26 41 46 20  8c 20 67 25 3d 26 42 39  |%?5=&AF . g%=&B9|
000009f0  46 3a 67 24 3d 22 46 4c  49 43 22 0d 02 1c 4a 20  |F:g$="FLIC"...J |
00000a00  20 e7 20 68 64 25 3f 34  3d 26 35 30 20 80 20 28  | . hd%?4=&50 . (|
00000a10  68 64 25 3f 35 3d 26 33  34 20 84 20 68 64 25 3f  |hd%?5=&34 . hd%?|
00000a20  35 3d 26 33 35 20 84 20  68 64 25 3f 35 3d 33 36  |5=&35 . hd%?5=36|
00000a30  29 20 8c 20 67 25 3d 26  36 39 45 3a 67 24 3d 22  |) . g%=&69E:g$="|
00000a40  50 42 4d 2b 22 0d 02 26  34 20 20 e7 20 68 64 25  |PBM+"..&4  . hd%|
00000a50  3f 34 3d 26 43 43 20 80  20 68 64 25 3f 35 3d 26  |?4=&CC . hd%?5=&|
00000a60  35 32 20 8c 20 67 25 3d  26 36 41 31 3a 67 24 3d  |52 . g%=&6A1:g$=|
00000a70  22 55 6e 69 78 52 4c 45  22 0d 02 30 05 cd 0d 02  |"UnixRLE"..0....|
00000a80  3a 27 c8 99 20 22 4f 53  5f 46 69 6c 65 22 2c 32  |:'.. "OS_File",2|
00000a90  33 2c 6e 61 6d 65 25 20  b8 20 2c 2c 2c 2c 2c 2c  |3,name% . ,,,,,,|
00000aa0  74 79 70 65 25 0d 02 44  53 e7 20 74 79 70 65 25  |type%..DS. type%|
00000ab0  3d 26 46 46 44 20 84 20  74 79 70 65 25 3d 2d 31  |=&FFD . type%=-1|
00000ac0  20 84 20 72 32 25 3d 30  20 8c 20 c8 99 20 22 58  | . r2%=0 . .. "X|
00000ad0  4f 53 5f 46 69 6c 65 22  2c 31 38 2c 6e 61 6d 65  |OS_File",18,name|
00000ae0  25 2c 67 25 2c 32 37 3a  f4 20 53 65 65 20 6e 6f  |%,g%,27:. See no|
00000af0  74 65 20 61 62 6f 76 65  0d 02 4e 21 ff 22 55 6e  |te above..N!."Un|
00000b00  73 65 74 20 41 75 74 6f  54 79 70 65 48 65 61 64  |set AutoTypeHead|
00000b10  65 72 22 2b bd 28 6c 25  29 0d 02 58 20 ff 22 55  |er"+.(l%)..X ."U|
00000b20  6e 73 65 74 20 41 75 74  6f 54 79 70 65 24 46 69  |nset AutoType$Fi|
00000b30  6c 65 22 2b bd 28 6c 25  29 0d 02 62 05 cd 0d 02  |le"+.(l%)..b....|
00000b40  6c 05 ed 0d 02 76 05 e0  0d ff                    |l....v....|
00000b4a