mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
(MESS) Minor Apollo cleanups & removal of no-longer-supported options, plus data format fix for systems using a serial terminal. [Hans Ostermeyer]
This commit is contained in:
parent
2bc1ef5ea7
commit
393cb46208
@ -40,7 +40,7 @@ public:
|
||||
DECLARE_READ16_MEMBER(read);
|
||||
DECLARE_WRITE16_MEMBER(write);
|
||||
|
||||
void set_verbose(int on_off);
|
||||
static void set_verbose(int on_off);
|
||||
|
||||
// get sector diskaddr of logical unit lun into data_buffer
|
||||
UINT32 get_sector(INT32 diskaddr, UINT8 *data_buffer, UINT32 length, UINT8 lun);
|
||||
|
@ -919,6 +919,10 @@ void apollo_state::machine_reset()
|
||||
|
||||
// we can't do this any more
|
||||
#if 0
|
||||
// set configuration
|
||||
omti8621_device::set_verbose(apollo_config(APOLLO_CONF_DISK_TRACE));
|
||||
threecom3c505_device::set_verbose(apollo_config(APOLLO_CONF_NET_TRACE));
|
||||
|
||||
if (apollo_config(APOLLO_CONF_NODE_ID))
|
||||
{
|
||||
UINT8 db[0x50];
|
||||
|
@ -97,9 +97,9 @@ INPUT_PORTS_START( apollo_config )
|
||||
PORT_CONFSETTING(0x00, DEF_STR ( Off ) )
|
||||
PORT_CONFSETTING(APOLLO_CONF_25_YEARS_AGO, DEF_STR ( On ) )
|
||||
|
||||
PORT_CONFNAME(APOLLO_CONF_NODE_ID, APOLLO_CONF_NODE_ID, "Node ID from Disk")
|
||||
PORT_CONFSETTING(0x00, DEF_STR ( Off ) )
|
||||
PORT_CONFSETTING(APOLLO_CONF_NODE_ID, DEF_STR ( On ) )
|
||||
// PORT_CONFNAME(APOLLO_CONF_NODE_ID, APOLLO_CONF_NODE_ID, "Node ID from Disk")
|
||||
// PORT_CONFSETTING(0x00, DEF_STR ( Off ) )
|
||||
// PORT_CONFSETTING(APOLLO_CONF_NODE_ID, DEF_STR ( On ) )
|
||||
|
||||
// PORT_CONFNAME(APOLLO_CONF_IDLE_SLEEP, 0x00, "Idle Sleep")
|
||||
// PORT_CONFSETTING(0x00, DEF_STR ( Off ) )
|
||||
@ -113,13 +113,13 @@ INPUT_PORTS_START( apollo_config )
|
||||
PORT_CONFSETTING(0x00, DEF_STR ( Off ) )
|
||||
PORT_CONFSETTING(APOLLO_CONF_FPU_TRACE, DEF_STR ( On ) )
|
||||
|
||||
PORT_CONFNAME(APOLLO_CONF_DISK_TRACE, 0x00, "Disk Trace")
|
||||
PORT_CONFSETTING(0x00, DEF_STR ( Off ) )
|
||||
PORT_CONFSETTING(APOLLO_CONF_DISK_TRACE, DEF_STR ( On ) )
|
||||
// PORT_CONFNAME(APOLLO_CONF_DISK_TRACE, 0x00, "Disk Trace")
|
||||
// PORT_CONFSETTING(0x00, DEF_STR ( Off ) )
|
||||
// PORT_CONFSETTING(APOLLO_CONF_DISK_TRACE, DEF_STR ( On ) )
|
||||
|
||||
PORT_CONFNAME(APOLLO_CONF_NET_TRACE, 0x00, "Network Trace")
|
||||
PORT_CONFSETTING(0x00, DEF_STR ( Off ) )
|
||||
PORT_CONFSETTING(APOLLO_CONF_NET_TRACE, DEF_STR ( On ) )
|
||||
// PORT_CONFNAME(APOLLO_CONF_NET_TRACE, 0x00, "Network Trace")
|
||||
// PORT_CONFSETTING(0x00, DEF_STR ( Off ) )
|
||||
// PORT_CONFSETTING(APOLLO_CONF_NET_TRACE, DEF_STR ( On ) )
|
||||
|
||||
INPUT_PORTS_END
|
||||
|
||||
@ -808,7 +808,7 @@ WRITE8_MEMBER( apollo_sio::write )
|
||||
// remember CSRB to handle MD selftest or SK command
|
||||
m_csrb = data;
|
||||
break;
|
||||
#if 0
|
||||
#if 1
|
||||
case 0x0b: /* THRB */
|
||||
// tee output of SIO1 to stdout
|
||||
// sad: ceterm will get confused from '\r'
|
||||
@ -964,8 +964,8 @@ static DEVICE_INPUT_DEFAULTS_START( apollo_terminal )
|
||||
DEVICE_INPUT_DEFAULTS( "RS232_TXBAUD", 0xff, RS232_BAUD_9600 )
|
||||
DEVICE_INPUT_DEFAULTS( "RS232_RXBAUD", 0xff, RS232_BAUD_9600 )
|
||||
DEVICE_INPUT_DEFAULTS( "RS232_STARTBITS", 0xff, RS232_STARTBITS_1 )
|
||||
DEVICE_INPUT_DEFAULTS( "RS232_DATABITS", 0xff, RS232_DATABITS_8 )
|
||||
DEVICE_INPUT_DEFAULTS( "RS232_PARITY", 0xff, RS232_PARITY_NONE )
|
||||
DEVICE_INPUT_DEFAULTS( "RS232_DATABITS", 0xff, RS232_DATABITS_7 )
|
||||
DEVICE_INPUT_DEFAULTS( "RS232_PARITY", 0xff, RS232_PARITY_EVEN )
|
||||
DEVICE_INPUT_DEFAULTS( "RS232_STOPBITS", 0xff, RS232_STOPBITS_1 )
|
||||
DEVICE_INPUT_DEFAULTS_END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user