Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
POKEY
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Audio Channel Control=== The Audio Channel control registers provide volume and distortion control over individual sound channels. Audio may also be generated independently of the POKEY clock by direct volume manipulation of a sound channel which is useful for playing back digital samples. ====AUDC1 $D201 Write==== Audio Channel 1 Control ====AUDC2 $D203 Write==== Audio Channel 2 Control ====AUDC3 $D205 Write==== Audio Channel 3 Control ====AUDC4 $D207 Write==== Audio Channel 4 Control {| class="wikitable" |- ! Bit 7 !! Bit 6 !! Bit 5 !! Bit 4 !! Bit 3 !! Bit 2 !! Bit 1 !! Bit 0 |- | Noise 2 || Noise 1 || Noise 0 || Force Volume || Volume 3 || Volume 2 || Volume 1 || Volume 0 |} Bit 0-3: Control over volume level, from 0 to F. Bit 4: Forced volume-only output. When this bit is set the channel ignores the AUDF timer, noise/distortion controls, and high-pass filter. Sound is produced only by setting volume bits 0:3 . This feature was used to create digital audio via [[pulse-code modulation]]. Bit 5-7: Shift register settings for noises/distortion. Bit values described below: {| class="wikitable" |- ! Noise Value !! Bits Value !! Description |- | 0 0 0 || $00 || 5-bit then 17-bit polynomials |- | 0 0 1 || $20 || 5-bit poly only |- | 0 1 0 || $40 || 5-bit then 4-bit polys |- | 0 1 1 || $60 || 5-bit poly only |- | 1 0 0 || $80 || 17-bit poly only |- | 1 0 1 || $A0 || no poly (pure tone) |- | 1 1 0 || $C0 || 4-bit poly only |- | 1 1 1 || $E0 || no poly (pure tone) |} Generating random noises is served by reading 8 bits from top of 17-bit shift register. That registers are driven by frequency 1.79 MHz for NTSC or 1.77 MHz for PAL. Its outputs can by used independently by each audio channels' divider rate.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)