Previous 15994 Revisions Next

r4083 Wednesday 7th January, 2009 at 07:55:00 UTC by Roberto Zandonà
[C64] fixed cia1; now keyboard and turbo loading is working (thre're other issues probably related to sid)
[src/mess/machine]c64.c

src/mess/machine/c64.c
r4082r4083
469469{
470470   running_machine *machine = space->machine;
471471   const device_config *cia_0 = device_list_find_by_tag(space->machine->config->devicelist, CIA6526R1, "cia_0");
472   const device_config *cia_1 = device_list_find_by_tag(space->machine->config->devicelist, CIA6526R1, "cia_1");
472473
473474   c64_io_mirror[ offset ] = data;
474475   if (offset < 0x400) {
r4082r4083
482483   else if (offset < 0xe00)
483484   {
484485      if (c64_cia1_on)
485         cia_w(cia_0, offset, data);
486         cia_w(cia_1, offset, data);
486487      else
487488         DBG_LOG (1, "io write", ("%.3x %.2x\n", offset, data));
488489   }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team