[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DSK format specification



In article <OU7Qa.1395$dk4.59598@typhoon.sonic.net>,
Andy McFadden  <fadden@fadden.com> wrote:
>
>The trouble with ".DSK" images is that they were either written as a
>series of 256-byte sectors (sector 0, 1, 2, 3, ...) or a series of 512-byte
>ProDOS/Pascal blocks (sector 0, 2, 4, 6, ...).

...and of course a Pascal 512-byte block was mapped into two 256-byte
sectors....

In CP/M, there was a further mapping done, into the 128-byte logical
sectors used by CP/M.  Naturally two 128-byte CP/M sectors was mapped
into one 256-byte Apple sector.  Nevertheless, CP/M had TWO levels
of sector interleave: one specificed within CP/M itself and executed
by Z80 code (it existed in all CP/M implementations), and another within
the BIOS code of Apple CP/M and executed by 6502 code; the latter was
Apple II specific.



-- 
----------------------------------------------------------------
Paul Schlyter,  Grev Turegatan 40,  SE-114 38 Stockholm,  SWEDEN
e-mail:  pausch at stockholm dot bostream dot se
WWW:     http://www.stjarnhimlen.se/
         http://home.tiscali.se/pausch/