Mirror of CollapseOS
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

17 lignes
705B

  1. Disk blocks
  2. Disk blocks are Collapse OS' main access to permanent storage.
  3. The system is exceedingly simple: blocks are contiguous
  4. chunks of 1024 bytes each living on some permanent media such
  5. as floppy disks or SD cards. They are mostly used for text,
  6. either informational or source code, which is organized into
  7. 16 lines of 64 characters each.
  8. Blocks are referred to by number, 0-indexed. They are read
  9. through BLK@ and written through BLK!. When a block is read,
  10. its 1024 bytes content is copied to an in-memory buffer
  11. starting at BLK( and ending at BLK). Those read/write
  12. operations are often implicit. For example, LIST calls BLK@.
  13. (cont.)