--- xmil/io/subcpu.h 2004/08/01 05:31:30 1.1 +++ xmil/io/subcpu.h 2004/08/20 08:41:41 1.4 @@ -3,10 +3,12 @@ typedef struct { UINT8 Dx[16][8]; UINT8 Ex[16][8]; UINT dataptr; + UINT keycount; + UINT keycountrep; UINT8 mode; + UINT8 keydata; UINT8 cmdcnt; UINT8 datacnt; - UINT8 INT_SW; UINT8 IBF; UINT8 OBF; } SUBCPU; @@ -16,8 +18,10 @@ typedef struct { extern "C" { #endif -short x1_sub_int(void); -void IOOUTCALL subcpu_o(UINT port, REG8 value); // x1_sub_w +void neitem_scpu(UINT id); +BRESULT ieitem_scpu(UINT id); + +void IOOUTCALL subcpu_o(UINT port, REG8 dat); // x1_sub_w REG8 IOINPCALL subcpu_i(UINT port); // x1_sub_r void subcpu_reset(void);