Previous 15994 Revisions Next

r6952 Wednesday 6th January, 2010 at 11:56:53 UTC by Miodrag Milanović
[AT] Fixed multi session issue with at386, reset works now too.
[src/mess/machine]at.c

src/mess/machine/at.c
r6951r6952
3939#define LOG_KBDC   0
4040
4141static const SOUNDBLASTER_CONFIG soundblaster = { 1,5, {1,0} };
42static int poll_delay;
4243
4344
4445/*************************************************************
r6951r6952
512513   cputag_set_input_line(space->machine, "maincpu", INPUT_LINE_RESET, ( data & 0x01 ) ? CLEAR_LINE : ASSERT_LINE );
513514
514515   /* OPT BUF FULL is connected to IR1 on the master 8259 */
515   if ( st->pic8259_master )
516   if ( st->pic8259_master)
516517      pic8259_set_irq_line(st->pic8259_master, 1, ( data & 0x10 ) ? ASSERT_LINE : CLEAR_LINE );
517518
518519   at_kbdc8042.clock_signal = ( data & 0x40 ) ? 0 : 1;
r6951r6952
563564
564565READ8_HANDLER(at_kbdc8042_r)
565566{
566   static int poll_delay = 4;
567567    UINT8 data = 0;
568568   at_state *st = space->machine->driver_data;
569569
r6951r6952
765765   st->pit8254 = devtag_get_device(machine, "pit8254");
766766   pc_mouse_set_serial_port( devtag_get_device(machine, "ns16450_0") );
767767   pc_hdc_set_dma8237_device( st->dma8237_1 );
768   poll_delay = 4;
768769}

Previous 15994 Revisions Next


© 1998-2018 The MESS Team