<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://f256wiki.wildbitscomputing.com/index.php?action=history&amp;feed=atom&amp;title=Use_Core2x</id>
	<title>Use Core2x - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://f256wiki.wildbitscomputing.com/index.php?action=history&amp;feed=atom&amp;title=Use_Core2x"/>
	<link rel="alternate" type="text/html" href="https://f256wiki.wildbitscomputing.com/index.php?title=Use_Core2x&amp;action=history"/>
	<updated>2026-04-15T20:37:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://f256wiki.wildbitscomputing.com/index.php?title=Use_Core2x&amp;diff=38159&amp;oldid=prev</id>
		<title>Foenix: Created page with &quot;== How to use the New Core2x ==  The Codec chip is a way to mix and match audio signals together for their single audio output (headphones, RCA jacks).  Its datasheet can be found in the goodies github repo: https://github.com/Mu0n/F256MiscGoodies/blob/main/datasheets/WM8776_v4.1-532420.pdf  === Codec Registers ===  {| class=&quot;wikitable&quot; ! Address !! R/W !! B7 !! B6 !! B5 !! B4 !! B3 !! B2 !! B1 !! B0 !! Purpose |- | 0xD620 || W|| D7|| D6|| D5|| D4|| D3|| D2|| D1|| D0|| C...&quot;</title>
		<link rel="alternate" type="text/html" href="https://f256wiki.wildbitscomputing.com/index.php?title=Use_Core2x&amp;diff=38159&amp;oldid=prev"/>
		<updated>2025-07-11T07:17:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== How to use the New Core2x ==  The Codec chip is a way to mix and match audio signals together for their single audio output (headphones, RCA jacks).  Its datasheet can be found in the goodies github repo: https://github.com/Mu0n/F256MiscGoodies/blob/main/datasheets/WM8776_v4.1-532420.pdf  === Codec Registers ===  {| class=&amp;quot;wikitable&amp;quot; ! Address !! R/W !! B7 !! B6 !! B5 !! B4 !! B3 !! B2 !! B1 !! B0 !! Purpose |- | 0xD620 || W|| D7|| D6|| D5|| D4|| D3|| D2|| D1|| D0|| C...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== How to use the New Core2x ==&lt;br /&gt;
&lt;br /&gt;
The Codec chip is a way to mix and match audio signals together for their single audio output (headphones, RCA jacks).&lt;br /&gt;
&lt;br /&gt;
Its datasheet can be found in the goodies github repo: https://github.com/Mu0n/F256MiscGoodies/blob/main/datasheets/WM8776_v4.1-532420.pdf&lt;br /&gt;
&lt;br /&gt;
=== Codec Registers ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Address !! R/W !! B7 !! B6 !! B5 !! B4 !! B3 !! B2 !! B1 !! B0 !! Purpose&lt;br /&gt;
|-&lt;br /&gt;
| 0xD620 || W|| D7|| D6|| D5|| D4|| D3|| D2|| D1|| D0|| Command Low&lt;br /&gt;
|-&lt;br /&gt;
| 0xD621 || W || R6|| R5|| R4|| R3|| R2|| R1|| R0|| D8|| Command High&lt;br /&gt;
|-&lt;br /&gt;
| 0xD622 || R|| X|| X|| X|| X|| X|| X|| X|| Busy|| Status&lt;br /&gt;
|-&lt;br /&gt;
| 0xD622 || W|| X|| X|| X|| X|| X|| X|| X|| Start|| Control&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== How to enable (unmute) every sound device ===&lt;br /&gt;
&lt;br /&gt;
* Loop-read 0xD622 and wait until bit0 is set to 1&lt;br /&gt;
* Send 0x1F to Command Low at 0xD620&lt;br /&gt;
* Send 0x2A to Command High at 0xD621&lt;br /&gt;
* Loop-read 0xD622 and wait until bit0 is set to 1&lt;br /&gt;
&lt;br /&gt;
=== Audio input devices on the various machines ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! CODEC inputs !! F256Jr !! F256K !! F256K2 !! F256Jr2&lt;br /&gt;
|-&lt;br /&gt;
| AIN1|| SID|| SID|| SAM2695 MIDI|| SAM2695 MIDI&lt;br /&gt;
|-&lt;br /&gt;
| AIN2|| Line in onboard header || OPL3|| MIDI wavetable|| &lt;br /&gt;
|-&lt;br /&gt;
| AIN3|| || || PWM|| PWM&lt;br /&gt;
|-&lt;br /&gt;
| AIN4|| || || VS1053b|| VS1053b&lt;br /&gt;
|-&lt;br /&gt;
| AIN5|| || Line in onboard header|| Line in onboard header|| Line in onboard header&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Foenix</name></author>
	</entry>
</feed>