diff options
| author | 2020-02-19 00:49:14 +0100 | |
|---|---|---|
| committer | 2020-02-19 00:50:51 +0100 | |
| commit | ddd5ae31b01e322497c86984b120333bcc399caa (patch) | |
| tree | 6461aa76c291fee35820981926bda7e0d5552928 /src/devices/machine/i2cmem.cpp | |
| parent | e776f26e059e5d5f4a2dce6d2899f4d2e62ef67a (diff) | |
-i2cmem: Added 24C04 device type. [Ryan Holtz]
-spg2xx_io: Converted from magic register indices to enumerated values. Added SPI logging. [Ryan Holtz]
-spg2xx_jakks: Split into separate game-key, plain, and touch drivers. [Ryan Holtz]
-jak_batm: Hooked up I2C EEPROM to enable saving. [Ryan Holtz]
Diffstat (limited to 'src/devices/machine/i2cmem.cpp')
| -rw-r--r-- | src/devices/machine/i2cmem.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/machine/i2cmem.cpp b/src/devices/machine/i2cmem.cpp index 34e75569a49..f7ab143d5b9 100644 --- a/src/devices/machine/i2cmem.cpp +++ b/src/devices/machine/i2cmem.cpp @@ -62,6 +62,7 @@ DEFINE_DEVICE_TYPE(I2CMEM, i2cmem_device, "i2cmem", "I2C Memory") DEFINE_DEVICE_TYPE(I2C_X2404P, i2c_x2404p_device, "x2404p", "X2404P I2C Memory") DEFINE_DEVICE_TYPE(I2C_24C01, i2c_24c01_device, "24c01", "24C01 I2C Memory") DEFINE_DEVICE_TYPE(I2C_24C02, i2c_24c02_device, "24c02", "24C02 I2C Memory") +DEFINE_DEVICE_TYPE(I2C_24C04, i2c_24c04_device, "24c04", "24C04 I2C Memory") DEFINE_DEVICE_TYPE(I2C_24C08, i2c_24c08_device, "24c08", "24C08 I2C Memory") DEFINE_DEVICE_TYPE(I2C_24C16, i2c_24c16_device, "24c16", "24C16 I2C Memory") DEFINE_DEVICE_TYPE(I2C_24C16A, i2c_24c16a_device, "24c16a", "24C16A I2C Memory") @@ -127,6 +128,11 @@ i2c_24c02_device::i2c_24c02_device(const machine_config &mconfig, const char *ta { } +i2c_24c04_device::i2c_24c04_device(const machine_config& mconfig, const char* tag, device_t* owner, uint32_t clock) : + i2cmem_device(mconfig, I2C_24C04, tag, owner, clock, 8, 0x200) +{ +} + i2c_24c08_device::i2c_24c08_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : i2cmem_device(mconfig, I2C_24C08, tag, owner, clock, 0, 0x400) { |
