diff options
| author | 2026-04-07 15:57:30 +0100 | |
|---|---|---|
| committer | 2026-04-07 10:57:30 -0400 | |
| commit | b0d7b657264e2fc8bddefe3b45980694f2afc448 (patch) | |
| tree | 8ccbd05989732493b69543eadd0cc9fd17503cf1 /src/devices/machine/x28.cpp | |
| parent | 22915ef8fb1d31d79aa5c201334731dd89802cc4 (diff) | |
x28,vfxcart: make timings overrideable. (#15183)
* x28: make timings configurable.
Also:
- remove the fake device.
- allow clients access to the writable / write protected state.
- save state.
- move short function bodies from x28.ipp to x28.h.
Having these short member function definitions inline
removes a lot of template-parameter noise, leaving
only the long `read()` and `write()` member function
definitions out-of-line in `x28.ipp`.
vfxcart:
- use the real X28C256 device.
- add a configuration setting to vfxcart to allow adjusting the
timings of the X28C256 device.
- configure EEPROM to be write protected.
* x28.{h,ipp}: All the datasheets seem to refer to the write protection as "software data protection"
Update the terminology here to align with that:
`m_write_enabled` -> `!m_software_data_protection_enabled`.
Update the sole client (vfxcart.cpp) as well.
Diffstat (limited to 'src/devices/machine/x28.cpp')
| -rw-r--r-- | src/devices/machine/x28.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/devices/machine/x28.cpp b/src/devices/machine/x28.cpp index f7caba15eaa..d0912541bd8 100644 --- a/src/devices/machine/x28.cpp +++ b/src/devices/machine/x28.cpp @@ -15,7 +15,6 @@ DEFINE_DEVICE_TYPE(X28C512, x28c512_device, "x28c512", "X28C512 64Kx8 EEPROM") DEFINE_DEVICE_TYPE(X28C010, x28c010_device, "x28c010", "X28C010 128Kx8 EEPROM") DEFINE_DEVICE_TYPE(XM28C020, xm28c020_device, "xm28c020", "XM28C020 256Kx8 EEPROM") DEFINE_DEVICE_TYPE(XM28C040, xm28c040_device, "xm28c040", "XM28C040 512Kx8 EEPROM") -DEFINE_DEVICE_TYPE(X28F256, x28f256_device, "x28f256", "X28F256 Fast 8Kx8 EEPROM") x28c64_device::x28c64_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : x28_device(mconfig, X28C64, tag, owner, clock) @@ -51,8 +50,3 @@ xm28c040_device::xm28c040_device(const machine_config &mconfig, const char *tag, : x28_device(mconfig, XM28C040, tag, owner, clock) { } - -x28f256_device::x28f256_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) -: x28_device(mconfig, X28F256, tag, owner, clock) -{ -} |
