[zxspectrum] Re: Immagini dischetti Opus Discovery

  • From: Malantrucco Carlo <carlo.malantrucco@xxxxxxxxx>
  • To: zxspectrum@xxxxxxxxxxxxx
  • Date: Sat, 11 Apr 2015 11:25:52 +0200


Il giorno 10/apr/2015, alle ore 16:52, Enrico Maria Giordano
<e.m.giordano@xxxxxxxxxxxxxxx> ha scritto:

Dovrebbe essere un settore del catalogo, speriamo non occupato. Però
il disco su Opus reale funzionava, quindi ... :-)

Allora o non è appunto occupato o si è rovinato dopo o sul tuo lettore
funziona. Questo è quello che leggo all'inizio del dischetto, secondo te
manca qualcosa?

Come me lo hai mandato è sinceramente difficile da leggere.
Forse può essere utile qualche informazione su come funziona il catalogo
dell'Opus Discovery (parlando di un disco standard 40 tracce 18 settori 256
bytes):


The first 7 sectors of each disc is reserved for the CAT File
now let us do some arithmatic 7 * 256 = 1792 bytes which are
used by the Disc to store the name of the Disc as well as each
file that has been saved to that disc.

Each name whether it be the Disc name or a file name takes 16
bytes in consecutive order to store on a disc, back to the
arithmatic now 1792 bytes DIVIDED by 16 = 112 files per disc but
1 is used to store the disc name and 1 is used as an end marker
so that leaves us with 110 files per disc as promised in the
discovery manual.

Now let me try to explain how it takes 16 bytes to SAVE a
program name of 10 characters
BYTES 1 to 16

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

187 0 8 0 10 0 P R O G - - N A M E

The first 6 bytes are used to hold information about the file
which follows from bytes 7 to 16

The first 6 bytes are worked in pairs as follows

Byte 1 + 256 * Byte 2 = the number of bytes used in last block
(in the case of the above example this would mean
that there is only 187 bytes used in block 10)

Byte 3 + 256 * Byte 4 = the block in which the program starts.

Byte 5 + 256 * Byte 6 = the last block used by the program.


Quello che non ricordo è dove il sistema memorizza i dati dell'header di ogni
file (tipo, lunghezza, start etc.).
Devo andarmi a rivedere il manuale di Disc Manager.
Carlo

Other related posts: