Search found 46 matches

by Sauraen
Thu Nov 09, 2017 6:08 pm
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

My understanding with the DAC "loud" test bit is that normally, channel values are output in an "impulse-like" fashion, for a fraction of their time slot (I think it should be 1/4, since there are 24 clock cycles per complete computation cycle and there are 6 channel values to output during that tim...
by Sauraen
Wed Apr 26, 2017 5:48 pm
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

I do not understand what the interaction with the clock is. If I set to read LSB data and then read for 24 cycles, I am getting the LSB of all the 24 operators... but I am losing the MSB! If then I set to read MSB the operators are already at a different value (different clock) so I cannot get to r...
by Sauraen
Fri Apr 21, 2017 5:26 pm
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

The chip could have a different logic to generate the BUSY for the keyon I looked again, and as far as I can tell this is not the case. The BUSY timer's only inputs are chip reset and a signal indicating a data address was written, and it has one output. This output goes to a unit which puts values...
by Sauraen
Tue Apr 18, 2017 3:04 am
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

I hope I have not lost you with this long post. A bit, but one thing I can say from an initial read-through: I am quite confident from viewing the die shots, and it seems to be sufficiently confirmed from testing, that whenever you write a data value, BUSY gets set, and gets cleared exactly 32 cycl...
by Sauraen
Thu Apr 06, 2017 3:23 pm
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

On a side note, do you happen to have this annotated chip image available somewhere, I couldn't find it back in the thread? I've posted small segments from it on occasion, but no. It's a 1.6 GB GIMP image with 6 layers or so (just different types of signals, not broken out into the actual chip laye...
by Sauraen
Thu Apr 06, 2017 3:14 am
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

Any chance you have located the "Key Code" calculation unit ? This would be a simple unit with a few OR/AND/NOT gates, taking highest 4 bits of FNUM value as inputs and outputting a 2-bit value (LSB of 5-bit Key Code value, MSB being BLOCK bits). Since this value is used by both EG and PG unit, it'...
by Sauraen
Tue Mar 14, 2017 7:37 pm
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

I was wondering if you ever figured out the LFO and how it works exactly, especially regarding Phase Modulation. I never did a full reverse engineering of it, but here's what I have (from private messages to jotego): The LFO seems to have 3 sections: [*] 7-bit linear prescaler. The test bit 0x21:1 ...
by Sauraen
Mon Feb 27, 2017 9:08 pm
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

HardWareMan is correct, those are large drive transistors, not ESD protection devices. The one between OUT and AVCC is the driver for the output pin, and the two in a pair near the "Control" label are indeed for driving the positive and negative clock lines throughout the chip. These are labeled in ...
by Sauraen
Sun Aug 14, 2016 3:40 am
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

operators are shifted arithmetically (not logically) by 5 bits The top 9 bits of the 14-bit operator output are sent to the accumulator, which adds the operators within one voice. So there's no question of shifting--it just takes the top 9 bits and discards the bottom 5. Only on PC where you are ac...
by Sauraen
Wed Aug 10, 2016 4:18 pm
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

1) It looks like 9-bit signed, but it's a little hard to tell since you have to read the lower 8 bits and the upper 1 bit separately. But it does appear that if there's nothing playing (or after power-up), the values is 0--it would be 0x100 if it was unsigned like you say, and that's definitely not ...
by Sauraen
Mon Aug 08, 2016 2:05 am
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

I'd buy one of these if you feel like making 2 instead of 1, Sauraen. Wish I had time to assemble the kit myself, but alas. Hit me up if you feel like making another. I'm flexible on the price. (serious offer btw, I'm fully aware of how much time and effort goes into a project like this) I apprecia...
by Sauraen
Sun Jul 31, 2016 6:12 am
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

I should have known. The SYNC signal I was looking for isn't bit 15 of the test read data. It's much simpler than that. It's on the TEST pin. *facepalm.jpg* Bit $2C:7 indeed selects whether the TEST pin is an input or an output. But it's the opposite of what I initially thought (since it was "common...
by Sauraen
Fri Jul 29, 2016 7:30 pm
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

New info! Using MIDIbox Quad Genesis and the test modes, I have confirmed the internal order of calculation of operators and channels. These tests were performed on hardware (DIP) YM3438s, which is what I have in my synth. You may say this isn't helpful, as this is neither YM2612 nor whatever's in t...
by Sauraen
Mon Apr 25, 2016 3:30 am
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

What is suspicious for me, that all stages implemented as "process" in your code. I thought, it should be concurent, and what actually process is shift buffer that does shift. Keep in mind that in VHDL, all statements in a process are executed sequentially, but in zero time. In reality, the stateme...
by Sauraen
Sat Apr 23, 2016 6:40 pm
Forum: Sound
Topic: New Documentation: An authoritative reference on the YM2612
Replies: 834
Views: 321467

Re: New Documentation: An authoritative reference on the YM2612

I'm not sure why you're trying to figure out the pipeline stages, I've already finished that, the information is in my VHDL operator unit at https://github.com/sauraen/YM2612/blob/master/Source/operator.vhd . There are five stages that actually do work, one that just stores the value, and an additio...