src/mess/drivers/atarist.c
| r1150 | r1151 | |
| 22 | 22 | |
| 23 | 23 | TODO: |
| 24 | 24 | |
| 25 | - fix floppy interface |
| 25 | 26 | - MSA disk image support |
| 26 | 27 | - UK keyboard layout for the special keys |
| 27 | 28 | - accurate screen timing |
| r1150 | r1151 | |
| 1290 | 1291 | |
| 1291 | 1292 | static WRITE8_HANDLER( ym2149_port_a_w ) |
| 1292 | 1293 | { |
| 1293 | | wd17xx_set_side(data & 0x01); |
| 1294 | wd17xx_set_side((data & 0x01) ? 0 : 1); |
| 1294 | 1295 | |
| 1295 | | if (data & 0x02) |
| 1296 | if (!(data & 0x02)) |
| 1296 | 1297 | { |
| 1297 | 1298 | wd17xx_set_drive(0); |
| 1298 | 1299 | } |
| 1299 | 1300 | |
| 1300 | | if (data & 0x04) |
| 1301 | if (!(data & 0x04)) |
| 1301 | 1302 | { |
| 1302 | 1303 | wd17xx_set_drive(1); |
| 1303 | 1304 | } |
| r1150 | r1151 | |
| 1616 | 1617 | |
| 1617 | 1618 | static WRITE8_HANDLER( stbook_ym2149_port_a_w ) |
| 1618 | 1619 | { |
| 1619 | | wd17xx_set_side(data & 0x01); |
| 1620 | wd17xx_set_side((data & 0x01) ? 0 : 1); |
| 1620 | 1621 | |
| 1621 | | if (data & 0x02) |
| 1622 | if (!(data & 0x02)) |
| 1622 | 1623 | { |
| 1623 | 1624 | wd17xx_set_drive(0); |
| 1624 | 1625 | } |
| 1625 | 1626 | |
| 1626 | | if (data & 0x04) |
| 1627 | if (!(data & 0x04)) |
| 1627 | 1628 | { |
| 1628 | 1629 | wd17xx_set_drive(1); |
| 1629 | 1630 | } |