mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
Fix validation and booting of cpc drivers (no whatsnew)
This commit is contained in:
parent
076063767d
commit
1f92cf5430
@ -1026,6 +1026,7 @@ static MACHINE_CONFIG_DERIVED( aleste, amstrad )
|
||||
MCFG_PALETTE_INIT_OVERRIDE(amstrad_state,aleste)
|
||||
MCFG_MC146818_ADD( "rtc", MC146818_IGNORE_CENTURY )
|
||||
|
||||
MCFG_DEVICE_REMOVE("upd765")
|
||||
MCFG_I8272A_ADD("upd765", true)
|
||||
|
||||
MCFG_FLOPPY_DRIVE_ADD("upd765:0", aleste_floppies, "525hd", 0, aleste_floppy_formats)
|
||||
|
@ -2118,10 +2118,10 @@ The exception is the case where none of b7-b0 are reset (i.e. port &FBFF), which
|
||||
* "1" the FDD motor will be active.
|
||||
* "0" the FDD motor will be in-active.*/
|
||||
floppy_image_device *floppy;
|
||||
floppy = machine().device<floppy_connector>(":upd765a:0")->get_device();
|
||||
floppy = machine().device<floppy_connector>(":upd765:0")->get_device();
|
||||
if(floppy)
|
||||
floppy->mon_w(!BIT(data, 0));
|
||||
floppy = machine().device<floppy_connector>(":upd765a:1")->get_device();
|
||||
floppy = machine().device<floppy_connector>(":upd765:1")->get_device();
|
||||
if(floppy)
|
||||
floppy->mon_w(!BIT(data, 0));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user