Mirror of CollapseOS
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

17 linhas
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.)