Edwin Blink wrote:
> 
> >Incidentally, you're not planning on making a Win32 DSK management tool are
> 
> Well I'll will enhanche the Screen viewer in the near future so bitmaps
> may be added to a image. So if you lot send your ideas and request to me.
> Maybe I will.

 Hmmm... Why not invent special format to store Sam files on other platforms ?
I mean this format must have header for all SamDOS values (e.g. BASIC ones).
That DSK management must allow to save several files into one file of such
format. There are similar thing in Speccy emulation range called .scl (used
to store several files of Beta 128 interface in one .scl) which allows to have
whole data of program sectors (some sectors may have texts located in unused
parts of sector). Here is my offer of how to organise format structure:

 - such format may have extension .scf - "SamCoupe File(s)"
 - all files must be stored as copy of all its sectors (independently is it
   used completely or not)
 - fields of .scf format (revision 0.01) are as follow:

--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------

 Offset  Size  Purpose
 
--------------------------------------------------------------------------------------
  0x00   0x0A  The "SamCoupe Files" ASCII text
  0x0A   0x01  "End of File" terminator - 0x1A byte
  0x0B   0x01  Major version number (0x00 currently)
  0x0C   0x01  Minor version number (0x01 currently)
  0x0D   0x01  DOS identificator (0x01 == SamDos, 0x02 == MasterDOS, etc)
  0x0E   0x01  Ammount of files stored in this .scf file (N)
  0x0F   0x01  Write enabled/disabled flag (0x00 == enabled, 0x01...0xFF == 
disabled)
 
--------------------------------------------------------------------------------------
  0x10   0x??  Header of 1-st file in .scf format (+2 bytes of CRC)
  ....   ....  
  0x??   0x??  Header of N-th file in .scl (+2 bytes of CRC)
 
--------------------------------------------------------------------------------------
  0x??   0x04  CRC overall

--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------

> Edwin Blink
> 
> [EMAIL PROTECTED]
> http://home.wanadoo.nl/blink/index.htm

Reply via email to