diff options
author | 2022-06-16 12:47:52 +0200 | |
---|---|---|
committer | 2025-04-29 23:06:41 +0200 | |
commit | 45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch) | |
tree | 4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/sound/sn76496.h | |
parent | 5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff) |
full xtal conversionxtal
Diffstat (limited to 'src/devices/sound/sn76496.h')
-rw-r--r-- | src/devices/sound/sn76496.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/sound/sn76496.h b/src/devices/sound/sn76496.h index f5484248715..f5b33167bdc 100644 --- a/src/devices/sound/sn76496.h +++ b/src/devices/sound/sn76496.h @@ -29,7 +29,7 @@ public: protected: sn76496_base_device(const machine_config &mconfig, device_type type, const char *tag, int feedbackmask, int noisetap1, int noisetap2, bool negate, bool stereo, int clockdivider, - bool ncr, bool sega, device_t *owner, uint32_t clock); + bool ncr, bool sega, device_t *owner, const XTAL &clock); virtual void device_start() override; virtual void device_clock_changed() override; @@ -73,70 +73,70 @@ private: class sn76496_device : public sn76496_base_device { public: - sn76496_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + sn76496_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; // Y2404 not verified yet. todo: verify; (don't be fooled by the Y, it's a TI chip, not Yamaha) class y2404_device : public sn76496_base_device { public: - y2404_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + y2404_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; // SN76489 not verified yet. todo: verify; class sn76489_device : public sn76496_base_device { public: - sn76489_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + sn76489_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; // SN76489A: whitenoise verified, phase verified, periodic verified (by plgdavid) class sn76489a_device : public sn76496_base_device { public: - sn76489a_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + sn76489a_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; // SN76494 not verified, (according to datasheet: same as sn76489a but without the /8 divider) class sn76494_device : public sn76496_base_device { public: - sn76494_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + sn76494_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; // SN94624 whitenoise verified, phase verified, period verified; verified by PlgDavid class sn94624_device : public sn76496_base_device { public: - sn94624_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + sn94624_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; // NCR8496 whitenoise verified, phase verified; verified by ValleyBell & NewRisingSun class ncr8496_device : public sn76496_base_device { public: - ncr8496_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + ncr8496_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; // PSSJ-3 whitenoise verified, phase verified; verified by ValleyBell & NewRisingSun class pssj3_device : public sn76496_base_device { public: - pssj3_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + pssj3_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; // Verified by Justin Kerk class gamegear_device : public sn76496_base_device { public: - gamegear_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + gamegear_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; // todo: verify; from smspower wiki, assumed to have same invert as gamegear class segapsg_device : public sn76496_base_device { public: - segapsg_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + segapsg_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; #endif // MAME_SOUND_SN76496_H |