(MESS) bw2: Fixed floppy format and FDC clock. (nw)

This commit is contained in:
Curt Coder 2012-11-29 19:01:35 +00:00
parent d40e28b6d1
commit b23b2a1060
3 changed files with 10 additions and 11 deletions

View File

@ -42,7 +42,7 @@
#include "emu.h"
#include "formats/bw2_dsk.h"
bw2_format::bw2_format() : wd177x_format(formats)
bw2_format::bw2_format() : upd765_format(formats)
{
}
@ -61,15 +61,14 @@ const char *bw2_format::extensions() const
return "dsk";
}
// Unverified gap sizes
const bw2_format::format bw2_format::formats[] = {
{ /* 340K 3 1/2 inch double density */
floppy_image::FF_35, floppy_image::SSDD,
2000, 17, 80, 1, 256, {}, 0, {}, 100, 22, 20
{ // 340K 3 1/2 inch double density
floppy_image::FF_35, floppy_image::SSDD,
2000, 17, 80, 1, 256, {}, 0, {}, 80, 20, 22, 14
},
{ /* 360K 3 1/2 inch double density */
floppy_image::FF_35, floppy_image::SSDD,
2000, 18, 80, 1, 256, {}, 0, {}, 100, 22, 20
{ // 360K 3 1/2 inch double density
floppy_image::FF_35, floppy_image::SSDD,
2000, 18, 80, 1, 256, {}, 0, {}, 80, 20, 22, 14
},
{}
};

View File

@ -9,9 +9,9 @@
#ifndef BW2_DSK_H_
#define BW2_DSK_H_
#include "wd177x_dsk.h"
#include "upd765_dsk.h"
class bw2_format : public wd177x_format {
class bw2_format : public upd765_format {
public:
bw2_format();

View File

@ -649,7 +649,7 @@ static MACHINE_CONFIG_START( bw2, bw2_state )
MCFG_MSM6255_ADD(MSM6255_TAG, XTAL_16MHz, 0, SCREEN_TAG, lcdc_map)
MCFG_CENTRONICS_PRINTER_ADD(CENTRONICS_TAG, standard_centronics)
MCFG_I8251_ADD(I8251_TAG, default_i8251_interface)
MCFG_WD2797x_ADD(WD2797_TAG, XTAL_16MHz/16*8)
MCFG_WD2797x_ADD(WD2797_TAG, XTAL_16MHz/8)
MCFG_FLOPPY_DRIVE_ADD(WD2797_TAG":0", bw2_floppies, "35dd", NULL, bw2_state::floppy_formats)
MCFG_FLOPPY_DRIVE_ADD(WD2797_TAG":1", bw2_floppies, NULL, NULL, bw2_state::floppy_formats)
MCFG_BW2_EXPANSION_SLOT_ADD(BW2_EXPANSION_SLOT_TAG, XTAL_16MHz, bw2_expansion_cards, NULL, NULL)