From 320bebb4bec96acaf08142421d270205858d3957 Mon Sep 17 00:00:00 2001 From: freq-mod <32672779+freq-mod@users.noreply.github.com> Date: Tue, 1 Feb 2022 21:15:05 +0100 Subject: [PATCH] Add 12xx duty cycle description (#101) --- papers/doc/7-systems/ay8930.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/papers/doc/7-systems/ay8930.md b/papers/doc/7-systems/ay8930.md index 720ecf047..7344b8f0b 100644 --- a/papers/doc/7-systems/ay8930.md +++ b/papers/doc/7-systems/ay8930.md @@ -10,6 +10,15 @@ while emulation of this chip is mostly complete, the additional noise setup regi # effects - `12xx`: set channel duty cycle. `xx` is a value between 00 and 08. + - `00`: 3.125% + - `01`: 6.25% + - `02`: 12.5% + - `03`: 25% + - `04`: 50% + - `05`: 75% + - `06`: 87.5% + - `07`: 93.75% + - `08`: 96.875% - `20xx`: set channel mode. `xx` may be one of the following: - `00`: square - `01`: noise @@ -43,4 +52,4 @@ while emulation of this chip is mostly complete, the additional noise setup regi - in this mode the envelope period is set to the channel's notes, multiplied by a fraction. - `x` is the numerator. - `y` is the denominator. - - if `x` or `y` are 0 this will disable auto-envelope mode. \ No newline at end of file + - if `x` or `y` are 0 this will disable auto-envelope mode.