-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the current progress #9
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Core interpreter
basically done and most instructions are tested against hardware, done using test_generator and test_verifier. Instructions that were not automatically tested include
Instructions that still doesn't pass all test:
The second one might be important as Pokemon XY is using that mode (not sure if hitting the buggy case tho)likely caused by a precious ar/arp context restore bugPeripherals
APBP (???)
Implemented according to 3dbrew/gbatek doc, and observation in DSP code. Not well tested. Working fine so far.
ICU (interrupt controller unit)
Implemented according to gbatek doc, and observation in DSP code. Not well tested. Working fine so far.
MIU (memory interface unit)
Implemented according to observation in DSP code and Lauterbach Teak debugger. Memory bank switching registers are hwtested. Others are not. Working fine so far.
AHBM (Advanced High-performance Bus Master?) + DMA (Direct memory access)
Implemented according to gbatek and observation in DSP code. Only CPU->DSP direction is implemented (kind-of), but another two directions (DSP->CPU and DSP->DSP) exist, it seems. Some unknown registers are doing important things but unclear. Need massive hwtest on this!Mostly implemented and verified against hardware. Some configure/status bits are still unknown.BTDMP (buffered time-division multiplexing port? a.k.a audio output port)
Implemented according to gbatek and observation in DSP code.
Never actually got real audio from emulation (almost always 00000000...), but messing with registers here indeed let real 3DS play noise.Got recognizable audio, but there are some noise.Fixed, working nowTimer
Implemented according to observation in DSP code and Lauterbach Teak debugger.
Not hwtestedcounting frequency and counter registers are verified on hardware. Kind of work, but the usage from DSP code is strange (setting up a 1-second repeating timer and only constantly read the tick count from it?)The text was updated successfully, but these errors were encountered: