xxl Posted February 20, 2021 Share Posted February 20, 2021 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? Quote Link to comment Share on other sites More sharing options...
xxl Posted February 20, 2021 Author Share Posted February 20, 2021 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? ? Quote Link to comment Share on other sites More sharing options...
ijor Posted February 20, 2021 Share Posted February 20, 2021 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. 1 Quote Link to comment Share on other sites More sharing options...
xxl Posted February 20, 2021 Author Share Posted February 20, 2021 thanks ? 1. R0,R1, R2,R3, R4,R5, R8,R9,R10, R6,R7,R11,R12,R13 ??? Quote Link to comment Share on other sites More sharing options...
jltursan Posted February 23, 2021 Share Posted February 23, 2021 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. 1 Quote Link to comment Share on other sites More sharing options...
xxl Posted February 23, 2021 Author Share Posted February 23, 2021 thanks. I will try but maybe my problem was actually resetting the R13 registry. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.