src/mess/drivers/ht68k.c
| r6566 | r6567 | |
| 60 | 60 | { |
| 61 | 61 | const device_config *fdc = devtag_get_device(device->machine, "wd1770"); |
| 62 | 62 | wd17xx_set_side(fdc,BIT(data,3) ? 0 : 1); |
| 63 | | if (BIT(data,4)) { |
| 63 | if (BIT(data,7)==0) { |
| 64 | 64 | wd17xx_set_drive(fdc,0); |
| 65 | | } else if (BIT(data,5)) { |
| 65 | } else if (BIT(data,6)==0) { |
| 66 | 66 | wd17xx_set_drive(fdc,1); |
| 67 | | } else if (BIT(data,6)) { |
| 67 | } else if (BIT(data,5)==0) { |
| 68 | 68 | wd17xx_set_drive(fdc,2); |
| 69 | | } else if (BIT(data,7)) { |
| 69 | } else if (BIT(data,4)==0) { |
| 70 | 70 | wd17xx_set_drive(fdc,3); |
| 71 | 71 | } |
| 72 | 72 | } |