# Notes: hardware-side sources other than thread 386 and source code Fork notes, 2026-11-12. "direct" = file fetched with curl (or already local) and read here. "summary" = seen only through a search or fetch tool's summary. Pins for everything fetched: `reference/scratch/pins-web.json` (24 entries, SHA-256 of the bytes read). Tiers: 1 hardware-captured or die measurement; 2 manufacturer; 3 community checked on hardware; 4 HDL; 5 emulators. ## A. What megadrive-python used (recordings and measurements) Read: only the lines of `docs/validation.md` (72-84), `docs/worklog.md` (869-905, 1018-1026, 1095-1110) that locate or describe recordings. All paths below are under `/data/emu/megadrive-python/` and were checked to exist. | File | Size | Origin | What | |---|---|---|---| | `tests/test_roms/nemesis/ssg-eg md1600.rar` | 10,271,971 | nemesis.hacking-cult.org/MegaDrive/Samples/ (site answered 502 today; megadrive-python pins a web.archive.org mirror) | RAR 1.5, one file `ssg-eg md1600.wav`, 16,002,760 bytes, dated 2008-01-09. Unpacked here to `reference/recordings/ssg-eg md1600.wav` (sha256 43224ac3b16dda72f1ad5f4b16499ec71abf962de59888f258237c71d0896fd9): PCM 16-bit mono 96,000 Hz, 83.33 s. Nemesis's "MD1600" (his name for the console; megadrive-python records it only as that) running `ym2612ssg-eg.bin`. Analogue, unknown gain, through the console's filter. | | `tests/test_roms/nemesis/ssg-eg md1600 attack and release.rar` | 106,822,481 | same | RAR 1.5, one file `ssg-eg md1600 attack and release.wav`, 180,092,646 bytes, dated 2009-02-22. NOT unpacked. megadrive-python never used it. (Its worklog says "180 MB and untouched".) | | `tests/test_roms/nemesis/ym2612csmmode.wav` | 975,998 | same site, beside the ROM | PCM 16-bit mono 96,000 Hz, 5.07 s. Provenance (hardware or emulator) NOT confirmed by megadrive-python; its worklog says to confirm in t=386 first. Thread forks should settle this. | | `tests/test_roms/nemesis/ym2612{ssg-eg,attackandrelease,csmmode,detune,multiplexing}.bin` (131,072 each), `ym2612FrequencyWriteOrder.bin` (756) | | same | Nemesis's YM2612 test ROMs. Not self-checking: judged by ear or against the recordings. | | `tests/test_roms/aly-james/MD1_LADDER.wav` | 273,422 | http://www.alyjameslab.com/tutorials/MD1_LADDER.wav | PCM 16-bit mono 44,100 Hz, 3.10 s. A tone whose level is walked down; megadrive-python measured (50 ms blocks) that its envelope stops falling about 33 dB below peak for about 0.8 s, then silence at about -61 dB. Which board: "a Model 1" per the name; the ROM that made it is not published; gain and filter unknown. | | `tests/test_roms/ghost/sweep_1000.rar` | 2,802 | http://shedevr.org.ru/ghost/ym2612/sweep_1000.rar (directory answers 403 today) | Contains `1000HZ.GEN`, `MIRROR.GEN`, `YM_67.GEN`, `YM_77.GEN` (32,768 each) and `mirror.asm`, `ym_67.asm`, `ym_77.asm`, dated 2009-04-20. Capture tools by Ghost (thread 386, April 2009 pages; scope pictures there from an EU Model 1 per megadrive-python). No recordings inside. Licence none stated; the .asm files were not opened. | | `tests/test_roms/mdfourier/MDFourier-Genesis-SegaCD-Recordings-14062020.zip` | 135,446,904 | http://junkerhq.net/MDFourier/files/MDFourier-Genesis-SegaCD-Recordings-14062020.zip | 21 FLAC recordings of Mega Drive boards + 9 with Sega CD. See C below. megadrive-python fitted its PSG gain and filter corner to ONE of them, `A-MD1UTVA3-M192.flac` (a US Model 1 VA3, headphone out). | | `reference/docs/kabuto-hardware-notes.html` | 104,635 | https://plutiedev.com/mirror/kabuto-hardware-notes (mirror of Kabuto's Google document) | see below | megadrive-python's level figures against the PSG are fits to that one MDFourier recording, not document values (`docs/README.md` item 14, worklog 1045-1054). They are board-side numbers and nothing the core needs. Tainted passage met while reading (not carried over): worklog 874-875 explains the ladder plateau in the old model's terms (an adjustment to non-negative samples and a sign-only output between channels). I read those two lines before recognising them. ### Kabuto, "SEGA Mega Drive / Genesis hardware notes", v1.5 (2017-04-19 to 2018-05-25) Author Kabuto of TiTAN (Overdrive 2). No licence stated. Tier 1/3: "Nearly all of this has been through running my own tests and guesswork". Read direct, section "The YM2612" and footnote 4 only. The four diagrams of the audio analysis are images that the mirror does not carry: the numbers behind them are NOT available. - Write speed: registers $30..$FF "only exist in a shift register that rotates all the time ... the YM2612 must wait until it reached the desired register before it can overwrite it. That's what's limiting the maximum write speed to ½ the duration of a YM2612 cycle, or 33.6 Z80 cycles. Probably slightly more due to latching overhead." - "The YM2612's busy flag is useless as already documented elsewhere." - "It's not possible to reliably write both register number and data with a Z80 word write, that seems to be too fast for the YM2612." - "The YM2612 samples the PCM register once every cycle. The point in time when that happens differs between MD1s and MD2s I tested ... I can't give any precise values here"; "more stable on MD1 and varying a bit or sampled for longer than just an instant on MD2." - DAC: "On MD1 it just outputs a short pulse for each voice, one voice after another in a cycle, on MD2 it holds the value for quite a while (but still just a fraction of that voice's slot which is 1/6th of the YM2612 clock (about 53 kHz))." - MD1 DAC levels measured with his analysis tool, with "the 9th DAC bit" 0 and 1: "there's quite a jump of 3 samples between $7F and $80 (exactly in the middle) and a few further values are quite off too." MD2: "Those jumps in the DAC are mostly gone". - Analogue path: MD1 "1st order filter", MD2 "a 2nd order filter", "severe nonlinearities", "noisy, muffled and heavily distorted". Frequency response measured "from 0 to 26391 Hz" by white noise and phase correlation. - "loud PCM" debug bit (this is register $2C bit 5, see D): "amplified the volume around 5-fold on MD2 as expected and about 30-fold on MD1". - Footnote 4 (Jorge Nuno's guess): the bad MD2 audio applies to MD2 VA0/1/1.8 (LM324 / BA10324AF op-amps); "VA2 and VA2.3 have discrete YM2612 and different audio amp (315-5684, also used in 32x)"; VA3 "uses the same ASIC as VA0/1/1.8 but keeps the better mixing circuit"; VA4 "more ASIC integration (68k and z80 now inside)". Settles: that the discrete chip's output is pulsed per channel and the ASIC's is held; that the 8-bit PCM path has a visible step at the midpoint on MD1. Cannot settle: any number for the step in volts, or the sampling instant of $2A. ## B. The ladder effect and the output stage **Yamaha's own YM2612 manual says it** (see D1, tier 2, direct, pages viewed as images): - printed p. 30 (PDF p. 31), section 2-4-3 "出力制御回路", TL: dynamic range 96 dB, 0.75 dB steps; then, in my translation: "However, in the YM2612 the built-in D/A converter is 9 bit, so the actual analogue audio output corresponds to 54 dB. Therefore, compared with the OPN, even with exactly the same parameter settings the analogue audio output may overflow or underflow." TL bit weights printed: 48, 24, 12, 6, 3, 1.5, 0.75 dB. - printed p. 33 (PDF p. 34), 2-6: "the accumulator sums the slot outputs (9 bit) of each channel sent from the operator and sends them to the D/A converter"; 2-7-1: data written to $2A is D/A converted, "the sampling rate at this time is 55.5 kHz" (that is 8 MHz / 144); 2-7-2 L/R ($B4-$B6 D7, D6): "1" is ON; "however, even when "0" is specified, depending on the voice parameters and the total level set, it may be faintly audible." (The manufacturer admits leakage through a muted pan bit.) - printed p. 36 (PDF p. 37), 3-5 DAC characteristics: maximum output amplitude (MOR, MOL) typ. "2/5Vcc" V; resolution "9" BIT. **Aly James, FMDrive user manual 1.2** (PDF, 55 pages, author Aly James, no licence; a commercial plug-in's manual; tier 3; direct). `MD1_LADDER.wav` comes from his site's tutorials folder. Section "HARMONIC DISTORTION – LADDER": a 440 Hz sine from a Model 1 "on a Spectral analyzer and on oscilloscope, shows a lots of harmonics components ... The effect is even more pronounced the lower TL is."; "(Different Sega models and revision will produce different result in real world.)"; "The Sine wave also can clip when TL is set to 0 (max volume)."; "no sound will be produced if TL is lower than 104" [he means TL value above $67]; "What I have found during close experimentation on the real chip is that the distorted part is actually here even when the output register for a channel are zeroed out. ... I have implemented a "negative value bug" that reproduces the effect closely". No numbers, no scope pictures with scales. His comparison images are spectra, FMDrive vs "Real SEGA hardware", unlabelled model. **ConsoleMods wiki, "Genesis:Audio Chip Notes"** (community wiki, no author named, no licence seen on the archived copy; read direct from web.archive.org because the live site returns 403 to curl and to the fetch tool; tier 3, secondary): - "The YM2612 has a peculiar flaw with its 9-bit DAC, which causes low volume sounds to be quantized in an unusual way and is especially apparent during fades." - YM3438: CMOS; "Yamaha also greatly reduced the "ladder effect"". "Starting in 1992, Sega phased in the use of the Yamaha FC1004 ASIC ... combined the VDP, I/O, and a modified YM3438 into a single chip. The first console to use this ASIC was the original Wondermega, followed by the VA7 model 1 Genesis." Later variants into the GOAC "used in the VA4 model 2 and all Genesis 3s". "The only two exceptions to this are the VA2 and VA2.3 model 2 consoles, which went back to using the YM2612". - So by this page: discrete YM2612 = Model 1 VA0-VA6.x, Model 2 VA2 and VA2.3; ASIC YM3438 core = Model 1 VA7, Model 2 VA0-VA1.8, VA3, VA4, Genesis 3, Wondermega, X'Eye, CDX/Mega Jet/Nomad. (Agrees with Kabuto's footnote 4 and with Sega Retro: "all M1 revisions up until the VA7, some M2 revisions".) - BUSY: "Hellfire's music has a significantly slower tempo when played back on consoles with the YM3438 core because its audio driver uses the busy flag improperly"; "Earthworm Jim also uses the busy flag improperly, but on the YM2612". - Recordings published there (game music, not test signals; not fetched): `Afterburnerva3.wav` (VA3 Model 1, fade-out shows the ladder), `Afterburnerxeye.wav` ("reduced but still present to a degree. Recorded from a Mega Jet"), `Earthwormjimva2.WAV`, `Earthwormjimva3.WAV`, `Earthwormjimva7tbp.WAV`, `Hellfireva3.WAV`, `Hellfirexeye.WAV`. URLs `https://consolemods.org/wiki/File:`. **SpritesMind thread 365, "Yamaha internal waveform info"** (April 2008; direct; tier 1 by intent, data not in hand): TmEE recorded a 27.5 Hz sine "directly" from the chip output of his MD1 and MD2, five or six notes per file with TL stepping 0, 1, 2... ("MD1 does have bad peaks, on all TL values"), published as `http://www.epicgaming.us/tiido/MD_Sine.rar` (not fetched; host not tried, likely dead). HardWareMan objects that a sound card cannot show the true output: "all 6 channels is separated in time with gaps between them. The channel change speed is about 120kHz" and says he made a "very deep analysis of analog output of YM2612" on a dead Russian forum. His oscilloscope traces are in thread 386 (other forks). **Forum title search** for "ladder" on SpritesMind returned 0 topics: there is no dedicated ladder thread; the material is inside thread 386 (p12994, p18861, p21338, p27098, p30937, p31049 were named by a search summary: resistor-string explanation, "no one has precisely measured the MOL/MOR voltage for all 512 DAC levels"). Summary only: the thread forks have the posts. **YM3015.pdf** (megadrive-python `reference/manuals/`, 8 pages, image-only; page 1 viewed): Yamaha "YM3015 2-Channel Serial & Binary input Floating D/A Converter (DAC-GS)", catalog LSI-2130150: an EXTERNAL floating DAC, "10-bit mantissa and 7-step exponent", for chips such as the YM2151/YM2608. The YM2612 has its DAC built in and does not use it. Relevance: only as the thing the OPN2 replaced (the YM2608's 16-bit dynamic range versus the YM2612's 9 bits). Not otherwise needed. **MegaDrive Wiki (md.railgun.works), "YM2612"** (CC BY-NC-SA per the page footer; last modified 16 March 2015; direct; tier 3 secondary). NON-COMMERCIAL licence: cite, do not copy. Says Yamaha "replaced [the accumulator] with ... time-division sound multiplexer, which first truncates the 14-bit output to 9 bits, and then rapidly loops through outputting all channels. This truncation causes a glitch as the wave form approaches zero". Also carries Oerg866's $2C finding (D). No source found anywhere gives the ladder step as a number in volts or LSBs from a measurement, except Kabuto's "a jump of 3 samples between $7F and $80" for the 8-bit PCM path on one MD1. ## C. Test ROMs and published results - **Nemesis's YM2612 test ROMs**: listed in A. Results are prose in thread 386 plus the two SSG-EG recordings and (unconfirmed) the CSM recording. - **Key fact for the whole Phase 0** (thread 1118, Nemesis, 2012-04-16, direct): how Nemesis measured digitally: test register $21 "Bits 6 and 7 are very useful, as they allow the internal 14-bit output data from the operator unit to be read out over the status register. This feature was crucial for the YM2612 testing I performed." His notes: "bit 7 - Select upper/lower bits of 14-bit output from operator unit to the accumulator. If set, lower bits are read, otherwise upper bits are read. Note that when the upper bits are selected, the lower 6 bits of the 8-bit result contain the upper 6 bits of the 14-bit operator output. The upper 2 bits of the result do return data, but the meaning of that data is currently unknown. bit 6 - Enable output of operator data to status register". So his phase and envelope tables are exact digital read-outs from a real chip, not audio estimates: tier 1. A probe ROM on the owner's Genesis could re-read any operator output the same way once the console is repaired. - **GManiac, same thread, 2012-04-16** (hardware tests on channel 1, algorithm 7): $21 "bit 3 turns off Phase Generator. All operators stay in their phase"; "bit 4 turns off all operators except operator 4 ... output values that are GREATER OR EQUAL 0" become "-256"; "bit 5 turns on all operators on MAX amplitude according to their TL". - **Ghost's sweep ROMs**: capture tools only (A). - **MDFourier** (Artemio Urbina; analyser source GPL-2.0-or-later per `mdfourier.h`'s header, which was the only source line read; documentation at junkerhq.net/MDFourier, read direct in part). The Mega Drive signal (generated by the 240p Test Suite, GPL-2.0, not read): profile `mdfblocksGEN.mfn`: Sync, 96 FM blocks, 40 PSG, 20 PSG ramp, 16 noise, each 20 frames, Sync; NTSC frame 16.6884 ms. It measures frequency response, level balance FM vs PSG and noise floor per console: the analogue path, not FM arithmetic. Recordings published (the zip in A), 192 kHz ("M192") or Lexicon Alpha ("LA") captures; documentation chapter 5 table of the author's own units, all stock: Model 1 HAA-2510 VA1 (JP) `A-MD1JJVA1`; Model 1 1601 VA3 (US) `A-MD1UTVA3` headphone and `-AV`; VA6 `A-MD1UJVA6`, `A-MD1UTVA6-1`, `A-MD1UTVA6-2`, `A-MD1JJVA6`; Model 2 MK-1631 VA1.8 `A-MD2UCVA18` (AV out); Nomad `A-NMUT`; CDX; Sega CD. The zip also has contributor "MJ-" files: MD1 VA2, VA3, VA6.5, VA7; MD2 VA0, VA1, VA1.8, VA2.3, VA3, VA4; MD3 VA1, VA2. One published number: VA3 vs JP VA6, "amplitude is higher than the PSG amplitude by a really low margin, around 0.4 dBFS". These span both chips (MD1 VA7 / MD2 VA0-1.8 / VA3 / VA4 / MD3 = ASIC; the rest discrete), so the same FM blocks through YM2612 and YM3438 exist as recordings: a possible tier-1 check of the discrete/ASIC difference at block level. - **Oerg866's register $2C test** (thread 1118, 2012-04-15; a cartridge program, run on his hardware; djcouchycouch and Chilly Willy (CDX) confirm "works"): see D. - **Self-checking YM2612 suites with published pass/fail from real consoles**: NONE FOUND. Two searches turned up no busy-flag, timer or CSM test ROM with a published result table. Eke's 2017 BUSY measurements are in thread 386 (start=810). - 240p Test Suite audio tests: only as the MDFourier generator; no FM verdicts. - Sega's "MD Soft Checker" is pinned by megadrive-python (factory diagnostic); not examined here. ## D. Documents ### D1. Yamaha's YM2612 application manual, in Japanese (NEW, tier 2, the chip itself) `reference/web/segaretro-YM2612_manual.pdf`, 35,457,003 bytes, 125 pages, . Sega Retro's file page: "An official YM2612 manual. Sourced from Hidden Palace's SMPS source code release, where it is labelled 'the green folder'", uploaded by Clownacy, 26 February 2024. Hidden Palace's article ("Sega of Japan Sound Documents and Source Code"): two binders and two floppies from a Sega of Japan developer, "authored around January/February 1991", preserved with Frank Cifaldi (Video Game History Foundation), scanned at 600 dpi; it says "To our knowledge, Yamaha's official documentation on the chip was never provided to anyone outside of Japan". © Yamaha (ヤマハ株式会社 半導体事業部) and Sega; no licence: internal developer material that leaked/was donated. POLICY question for the owner (same standing as the Game Gear manual stamped confidential in the sn76489 work). Contents by PDF page (OCR text layer is poor; pages must be viewed as images): 1 cover "MEGADRIVE用サウンドツール資料"; 2-39 Yamaha's "YM2612 アプリケーションマニュアル"; 40 a DX21-to-YM2612 parameter table; 42-47 Z80/68K memory map and D/A control notes; 48-98 Sega sound driver manuals dated 1989.10.4 (Sega R&D 2); 99-102 ROM-RAM board; 103-115 Sega's PSG manual (revised 4 October 1989); 116-125 flowcharts. Yamaha manual sections seen: 1-1 features, 1-2 block diagram (p5), 1-3 pin-out (p6), 1-4 pin functions (p7), 1-5 data bus control (p8-9), write wait times (p10), 1-6 register map (p11-12), 1-7 status flag (p13), 2-1 registers incl. timers (p15-16), key on/off (p17), 2-2 operators, algorithms, feedback (p19-23), 2-3 PG with F-number tables at φM = 8 MHz (p24-26), 2-4 EG, SSG-type envelope control (p27-30), 2-4-3 output control (p31), 2-5 LFO (p32-33), 2-6 accumulator, 2-7 D/A and output (p34), 3 electrical characteristics (p35-39). Pages viewed as images here (3, 9, 10, 13, 31, 34, 37) and what they say: - Features (p3, from the text layer): 4 operators, 6 voices; sine LFO; software compatible with YM2203; 9-bit D/A, 2-channel output; master clock 8 MHz; N-channel silicon-gate MOS; single 5 V; 24-pin plastic DIP. - **Write wait times** (printed p. 8, PDF p. 10), "cycle counts are cycles of the master clock φM": Table 1.3 after an ADDRESS write, addresses $21-$B6: **17**. Table 1.4 after a DATA write: $21-$9E: **83**; $A0-$B6: **47**. (These are the manufacturer's figures. A search summary also showed the same three numbers as constant names in a GPL emulator; they are taken from this page, not from there.) - Bus modes (printed p. 7): address written once is held until the next address write, so repeated data writes to one register need the address only the first time; a wait is required after each write "because of the LSI's internal data processing method"; status read mode outputs the status register; CS high = bus high impedance. - Status (printed p. 11): one byte: bit 7 BUSY, bits 1-0 FLAG B, A; address "$XX". - Output control, accumulator, D/A, L/R leakage, DAC characteristics: quoted in B. - AC characteristics (printed p. 36): fc typ. 8.0 MHz, duty 50 %; CS write width min 200 ns, WR width min 200 ns, write data set-up min 100 ns, hold min 20 ns; read access max 250 ns; **reset pulse width (IC) typ. "192" cycles**. The parent should view pp. 5-8, 11-12, 15-18, 23-34 itself: this is the only manufacturer text written for the YM2612 rather than the YM3438 or YM2608, and it includes the SSG-EG section and the YM2612's own F-number tables. ### D2. YM3438 application manual (Japanese), a second copy `reference/web/segaretro-YM3438_JP_Application_Manual.pdf` () is byte-identical (sha256 8976f567...) to `FM Datasheets/YM3438_APL.pdf` in Nemesis's FMDocs.7z. So the manual has a public, fixed URL independent of the 143 MB bundle. ### D3. Sega's manual, transcribed: Maxim, "Sega Genesis Technical Manual - YM2612 section" , by Maxim; no licence. A transcription of Sega's YM2612 pages (the old SEGA2.DOC, corrected against scans, with page numbers). Tier 2 by content (it is Sega's text), not hardware-checked by him as far as the page says. Read: introduction and contents only; the Sega manual itself is in megadrive-python's `reference/manuals/` for the parent. Use: a searchable text of the same pages. ### D4. Plutiedev (Sik), "YM2612 register reference" and "Common YM2612 operations" , ; author Sik; no licence stated; tier 3 (a working sound-driver author; the pages do not describe tests). Read direct, whole. Beyond the manuals: - "Sega documented the values as if they were for 8MHz, while the YM2612 is actually connected to a slighly slower clock (specifically, the same one that feeds the 68000, which is 7.67MHz in NTSC and 7.61MHz in PAL)." - LFO rates at the console's clock: 3.82, 5.33, 5.77, 6.11, 6.60, 9.23, 46.11, 69.22 Hz. Timer A: "($400 - TMRA) × 18.77µs"; Timer B: "($100 - TMRB) × 300.34µs". - $27 bits: LOAD "0: timer is frozen 1: timer is running"; ENBL "0: does nothing 1: sets the flag"; RST clears the flag; MODE 00 normal, 01 special, 10 CSM. - Register order S1, S3, S2, S4 (operator names from the YM3438 data sheet). Channel 3 special mode frequency registers: S1 $AD/$A9, S2 $AE/$AA, S3 $AC/$A8, S4 $A6/$A2. - "first write its higher half then its lower half (frequency won't be updated until the latter write)." - $28: "Attack rate starts when going from off to on, release rate starts when going from on to off. Envelope is not affected when staying the same." - PMS depths ±0.034, 0.067, 0.10, 0.14, 0.20, 0.40, 0.80 semitones; AMS ±1.4, 5.9, 11.8 dB. TL 0.75 dB per step. SSG-EG: "You must make sure that attack rate is 31 or it will not work properly." - Stopping a note with RR = 15 and key-off "can take up to 128 YM2612 samples (about 2.4ms)". ### D5. Sega Retro, "YM2612" ; wiki, tier 3 secondary; direct. Clock "7.670453 MHz (NTSC), 7.600489 MHz (PAL)"; output "53.267 kHz (NTSC), 52.781 kHz (PAL)" (its reference for that is an emulator core); "Sega Mega Drive (1988; all M1 revisions up until the VA7, some M2 revisions)" for the YM2612; YM3438 in System 18, System C, System 32, Wondermega. It is where D1 and D2 were found. ### D6. Undocumented register $2C (Oerg866, April 2012) SpritesMind thread 1118, , read direct (third-party code blocks withheld); also summarised on the MegaDrive Wiki. Tier 3 with hardware tests by the poster. $2C bit 5 set: the DAC sample is output on every channel slot whose channel has L or R set (so "4x louder" with all FM channels off, per Oerg866; Kabuto measured about 5-fold on MD2 and 30-fold on MD1), FM is not heard, "PCM output still works when DAC is turned off but $2C is turned on", and "The only thing that actually affects PCM panning is how many FM channels have either the L or R bit set". Nemesis: "I didn't spot that new test register when the YM3438 documentation was discovered" (the YM3438 manual lists $2C as a test register). No game is known to need it. ### D7. "OPLx decapsulated", Matthew Gambrell and Olli Niemitalo, 20 April 2008 Google document 18IGx18NQY_Q1PJVZ-bHywao9bhsDoAqoIn1rIm42nwo (text export fetched, read direct); no licence stated; "We hope this will be useful for anyone writing a good emulator." Tier 1 (ROM bits read from a decapped YM3812 and YMF262), but it is the OPL2, not the OPN2. Gives the two ROMs as formulas that "re-created the contents of the ROM tables exactly": - exponential: "x = 0..255, y = round((power(2, x/256)-1)*1024)" - log-sin: "x = 0..255, y = round(-log(sin((x+0.5)*pi/256/2))/log(2)*256)" and the structure "out = exp(logsin(phase2 + exp(logsin(phase1) + gain1)) + gain2)". Whether the YM2612 carries the same two ROMs is not shown by this document; it needs a statement from thread 386 (Nemesis's read-outs via $21) or from ymfm. Olli Niemitalo posts in thread 386 as "yehar". ### D8. Patents (Google Patents pages fetched; abstracts and keyword passages read) | Number | Inventor / assignee | Filed, granted | Bears on | |---|---|---|---| | US 4,018,121 | John M. Chowning / Stanford | 1975, 1977 | FM synthesis itself | | US 4,249,447 | Norio Tomisawa / Nippon Gakki | 1979, 1981 | Operator self-feedback: address = x + β·sin y; and the cure for "hunting" at high β: "an average value of data at two sample points adjacent to each other" (a delay flip-flop, an adder and a 1/2 multiplier on the memory output). This is the documented origin of feeding back the mean of the last two outputs. | | US 4,297,933 | Tetsuo Nishimoto / Nippon Gakki | 1979, 1981 | Selectable algorithms from gated arithmetic units driven in time division | | US 4,554,857 | Tetsuo Nishimoto / Nippon Gakki | 1983, 1985 | One operator used in time division over channel and operator time slots; frequency numbers held in logarithmic form and converted; phase accumulator as "an adder 16, a 96-stage/22-bit shift register 17 and a gate 18" (the DX7 generation, not OPN numbers) | | US 4,813,326 | Hirano, Okamura / Yamaha | 1987, 1989 | Waveshape modification (OPL2 waveforms); not OPN2 | | US 4,643,066 | Akiyoshi Oya / Nippon Gakki | 1978, 1987 | FM instrument; background | None is an OPN-specific patent and none gives OPN2 constants. They support "documented" for the architecture (log-sine plus exponent conversion, time-division operators, averaged feedback), nothing finer. Expired; public documents. ### D9. Other - Wikipedia "Yamaha YM2612": seen in search summaries only; not fetched. - A "Genesis Sound Software Manual" as a separate Sega document was not found; the sound chapter lives in the Genesis Software Manual (megadrive-python `reference/manuals/`), and Sega of Japan's driver manuals are inside D1. - No English Yamaha YM2612 data sheet was found; Sega Retro lists only D1 and D2. - `http://www.msxarchive.nl/pub/msx/mirror ... ym2612.txt` / `ym2151.txt` (test register notes Nemesis cites, calling the ym2612 one "wrong or very incomplete"); the YM2612 one is the same text as `ym2612 test register.txt` in FMDocs.7z. The YM2151 one credits MAME: not fetched. ## Declined, and why - Nothing by or crediting "furrtek" was met. Every fetched HTML and text file was grepped for "furrtek"/"gonsalves" before reading: 0 hits in all. - Genesis Plus GX, BlastEm, MAME FM and Furnace pages that searches returned: not opened. - MDFourier and 240p Test Suite source (GPL-2.0): only the licence header of `mdfourier.h` was read, to establish the licence. - Ghost's `.asm` files inside `sweep_1000.rar`: not extracted (no licence; not needed). - The 107 MB attack-and-release recording: listed, not unpacked, as instructed. - TmEE's `MD_Sine.rar`, ConsoleMods' game recordings: not fetched (large or dead hosts; game music is not a test signal). - consolemods.org live (403), nemesis.hacking-cult.org (502), shedevr.org.ru (403): unreachable today; archive copies used or megadrive-python's pins cited. ## Slips 1. megadrive-python worklog lines 874-875 (old-model explanation of the ladder) were read before I saw what they were. Not carried into these notes beyond naming it. 2. Search summaries (not sought) printed three busy-cycle constant names from BlastEm with values 17, 83, 47, one line of a Genesis Plus GX changelog about ladder emulation, and a one-sentence paraphrase of die-level BUSY logic attributed to a forum post. The numbers 17/83/47 are independently printed in Yamaha's manual (D1), which is the source to cite. 3. In thread 1118 the excerpt printer truncated posts at 1,300 characters and one quoted line of Eke's ("xxxxxxxx000000", a bit-layout sketch, not code) was shown. 4. The Google Patents requests used the User-Agent "Mozilla/5.0 reference-fetch" rather than plain "reference-fetch".