static MACHINE_INIT( trvquest ) { via_config(0, &via_0_interface); via_config(1, &via_1_interface); via_config(2, &via_2_interface); via_reset(); }
static MACHINE_INIT( gameplan ) { via_config(0, &via_0_interface); via_config(1, &via_1_interface); via_config(2, &via_2_interface); via_reset(); r6532_init(0, &r6532_interface); }
static void vc20_common_driver_init (void) { #ifdef VC1541 VC1541_CONFIG vc1541= { 1, 8 }; #endif vc20_memory_init(); vc20_tape_open (via_1_ca1_w); #ifdef VC1541 vc1541_config (0, 0, &vc1541); #endif via_config (0, &via0); via_config (1, &via1); }
static void pet_common_driver_init (void) { int i; /* BIG HACK; need to phase out this retarded memory management */ if (!pet_memory) pet_memory = mess_ram; memory_install_read8_handler(0, ADDRESS_SPACE_PROGRAM, 0x0000, mess_ram_size - 1, 0, 0, MRA8_BANK10); memory_install_write8_handler(0, ADDRESS_SPACE_PROGRAM, 0x0000, mess_ram_size - 1, 0, 0, MWA8_BANK10); memory_set_bankptr(10, pet_memory); if (mess_ram_size < 0x8000) { memory_install_read8_handler(0, ADDRESS_SPACE_PROGRAM, mess_ram_size, 0x7FFF, 0, 0, MRA8_NOP); memory_install_write8_handler(0, ADDRESS_SPACE_PROGRAM, mess_ram_size, 0x7FFF, 0, 0, MWA8_NOP); } /* 2114 poweron ? 64 x 0xff, 64x 0, and so on */ for (i = 0; i < mess_ram_size; i += 0x40) { memset (pet_memory + i, i & 0x40 ? 0 : 0xff, 0x40); } /* pet clock */ timer_pulse(0.01, 0, pet_interrupt); via_config(0,&pet_via); pia_config(0,PIA_STANDARD_ORDERING,&pet_pia0); pia_config(1,PIA_STANDARD_ORDERING,&pet_pia1); cbm_ieee_open(); }
ROM_END static DRIVER_INIT(bmcbowl) { via_config(0, &via_interface); via_set_clock(0, 1000000);//1 MHz ? colorram=auto_malloc(768); }
static MACHINE_START( trvquest ) { via_config(1, &via_1_interface); via_config(2, &via_2_interface); }
static DRIVER_INIT( ssystem3 ) { via_config(0,&config); }