Home » Archimedes archive » Archimedes World » archimedes_world_volume_15_issue_1_scp.adf » !ProFiler_ProFiler » !ProFiler/Dox/ExtTypes

!ProFiler/Dox/ExtTypes

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 » archimedes_world_volume_15_issue_1_scp.adf » !ProFiler_ProFiler
Filename: !ProFiler/Dox/ExtTypes
Read OK:
File size: 0555 bytes
Load address: 0000
Exec address: 0000
File contents
<html>
<head>
<title>Extended filetypes</title>
</head>
<body>
<h1><center><u>Extended object types</u></center></h1>

<dl>
<dt>&amp;0000-&amp;0FFF
<dd>File of type xxx 
<dt>&amp;1000-&amp;1FFF
<dd>Directory of type xxx 
<dt>&amp;2000-&amp;2FFF
<dd>Directory of type xxx, whose name starts with �!� 
<dt>&amp;3000-&amp;3FFF
<dd>Image-file of type xxx </dl>

<p>

Most of these types are only used internally and by client programs. The user will usually only concern 
himself with the lower 12 bits of them. When referring to the 16-bit value, I will often call them XTypes.<p>

The names of the filetypes are stored in system variables, and is compatible with the original system. The 
following variables are used:<p>
<samp>File$Type_xxx</samp> contain the names of XTypes &amp;0000-&amp;0FFF and &amp;3000-&amp;3FFF. The difference 
between the former and the latter is whether or not the image filing system is running. The file and its 
corresponding information is exactly the same, so it is sufficient to store the name of the filetype in one 
place.<p>
<samp>Dir$Type_xxxx</samp> contain the names of XTypes &amp;1000-&amp;2FFF.<p>

<p>

The same kind of arrangement is used for <samp>Alias$@RunType_xxx</samp> and <samp>Alias$@RunDir_xxxx</samp>, but 
see the file about <a href = "./RunAndBoot">Running and booting</a> for a more detailed explanation.<p>
00000000  3c 68 74 6d 6c 3e 0a 3c  68 65 61 64 3e 0a 3c 74  |<html>.<head>.<t|
00000010  69 74 6c 65 3e 45 78 74  65 6e 64 65 64 20 66 69  |itle>Extended fi|
00000020  6c 65 74 79 70 65 73 3c  2f 74 69 74 6c 65 3e 0a  |letypes</title>.|
00000030  3c 2f 68 65 61 64 3e 0a  3c 62 6f 64 79 3e 0a 3c  |</head>.<body>.<|
00000040  68 31 3e 3c 63 65 6e 74  65 72 3e 3c 75 3e 45 78  |h1><center><u>Ex|
00000050  74 65 6e 64 65 64 20 6f  62 6a 65 63 74 20 74 79  |tended object ty|
00000060  70 65 73 3c 2f 75 3e 3c  2f 63 65 6e 74 65 72 3e  |pes</u></center>|
00000070  3c 2f 68 31 3e 0a 0a 3c  64 6c 3e 0a 3c 64 74 3e  |</h1>..<dl>.<dt>|
00000080  26 61 6d 70 3b 30 30 30  30 2d 26 61 6d 70 3b 30  |&amp;0000-&amp;0|
00000090  46 46 46 0a 3c 64 64 3e  46 69 6c 65 20 6f 66 20  |FFF.<dd>File of |
000000a0  74 79 70 65 20 78 78 78  20 0a 3c 64 74 3e 26 61  |type xxx .<dt>&a|
000000b0  6d 70 3b 31 30 30 30 2d  26 61 6d 70 3b 31 46 46  |mp;1000-&amp;1FF|
000000c0  46 0a 3c 64 64 3e 44 69  72 65 63 74 6f 72 79 20  |F.<dd>Directory |
000000d0  6f 66 20 74 79 70 65 20  78 78 78 20 0a 3c 64 74  |of type xxx .<dt|
000000e0  3e 26 61 6d 70 3b 32 30  30 30 2d 26 61 6d 70 3b  |>&amp;2000-&amp;|
000000f0  32 46 46 46 0a 3c 64 64  3e 44 69 72 65 63 74 6f  |2FFF.<dd>Directo|
00000100  72 79 20 6f 66 20 74 79  70 65 20 78 78 78 2c 20  |ry of type xxx, |
00000110  77 68 6f 73 65 20 6e 61  6d 65 20 73 74 61 72 74  |whose name start|
00000120  73 20 77 69 74 68 20 94  21 95 20 0a 3c 64 74 3e  |s with .!. .<dt>|
00000130  26 61 6d 70 3b 33 30 30  30 2d 26 61 6d 70 3b 33  |&amp;3000-&amp;3|
00000140  46 46 46 0a 3c 64 64 3e  49 6d 61 67 65 2d 66 69  |FFF.<dd>Image-fi|
00000150  6c 65 20 6f 66 20 74 79  70 65 20 78 78 78 20 3c  |le of type xxx <|
00000160  2f 64 6c 3e 0a 0a 3c 70  3e 0a 0a 4d 6f 73 74 20  |/dl>..<p>..Most |
00000170  6f 66 20 74 68 65 73 65  20 74 79 70 65 73 20 61  |of these types a|
00000180  72 65 20 6f 6e 6c 79 20  75 73 65 64 20 69 6e 74  |re only used int|
00000190  65 72 6e 61 6c 6c 79 20  61 6e 64 20 62 79 20 63  |ernally and by c|
000001a0  6c 69 65 6e 74 20 70 72  6f 67 72 61 6d 73 2e 20  |lient programs. |
000001b0  54 68 65 20 75 73 65 72  20 77 69 6c 6c 20 75 73  |The user will us|
000001c0  75 61 6c 6c 79 20 6f 6e  6c 79 20 63 6f 6e 63 65  |ually only conce|
000001d0  72 6e 20 0a 68 69 6d 73  65 6c 66 20 77 69 74 68  |rn .himself with|
000001e0  20 74 68 65 20 6c 6f 77  65 72 20 31 32 20 62 69  | the lower 12 bi|
000001f0  74 73 20 6f 66 20 74 68  65 6d 2e 20 57 68 65 6e  |ts of them. When|
00000200  20 72 65 66 65 72 72 69  6e 67 20 74 6f 20 74 68  | referring to th|
00000210  65 20 31 36 2d 62 69 74  20 76 61 6c 75 65 2c 20  |e 16-bit value, |
00000220  49 20 77 69 6c 6c 20 6f  66 74 65 6e 20 63 61 6c  |I will often cal|
00000230  6c 20 74 68 65 6d 20 58  54 79 70 65 73 2e 3c 70  |l them XTypes.<p|
00000240  3e 0a 0a 54 68 65 20 6e  61 6d 65 73 20 6f 66 20  |>..The names of |
00000250  74 68 65 20 66 69 6c 65  74 79 70 65 73 20 61 72  |the filetypes ar|
00000260  65 20 73 74 6f 72 65 64  20 69 6e 20 73 79 73 74  |e stored in syst|
00000270  65 6d 20 76 61 72 69 61  62 6c 65 73 2c 20 61 6e  |em variables, an|
00000280  64 20 69 73 20 63 6f 6d  70 61 74 69 62 6c 65 20  |d is compatible |
00000290  77 69 74 68 20 74 68 65  20 6f 72 69 67 69 6e 61  |with the origina|
000002a0  6c 20 73 79 73 74 65 6d  2e 20 54 68 65 20 0a 66  |l system. The .f|
000002b0  6f 6c 6c 6f 77 69 6e 67  20 76 61 72 69 61 62 6c  |ollowing variabl|
000002c0  65 73 20 61 72 65 20 75  73 65 64 3a 3c 70 3e 0a  |es are used:<p>.|
000002d0  3c 73 61 6d 70 3e 46 69  6c 65 24 54 79 70 65 5f  |<samp>File$Type_|
000002e0  78 78 78 3c 2f 73 61 6d  70 3e 20 63 6f 6e 74 61  |xxx</samp> conta|
000002f0  69 6e 20 74 68 65 20 6e  61 6d 65 73 20 6f 66 20  |in the names of |
00000300  58 54 79 70 65 73 20 26  61 6d 70 3b 30 30 30 30  |XTypes &amp;0000|
00000310  2d 26 61 6d 70 3b 30 46  46 46 20 61 6e 64 20 26  |-&amp;0FFF and &|
00000320  61 6d 70 3b 33 30 30 30  2d 26 61 6d 70 3b 33 46  |amp;3000-&amp;3F|
00000330  46 46 2e 20 54 68 65 20  64 69 66 66 65 72 65 6e  |FF. The differen|
00000340  63 65 20 0a 62 65 74 77  65 65 6e 20 74 68 65 20  |ce .between the |
00000350  66 6f 72 6d 65 72 20 61  6e 64 20 74 68 65 20 6c  |former and the l|
00000360  61 74 74 65 72 20 69 73  20 77 68 65 74 68 65 72  |atter is whether|
00000370  20 6f 72 20 6e 6f 74 20  74 68 65 20 69 6d 61 67  | or not the imag|
00000380  65 20 66 69 6c 69 6e 67  20 73 79 73 74 65 6d 20  |e filing system |
00000390  69 73 20 72 75 6e 6e 69  6e 67 2e 20 54 68 65 20  |is running. The |
000003a0  66 69 6c 65 20 61 6e 64  20 69 74 73 20 0a 63 6f  |file and its .co|
000003b0  72 72 65 73 70 6f 6e 64  69 6e 67 20 69 6e 66 6f  |rresponding info|
000003c0  72 6d 61 74 69 6f 6e 20  69 73 20 65 78 61 63 74  |rmation is exact|
000003d0  6c 79 20 74 68 65 20 73  61 6d 65 2c 20 73 6f 20  |ly the same, so |
000003e0  69 74 20 69 73 20 73 75  66 66 69 63 69 65 6e 74  |it is sufficient|
000003f0  20 74 6f 20 73 74 6f 72  65 20 74 68 65 20 6e 61  | to store the na|
00000400  6d 65 20 6f 66 20 74 68  65 20 66 69 6c 65 74 79  |me of the filety|
00000410  70 65 20 69 6e 20 6f 6e  65 20 0a 70 6c 61 63 65  |pe in one .place|
00000420  2e 3c 70 3e 0a 3c 73 61  6d 70 3e 44 69 72 24 54  |.<p>.<samp>Dir$T|
00000430  79 70 65 5f 78 78 78 78  3c 2f 73 61 6d 70 3e 20  |ype_xxxx</samp> |
00000440  63 6f 6e 74 61 69 6e 20  74 68 65 20 6e 61 6d 65  |contain the name|
00000450  73 20 6f 66 20 58 54 79  70 65 73 20 26 61 6d 70  |s of XTypes &amp|
00000460  3b 31 30 30 30 2d 26 61  6d 70 3b 32 46 46 46 2e  |;1000-&amp;2FFF.|
00000470  3c 70 3e 0a 0a 3c 70 3e  0a 0a 54 68 65 20 73 61  |<p>..<p>..The sa|
00000480  6d 65 20 6b 69 6e 64 20  6f 66 20 61 72 72 61 6e  |me kind of arran|
00000490  67 65 6d 65 6e 74 20 69  73 20 75 73 65 64 20 66  |gement is used f|
000004a0  6f 72 20 3c 73 61 6d 70  3e 41 6c 69 61 73 24 40  |or <samp>Alias$@|
000004b0  52 75 6e 54 79 70 65 5f  78 78 78 3c 2f 73 61 6d  |RunType_xxx</sam|
000004c0  70 3e 20 61 6e 64 20 3c  73 61 6d 70 3e 41 6c 69  |p> and <samp>Ali|
000004d0  61 73 24 40 52 75 6e 44  69 72 5f 78 78 78 78 3c  |as$@RunDir_xxxx<|
000004e0  2f 73 61 6d 70 3e 2c 20  62 75 74 20 0a 73 65 65  |/samp>, but .see|
000004f0  20 74 68 65 20 66 69 6c  65 20 61 62 6f 75 74 20  | the file about |
00000500  3c 61 20 68 72 65 66 20  3d 20 22 2e 2f 52 75 6e  |<a href = "./Run|
00000510  41 6e 64 42 6f 6f 74 22  3e 52 75 6e 6e 69 6e 67  |AndBoot">Running|
00000520  20 61 6e 64 20 62 6f 6f  74 69 6e 67 3c 2f 61 3e  | and booting</a>|
00000530  20 66 6f 72 20 61 20 6d  6f 72 65 20 64 65 74 61  | for a more deta|
00000540  69 6c 65 64 20 65 78 70  6c 61 6e 61 74 69 6f 6e  |iled explanation|
00000550  2e 3c 70 3e 0a                                    |.<p>.|
00000555