Previous 15994 Revisions Next

r3247 Friday 12th September, 2008 at 18:15:22 UTC by Fabio Priuli
[SX64] Enabled VC1541 CPU, floppy emulation is non-existent but it doesn't crash anymore
[src/mess/drivers]c64.c
[src/mess/machine]c16.c c64.c

src/mess/machine/c16.c
r3246r3247
6868static UINT8 *c16_memory_28000;
6969static UINT8 *c16_memory_2c000;
7070
71int has_c1551 = 0, has_vc1541 = 0, has_iec8 = 0, has_iec9 = 0; // Notice that iec8 & iec9 have never been implemented
71static int has_c1551 = 0, has_vc1541 = 0, has_iec8 = 0, has_iec9 = 0; // Notice that iec8 & iec9 have never been implemented
7272
7373static UINT8 read_cfg1(running_machine *machine)
7474{
src/mess/machine/c64.c
r3246r3247
8585int c64_tape_on = 1;
8686static int c64_cia1_on = 1;
8787static int c64_io_enabled = 0;
88static int is_sx64 = 0;   // temporary workaround until we implement full vc1541 emulation for every c64 set
8889
89
9090static UINT8 serial_clock, serial_data, serial_atn;
9191static UINT8 vicirq = 0;
9292
r3246r3247
10471047DRIVER_INIT( sx64 )
10481048{
10491049   VC1541_CONFIG vc1541 = { 1, 8 };
1050   is_sx64 = 1;
10501051   c64_tape_on = 0;
10511052   c64_pal = 1;
10521053   c64_common_driver_init (machine);
r3246r3247
10551056
10561057void c64_common_init_machine (running_machine *machine)
10571058{
1058#ifdef VC1541
1059   vc1541_reset ();
1060#endif
1059   if (is_sx64)
1060      vc1541_reset ();
10611061
10621062   if (c64_cia1_on)
10631063   {
src/mess/drivers/c64.c
r3246r3247
581581
582582static MACHINE_DRIVER_START( sx64 )
583583   MDRV_IMPORT_FROM( c64pal )
584//   MDRV_IMPORT_FROM( cpu_vc1541 )
584   MDRV_IMPORT_FROM( cpu_vc1541 )
585585   MDRV_SOUND_REMOVE( "dac" )
586586   MDRV_CASSETTE_REMOVE( "cassette" )
587587#ifdef CPU_SYNC

Previous 15994 Revisions Next


© 1998-2018 The MESS Team