trunk/src/mess/drivers/ie15.c
r241509 | r241510 | |
63 | 63 | virtual void machine_reset(); |
64 | 64 | virtual void video_start(); |
65 | 65 | UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
66 | | UINT32 screen_update_hle(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
67 | 66 | TIMER_DEVICE_CALLBACK_MEMBER( scanline_callback ); |
68 | 67 | DECLARE_WRITE16_MEMBER( kbd_put ); |
| 68 | DECLARE_PALETTE_INIT( ie15 ); |
69 | 69 | |
70 | 70 | DECLARE_WRITE_LINE_MEMBER( serial_rx_callback ); |
71 | 71 | virtual void rcv_complete(); |
r241509 | r241510 | |
600 | 600 | GFXDECODE_ENTRY("chargen", 0x0000, ie15_charlayout, 0, 1) |
601 | 601 | GFXDECODE_END |
602 | 602 | |
| 603 | PALETTE_INIT_MEMBER( ie15_state, ie15 ) |
| 604 | { |
| 605 | palette.set_pen_color(0, rgb_t::black); // black |
| 606 | palette.set_pen_color(1, 0x00, 0xc0, 0x00); // green |
| 607 | } |
| 608 | |
603 | 609 | static MACHINE_CONFIG_START( ie15, ie15_state ) |
604 | 610 | /* Basic machine hardware */ |
605 | 611 | MCFG_CPU_ADD("maincpu", IE15, XTAL_30_8MHz / 10) |
r241509 | r241510 | |
625 | 631 | MCFG_DEVICE_ADD("keyboard", IE15_KEYBOARD, 0) |
626 | 632 | MCFG_IE15_KEYBOARD_CB(WRITE16(ie15_state, kbd_put)) |
627 | 633 | |
628 | | MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, NULL) |
| 634 | MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, "null_modem") |
629 | 635 | MCFG_RS232_RXD_HANDLER(WRITELINE(ie15_state, serial_rx_callback)) |
630 | | MCFG_DEVICE_MODIFY("rs232") |
631 | | MCFG_SLOT_DEFAULT_OPTION("null_modem") |
632 | 636 | |
633 | 637 | MCFG_SPEAKER_STANDARD_MONO("mono") |
634 | 638 | MCFG_SOUND_ADD("beeper", BEEP, 0) |