Previous 199869 Revisions Next

r34517 Wednesday 21st January, 2015 at 00:49:04 UTC by Robbbert
(MESS) excali64: switched over to the new fdc, it works (nw)
Also patched out the protection.
For reasons not yet understood, driver speed has gone from 500% to 20%.
[src/mess/drivers]excali64.c

trunk/src/mess/drivers/excali64.c
r243028r243029
1919
2020ToDo:
2121- Colours are approximate.
22- Disk controller, works with old wd17xx but crashes on new wd.
2322- Hardware supports 20cm and 13cm floppies, but we only support 13cm as this
2423  is the only software that exists.
2524- The schematic shows the audio counter connected to 2MHz, but this produces
r243028r243029
2928
3029****************************************************************************/
3130
32#define NEWFDC 0
31#define NEWFDC 1
3332
3433
3534#include "emu.h"
r243028r243029
252251FLOPPY_FORMATS_END
253252
254253static SLOT_INTERFACE_START( excali64_floppies )
255   SLOT_INTERFACE( "525dd", FLOPPY_525_DD )
254   SLOT_INTERFACE( "drive0", FLOPPY_525_QD )
255   SLOT_INTERFACE( "drive1", FLOPPY_525_QD )
256256SLOT_INTERFACE_END
257257#else
258258static LEGACY_FLOPPY_OPTIONS_START(excali64)
r243028r243029
654654#if NEWFDC
655655   MCFG_WD2793x_ADD("fdc", XTAL_16MHz / 16)
656656   MCFG_WD_FDC_DRQ_CALLBACK(DEVWRITELINE("dma", z80dma_device, rdy_w))
657   MCFG_FLOPPY_DRIVE_ADD("fdc:0", excali64_floppies, "525dd", excali64_state::floppy_formats)
658   MCFG_FLOPPY_DRIVE_ADD("fdc:1", excali64_floppies, "525dd", excali64_state::floppy_formats)
657   MCFG_FLOPPY_DRIVE_ADD("fdc:0", excali64_floppies, "drive0", excali64_state::floppy_formats)
658   MCFG_FLOPPY_DRIVE_ADD("fdc:1", excali64_floppies, "drive1", excali64_state::floppy_formats)
659659#else
660660   MCFG_DEVICE_ADD("fdc", WD2793, 0)
661661   MCFG_WD17XX_DEFAULT_DRIVE2_TAGS
r243028r243029
693693   ROM_FILL(0x4ef, 1, 8)
694694   ROM_FILL(0x4f6, 1, 0)
695695   ROM_FILL(0x4f7, 1, 8)
696   // patch out the protection
697   ROM_FILL(0x3ce7, 1, 0)
696698
697699   ROM_REGION(0x10000, "rambank", ROMREGION_ERASE00)
698700   ROM_REGION(0xA000, "videoram", ROMREGION_ERASE00)


Previous 199869 Revisions Next


© 1997-2024 The MAME Team