Previous 15994 Revisions Next

r7463 Thursday 25th February, 2010 at 15:26:44 UTC by Dirk Best
pit8253: Small typo fix
[src/emu/machine]pit8253.c pit8253.h

src/emu/machine/pit8253.c
r7462r7463
102102***************************************************************************/
103103
104104/* makes sure that the passed in device is of the right type */
105INLINE pit8253_t *get_safe_token(running_device *device) {
106   assert( device != NULL );
107   assert( device->token != NULL );
108   assert( ( device->type == DEVICE_GET_INFO_NAME(pit8253) ) ||
109          ( device->type == DEVICE_GET_INFO_NAME(pit8254) ) );
110   return ( pit8253_t * ) device->token;
105INLINE pit8253_t *get_safe_token(running_device *device)
106{
107   assert(device != NULL);
108   assert(device->token != NULL);
109   assert((device->type == PIT8253) || (device->type == PIT8254));
110
111   return (pit8253_t *) device->token;
111112}
112113
113114
src/emu/machine/pit8253.h
r7462r7463
1010                    D5   3 |             | 22  _RD
1111                    D4   4 |             | 21  _CS
1212                    D3   5 |             | 20  A1
13                    D2   6 |             | 19  A0
14                    D1   7 |    8259A    | 18  CLK2
13                    D2   6 |    8253     | 19  A0
14                    D1   7 |             | 18  CLK2
1515                    D0   8 |             | 17  OUT2
1616                  CLK0   9 |             | 16  GATE2
1717                  OUT0  10 |             | 15  CLK1

Previous 15994 Revisions Next


© 1998-2018 The MESS Team