home *** CD-ROM | disk | FTP | other *** search
/ Commodore Free 9 / Commodore_Free_Issue_09_2007_Commodore_Computer_Club.d64 / t.terms < prev    next >
Text File  |  2023-02-26  |  6KB  |  219 lines

  1. u          Terms and acronyms
  2.           by Peter Schepers
  3.  
  4.   Many strange terms have come along
  5. with computers in general, and I will
  6. not attempt to explain them all, but
  7. some of the ones in this document may
  8. not be entirely clear. I will attempt
  9. to make things a  little  easier  by
  10. explaining some of the more common
  11. ones.
  12.  
  13.   <CR> - Short form for a Carriage
  14. Return ($0D) symbol.
  15.  
  16.   <LF> - Short form for a Line Feed
  17. ($0A) symbol.
  18.  
  19.   ARCHIVE - A  file format which
  20. contains  other  files,  and  in which
  21. compression is an integral part of the
  22.  design.  Some  examples are ZIP, SRK,
  23. SDA, ARC, LHA, WRA.
  24.  
  25.   ASCII - This is an acronym for
  26. "American Standard Code  for
  27. Information Interchange". The standard
  28. is a  7-bit  code  covering control
  29. codes, punctuation, alphanumeric (A to
  30. Z, 0 to 9) as well as math and a few
  31. other symbols. Since it is a 7-bit
  32. code, it ranges from $00 to $7F
  33. (0-127). This leaves the top 128-255
  34. definable by  the vendor. The PC world
  35. has corrupted this standard making it
  36. 8-bit.
  37.  
  38.   BAM - An acronym for "Block
  39. Availability Map". Here  is  where the
  40.  disk operating system keeps track of
  41. what  sectors  are allocated  (or
  42. available) for each track.
  43.  
  44.   BLOCK - This refers to sectors which
  45.  on  a  logical  level  are grouped
  46. together. On a 1541 disk, it could be
  47. a series of sectors linked together in
  48. a file, or a partition on a 1581 disk.
  49.  In the PC world it represents a
  50. "cluster" of sectors. Generally if I'm
  51. referring to a grouping of sectors
  52. thats *not* 256 bytes  large, then I
  53. talk in blocks.
  54.  
  55.   BYTE - A group of 8 bits, the
  56. contents of a memory location.
  57.  
  58.   CHAIN - A series of sectors linked
  59. together.  One sector  will  have  a
  60. pointer to another, and that sector
  61. will point to another,  until the
  62. chain has no more forward pointers. A
  63. file stored on  a  1541 disk would be
  64. considered a chain of sectors, but it
  65. also  has  a directory entry
  66. explaining what the chain is for.
  67.  
  68.   CONTAINER - A file format which
  69. simply  contains  other  files,  and
  70. no compression takes place. Some
  71. examples  are  T64,  P00,  SPY, ARK,
  72. LNX.
  73.  
  74.   FILETYPE - In the Commodore world,
  75. this would be the kind of file, be it
  76. SEQ, REL, PRG, USR, GEOS etc. In the
  77. DOS  world,  this  would possibly be
  78. the file extension, be it EXE, TXT,
  79. DOC. It  tells the user what file it
  80. is, making usage easier.
  81.  
  82.   GCR - An acronym for "Group Code
  83. Recording". This is the encoding
  84. method Commodore uses to physically
  85. store the information on most of  the
  86. 5.25" disks (i.e. 1541). It encodes an
  87. 8 bit sequence (2  4-bit nybbles) into
  88. a 10 bit sequence (2  5-bit nybbles)
  89. so  that  long repeated sequences of
  90. 1's or 0's are avoided. These must be
  91. avoided so that the timing of
  92. reading/writing to the disk won't
  93. become "out of sync". As a user, you
  94. would not normally see the GCR
  95. information since the drive does all
  96. the conversion to normal HEX data
  97. before it gives it to you.
  98.  
  99.  HIGH/LOW - The bytes here are stored
  100. backwards compared to  the  LOW/HIGH
  101. method. See LOW/HIGH for more
  102. information.
  103.  
  104.   IMAGE - A file format which is a PC
  105. equivalent of  a  physical  Commodore
  106. media. Some examples are D64 (1541),
  107. D71 (1571), D81 (1581), D2M (FD2000),
  108. X64.
  109.  
  110.   LINK - This is the track/sector
  111. values, stored in the first two bytes
  112. of a sector, which point to (or "link"
  113. to) the t/s location of the next
  114. sector. A series of these links
  115. comprise a "chain" of sectors.
  116.  
  117.   LOW/HIGH - This is how values are
  118. stored when they exceed one byte.  A
  119. good example of this is the sector
  120. count of a D64 file.  To calculate the
  121. actual value, take the second value,
  122. multiply it by 256 and add the low
  123. value.  You will now get the real
  124. decimal value. i.e.
  125. (HIGH*256)+LOW=result. If you look at
  126. is as a HEX value, swap the  bytes
  127. around  and put them together for the
  128. 16-bit HEX value. i.e. $FE $03 would
  129. be $03FE as a 16-bit HEX value.
  130.  
  131.   LSB/MSB - See LOW/HIGH.
  132.  
  133.   LSU - This is my own acronym meaning
  134. "last sector useage".  It  is  the
  135. value stored in byte position $01 (the
  136. "sector" value  of  the t/slink) of
  137. the last sector of a file. This value
  138. is the offset into the sector where
  139. the last byte is stored. It also
  140. represents the byte count + 1, since a
  141. value of 255 would actually mean only
  142. 254 bytes of file data exists (full
  143. sector less the 2 bytes for t/schain).
  144. Without reasonable knowledge of the
  145. disk layout, this byte can be
  146. confusing, and hard to explain.
  147.  
  148.   NYBBLE - A grouping of 4 bits (half
  149. a byte), either the first or  last
  150. 4bits of an 8-bit binary number,  or
  151. one  half  of  a  two-digit
  152. hexadecimal number. Typically, a byte
  153. will be broken down into two parts,
  154. the top 4 bits and the bottom 4 bits.
  155. These are referred to as the upper and
  156. lower nybble respectively, and are
  157. represented by two hexadecimal digits
  158. in base 16.
  159.  
  160.   PETASCII - (or PETSCII) This is
  161. Commodore's version  of  ASCII  (the
  162. PETpart of the name comes from the
  163. first  computer  to  use  the code,
  164. the PET or Personal Electronic
  165. Transactor).Most of the codes from
  166. 0-127 are the same as ASCII, but there
  167. are differences, especially noticible
  168. when  converting  text from a C64  to
  169. a  DOS  machine. Where ASCII has
  170. uppercase characters, PETASCII has
  171. lower case ones, and vice versa. Also,
  172. the top 128 characters (128 to 255)
  173. are quite different from the PC
  174. "standard".
  175.  
  176.   RLE - An acronym for "Run Length
  177. Encoding". This is a simple
  178. compression method, employed by most
  179. compression programs, and also used by
  180. some file formats (ZipCode, CPK). It
  181. encodes sequences (or "runs", hence
  182. the name "RUN length...") of the same
  183. byte (i.e. 00 00 00  00 00 00) into a
  184. smaller string using a shorter code
  185. sequence,  makingthe resultant file
  186. smaller than the original. This is the
  187. simplest form of file compression.
  188.  
  189.   SECTOR - It is best described as the
  190. method that the drive uses to store
  191. the smallest group of bytes physically
  192. on the disk. On the 1541 this refers
  193. to a group of 256 bytes stored
  194. together in a  single sector. On a PC
  195. disk, this is typically 512 bytes.
  196.  
  197.   SIGNATURE - A group of bytes,
  198. usually near or at the front of the
  199. file, which are used to identify the
  200. type of file. I.e. a PC64 file will
  201. always have the signature string
  202. "C64file" contained at the beginning
  203. of the file.
  204.  
  205.   TAR - An acronym for "Tape
  206. ARchiver", a UNIX application, and
  207. method of backing up information.
  208.  
  209. Commodore Free Reprinted with the
  210. permission of Peter Schepers
  211.  
  212. http://www.unusedino.de/ec64/technical
  213. /formats/intro.html
  214.  
  215.  
  216. ...end...
  217. www.commoorefree.com
  218.  
  219.  
  220.