Anonymous

ZX-State format: Difference between revisions

From Sinclair Wiki
→‎Format extensions: Begin documenting DivIDE blocks.
(Add links to draft versions of ZXSTLEC and ZXSTLECRAMPAGE blocks.)
(→‎Format extensions: Begin documenting DivIDE blocks.)
Line 11: Line 11:


With the official specification being somewhat stalled, some emulators have added ''unofficial'' extensions to the format. These include:
With the official specification being somewhat stalled, some emulators have added ''unofficial'' extensions to the format. These include:
=== ZXSTDIVIDE ===
The state of the [http://web.archive.org/web/20150302052256/http://baze.au.com/divide/ DivIDE IDE hard disk and CompactFlash card interface].
// DivIDE flags
#define ZXSTDIVIDE_EPROM_WRITEPROTECT 1
#define ZXSTDIVIDE_PAGED 2
#define ZXSTDIVIDE_COMPRESSED 4
// DivIDE IDE settings
typedef struct _tagZXSTDIVIDEBLOCK
{
  ZXSTBLOCK blk;
  WORD wFlags;
  BYTE chMemCtrl;
  BYTE chNumRamPages;
  BYTE chData[1];
} ZXSTDIVIDEBLOCK, *LPZXSTDIVIDEBLOCK;


=== ZXSTLEC ===
=== ZXSTLEC ===
Line 21: Line 38:
The state of the ULA registers found in the [[ULAplus|64 colour replacement ULA]]. This block may be present for any machine.
The state of the ULA registers found in the [[ULAplus|64 colour replacement ULA]]. This block may be present for any machine.
  // Palette Block flags
  // Palette Block flags
  #define ZXSTPALETTE_DISABLED  0
  #define ZXSTPALETTE_DISABLED 0
  #define ZXSTPALETTE_ENABLED  1
  #define ZXSTPALETTE_ENABLED 1
   
   
  // Palette Block. Contains the palette register values
  // Palette Block. Contains the palette register values
49

edits