Previous 15994 Revisions Next

r2535 Sunday 4th May, 2008 at 12:40:16 UTC by Nathan Woods
[C64] Fixed joystick 2. (bug #1150) [roberto zandona]
[docs]messnew.txt
[src/mess/includes]c64.h

src/mess/includes/c64.h
r2534r2535
8181#define PADDLES12            (( input_port_read(Machine,  "DSW0" ) & 0xe000 ) == 0x4000 )
8282#define JOYSTICK1            (( input_port_read(Machine,  "DSW0" ) & 0xe000 ) == 0x2000 )
8383#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 )
8989
9090#define PADDLE1_BUTTON   (( input_port_read(Machine,  "PAD1" ) & 0x100 ))
9191#define PADDLE1_VALUE   ( input_port_read(Machine,  "PAD1" ) & 0xff )
docs/messnew.txt
r2534r2535
2222
2323- [C64] Bug fix, and fixed some timings.  [roberto zandonà]
2424
25- [C64] Fixed joystick 2.  (bug #1150) [roberto zandonà]
26
2527- [COCO/COCO3] Transitioned Bitbanger and VHD support to use MAME's core
2628  device system.  [Nate Woods]
2729

Previous 15994 Revisions Next


© 1998-2018 The MESS Team