From a05db5092a09b79559bcbe9f27187a9f803a8a5a Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 25 Jun 2021 14:45:54 -0400 Subject: [PATCH] Updated The Enterprise (markdown) --- The-Enterprise.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/The-Enterprise.md b/The-Enterprise.md index 48ebc5c..31eb186 100644 --- a/The-Enterprise.md +++ b/The-Enterprise.md @@ -79,6 +79,20 @@ The fourth is of variable length, being configurable to either 9, 11, 15 or 17 b The programmer can opt to provide the noise channel's polynomial counter the tone generators, replacing the 7 bit counter. +Polynomials in use are: +* 0xc +* 0x14 +* 0x60 +* 0x110 +* 0x500 +* 0x6000 +* 0x12000 + +i.e. a potential C-style implementation is: + + output = counter & 1; + counter = (counter >> 1) ^ (output ? polynomial_as_listed : 0); + #### Tone Generators Each channel has a flip flop specifying its current state — high or low.