home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 1 / 001.d81 / t.bamap < prev    next >
Text File  |  2022-08-26  |  1KB  |  75 lines

  1.                BAMAP
  2.                =====
  3.  
  4. Original program from 1541 TEST/DEMO
  5.  
  6. disk.  Author unknown.
  7.  
  8.  
  9. Modified by:  Joel Ellis Rea
  10.  
  11.  
  12.    BAMAP reads the BAM from a disk,
  13.  
  14. and then displays a map of all the
  15.  
  16. tracks and sectors.  Each block that
  17.  
  18. is allocated is drawn in red, and each
  19.  
  20. free block is drawn in green.  Since
  21.  
  22. Track 18 holds the directory and the
  23.  
  24. BAM itself, files cannot be stored on
  25.  
  26. that track, even of the sectors are
  27.  
  28. "free".  All of Track 18 is set aside
  29.  
  30. for the directory.  BAMAP shows Track
  31.  
  32. 18 as "highlighted", so as to set it
  33.  
  34. apart from the other tracks.
  35.  
  36.    Note that the innermost tracks have
  37.  
  38. fewer sectors than the outermost ones.
  39.  
  40.    The BAM is the Block Availability
  41.  
  42. Map that is part of the directory
  43.  
  44. header (track 18, sector 0) of every
  45.  
  46. normal Commodore 1541 format diskette.
  47.  
  48. It contains a bit for every block on
  49.  
  50. the disk.  That bit shows if the block
  51.  
  52. is "free" or "allocated".  An
  53.  
  54. allocated block is one that "belongs"
  55.  
  56. to a file, and is therefore unavail-
  57.  
  58. able for use.  Basically, an allocated
  59.  
  60. block is "used" and an non-allocated
  61.  
  62. block is "free".
  63.  
  64.    Bamap is an extensive modification
  65.  
  66. to the VIEW BAM program on the 1541
  67.  
  68. TEST/DEMO disk.  VIEW BAM was written
  69.  
  70. for the Vic-20 and has to display the
  71.  
  72. BAM map in two parts.
  73.  
  74. --------------------------------------
  75.