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:

Flag

Meaning

ZXSTM_NONE

Mouse emulation is disabled

ZXSTM_AMX

Emulate the AMX mouse

ZXSTM_KEMPSTON

Emulate 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