-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
es5510, taito_en Updates #3284
es5510, taito_en Updates #3284
Conversation
Add notes Fix dram read/write Convert gpr, instr, dram into std::unique_ptr Add save states Minor cleanup taito_en.* Updates : Add notes Move imperfect_features() into es5510.h Verify ESP Input clock/output channels(from GunBuster Schematics, same in other PCBs?) Add m_bankmask instead runtime tag lookups
cam900,thank you for your good work on taito_en sound device,hope we can get the perfect ES5510 ESP emulation |
src/devices/cpu/es5510/es5510.h
Outdated
@@ -12,9 +12,14 @@ | |||
|
|||
#pragma once | |||
|
|||
// TODO : Not verified | |||
#define DRAM_SIZE (1<<20) | |||
#define DRAM_MASK (DRAM_SIZE-1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't add constants like this at global scope, and don't use #define
preprocessor macros. Make them members of the state class, using either static constexpr
or enum
.
src/devices/cpu/es5510/es5510.h
Outdated
class es5510_device : public cpu_device { | ||
public: | ||
// TODO : Not verified | ||
static constexpr DRAM_SIZE (1<<20); | ||
static constexpr DRAM_MASK (DRAM_SIZE-1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to test these changes - this requires you to supply a type and use the =
sign.
cam900,once the ES5510 emulation issue can get fixed,if considered remove the imperfect sound flag for taito_en sound device? |
…Because it has not perfectly emulated esqasr.cpp, esqkt.cpp : Add esqpump for es5510 interface taito_en.h : Restore imperfect_features Because sound emulation has still not perfect
…e current ES5510 core still has emulation issue
…d::unique_ptr if used
es5510.* Updates :
Add notes
Fix dram read/write
Convert gpr, instr, dram into std::unique_ptr
Add save states
Minor cleanup
taito_en.* Updates :
Add notes
Move imperfect_features() into es5510.h, Because most sound emulation issue is shared at ES5510 emulation issue.
Verify ESP Input clock/output channels(from GunBuster Schematics, same in other PCBs?)
Add m_bankmask instead runtime tag lookups