Previous 15994 Revisions Next

r5740 Wednesday 16th September, 2009 at 10:54:04 UTC by Roberto Zandonà
[C64] different RAM initialization for avoid the check of Cyberload loader routine
[src/mess/machine]c64.c

src/mess/machine/c64.c
r5739r5740
819819      vic6567_init(0, c64_pal, c64_dma_read_ultimax, c64_dma_read_color, c64_vic_interrupt);
820820   else
821821      vic6567_init(0, c64_pal, c64_dma_read, c64_dma_read_color, c64_vic_interrupt);
822
823   // "cyberload" tape loader check the e000-ffff ram; the init ram need to return different value
824   {
825      int i;
826      for (i = 0; i < 0x2000; i += 0x40)
827         memset(c64_memory + (0xe000 + i), ((i & 0x40) >> 6) * 0xff, 0x40);
828   }
822829}
823830
824831DRIVER_INIT( c64 )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team