mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-06-16 03:17:20 -04:00
|
||
---|---|---|
.. | ||
coff_reader | ||
dsp1_reader | ||
makedsp1 | ||
mod_test_generator | ||
step2_test_generator | ||
test_generator | ||
test_verifier | ||
ahbm.cpp | ||
ahbm.h | ||
ahbm.md | ||
apbp.cpp | ||
apbp.h | ||
apbp.md | ||
bit.h | ||
btdmp.cpp | ||
btdmp.h | ||
btdmp.md | ||
CMakeLists.txt | ||
common_types.h | ||
core_timing.h | ||
crash.h | ||
cru.md | ||
decoder.h | ||
decoder.md | ||
disassembler.cpp | ||
disassembler_c.cpp | ||
dma.cpp | ||
dma.h | ||
dma.md | ||
icu.h | ||
icu.md | ||
interpreter.h | ||
matcher.h | ||
memory_interface.cpp | ||
memory_interface.h | ||
miu.md | ||
mmio.cpp | ||
mmio.h | ||
mmio.md | ||
ocem.md | ||
operand.h | ||
parser.cpp | ||
parser.h | ||
pmu.md | ||
processor.cpp | ||
processor.h | ||
processor_general.md | ||
README.md | ||
register.h | ||
register.md | ||
shared_memory.h | ||
sio.md | ||
teakra.cpp | ||
teakra_c.cpp | ||
test.h | ||
test_generator.cpp | ||
test_generator.h | ||
timer.cpp | ||
timer.h | ||
timer.md |
Content
- main library
- processor related
- operand: defines basic operand types used in instructions
- matcher and decoder: decodes binary instructions into opcodes and operands
- disassembler: translate binary instructions to (pseudo-)assembly.
- parser: translate (pseudo-)assembly to binary instructions
- interpreter: executes instructions
- register: defines all register states in the processor
- processor: wrapper of interpreter and register as a processor emulator
- test_generator: generates test cases information for the instruction set
- peripherals
- AHBM: interface for accessing external memory (DSi/3DS main memory)
- APBP: interface for communication with CPU (ARM in DSi/3DS)
- BTDMP: audio input/output ports
- DMA: engine for transferring large data between DSP memory and external memory
- ICU: interrupt controller unit
- timer
- MMIO: I/O ports for all peripherals
- shared_memory: the DSP working memory
- memory_interface: the memory space exposed to the processor and related control
- processor related
- Tools
- coff_reader: disassembles and parses symbols COFF files leaked by some DSi applications
- dsp1_reader: disassembles DSP1 files, DSP binary for 3DS applications
- makedsp1: assembles DSP1 files
- test_generator: generate random test cases for processor instructions.
- mod_test_generator & step2_test_generator: similar to test_generator, but dedicated for mod/step2 related instructions
- test_verifier: verify test cases on the interpreter against the result generated from 3DS