<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 11 Nov 1994 11:17:57 -0600
From   : barnett@... (David Barnett)
Subject: Catalogue info and emulated file system

Hallo intrepid beebophiles,

Some more thoughts on file structure.

It is desirable that ordinary text files be usable on the beeb regardless
of origin.  Generally, catalogue info (other than length) is irrelevant to
these files.   Following the previously mentioned marker idea I suggest the
following:

Those files which need load/execution address info should have a header
which begins:

*##*BBC Info: Load=hhhhhh Exec=hhhhhh*##*
Where hhhhhh is hexadecimal for the relevant item.

Files without this header would be readily identifiable and catalogue
requests and length requests would uses the information supplied by the
host machine unaltered (Load and exec could be reported as zero).

If the header is present then its info can be read, the header length can
be subtracted from the file length before reporting, and the header can be
added or stripped during SAVE or LOAD respectively.

David Barnett
University of Texas at Austin
barnett@...
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>