[ Spectaculator, ZX Spectrum Emulator ] Home | Downloads | Support [ ZX Spectrum Image ]

Table of contents

The zx-state file format
Block types

ZXSTCF

Sami Vehmaa's ZXCF CompactFlash interface for the 16K, 48K, 128, +2, +2A and +3 ZX Spectrums. This block will be followed by zero or more ZXSTCFRAM blocks which store the contents of the interface's onboard memory.

// ZXCF jumper settings
#define ZXSTCF_UPLOADJUMPER     1

// ZXCF CompactFlash interface
typedef struct _tagZXSTCF
{
  ZXSTBLOCK blk;
  WORD wFlags;
  BYTE chMemCtrl;
  BYTE chNumRamPages;
} ZXSTCF, *LPZXSTCF;

Members

blk
The block header. The block id is ZXSTBID_ZXATASP ('Z', 'X', 'C', 'F').
wFlags
Various flags. This can be any combination of:
FlagMeaning
ZXSTCF_UPLOADJUMPERIf set, the upload jumper on the interface is enabled.
chMemCtrl
The current value of the ZXCF's memory control register.
chNumRamPages
The amount of RAM installed in this ZXCF interface, in units of 16KB. Normally either 32 (512KB version) or 64 (1024KB version).

Revision history

Available since version 1.3


  Copyright © 2001 - 2011 Jonathan Needle Top