src/mess/drivers/fmtowns.c
| r6638 | r6639 | |
| 729 | 729 | { |
| 730 | 730 | logerror("PADPORT: read mask %08x\n",mem_mask); |
| 731 | 731 | if(ACCESSING_BITS_0_7) |
| 732 | | return 0x7f; |
| 732 | return input_port_read(space->machine,"joy1");; |
| 733 | 733 | |
| 734 | 734 | return 0x00; |
| 735 | 735 | } |
| r6638 | r6639 | |
| 1818 | 1818 | PORT_BIT(0x10000000,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("BREAK") |
| 1819 | 1819 | PORT_BIT(0x20000000,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("COPY") |
| 1820 | 1820 | |
| 1821 | PORT_START("joy1") |
| 1822 | PORT_BIT(0x00000001,IP_ACTIVE_LOW, IPT_JOYSTICK_UP) PORT_PLAYER(1) |
| 1823 | PORT_BIT(0x00000002,IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN) PORT_PLAYER(1) |
| 1824 | PORT_BIT(0x00000004,IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT) PORT_PLAYER(1) |
| 1825 | PORT_BIT(0x00000008,IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT) PORT_PLAYER(1) |
| 1826 | PORT_BIT(0x00000010,IP_ACTIVE_LOW, IPT_START) PORT_PLAYER(1) |
| 1827 | PORT_BIT(0x00000020,IP_ACTIVE_LOW, IPT_BUTTON1) PORT_PLAYER(1) |
| 1828 | PORT_BIT(0x00000040,IP_ACTIVE_LOW, IPT_BUTTON2) PORT_PLAYER(1) |
| 1829 | PORT_BIT(0x00000080,IP_ACTIVE_HIGH, IPT_UNUSED) PORT_PLAYER(1) |
| 1830 | |
| 1821 | 1831 | INPUT_PORTS_END |
| 1822 | 1832 | |
| 1823 | 1833 | static TIMER_CALLBACK( towns_vblank_end ) |