--- np2/io/fdd320.c 2003/10/16 17:57:52 1.1.1.1 +++ np2/io/fdd320.c 2007/11/03 00:00:20 1.5 @@ -1,24 +1,22 @@ #include "compiler.h" -#include "i286.h" #include "pccore.h" #include "iocore.h" // こっちで処理するか シリンダ倍移動で誤魔化すか悩ましいところ - BYTE fdd320_stat; + UINT8 fdd320_stat; -static BYTE IOINPCALL fdd320_i51(UINT port) { +static REG8 IOINPCALL fdd320_i51(UINT port) { (void)port; return(0x00); } -static BYTE IOINPCALL fdd320_i55(UINT port) { +static REG8 IOINPCALL fdd320_i55(UINT port) { fdd320_stat ^= 0xff; - (void)port; return(fdd320_stat); } @@ -29,7 +27,7 @@ static BYTE IOINPCALL fdd320_i55(UINT po static const IOINP fdd320i51[4] = { fdd320_i51, NULL, fdd320_i55, NULL}; -void fdd320_reset(void) { +void fdd320_reset(const NP2CFG *pConfig) { fdd320_stat = 0xff; }