trunk/src/mame/drivers/vicdual.c
| r18167 | r18168 | |
| 730 | 730 | UINT8 ret = 0; |
| 731 | 731 | |
| 732 | 732 | if (offset & 0x01) ret = ioport("IN0")->read(); |
| 733 | | if (offset & 0x02) /* schematics show this as in input port, but never read from */ |
| 733 | if (offset & 0x02) { /* schematics show this as in input port, but never read from */ } |
| 734 | 734 | if (offset & 0x04) ret = ioport("IN1")->read(); |
| 735 | 735 | if (offset & 0x08) ret = ioport("IN2")->read(); |
| 736 | 736 | if (offset & 0x12) logerror("********* Read from port %x\n", offset); |
| r18167 | r18168 | |
| 824 | 824 | PORT_COIN |
| 825 | 825 | INPUT_PORTS_END |
| 826 | 826 | |
| 827 | |
| 827 | 828 | /* this actually seems to ignore the dipswitches and is hardcoded to 2 coins 1 credit, and 2 lives */ |
| 828 | 829 | static INPUT_PORTS_START( car2 ) |
| 829 | 830 | PORT_START("IN0") |
| r18167 | r18168 | |
| 857 | 858 | PORT_COIN |
| 858 | 859 | INPUT_PORTS_END |
| 859 | 860 | |
| 861 | |
| 860 | 862 | static INPUT_PORTS_START( digger ) |
| 861 | 863 | PORT_START("IN0") |
| 862 | 864 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) |