Previous 15994 Revisions Next

r3828 Friday 12th December, 2008 at 11:45:04 UTC by Curt Coder
[EINSTEIN2] Fixed MC6845 calls.
[src/mess/drivers]einstein.c

src/mess/drivers/einstein.c
r3827r3828
301301
302302static WRITE8_HANDLER(einstein_80col_w)
303303{
304   const device_config *mc6845 = devtag_get_device(space->machine, MC6845, "crtc");
305
304306   switch (offset & 0x0f)
305307   {
306308      case 0:
r3827r3828
314316         einstein_80col_ram_w(space, offset,data);
315317         break;
316318      case 8:
317         mc6845_address_w( devtag_get_token(space->machine, MC6845, "crtc"), offset, data );
319         mc6845_address_w( mc6845, offset, data );
318320         break;
319321      case 9:
320         mc6845_register_w( devtag_get_token(space->machine, MC6845, "crtc"), offset, data );
322         mc6845_register_w( mc6845, offset, data );
321323         break;
322324      default:
323325         break;
r3827r3828
17031705
17041706static VIDEO_UPDATE( einstein2 )
17051707{
1706   const device_config *mc6845 = device_list_find_by_tag(screen->machine->config->devicelist, MC6845, "crtc");
1708   const device_config *mc6845 = devtag_get_device(screen->machine, MC6845, "crtc");
17071709
17081710   VIDEO_UPDATE_CALL(tms9928a);
17091711   mc6845_update(mc6845, bitmap, cliprect);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team