Class PascalDos
In: lib/file_systems/PascalDos.rb
Parent: FileSystem
 Disk image with Pascal File System

catalog will be at block 2. each entry consists of $1A bytes, which are: VOLUME HEADER

       00..01 FIRST BLOCK (word)
       02..03 LAST BLOCK+1 (word)
       04    FILE TYPE (byte) =  untypedfile,xdskfile,codefile,textfile,infofile,datafile,graffile,fotofile,securdir
       05    FILLER
       06    VOLUME NAME LENGTH (1 byte)
       07..0D        VOLUME NAME (17 bytes)
       0E..0F        VOLUME SIZE (WORD)
       10    NUMBER OF FILES (BYTE)
       11..1A        FILLER

FILES

       00..01        FIRST BLOCK (word)
       02..03        LAST BLOCK+1 (word)
       04    FILE TYPE (byte) =  untypedfile,xdskfile,codefile,textfile,infofile,datafile,graffile,fotofile,securdir
       05    STATUS (byte)
       06    FILENAME LENGTH (1 byte)
       07..16        FILENAME (15 bytes)
       17..18        BYTES IN LAST BLOCK (word)
       19..1A        FILE ACCESS DATE

Methods

Public Class methods

[Validate]