Jump to content
xxl

YM2149 registers

Recommended Posts

I have got some questions:

- the order of writing to the registers - which is the best - maybe it does not matter which register we save earlier, which later?

- ENVELOPE SHAPE / CYCLE CONTROL register (Register R13) where lower 4 bits are used, upper 4 bits must be set? cleared? or whether it does not matter and it will not affect the operation of YM

- if during the sound I will write the ENVELOPE SHAPE / CYCLE CONTROL register (Register R13) with the same value, it will affect the sound?

Share this post


Link to post
Share on other sites
2 hours ago, xxl said:

if during the sound I will write the ENVELOPE SHAPE / CYCLE CONTROL register (Register R13) with the same value, it will affect the sound?

yes, it does.

 

I got the answer to point 3.

and the rest? 🙂

Share this post


Link to post
Share on other sites
5 hours ago, xxl said:

I have got some questions:

- the order of writing to the registers - which is the best - maybe it does not matter which register we save earlier, which later?

- ENVELOPE SHAPE / CYCLE CONTROL register (Register R13) where lower 4 bits are used, upper 4 bits must be set? cleared? or whether it does not matter and it will not affect the operation of YM

- if during the sound I will write the ENVELOPE SHAPE / CYCLE CONTROL register (Register R13) with the same value, it will affect the sound?

 

1 - Order would matter, of course. Because at the very least it would alter the timing. But not sure exactly which is the best order. I'm not really a musician.

2 - Doesn't matter. The register is 4 bits only.

3 - Yes, it resets the envelope.

  • Like 1

Share this post


Link to post
Share on other sites

thanks 🙂

 

 

 

1. R0,R1, R2,R3, R4,R5, R8,R9,R10, R6,R7,R11,R12,R13 ???

 

 

Share this post


Link to post
Share on other sites

All players I've seen always write the registers in a sequential order, no fancy tricks. I guess the writing is so fast that it can't cause any audible glitch.

  • Like 1

Share this post


Link to post
Share on other sites

thanks. I will try but maybe my problem was actually resetting the R13 registry.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...