| version 1.1, 2004/08/02 13:38:46 | version 1.2, 2004/08/05 04:53:15 | 
| Line 79  void IOOUTCALL fdc_o(UINT port, REG8 val | Line 79  void IOOUTCALL fdc_o(UINT port, REG8 val | 
 |  |  | 
 | REG8    cmd; | REG8    cmd; | 
 |  |  | 
 |  | if ((port & (~7)) != 0x0ff8) { | 
 |  | return; | 
 |  | } | 
 | port &= 0xf; | port &= 0xf; | 
 | if (port == 8) {                                                // コマンド | if (port == 8) {                                                // コマンド | 
 | driveset = 0; | driveset = 0; | 
| Line 303  static short last_off; | Line 306  static short last_off; | 
 | BYTE    ans; | BYTE    ans; | 
 | REG8    cmd; | REG8    cmd; | 
 |  |  | 
 |  | if ((port & (~7)) != 0x0ff8) { | 
 |  | return(0xff); | 
 |  | } | 
 | cmd = (REG8)(fdc.cmd >> 4); | cmd = (REG8)(fdc.cmd >> 4); | 
 |  |  | 
 | if ((port &= 0xf) != 8) { | if ((port &= 0xf) != 8) { | 
 | last_r = -1; | last_r = -1; | 
 | last_off = -1; | last_off = -1; |