Previous 199869 Revisions Next

r22699 Wednesday 8th May, 2013 at 11:23:49 UTC by Robbbert
(MESS) D6800: Added Dreamsoft bios
[src/mess/drivers]d6800.c

trunk/src/mess/drivers/d6800.c
r22698r22699
106106   AM_RANGE(0x0100, 0x01ff) AM_RAM AM_SHARE("videoram")
107107   AM_RANGE(0x0200, 0x0fff) AM_RAM
108108   AM_RANGE(0x8010, 0x8013) AM_DEVREADWRITE("pia", pia6821_device, read, write)
109   AM_RANGE(0xc000, 0xc3ff) AM_MIRROR(0x3c00) AM_ROM
109   AM_RANGE(0xc000, 0xc7ff) AM_MIRROR(0x3800) AM_ROM
110110ADDRESS_MAP_END
111111
112112/* Input Ports */
r22698r22699
260260   /*
261261        A NE556 runs at either 1200 or 2400 Hz, depending on the state of bit 0.
262262        This output drives the speaker and the output signal to the cassette player.
263        Bit 6 enables the speaker.
263        Bit 6 enables the speaker. Also the speaker is silenced when cassette operations
264        are in progress (DMA/CB2 line low).
264265   */
265266
266267   m_cass->output(BIT(data, 0) ? -1.0 : +1.0);
267268   m_beeper->set_frequency(BIT(data, 0) ? 2400 : 1200);
268   m_beeper->set_state(BIT(data, 6));
269   m_beeper->set_state(BIT(data, 6) & m_screen_on);
269270
270271   m_portb = data;
271272}
r22698r22699
416417   MCFG_TIMER_DRIVER_ADD_PERIODIC("d6800_p", d6800_state, d6800_p, attotime::from_hz(40000))
417418
418419   /* quickload */
419   MCFG_QUICKLOAD_ADD("quickload", d6800_state, d6800, "c8", 1)
420   MCFG_QUICKLOAD_ADD("quickload", d6800_state, d6800, "c8,ch8", 1)
420421MACHINE_CONFIG_END
421422
422423/* ROMs */
423424
424425ROM_START( d6800 )
425426   ROM_REGION( 0x10000, "maincpu", 0 )
426   ROM_LOAD( "d6800.bin", 0xc000, 0x0400, CRC(3f97ca2e) SHA1(60f26e57a058262b30befceceab4363a5d65d877) )
427   ROM_SYSTEM_BIOS(0, "0", "Original")
428   ROMX_LOAD( "d6800.bin", 0xc000, 0x0400, CRC(3f97ca2e) SHA1(60f26e57a058262b30befceceab4363a5d65d877), ROM_BIOS(1) )
429   ROMX_LOAD( "d6800.bin", 0xc400, 0x0400, CRC(3f97ca2e) SHA1(60f26e57a058262b30befceceab4363a5d65d877), ROM_BIOS(1) )
430   ROM_SYSTEM_BIOS(1, "1", "Dreamsoft")
431   ROMX_LOAD( "d6800.bin", 0xc000, 0x0800, CRC(ded5712f) SHA1(f594f313a74d7135c9fdd0bcb0093fc5771a9b7d), ROM_BIOS(2) )
427432ROM_END
428433
429/*    YEAR  NAME   PARENT  COMPAT  MACHINE   INPUT       INIT        COMPANY             FULLNAME      FLAGS */
430COMP( 1979, d6800, 0,      0,      d6800,    d6800, driver_device,      0,   "Electronics Australia", "Dream 6800", GAME_NOT_WORKING )
434/*    YEAR  NAME   PARENT  COMPAT  MACHINE   INPUT  CLASS,          INIT      COMPANY        FULLNAME      FLAGS */
435COMP( 1979, d6800, 0,      0,      d6800,    d6800, driver_device,   0,   "Michael Bauer", "Dream 6800", GAME_NOT_WORKING )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team