This commit is contained in:
Miodrag Milanovic 2015-12-05 10:58:44 +01:00
parent be704c00ab
commit 31f5c1f013
21 changed files with 71 additions and 137 deletions

View File

@ -47,7 +47,7 @@
static const prom_load_t pl_enet_a41 =
{ /* P3601 256x4 BPROM; Ethernet phase encoder 1 "PE1" */
"enet.a41",
0,
nullptr,
"d5de8d86",
"c134a4c898c73863124361a9b0218f7a7f00082a",
/* size */ 0400,
@ -64,7 +64,7 @@ static const prom_load_t pl_enet_a41 =
static const prom_load_t pl_enet_a42 =
{ /* P3601 256x4 BPROM; Ethernet phase encoder 2 "PE2" */
"enet.a42",
0,
nullptr,
"9d5c81bd",
"ac7e63332a3dad0bef7cd0349b24e156a96a4bf0",
/* size */ 0400,
@ -106,7 +106,7 @@ static const prom_load_t pl_enet_a42 =
static const prom_load_t pl_enet_a49 =
{ /* P3601 256x4 BPROM; Ethernet FIFO control "AFIFO" */
"enet.a49",
0,
nullptr,
"4d2dcdb2",
"583327a7d70cd02702c941c0e43c1e9408ff7fd0",
/* size */ 0400,

View File

@ -839,11 +839,11 @@ void alto2_cpu_device::reset_memory()
{
if (m_mem.ram) {
auto_free(machine(), m_mem.ram);
m_mem.ram = 0;
m_mem.ram = nullptr;
}
if (m_mem.hpb) {
auto_free(machine(), m_mem.hpb);
m_mem.hpb = 0;
m_mem.hpb = nullptr;
}
// allocate 64K or 128K words of main memory
ioport_port* config = ioport(":CONFIG");

View File

@ -142,8 +142,8 @@ alto2_cpu_device::alto2_cpu_device(const machine_config& mconfig, const char* ta
m_ucode_config("ucode", ENDIANNESS_BIG, 32, 12, -2 ),
m_const_config("const", ENDIANNESS_BIG, 16, 8, -1 ),
m_iomem_config("iomem", ENDIANNESS_BIG, 16, 17, -1 ),
m_ucode_crom(0),
m_const_data(0),
m_ucode_crom(nullptr),
m_const_data(nullptr),
m_icount(0),
m_task(0),
m_next_task(0),
@ -180,28 +180,28 @@ alto2_cpu_device::alto2_cpu_device(const machine_config& mconfig, const char* ta
m_unload_word(0),
m_bitclk_time(0),
m_bitclk_index(0),
m_ctl2k_u3(0),
m_ctl2k_u38(0),
m_ctl2k_u76(0),
m_cram3k_a37(0),
m_madr_a64(0),
m_madr_a65(0),
m_madr_a90(0),
m_madr_a91(0),
m_ctl2k_u3(nullptr),
m_ctl2k_u38(nullptr),
m_ctl2k_u76(nullptr),
m_cram3k_a37(nullptr),
m_madr_a64(nullptr),
m_madr_a65(nullptr),
m_madr_a90(nullptr),
m_madr_a91(nullptr),
m_cycle(0),
m_ether_id(0),
m_hw(),
m_mouse(),
m_dsk(),
m_dsp(),
m_disp_a38(0),
m_disp_a63(0),
m_disp_a66(0),
m_disp_a38(nullptr),
m_disp_a63(nullptr),
m_disp_a66(nullptr),
m_mem(),
m_emu(),
m_ether_a41(0),
m_ether_a42(0),
m_ether_a49(0),
m_ether_a41(nullptr),
m_ether_a42(nullptr),
m_ether_a49(nullptr),
m_eth()
{
m_is_octal = true;
@ -358,7 +358,7 @@ const rom_entry *alto2_cpu_device::device_rom_region() const
static const prom_load_t pl_ucode[] = {
{ // 0000-01777 RSEL(0)',RSEL(1)',RSEL(2)',RSEL(3)'
"55x.3",
0,
nullptr,
"de870d75",
"2b98cc769d8302cb39948711424d987d94e4159b",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -373,7 +373,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 0000-01777 RSEL(4)',ALUF(0)',ALUF(1)',ALUF(2)'
"64x.3",
0,
nullptr,
"51b444c0",
"8756e51f7f3253a55d75886465beb7ee1be6e1c4",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -388,7 +388,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 0000-01777 ALUF(3)',BS(0)',BS(1)',BS(2)'
"65x.3",
0,
nullptr,
"741d1437",
"01f7cf07c2173ac93799b2475180bfbbe7e0149b",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -403,7 +403,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 0000-01777 F1(0),F1(1)',F1(2)',F1(3)'
"63x.3",
0,
nullptr,
"f22d5028",
"c65a42baef702d4aff2d9ad8e363daec27de6801",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -418,7 +418,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 0000-01777 F2(0),F2(1)',F2(2)',F2(3)'
"53x.3",
0,
nullptr,
"3c89a740",
"95d812d489b2bde03884b2f126f961caa6c8ec45",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -433,7 +433,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 0000-01777 LOADT',LOADL,NEXT(0)',NEXT(1)'
"60x.3",
0,
nullptr,
"a35de0bf",
"7fa4aead44dcf5393bbfd1706c0ada24aa6fd3ac",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -448,7 +448,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 0000-01777 NEXT(2)',NEXT(3)',NEXT(4)',NEXT(5)'
"61x.3",
0,
nullptr,
"f25bcb2d",
"acb57f3104a8dc4ba750dd1bf22ccc81cce9f084",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -463,7 +463,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 0000-01777 NEXT(6)',NEXT(7)',NEXT(8)',NEXT(9)'
"62x.3",
0,
nullptr,
"1b20a63f",
"41dc86438e91c12b0fe42ffcce6b2ac2eb9e714a",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -481,7 +481,7 @@ static const prom_load_t pl_ucode[] = {
,
{ // 02000-03777 RSEL(0)',RSEL(1)',RSEL(2)',RSEL(3)'
"xm51.u54",
0,
nullptr,
"11086ae9",
"c394e3fadbfb91801ddc1a70cb25dc6f606c4f76",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -496,7 +496,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 02000-03777 RSEL(4)',ALUF(0)',ALUF(1)',ALUF(2)'
"xm51.u74",
0,
nullptr,
"be8224f2",
"ea9abcc3832b26a094319796901237e1e3f238b6",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -511,7 +511,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 02000-03777 ALUF(3)',BS(0)',BS(1)',BS(2)'
"xm51.u75",
0,
nullptr,
"dfe3e3ac",
"246fd29f92150a5d5d7627fbb4f2504c7b6cd5ec",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -526,7 +526,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 02000-03777 F1(0),F1(1)',F1(2)',F1(3)'
"xm51.u73",
0,
nullptr,
"6c20fa46",
"a054330c65048011f12209aaed5c6da73d95f029",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -541,7 +541,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 02000-03777 F2(0),F2(1)',F2(2)',F2(3)'
"xm51.u52",
0,
nullptr,
"0a31eec8",
"4e2ad5daa5e6a6f2143ee4de00c7b625d096fb02",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -556,7 +556,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 02000-03777 LOADT',LOADL,NEXT(0)',NEXT(1)'
"xm51.u70",
0,
nullptr,
"5c64ee54",
"0eb16d1b5e5967be7c1bf8c8ef6efdf0518a752c",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -571,7 +571,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 02000-03777 NEXT(2)',NEXT(3)',NEXT(4)',NEXT(5)'
"xm51.u71",
0,
nullptr,
"7283bf71",
"819fdcc407ed0acdd8f12b02db6efbcab7bec19a",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -586,7 +586,7 @@ static const prom_load_t pl_ucode[] = {
},
{ // 02000-03777 NEXT(6)',NEXT(7)',NEXT(8)',NEXT(9)'
"xm51.u72",
0,
nullptr,
"a28e5251",
"44dd8ad4ad56541b5394d30ce3521b4d1d561394",
/* size */ ALTO2_UCODE_PAGE_SIZE,
@ -672,7 +672,7 @@ static const prom_load_t pl_const[] = {
static const prom_load_t pl_2kctl_u3 =
{
"2kctl.u3",
0,
nullptr,
"5f8d89e8",
"487cd944ab074290aea73425e81ef4900d92e250",
/* size */ 0400,
@ -690,7 +690,7 @@ static const prom_load_t pl_2kctl_u3 =
static const prom_load_t pl_2kctl_u38 =
{
"2kctl.u38",
0,
nullptr,
"fc51b1d1",
"e36c2a12a5da377394264899b5ae504e2ffda46e",
/* size */ 0040,
@ -708,7 +708,7 @@ static const prom_load_t pl_2kctl_u38 =
static const prom_load_t pl_2kctl_u76 =
{
"2kctl.u76",
0,
nullptr,
"1edef867",
"928b8a15ac515a99109f32672441832173883b81",
/* size */ 0400,
@ -726,7 +726,7 @@ static const prom_load_t pl_2kctl_u76 =
static const prom_load_t pl_alu_a10 =
{
"alu.a10",
0,
nullptr,
"e0857892",
"dcd389767139f0acc1f87cf074459115abc5b90b",
/* size */ 0040,
@ -743,7 +743,7 @@ static const prom_load_t pl_alu_a10 =
static const prom_load_t pl_3kcram_a37 =
{
"3kcram.a37",
0,
nullptr,
"9417360d",
"bfcdbc56ee4ffafd0f2f672c0c869a55d6dd194b",
/* size */ 0400,
@ -760,7 +760,7 @@ static const prom_load_t pl_3kcram_a37 =
static const prom_load_t pl_madr_a90 =
{
"madr.a90",
0,
nullptr,
"7a2d8799",
"c3760dba147740729d33b9b88e59088a4cc7437a",
/* size */ 0400,
@ -777,7 +777,7 @@ static const prom_load_t pl_madr_a90 =
static const prom_load_t pl_madr_a91 =
{
"madr.a91",
0,
nullptr,
"dd556aeb",
"900f333a091e3ccde0843019c25f25fba62e6023",
/* size */ 0400,
@ -803,7 +803,7 @@ const address_space_config*alto2_cpu_device::memory_space_config(address_spacenu
return &m_const_config;
if (AS_2 == spacenum)
return &m_iomem_config;
return NULL;
return nullptr;
}
//-------------------------------------------------
@ -2701,7 +2701,7 @@ void alto2_cpu_device::execute_run()
* the bitclk sequence by leaving m_bitclk_time at -1.
*/
m_bitclk_time -= ALTO2_UCYCLE;
disk_bitclk(0, m_bitclk_index);
disk_bitclk(nullptr, m_bitclk_index);
}
#endif
} while (m_icount-- > 0);

View File

@ -33,8 +33,8 @@ public:
}
char *buffer() { return m_buffer; }
int length() { return m_pc; }
int flags() { return m_flags; }
int length() const { return m_pc; }
int flags() const { return m_flags; }
private:
const UINT8 *m_oprom;

View File

@ -143,7 +143,7 @@ private:
void timer0_tick(bool ext_line = false);
void timer1_tick();
void base_timer_tick();
void dasm_arg(UINT8 op, char *buffer, offs_t pc, int arg, const UINT8 *oprom, int &pos);
static void dasm_arg(UINT8 op, char *buffer, offs_t pc, int arg, const UINT8 *oprom, int &pos);
// opcodes handlers
int op_nop();

View File

@ -146,10 +146,6 @@ class m37450_device : public m3745x_device
public:
m37450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
m37450_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
protected:
private:
};
extern const device_type M37450;

View File

@ -124,10 +124,6 @@ class m50740_device : public m5074x_device
public:
m50740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
m50740_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
protected:
private:
};
class m50741_device : public m5074x_device
@ -135,10 +131,6 @@ class m50741_device : public m5074x_device
public:
m50741_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
m50741_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
protected:
private:
};
extern const device_type M50740;

View File

@ -427,7 +427,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68301_device : public m68000_base_device
@ -447,7 +446,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
@ -470,7 +468,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68008plcc_device : public m68000_base_device
@ -490,7 +487,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68010_device : public m68000_base_device
@ -510,7 +506,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68ec020_device : public m68000_base_device
@ -530,7 +525,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68020_device : public m68000_base_device
@ -550,7 +544,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68020fpu_device : public m68000_base_device
@ -570,7 +563,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68020pmmu_device : public m68000_base_device
@ -590,7 +582,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68020hmmu_device : public m68000_base_device
@ -612,7 +603,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68ec030_device : public m68000_base_device
@ -632,7 +622,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68030_device : public m68000_base_device
@ -652,7 +641,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68ec040_device : public m68000_base_device
@ -672,7 +660,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68lc040_device : public m68000_base_device
@ -692,7 +679,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class m68040_device : public m68000_base_device
@ -712,7 +698,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
class scc68070_device : public m68000_base_device
@ -732,7 +717,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
@ -758,7 +742,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};
@ -781,7 +764,6 @@ public:
// device-level overrides
virtual void device_start();
protected:
};

View File

@ -44,14 +44,6 @@ protected:
virtual machine_config_constructor device_mconfig_additions() const;
virtual void device_start();
virtual void device_reset();
private:
// devices/pointers
// internal state
// callbacks
};

View File

@ -122,8 +122,6 @@ protected:
virtual machine_config_constructor device_mconfig_additions() const;
virtual void device_start();
virtual void device_reset();
private:
};
static const device_type M68307 = &device_creator<m68307cpu_device>;

View File

@ -53,8 +53,6 @@ protected:
// construction/destruction
eeprom_parallel_base_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, const char *shortname, const char *file);
public:
protected:
// device-level overrides
virtual void device_start();

View File

@ -13,10 +13,6 @@ public:
protected:
virtual void device_start();
virtual void device_reset();
private:
};

View File

@ -281,7 +281,7 @@ INPUT_CHANGED_MEMBER( microtouch_device::touch )
static INPUT_PORTS_START(microtouch)
PORT_START("TOUCH")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME( "Touch screen" ) PORT_CHANGED_MEMBER( DEVICE_SELF,microtouch_device, touch, 0 )
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME( "Touch screen" ) PORT_CHANGED_MEMBER( DEVICE_SELF,microtouch_device, touch, nullptr )
PORT_START("TOUCH_X")
PORT_BIT( 0x3fff, 0x2000, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(45) PORT_KEYDELTA(15)
PORT_START("TOUCH_Y")

View File

@ -48,7 +48,7 @@ void netlist_mame_sub_interface::static_set_mult_offset(device_t &device, const
netlist_mame_analog_input_t::netlist_mame_analog_input_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NETLIST_ANALOG_INPUT, "Netlist Analog Input", tag, owner, clock, "netlist_analog_input", __FILE__),
netlist_mame_sub_interface(*owner),
m_param(0),
m_param(nullptr),
m_auto_port(true),
m_param_name("")
{
@ -65,7 +65,7 @@ void netlist_mame_analog_input_t::device_start()
LOG_DEV_CALLS(("start %s\n", tag()));
netlist::param_t *p = this->nl_owner().setup().find_param(m_param_name);
m_param = dynamic_cast<netlist::param_double_t *>(p);
if (m_param == NULL)
if (m_param == nullptr)
{
fatalerror("device %s wrong parameter type for %s\n", basetag(), m_param_name.cstr());
}
@ -119,7 +119,7 @@ void netlist_mame_analog_output_t::device_start()
netlist_mame_logic_input_t::netlist_mame_logic_input_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NETLIST_ANALOG_INPUT, "Netlist Logic Input", tag, owner, clock, "netlist_logic_input", __FILE__),
netlist_mame_sub_interface(*owner),
m_param(0),
m_param(nullptr),
m_mask(0xffffffff),
m_shift(0),
m_param_name("")
@ -140,7 +140,7 @@ void netlist_mame_logic_input_t::device_start()
LOG_DEV_CALLS(("start %s\n", tag()));
netlist::param_t *p = downcast<netlist_mame_device_t *>(this->owner())->setup().find_param(m_param_name);
m_param = dynamic_cast<netlist::param_int_t *>(p);
if (m_param == NULL)
if (m_param == nullptr)
{
fatalerror("device %s wrong parameter type for %s\n", basetag(), m_param_name.cstr());
}
@ -173,7 +173,7 @@ void netlist_mame_stream_input_t::device_start()
void netlist_mame_stream_input_t::custom_netlist_additions(netlist::setup_t &setup)
{
NETLIB_NAME(sound_in) *snd_in = setup.netlist().get_first_device<NETLIB_NAME(sound_in)>();
if (snd_in == NULL)
if (snd_in == nullptr)
snd_in = dynamic_cast<NETLIB_NAME(sound_in) *>(setup.register_dev("NETDEV_SOUND_IN", "STREAM_INPUT"));
pstring sparam = pfmt("STREAM_INPUT.CHAN{1}")(m_channel);
@ -266,9 +266,9 @@ netlist_mame_device_t::netlist_mame_device_t(const machine_config &mconfig, cons
: device_t(mconfig, NETLIST_CORE, "Netlist core device", tag, owner, clock, "netlist_core", __FILE__),
m_icount(0),
m_old(netlist::netlist_time::zero),
m_netlist(NULL),
m_setup(NULL),
m_setup_func(NULL)
m_netlist(nullptr),
m_setup(nullptr),
m_setup_func(nullptr)
{
}
@ -276,9 +276,9 @@ netlist_mame_device_t::netlist_mame_device_t(const machine_config &mconfig, devi
: device_t(mconfig, type, name, tag, owner, clock, shortname, file),
m_icount(0),
m_old(netlist::netlist_time::zero),
m_netlist(NULL),
m_setup(NULL),
m_setup_func(NULL)
m_netlist(nullptr),
m_setup(nullptr),
m_setup_func(nullptr)
{
}
@ -312,10 +312,10 @@ void netlist_mame_device_t::device_start()
m_setup_func(*m_setup);
/* let sub-devices tweak the netlist */
for( device_t *d = this->first_subdevice(); d != NULL; d = d->next() )
for( device_t *d = this->first_subdevice(); d != nullptr; d = d->next() )
{
netlist_mame_sub_interface *sdev = dynamic_cast<netlist_mame_sub_interface *>(d);
if( sdev != NULL )
if( sdev != nullptr )
{
LOG_DEV_CALLS(("Found subdevice %s/%s\n", d->name(), d->shortname()));
sdev->custom_netlist_additions(*m_setup);
@ -359,9 +359,9 @@ void netlist_mame_device_t::device_stop()
m_netlist->stop();
global_free(m_setup);
m_setup = NULL;
m_setup = nullptr;
global_free(m_netlist);
m_netlist = NULL;
m_netlist = nullptr;
}
ATTR_COLD void netlist_mame_device_t::device_post_load()
@ -410,13 +410,13 @@ ATTR_COLD void netlist_mame_device_t::save_state()
case DT_DOUBLE:
{
double *td = s->resolved<double>();
if (td != NULL) save_pointer(td, s->m_name.cstr(), s->m_count);
if (td != nullptr) save_pointer(td, s->m_name.cstr(), s->m_count);
}
break;
case DT_FLOAT:
{
float *td = s->resolved<float>();
if (td != NULL) save_pointer(td, s->m_name.cstr(), s->m_count);
if (td != nullptr) save_pointer(td, s->m_name.cstr(), s->m_count);
}
break;
#if (PHAS_INT128)
@ -576,7 +576,7 @@ void netlist_mame_sound_device_t::device_start()
m_num_outputs = outdevs.size();
/* resort channels */
for (int i=0; i < MAX_OUT; i++) m_out[i] = NULL;
for (int i=0; i < MAX_OUT; i++) m_out[i] = nullptr;
for (int i=0; i < m_num_outputs; i++)
{
int chan = outdevs[i]->m_channel.Value();
@ -587,7 +587,7 @@ void netlist_mame_sound_device_t::device_start()
fatalerror("illegal channel number");
m_out[chan] = outdevs[i];
m_out[chan]->m_sample = netlist::netlist_time::from_hz(clock());
m_out[chan]->m_buffer = NULL;
m_out[chan]->m_buffer = nullptr;
}
// Configure inputs

View File

@ -28,7 +28,6 @@ protected:
virtual void device_start();
private:
private:
void reg_w(ATTR_UNUSED UINT8 reg, UINT8 data);
UINT8 reg_r(ATTR_UNUSED UINT8 reg);

View File

@ -90,17 +90,11 @@ protected:
class roc10937_t : public rocvfd_t {
public:
roc10937_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
protected:
};
class msc1937_t : public rocvfd_t {
public:
msc1937_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
protected:
};
class roc10957_t : public rocvfd_t {
@ -108,16 +102,11 @@ public:
roc10957_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
void write_char(int data);
protected:
};
class s16lf01_t : public rocvfd_t {
public:
s16lf01_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
protected:
};
extern const device_type ROC10937;

View File

@ -131,7 +131,6 @@ public:
};
void step(void);
void reset(void);
protected:
private:
DISCRETE_CLASS_INPUT(I_IN0, 0);
DISCRETE_CLASS_INPUT(I_IN1, 1);

View File

@ -91,7 +91,7 @@ x1_010_device::x1_010_device(const machine_config &mconfig, const char *tag, dev
m_region(*this, DEVICE_SELF),
m_rate(0),
m_adr(0),
m_stream(NULL),
m_stream(nullptr),
m_sound_enable(0),
m_base_clock(0)
{

View File

@ -54,7 +54,7 @@ ef9365_device::ef9365_device(const machine_config &mconfig, const char *tag, dev
device_t(mconfig, EF9365, "EF9365", tag, owner, clock, "ef9365", __FILE__),
device_memory_interface(mconfig, *this),
device_video_interface(mconfig, *this),
m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(ef9365)),
m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, nullptr, *ADDRESS_MAP_NAME(ef9365)),
m_palette(*this)
{
}

View File

@ -151,9 +151,6 @@ private:
int m_sig_vsync;
int m_sig_composite;
int m_sig_field;
protected:
};

View File

@ -265,7 +265,6 @@ protected:
UINT8 rgb32_en;
UINT8 id;
}svga;
private:
};
// ======================> ibm8514_device
@ -652,9 +651,6 @@ public:
virtual WRITE8_MEMBER(port_03d0_w);
virtual READ8_MEMBER(mem_r);
virtual WRITE8_MEMBER(mem_w);
protected:
private:
};