• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.travis/H24-Feb-2022-

CMakeModules/H24-Feb-2022-

externals/catch/H03-May-2022-

hwtest/H24-Feb-2022-

include/teakra/H24-Feb-2022-

src/H03-May-2022-

tests/H03-May-2022-

.clang-formatH A D24-Feb-20222.5 KiB

.gitignoreH A D24-Feb-2022587

.travis.ymlH A D24-Feb-2022694

LICENSEH A D24-Feb-20221 KiB

README.mdH A D24-Feb-20222.3 KiB

appveyor.ymlH A D24-Feb-2022569

README.md

1# Teakra
2
3[![Build Status](https://travis-ci.com/wwylele/teakra.svg?branch=master)](https://travis-ci.com/wwylele/teakra)
4[![Build status](https://ci.appveyor.com/api/projects/status/mxr5tg4v8dafyqec/branch/master?svg=true)](https://ci.appveyor.com/project/wwylele/teakra/branch/master)
5
6Emulator, (dis-)assembler, tools and documentation for XpertTeak, the DSP used by DSi/3DS.
7
8Many thanks to Martin Korth and many other contributers for their help and their [excellent GBATEK doc](http://problemkaputt.de/gbatek.htm#dsixpertteakdsp)!
9
10## Contents
11Please refer to README.md in the following directories for their detail.
12 - `src` contains main source code for compiling portable libraries/tools. [Detailed documentation](src/README.md) for the Teak architecture and for peripherals is also here.
13 - `include` contains the header for the emulator and the disassembler libraries.
14 - `dsptester` contains the source code of a 3DS tool that tests processor instructions and registers
15 - `dspmemorytester` contains the source code of another 3DS tool that tests memory read/write, MMIO and DMA.
16
17## General Information of the XpertTeak
18
19The XpertTeak DSP consists of a Teak-family architecture processor, and peripheral components including DMA, interrupt controller and audio input/output ports etc. The exact architecture of the processor is still unclear. GBATEK states that the architecture is TeakLite II, the successor of the TeakLite architecture. Their evidence is the TeakLite II disassembler bundled in RealView Developer Suite. However, a Teak family debugger from [here](https://www.lauterbach.com) shows that the "TEAK(-REVA, -REVB, DEV-A0, -RTL2_0)" contains very similar registers and instruction set described in GBATEK, while the "TeakLite-II" contains very different registers and instructions. This shows that the architecture is likely the original Teak, introduced along with TeakLite as a "non-Lite" expansion to it.
20
21DSi and 3DS both include XpertTeak. However, their uses of XpertTeak are pretty different. Most DSi games don't use it at all. It's used by the "Nintendo DSi Sound" and "Nintendo Zone" system utilities, and by the "Cooking Coach" cartridge (according to GBATEK), where it appears to be intended for audio/video decoding. On the contrary, 3DS games all use XpertTeak for audio decoding and output.
22