trunk/src/mess/drivers/wicat.c
| r26579 | r26580 | |
| 413 | 413 | 1 // first day |
| 414 | 414 | }; |
| 415 | 415 | |
| 416 | | struct rs232_port_interface wicat_serial_intf = |
| 416 | struct rs232_port_interface wicat_serial1_intf = |
| 417 | 417 | { |
| 418 | 418 | DEVCB_NULL, // RX out |
| 419 | | DEVCB_NULL, // DCD out |
| 420 | | DEVCB_NULL, // DSR out |
| 419 | DEVCB_DEVICE_LINE_MEMBER("uart1",mc2661_device,dcd_w), // DCD out |
| 420 | DEVCB_DEVICE_LINE_MEMBER("uart1",mc2661_device,dsr_w), // DSR out |
| 421 | 421 | DEVCB_NULL, // RI out |
| 422 | | DEVCB_NULL // CTS out |
| 422 | DEVCB_DEVICE_LINE_MEMBER("uart1",mc2661_device,cts_w) // CTS out |
| 423 | 423 | }; |
| 424 | 424 | |
| 425 | struct rs232_port_interface wicat_serial2_intf = |
| 426 | { |
| 427 | DEVCB_NULL, // RX out |
| 428 | DEVCB_DEVICE_LINE_MEMBER("uart2",mc2661_device,dcd_w), // DCD out |
| 429 | DEVCB_DEVICE_LINE_MEMBER("uart2",mc2661_device,dsr_w), // DSR out |
| 430 | DEVCB_NULL, // RI out |
| 431 | DEVCB_DEVICE_LINE_MEMBER("uart2",mc2661_device,cts_w) // CTS out |
| 432 | }; |
| 433 | |
| 434 | struct rs232_port_interface wicat_serial3_intf = |
| 435 | { |
| 436 | DEVCB_NULL, // RX out |
| 437 | DEVCB_DEVICE_LINE_MEMBER("uart3",mc2661_device,dcd_w), // DCD out |
| 438 | DEVCB_DEVICE_LINE_MEMBER("uart3",mc2661_device,dsr_w), // DSR out |
| 439 | DEVCB_NULL, // RI out |
| 440 | DEVCB_DEVICE_LINE_MEMBER("uart3",mc2661_device,cts_w) // CTS out |
| 441 | }; |
| 442 | |
| 443 | struct rs232_port_interface wicat_serial4_intf = |
| 444 | { |
| 445 | DEVCB_NULL, // RX out |
| 446 | DEVCB_DEVICE_LINE_MEMBER("uart4",mc2661_device,dcd_w), // DCD out |
| 447 | DEVCB_DEVICE_LINE_MEMBER("uart4",mc2661_device,dsr_w), // DSR out |
| 448 | DEVCB_NULL, // RI out |
| 449 | DEVCB_DEVICE_LINE_MEMBER("uart4",mc2661_device,cts_w) // CTS out |
| 450 | }; |
| 451 | |
| 452 | struct rs232_port_interface wicat_serial5_intf = |
| 453 | { |
| 454 | DEVCB_NULL, // RX out |
| 455 | DEVCB_DEVICE_LINE_MEMBER("uart5",mc2661_device,dcd_w), // DCD out |
| 456 | DEVCB_DEVICE_LINE_MEMBER("uart5",mc2661_device,dsr_w), // DSR out |
| 457 | DEVCB_NULL, // RI out |
| 458 | DEVCB_DEVICE_LINE_MEMBER("uart5",mc2661_device,cts_w) // CTS out |
| 459 | }; |
| 460 | |
| 425 | 461 | AM9517A_INTERFACE( wicat_videodma_intf ) |
| 426 | 462 | { |
| 427 | 463 | DEVCB_NULL, // m_out_hreq_cb; |
| r26579 | r26580 | |
| 452 | 488 | MCFG_MC2661_ADD("uart5", XTAL_5_0688MHz, wicat_uart5_intf) |
| 453 | 489 | MCFG_MC2661_ADD("uart6", XTAL_5_0688MHz, wicat_uart6_intf) // connected to modem port |
| 454 | 490 | |
| 455 | | MCFG_RS232_PORT_ADD("serial1",wicat_serial_intf,default_rs232_devices,NULL) |
| 456 | | MCFG_RS232_PORT_ADD("serial2",wicat_serial_intf,default_rs232_devices,NULL) |
| 457 | | MCFG_RS232_PORT_ADD("serial3",wicat_serial_intf,default_rs232_devices,NULL) |
| 458 | | MCFG_RS232_PORT_ADD("serial4",wicat_serial_intf,default_rs232_devices,NULL) |
| 459 | | MCFG_RS232_PORT_ADD("serial5",wicat_serial_intf,default_rs232_devices,NULL) |
| 491 | MCFG_RS232_PORT_ADD("serial1",wicat_serial1_intf,default_rs232_devices,NULL) |
| 492 | MCFG_RS232_PORT_ADD("serial2",wicat_serial2_intf,default_rs232_devices,NULL) |
| 493 | MCFG_RS232_PORT_ADD("serial3",wicat_serial3_intf,default_rs232_devices,NULL) |
| 494 | MCFG_RS232_PORT_ADD("serial4",wicat_serial4_intf,default_rs232_devices,NULL) |
| 495 | MCFG_RS232_PORT_ADD("serial5",wicat_serial5_intf,default_rs232_devices,NULL) |
| 460 | 496 | |
| 461 | 497 | /* video hardware */ |
| 462 | 498 | MCFG_CPU_ADD("videocpu",Z8002,XTAL_8MHz) // AMD AMZ8002DC |