Previous 15994 Revisions Next

r2647 Saturday 17th May, 2008 at 15:15:24 UTC by Nathan Woods
[COCO] Minor cleanups, as per bug #1608
[src/mess/machine]coco.c

src/mess/machine/coco.c
r2646r2647
100100#include "devices/cococart.h"
101101
102102
103/***************************************************************************
104    PARAMETERS
105***************************************************************************/
106
107#define JOYSTICK_MUX_DELAY            ATTOTIME_IN_USEC(16)
108
109
110
111/***************************************************************************
112    LOCAL VARIABLES / PROTOTYPES
113***************************************************************************/
114
103115/*common vars/calls */
104116static UINT8 *coco_rom;
105117static int dclg_state, dclg_output_h, dclg_output_v, dclg_timer;
r2646r2647
387399
388400
389401/***************************************************************************
402    IMPLEMENTATION
403***************************************************************************/
404
405/***************************************************************************
390406  PAK files
391407
392408  PAK files were originally for storing Program PAKs, but the file format has
r2646r2647
12401256
12411257static WRITE8_HANDLER ( d_pia0_ca2_w )
12421258{
1243   timer_adjust_oneshot(mux_sel1_timer, ATTOTIME_IN_USEC(16), data);
1259   timer_adjust_oneshot(mux_sel1_timer, JOYSTICK_MUX_DELAY, data);
12441260}
12451261
12461262static TIMER_CALLBACK(coco_update_sel1_timerproc)
12471263{
1248   mux_sel1 = param;;
1264   mux_sel1 = param;
12491265   (*update_keyboard)(machine);
12501266   soundmux_update();
12511267}
12521268
12531269static WRITE8_HANDLER ( d_pia0_cb2_w )
12541270{
1255   timer_adjust_oneshot(mux_sel2_timer, ATTOTIME_IN_USEC(16), data);
1271   timer_adjust_oneshot(mux_sel2_timer, JOYSTICK_MUX_DELAY, data);
12561272}
12571273
12581274static TIMER_CALLBACK(coco_update_sel2_timerproc)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team