src/mess/includes/c64.h
| r2534 | r2535 | |
| 81 | 81 | #define PADDLES12 (( input_port_read(Machine, "DSW0" ) & 0xe000 ) == 0x4000 ) |
| 82 | 82 | #define JOYSTICK1 (( input_port_read(Machine, "DSW0" ) & 0xe000 ) == 0x2000 ) |
| 83 | 83 | #define LIGHTPEN_POINTER ( LIGHTPEN && ( input_port_read(Machine, "DSW0" ) & 0x1000)) |
| 84 | | #define MOUSE2 (( input_port_read(Machine, "DSW0" ) & 0xe000 ) == 0x800 ) |
| 85 | | #define JOYSTICK2_2BUTTON (( input_port_read(Machine, "DSW0" ) & 0xe000 ) == 0x600 ) |
| 86 | | #define PADDLES34 (( input_port_read(Machine, "DSW0" ) & 0xe000 ) == 0x400 ) |
| 87 | | #define JOYSTICK2 (( input_port_read(Machine, "DSW0" ) & 0xe000 ) == 0x200 ) |
| 88 | | #define JOYSTICK_SWAP ( input_port_read(Machine, "DSW0" ) & 0x100 ) |
| 84 | #define MOUSE2 (( input_port_read(Machine, "DSW0" ) & 0x0e00 ) == 0x0800 ) |
| 85 | #define JOYSTICK2_2BUTTON (( input_port_read(Machine, "DSW0" ) & 0x0e00 ) == 0x0600 ) |
| 86 | #define PADDLES34 (( input_port_read(Machine, "DSW0" ) & 0x0e00 ) == 0x0400 ) |
| 87 | #define JOYSTICK2 (( input_port_read(Machine, "DSW0" ) & 0x0e00 ) == 0x0200 ) |
| 88 | #define JOYSTICK_SWAP ( input_port_read(Machine, "DSW0" ) & 0x0100 ) |
| 89 | 89 | |
| 90 | 90 | #define PADDLE1_BUTTON (( input_port_read(Machine, "PAD1" ) & 0x100 )) |
| 91 | 91 | #define PADDLE1_VALUE ( input_port_read(Machine, "PAD1" ) & 0xff ) |