Previous 15994 Revisions Next

r9080 Thursday 9th September, 2010 at 16:30:40 UTC by Curt Coder
[CONKORT] Added drive select, side select, motor on signals.
[src/mess/drivers]abc80x.c
[src/mess/machine]abcbus.c conkort.c

src/mess/machine/conkort.c
r9079r9080
177177    Fast Controller
178178    ---------------
179179   - status bit 0
180   - drive select
181   - side select
182   - motor on
183180
184181*/
185182
r9079r9080
614611
615612      bit      description
616613
617      0     
618      1     
619      2     
620      3     
621      4     
622      5     
614      0      _MOTEA
615      1      _DRVSB
616      2      _DRVSA
617      3      _MOTEB
618      4      ?
619      5      _SIDE1
623620      6
624621      7
625622
626623   */
627624
625   fast_t *conkort = get_safe_token_fast(device->owner());
626
627   /* motor enable */
628   floppy_mon_w(conkort->image0, !BIT(data, 0));
629   floppy_mon_w(conkort->image1, !BIT(data, 3));
630   floppy_drive_set_ready_state(conkort->image0, 1, 1);
631   floppy_drive_set_ready_state(conkort->image1, 1, 1);
632
633   /* drive select */
634   if (BIT(data, 2)) wd17xx_set_drive(device, 0);
635   if (BIT(data, 1)) wd17xx_set_drive(device, 1);
636
628637   /* side select */
629   //wd17xx_set_side(device, BIT(data, 3));
638   wd17xx_set_side(device, BIT(data, 5));
630639}
631640
632641static WRITE8_DEVICE_HANDLER( fast_8a_w )
src/mess/machine/abcbus.c
r9079r9080
8484   abcbus_t *abcbus = get_safe_token(device);
8585   abcbus_daisy_state *daisy = abcbus->daisy_state;
8686
87   if (LOG) logerror("ABCBUS: '%s' RST\n", device->tag());
88
8789   for ( ; daisy != NULL; daisy = daisy->next)
8890   {
8991      devcb_call_write_line(&daisy->out_rst_func, 0);
src/mess/drivers/abc80x.c
r9079r9080
8585Notes:
8686    All IC's shown.
8787
88    8048        - National Semiconductor 8048 MCU
88    8048        - National Semiconductor INS8048 MCU "8048-132"
8989    22-008-03   - Exar Semiconductor XR22-008-03 keyboard matrix amplifier latch
9090    22-050-3B   - Exar Semiconductor XR22-050-3B keyboard matrix driver with 4 to 12 decoder/demultiplexer
9191    XTAL        - Luxor part number 48-300-06
r9079r9080
10121012
10131013static ABCBUS_DAISY( abcbus_daisy )
10141014{
1015//  { LUXOR_55_21046_ABCBUS("abc830") },
1015   { LUXOR_55_21046_ABCBUS("abc830") },
10161016   { NULL }
10171017};
10181018

Previous 15994 Revisions Next


© 1998-2018 The MESS Team