The Tandy machines now add a FDC with port 3F7 with the disk change line, fixes #1340.
This commit is contained in:
@@ -2376,6 +2376,16 @@ const device_t fdc_xt_amstrad_device = {
|
|||||||
{ NULL }, NULL, NULL
|
{ NULL }, NULL, NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const device_t fdc_xt_tandy_device = {
|
||||||
|
"PC/XT Floppy Drive Controller (Tandy)",
|
||||||
|
0,
|
||||||
|
FDC_FLAG_AMSTRAD,
|
||||||
|
fdc_init,
|
||||||
|
fdc_close,
|
||||||
|
fdc_reset,
|
||||||
|
{ NULL }, NULL, NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
const device_t fdc_pcjr_device = {
|
const device_t fdc_pcjr_device = {
|
||||||
"PCjr Floppy Drive Controller",
|
"PCjr Floppy Drive Controller",
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ extern uint8_t fdc_get_current_drive(void);
|
|||||||
#ifdef EMU_DEVICE_H
|
#ifdef EMU_DEVICE_H
|
||||||
extern const device_t fdc_xt_device;
|
extern const device_t fdc_xt_device;
|
||||||
extern const device_t fdc_xt_t1x00_device;
|
extern const device_t fdc_xt_t1x00_device;
|
||||||
|
extern const device_t fdc_xt_tandy_device;
|
||||||
extern const device_t fdc_xt_amstrad_device;
|
extern const device_t fdc_xt_amstrad_device;
|
||||||
extern const device_t fdc_pcjr_device;
|
extern const device_t fdc_pcjr_device;
|
||||||
extern const device_t fdc_at_device;
|
extern const device_t fdc_at_device;
|
||||||
|
|||||||
@@ -1501,7 +1501,7 @@ machine_tandy1k_init(const machine_t *model, int type)
|
|||||||
device_add(&keyboard_tandy_device);
|
device_add(&keyboard_tandy_device);
|
||||||
|
|
||||||
if (fdc_type == FDC_INTERNAL)
|
if (fdc_type == FDC_INTERNAL)
|
||||||
device_add(&fdc_xt_device);
|
device_add(&fdc_xt_tandy_device);
|
||||||
|
|
||||||
switch(type) {
|
switch(type) {
|
||||||
case TYPE_TANDY:
|
case TYPE_TANDY:
|
||||||
|
|||||||
Reference in New Issue
Block a user