|
|
| version 1.4, 2004/03/12 18:19:57 | version 1.5, 2005/02/07 14:46:08 |
|---|---|
| Line 21 extern void iptrace_out(void); | Line 21 extern void iptrace_out(void); |
| #endif | #endif |
| static const BYTE hdd_inquiry[0x20] = { | static const UINT8 hdd_inquiry[0x20] = { |
| 0x00,0x00,0x02,0x02,0x1c,0x00,0x00,0x18, | 0x00,0x00,0x02,0x02,0x1c,0x00,0x00,0x18, |
| 'N', 'E', 'C', 0x20,0x20,0x20,0x20,0x20, | 'N', 'E', 'C', 0x20,0x20,0x20,0x20,0x20, |
| 'N', 'P', '2', '-', 'H', 'D', 'D', 0x20, | 'N', 'P', '2', '-', 'H', 'D', 'D', 0x20, |
| 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20}; | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20}; |
| static UINT scsicmd_datain(SXSIDEV sxsi, BYTE *cdb) { | static UINT scsicmd_datain(SXSIDEV sxsi, UINT8 *cdb) { |
| UINT length; | UINT length; |
| Line 82 REG8 scsicmd_select(REG8 id) { | Line 82 REG8 scsicmd_select(REG8 id) { |
| return(0x42); // Timeout | return(0x42); // Timeout |
| } | } |
| REG8 scsicmd_transfer(REG8 id, BYTE *cdb) { | REG8 scsicmd_transfer(REG8 id, UINT8 *cdb) { |
| SXSIDEV sxsi; | SXSIDEV sxsi; |
| UINT leng; | UINT leng; |
| Line 165 static const UINT8 stat2ret[16] = { | Line 165 static const UINT8 stat2ret[16] = { |
| static REG8 bios1bc_seltrans(REG8 id) { | static REG8 bios1bc_seltrans(REG8 id) { |
| BYTE cdb[16]; | UINT8 cdb[16]; |
| REG8 ret; | REG8 ret; |
| MEML_READSTR(CPU_DS, CPU_DX, cdb, 16); | MEML_READSTR(CPU_DS, CPU_DX, cdb, 16); |