mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
cleanup/bbcm fix (nw)
This commit is contained in:
parent
d08d7c094d
commit
1872750247
@ -31,19 +31,19 @@ const char *bbc_format::extensions() const
|
||||
|
||||
const bbc_format::format bbc_format::formats[] =
|
||||
{
|
||||
{ // 100k single sided single density
|
||||
{ // 100k single sided single density
|
||||
floppy_image::FF_525, floppy_image::SSSD, floppy_image::FM,
|
||||
4000, 10, 40, 1, 256, {}, 0, {}, 16, 11, 19
|
||||
},
|
||||
{ // 200k double sided single density
|
||||
{ // 200k double sided single density
|
||||
floppy_image::FF_525, floppy_image::DSSD, floppy_image::FM,
|
||||
4000, 10, 40, 2, 256, {}, 0, {}, 16, 11, 19
|
||||
},
|
||||
{ // 200k single sided double density
|
||||
{ // 200k single sided double density
|
||||
floppy_image::FF_525, floppy_image::SSQD, floppy_image::FM,
|
||||
4000, 10, 80, 1, 256, {}, 0, {}, 16, 11, 19
|
||||
},
|
||||
{ // 400k double sided double density
|
||||
{ // 400k double sided double density
|
||||
floppy_image::FF_525, floppy_image::DSQD, floppy_image::FM,
|
||||
4000, 10, 80, 2, 256, {}, 0, {}, 16, 11, 19
|
||||
},
|
||||
|
@ -1576,7 +1576,7 @@ void bbc_state::bbc_update_fdq_int(int state)
|
||||
/* do not trigger int */
|
||||
bbc_state = 0;
|
||||
}
|
||||
//printf("bbc_state %d prev %d\n", bbc_state, m_previous_wd177x_int_state);
|
||||
|
||||
/* nmi is edge triggered, and triggers when the state goes from clear->set.
|
||||
Here we are checking this transition before triggering the nmi */
|
||||
if (bbc_state!=m_previous_wd177x_int_state)
|
||||
@ -1594,7 +1594,6 @@ void bbc_state::bbc_update_fdq_int(int state)
|
||||
|
||||
WRITE_LINE_MEMBER(bbc_state::bbc_wd177x_intrq_w)
|
||||
{
|
||||
//printf("bbc_wd177x_intrq_w %d \n", state);
|
||||
m_wd177x_irq_state = state;
|
||||
bbc_update_fdq_int(state);
|
||||
}
|
||||
@ -1891,6 +1890,8 @@ WRITE8_MEMBER(bbc_state::bbcm_wd1770l_write)
|
||||
if (BIT(data, 0)) floppy = floppy0;
|
||||
if (BIT(data, 1)) floppy = floppy1;
|
||||
|
||||
fdc->set_floppy(floppy);
|
||||
|
||||
// bit 4: side select
|
||||
if (floppy)
|
||||
floppy->ss_w(BIT(data, 4));
|
||||
|
Loading…
Reference in New Issue
Block a user