Skip to content

Conversation

@flama12333
Copy link
Contributor

@flama12333 flama12333 commented Nov 13, 2025

the adpcm bankcode was from another driver that still in pull request. due to preliminary emulation status
I had to use pc = 061C to attract mode and check something at error log.

the code was from another driver that still in pull request. 
due to preliminary emulation status
I had to use pc = 061C and check something at error log.
@flama12333 flama12333 marked this pull request as ready for review November 13, 2025 04:43
@flama12333 flama12333 changed the title add adpcm bank huangyeh_m68k.cpp implement adpcm bank huangyeh_m68k.cpp Nov 13, 2025
@flama12333 flama12333 changed the title implement adpcm bank huangyeh_m68k.cpp add adpcm bank code. huangyeh_m68k.cpp Nov 13, 2025
Has sound. Demote since something need to verify hw.
void huangyeh_m68k_state::adpcm_bank(uint8_t data)
{

m_oki->set_rom_bank(data & 0x01);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function name for write to something is normally (function)_w, and Indentation consistency is should be correct. (in this case, it should be 1 tab, instead 2 tabs.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the adpcm rom has two bank. let me to check.

Copy link
Contributor Author

@flama12333 flama12333 Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I I already used the data & 0x01 after making the pull request.
will cause the issues if I edit data & 0x02

error log:
[:oki] Warning: requested bank 2 higher than actual bank count 2
[:oki] Requested to play invalid sample 4a

Copy link
Contributor

@MooglyGuy MooglyGuy Nov 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should check whatever program you're using for machine translation, because clearly you are misunderstanding what is being said.

The comment has to do with INDENTING. You should be using 1 four-space tab, not 2 tabs.

@flama12333 flama12333 marked this pull request as draft November 13, 2025 05:44
@flama12333
Copy link
Contributor Author

the adpcm pitch clock was verified.

@flama12333 flama12333 marked this pull request as ready for review November 13, 2025 06:36
@flama12333 flama12333 marked this pull request as draft November 13, 2025 13:08
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.

3 participants