mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
i386.cpp: pentium mmx class derives from pentium_device (nw)
This commit is contained in:
parent
4f5f5c6c92
commit
65330e1fb7
@ -36,9 +36,9 @@ DEFINE_DEVICE_TYPE(I386SX, i386sx_device, "i386sx", "Intel I386SX
|
||||
DEFINE_DEVICE_TYPE(I486, i486_device, "i486", "Intel I486")
|
||||
DEFINE_DEVICE_TYPE(I486DX4, i486dx4_device, "i486dx4", "Intel I486DX4")
|
||||
DEFINE_DEVICE_TYPE(PENTIUM, pentium_device, "pentium", "Intel Pentium")
|
||||
DEFINE_DEVICE_TYPE(PENTIUM_MMX, pentium_mmx_device, "pentium_mmx", "Intel Pentium MMX")
|
||||
DEFINE_DEVICE_TYPE(MEDIAGX, mediagx_device, "mediagx", "Cyrix MediaGX")
|
||||
DEFINE_DEVICE_TYPE(PENTIUM_PRO, pentium_pro_device, "pentium_pro", "Intel Pentium Pro")
|
||||
DEFINE_DEVICE_TYPE(PENTIUM_MMX, pentium_mmx_device, "pentium_mmx", "Intel Pentium MMX")
|
||||
DEFINE_DEVICE_TYPE(PENTIUM2, pentium2_device, "pentium2", "Intel Pentium II")
|
||||
DEFINE_DEVICE_TYPE(PENTIUM3, pentium3_device, "pentium3", "Intel Pentium III")
|
||||
DEFINE_DEVICE_TYPE(ATHLONXP, athlonxp_device, "athlonxp", "Amd Athlon XP")
|
||||
@ -111,7 +111,7 @@ pentium_pro_device::pentium_pro_device(const machine_config &mconfig, device_typ
|
||||
}
|
||||
|
||||
pentium_mmx_device::pentium_mmx_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
|
||||
: pentium_pro_device(mconfig, PENTIUM_MMX, tag, owner, clock)
|
||||
: pentium_device(mconfig, PENTIUM_MMX, tag, owner, clock)
|
||||
{
|
||||
// 64 dtlb small, 8 dtlb large, 32 itlb small, 2 itlb large
|
||||
set_vtlb_dynamic_entries(96);
|
||||
|
@ -1547,6 +1547,18 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
class pentium_mmx_device : public pentium_device
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
pentium_mmx_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||
|
||||
protected:
|
||||
virtual void device_start() override;
|
||||
virtual void device_reset() override;
|
||||
};
|
||||
|
||||
|
||||
class mediagx_device : public i386_device
|
||||
{
|
||||
public:
|
||||
@ -1575,18 +1587,6 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
class pentium_mmx_device : public pentium_pro_device
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
pentium_mmx_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||
|
||||
protected:
|
||||
virtual void device_start() override;
|
||||
virtual void device_reset() override;
|
||||
};
|
||||
|
||||
|
||||
class pentium2_device : public pentium_pro_device
|
||||
{
|
||||
public:
|
||||
@ -1642,9 +1642,9 @@ DECLARE_DEVICE_TYPE(I386SX, i386sx_device)
|
||||
DECLARE_DEVICE_TYPE(I486, i486_device)
|
||||
DECLARE_DEVICE_TYPE(I486DX4, i486dx4_device)
|
||||
DECLARE_DEVICE_TYPE(PENTIUM, pentium_device)
|
||||
DECLARE_DEVICE_TYPE(PENTIUM_MMX, pentium_mmx_device)
|
||||
DECLARE_DEVICE_TYPE(MEDIAGX, mediagx_device)
|
||||
DECLARE_DEVICE_TYPE(PENTIUM_PRO, pentium_pro_device)
|
||||
DECLARE_DEVICE_TYPE(PENTIUM_MMX, pentium_mmx_device)
|
||||
DECLARE_DEVICE_TYPE(PENTIUM2, pentium2_device)
|
||||
DECLARE_DEVICE_TYPE(PENTIUM3, pentium3_device)
|
||||
DECLARE_DEVICE_TYPE(ATHLONXP, athlonxp_device)
|
||||
|
Loading…
Reference in New Issue
Block a user