mirror of
https://github.com/holub/mame
synced 2025-05-13 17:38:21 +03:00
(MESS) bw2: Fixed floppy format and FDC clock. (nw)
This commit is contained in:
parent
d40e28b6d1
commit
b23b2a1060
@ -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 */
|
||||
{ // 340K 3 1/2 inch double density
|
||||
floppy_image::FF_35, floppy_image::SSDD,
|
||||
2000, 17, 80, 1, 256, {}, 0, {}, 100, 22, 20
|
||||
2000, 17, 80, 1, 256, {}, 0, {}, 80, 20, 22, 14
|
||||
},
|
||||
{ /* 360K 3 1/2 inch double density */
|
||||
{ // 360K 3 1/2 inch double density
|
||||
floppy_image::FF_35, floppy_image::SSDD,
|
||||
2000, 18, 80, 1, 256, {}, 0, {}, 100, 22, 20
|
||||
2000, 18, 80, 1, 256, {}, 0, {}, 80, 20, 22, 14
|
||||
},
|
||||
{}
|
||||
};
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user