Previous 15994 Revisions Next

r6828 Wednesday 30th December, 2009 at 14:11:59 UTC by Miodrag Milanović
[TI99] Fixed errors on specific dip switch settings
[src/mess/drivers]ti99_4x.c
[src/mess/machine]99_dsk.c

src/mess/machine/99_dsk.c
r6827r6828
456456   use_80_track_drives = FALSE;
457457
458458   ti99_peb_set_card_handlers(0x1100, & fdc_handlers);
459   wd17xx_reset(fdc);      /* resets the fdc */
460   wd17xx_set_density(fdc,DEN_FM_LO);
459   if (fdc) {
460      wd17xx_reset(fdc);      /* resets the fdc */
461      wd17xx_set_density(fdc,DEN_FM_LO);
462   }
461463}
462464
463465/*
src/mess/drivers/ti99_4x.c
r6827r6828
295295
296296
297297   /* 3 ports for mouse */
298   PORT_START("MOUSE0") /* Mouse - X AXIS */
298   PORT_START("MOUSEX") /* Mouse - X AXIS */
299299      PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_X) PORT_SENSITIVITY(100) PORT_KEYDELTA(0) PORT_PLAYER(1)
300300
301   PORT_START("MOUSE1") /* Mouse - Y AXIS */
301   PORT_START("MOUSEY") /* Mouse - Y AXIS */
302302      PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_Y) PORT_SENSITIVITY(100) PORT_KEYDELTA(0) PORT_PLAYER(1)
303303
304   PORT_START("MOUSE2") /* Mouse - buttons */
304   PORT_START("MOUSE0") /* Mouse - buttons */
305305      PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_PLAYER(1)
306306      PORT_BIT(0x0002, IP_ACTIVE_HIGH, IPT_BUTTON2) PORT_PLAYER(1)
307307
308
309308   /* 4 ports for keyboard and joystick */
310309   PORT_START("KEY0")   /* col 0 */
311310      PORT_BIT(0x0080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("1 !") PORT_CODE(KEYCODE_1) PORT_CHAR('1') PORT_CHAR('!')

Previous 15994 Revisions Next


© 1998-2018 The MESS Team