amstrad.cpp: Use standard list of slot options for Centronics port

This commit is contained in:
AJR 2023-03-30 22:41:50 -04:00
parent a104f5f494
commit 31349a6a29
2 changed files with 1 additions and 18 deletions

View File

@ -904,17 +904,6 @@ void aleste_exp_cards(device_slot_interface &device)
device.option_add("magicsound", AL_MAGICSOUND);
}
void amstrad_centronics_devices(device_slot_interface &device)
{
device.option_add("pl80", COMX_PL80);
device.option_add("ex800", EPSON_EX800);
device.option_add("lx800", EPSON_LX800);
device.option_add("lx810l", EPSON_LX810L);
device.option_add("ap2000", EPSON_AP2000);
device.option_add("printer", CENTRONICS_PRINTER);
device.option_add("digiblst", CENTRONICS_DIGIBLASTER);
}
void amstrad_state::amstrad_base(machine_config &config)
{
/* Machine hardware */
@ -960,7 +949,7 @@ void amstrad_state::amstrad_base(machine_config &config)
m_ay->add_route(ALL_OUTPUTS, "mono", 0.25);
/* printer */
CENTRONICS(config, m_centronics, amstrad_centronics_devices, "printer");
CENTRONICS(config, m_centronics, centronics_devices, "printer");
m_centronics->busy_handler().set(FUNC(amstrad_state::write_centronics_busy));
/* snapshot */

View File

@ -38,12 +38,6 @@
#include "machine/ram.h"
#include "imagedev/cassette.h"
#include "bus/centronics/ctronics.h"
#include "bus/centronics/comxpl80.h"
#include "bus/centronics/epson_ex800.h"
#include "bus/centronics/epson_lx800.h"
#include "bus/centronics/epson_lx810l.h"
#include "bus/centronics/printer.h"
#include "bus/centronics/digiblst.h"
#include "bus/generic/slot.h"
#include "bus/generic/carts.h"
#include "emupal.h"