Skip to content
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

Merged
merged 14 commits into from
Mar 3, 2018
Merged

es5510, taito_en Updates #3284

merged 14 commits into from
Mar 3, 2018

Conversation

cam900
Copy link
Contributor

@cam900 cam900 commented Mar 1, 2018

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

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
@jsjyqz
Copy link

jsjyqz commented Mar 1, 2018

cam900,thank you for your good work on taito_en sound device,hope we can get the perfect ES5510 ESP emulation

@@ -12,9 +12,14 @@

#pragma once

// TODO : Not verified
#define DRAM_SIZE (1<<20)
#define DRAM_MASK (DRAM_SIZE-1)
Copy link
Member

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.

class es5510_device : public cpu_device {
public:
// TODO : Not verified
static constexpr DRAM_SIZE (1<<20);
static constexpr DRAM_MASK (DRAM_SIZE-1);
Copy link
Member

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.

@jsjyqz
Copy link

jsjyqz commented Mar 3, 2018

cam900,once the ES5510 emulation issue can get fixed,if considered remove the imperfect sound flag for taito_en sound device?

@rb6502 rb6502 merged commit 2547209 into mamedev:master Mar 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants