From f116bbee03b661738984ef7dc5d014a994869d25 Mon Sep 17 00:00:00 2001 From: Electric Keet Date: Sun, 25 Aug 2024 20:41:17 -0700 Subject: [PATCH] Docs updated for revised 60xy effect. --- doc/7-systems/ym2151.md | 9 ++++++--- doc/7-systems/ym2203.md | 9 ++++++--- doc/7-systems/ym2608.md | 9 ++++++--- doc/7-systems/ym2610.md | 9 ++++++--- doc/7-systems/ym2610b.md | 9 ++++++--- doc/7-systems/ym2612.md | 9 ++++++--- 6 files changed, 36 insertions(+), 18 deletions(-) diff --git a/doc/7-systems/ym2151.md b/doc/7-systems/ym2151.md index 755be6d37..cadaf6b79 100644 --- a/doc/7-systems/ym2151.md +++ b/doc/7-systems/ym2151.md @@ -68,10 +68,13 @@ in most arcade boards the chip was used in combination with a PCM chip, like [Se - `5Dxx`: **set D2R/SR of operator 2.** - `5Exx`: **set D2R/SR of operator 3.** - `5Fxx`: **set D2R/SR of operator 4.** -- `60xx`: **set operator mask.** - - `xx` goes from `00` to `0F`. it is a bitfield, so the value is the sum of the active operators' bits: +- `60xy`: **set operator mask.** + - enables or disables operators. + - if `x` is `0`, `y` ranges from `0` to `F`. it is a bitfield, so `y` is the sum of the active operators' bits: - OP1 is +1, OP2 is +2, OP3 is +4, and OP4 is +8. - - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xx` value of `0A`. + - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xy` value of `0A`. + - if `x` is `1` to `4`, the effect targets that operator; `y` turns it off with a value of `0` and on with a value of `1`. + - for example, the effect `6031` enables OP3. ## info diff --git a/doc/7-systems/ym2203.md b/doc/7-systems/ym2203.md index 91d38341d..a9003bd57 100644 --- a/doc/7-systems/ym2203.md +++ b/doc/7-systems/ym2203.md @@ -99,10 +99,13 @@ several variants of this chip were released as well, with more features. - `5Dxx`: **set D2R/SR of operator 2.** - `5Exx`: **set D2R/SR of operator 3.** - `5Fxx`: **set D2R/SR of operator 4.** -- `60xx`: **set operator mask.** - - `xx` goes from `00` to `0F`. it is a bitfield, so the value is the sum of the active operators' bits: +- `60xy`: **set operator mask.** + - enables or disables operators. + - if `x` is `0`, `y` ranges from `0` to `F`. it is a bitfield, so `y` is the sum of the active operators' bits: - OP1 is +1, OP2 is +2, OP3 is +4, and OP4 is +8. - - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xx` value of `0A`. + - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xy` value of `0A`. + - if `x` is `1` to `4`, the effect targets that operator; `y` turns it off with a value of `0` and on with a value of `1`. + - for example, the effect `6031` enables OP3. ## extended channel 3 diff --git a/doc/7-systems/ym2608.md b/doc/7-systems/ym2608.md index 8331c2162..e2c307721 100644 --- a/doc/7-systems/ym2608.md +++ b/doc/7-systems/ym2608.md @@ -99,10 +99,13 @@ the YM2610 (OPNB) and YM2610B chips are very similar to this one, but the built- - `5Dxx`: **set D2R/SR of operator 2.** - `5Exx`: **set D2R/SR of operator 3.** - `5Fxx`: **set D2R/SR of operator 4.** -- `60xx`: **set operator mask.** - - `xx` goes from `00` to `0F`. it is a bitfield, so the value is the sum of the active operators' bits: +- `60xy`: **set operator mask.** + - enables or disables operators. + - if `x` is `0`, `y` ranges from `0` to `F`. it is a bitfield, so `y` is the sum of the active operators' bits: - OP1 is +1, OP2 is +2, OP3 is +4, and OP4 is +8. - - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xx` value of `0A`. + - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xy` value of `0A`. + - if `x` is `1` to `4`, the effect targets that operator; `y` turns it off with a value of `0` and on with a value of `1`. + - for example, the effect `6031` enables OP3. ## extended channel 3 diff --git a/doc/7-systems/ym2610.md b/doc/7-systems/ym2610.md index bad3e4ff7..26845eb8b 100644 --- a/doc/7-systems/ym2610.md +++ b/doc/7-systems/ym2610.md @@ -97,10 +97,13 @@ its soundchip is a 4-in-1: 4ch 4-op FM, YM2149 (AY-3-8910 clone) and [2 differen - `5Dxx`: **set D2R/SR of operator 2.** - `5Exx`: **set D2R/SR of operator 3.** - `5Fxx`: **set D2R/SR of operator 4.** -- `60xx`: **set operator mask.** - - `xx` goes from `00` to `0F`. it is a bitfield, so the value is the sum of the active operators' bits: +- `60xy`: **set operator mask.** + - enables or disables operators. + - if `x` is `0`, `y` ranges from `0` to `F`. it is a bitfield, so `y` is the sum of the active operators' bits: - OP1 is +1, OP2 is +2, OP3 is +4, and OP4 is +8. - - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xx` value of `0A`. + - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xy` value of `0A`. + - if `x` is `1` to `4`, the effect targets that operator; `y` turns it off with a value of `0` and on with a value of `1`. + - for example, the effect `6031` enables OP3. ## extended channel 2 diff --git a/doc/7-systems/ym2610b.md b/doc/7-systems/ym2610b.md index 3416b81ef..f9681d5a7 100644 --- a/doc/7-systems/ym2610b.md +++ b/doc/7-systems/ym2610b.md @@ -96,10 +96,13 @@ it is backward compatible with the original chip. - `5Dxx`: **set D2R/SR of operator 2.** - `5Exx`: **set D2R/SR of operator 3.** - `5Fxx`: **set D2R/SR of operator 4.** -- `60xx`: **set operator mask.** - - `xx` goes from `00` to `0F`. it is a bitfield, so the value is the sum of the active operators' bits: +- `60xy`: **set operator mask.** + - enables or disables operators. + - if `x` is `0`, `y` ranges from `0` to `F`. it is a bitfield, so `y` is the sum of the active operators' bits: - OP1 is +1, OP2 is +2, OP3 is +4, and OP4 is +8. - - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xx` value of `0A`. + - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xy` value of `0A`. + - if `x` is `1` to `4`, the effect targets that operator; `y` turns it off with a value of `0` and on with a value of `1`. + - for example, the effect `6031` enables OP3. ## extended channel 3 diff --git a/doc/7-systems/ym2612.md b/doc/7-systems/ym2612.md index 051ebeeaa..087cd914b 100644 --- a/doc/7-systems/ym2612.md +++ b/doc/7-systems/ym2612.md @@ -82,10 +82,13 @@ thanks to the Z80 sound CPU, DualPCM can play two samples at once! this mode spl - `5Dxx`: **set D2R/SR of operator 2.** - `5Exx`: **set D2R/SR of operator 3.** - `5Fxx`: **set D2R/SR of operator 4.** -- `60xx`: **set operator mask.** - - `xx` goes from `00` to `0F`. it is a bitfield, so the value is the sum of the active operators' bits: +- `60xy`: **set operator mask.** + - enables or disables operators. + - if `x` is `0`, `y` ranges from `0` to `F`. it is a bitfield, so `y` is the sum of the active operators' bits: - OP1 is +1, OP2 is +2, OP3 is +4, and OP4 is +8. - - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xx` value of `0A`. + - for example, having only OP2 and OP4 on would be 2 + 8 = 10, resulting in an `xy` value of `0A`. + - if `x` is `1` to `4`, the effect targets that operator; `y` turns it off with a value of `0` and on with a value of `1`. + - for example, the effect `6031` enables OP3. ## info