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

Table of contents

The zx-state file format
Block types

ZXSTMOUSE

Current mouse emulation state.

// Mouse (currently AMX and Kempston)
#define ZXSTM_NONE      0
#define ZXSTM_AMX       1
#define ZXSTM_KEMPSTON  2

typedef struct _tagZXSTMOUSE
{
  ZXSTBLOCK blk;
  BYTE chType;
  BYTE chCtrlA[3];
  BYTE chCtrlB[3];
} ZXSTMOUSE, *LPZXSTMOUSE;

Members

blk
The block header. The block id is ZXSTBID_MOUSE ('A', 'M', 'X', 'M').
chType
The type of mouse being emulated. This can be one of:
FlagMeaning
ZXSTM_NONEMouse emulation is disabled
ZXSTM_AMXEmulate the AMX mouse
ZXSTM_KEMPSTONEmulate the Kempston mouse
chCtrlA
Z80 PIO CTRLA registers for AMX mouse
chCtrlB
Z80 PIO CTRLB registers for AMX mouse

Revision history

Available since version 1.0


  Copyright © 2001 - 2011 Jonathan Needle Top