mirror of
https://github.com/holub/mame
synced 2025-07-03 17:08:39 +03:00
gimix: corrected FDC clock, Gimix Flex 4.3 is now bootable.
This commit is contained in:
parent
3c8173afd7
commit
a57151a7da
@ -42,7 +42,7 @@ bool flex_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
|
|||||||
{
|
{
|
||||||
int spt = info.last_sec;
|
int spt = info.last_sec;
|
||||||
int bps = 256;
|
int bps = 256;
|
||||||
int cell_count = 100000;
|
int cell_count = 50000;
|
||||||
int offset = 0;
|
int offset = 0;
|
||||||
int head_num = 1;
|
int head_num = 1;
|
||||||
int total_tracks = info.last_trk+1;
|
int total_tracks = info.last_trk+1;
|
||||||
@ -56,6 +56,8 @@ bool flex_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
|
|||||||
double_sided = true;
|
double_sided = true;
|
||||||
if(total_tracks == 80 && spt == 72) // 1.44MB
|
if(total_tracks == 80 && spt == 72) // 1.44MB
|
||||||
double_sided = true;
|
double_sided = true;
|
||||||
|
if(spt >= 20)
|
||||||
|
double_sided = true;
|
||||||
|
|
||||||
if(double_sided)
|
if(double_sided)
|
||||||
{
|
{
|
||||||
|
@ -542,7 +542,7 @@ static MACHINE_CONFIG_START( gimix, gimix_state )
|
|||||||
MCFG_PTM6840_IRQ_CB(WRITELINE(gimix_state,irq_w)) // PCB pictures show both the RTC and timer set to generate IRQs (are jumper configurable)
|
MCFG_PTM6840_IRQ_CB(WRITELINE(gimix_state,irq_w)) // PCB pictures show both the RTC and timer set to generate IRQs (are jumper configurable)
|
||||||
|
|
||||||
/* floppy disks */
|
/* floppy disks */
|
||||||
MCFG_FD1797x_ADD("fdc",XTAL_8MHz / 4)
|
MCFG_FD1797x_ADD("fdc",XTAL_8MHz / 8)
|
||||||
MCFG_WD_FDC_INTRQ_CALLBACK(WRITELINE(gimix_state,fdc_irq_w))
|
MCFG_WD_FDC_INTRQ_CALLBACK(WRITELINE(gimix_state,fdc_irq_w))
|
||||||
MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(gimix_state,fdc_drq_w))
|
MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(gimix_state,fdc_drq_w))
|
||||||
MCFG_WD_FDC_FORCE_READY
|
MCFG_WD_FDC_FORCE_READY
|
||||||
|
Loading…
Reference in New Issue
Block a user