12 Commits

Author SHA1 Message Date
Wolfvak
016eac6982 - properly set up MMU tables with caching and other fun stuff
- maps a regular ARM-style exception vector table instead of using the bootrom vector redirection

features a ton of bugs because I'm missing something, it actually manages to boot fb3DS v1.2 and BAX fine, but fails to boot itself
2019-06-03 02:27:41 +02:00
Wolfvak
2f86686388 renamed most low level functions and other stuff to fit with the current theme
- added initial SCU twiddling
- added very untested and unusable SMP code
- fixed race condition that happened on boot
- added initial MMU code (just super basic identity mapping, no caching set up or anything)
- enabled some of the fancier ARMv6 features
- reorganized ARM11 files into their own folders
- possibly more stuff I'm forgetting about
2019-06-03 02:27:41 +02:00
Wolfvak
e70b8ab116 - unified CPU/cache header that works on C and asm code
- added legacy boot PXI command that allows power savings on ARM11
2019-06-03 02:27:41 +02:00
Wolfvak
987b820c4a beginning of better ARM11:
- moved I2C code to the ARM11 (with an ugly hack that MUST be fixed)
- reworked the PXI protocol to have lower latencies and remove any potential async support
2019-06-03 02:27:41 +02:00
Wolfvak
7937540162 Entrypoint detection stuff (untested) 2017-10-26 20:27:02 -03:00
Wolfvak
8a4597635d Potentially fix screen init on some systems
Sanitized I2C
Reorganized the memory layout
 - Moved GM9 to ARM9 RAM
 - Increased RAMdisk size to 88MiB
2017-09-26 19:56:19 -03:00
Wolfvak
1a65b4e7f0 Fix backlight turning on issue 2017-08-23 13:31:17 +02:00
Wolfvak
5104deff9e Refactored screeninit 2017-08-23 13:31:16 +02:00
Wolfvak
7d8f6bb368 Hardcoded framebuffers
VRAM addresses are in common/vram.h

Now waits for the ARM11 to ack before running
2017-08-18 18:53:54 +02:00
Wolfvak
e920bd34a4 Fixed the MPcore interrupt handler, added local ARM9 exception handler 2017-08-16 01:44:49 +02:00
Wolfvak
930b646008 Improved MPcore interrupt handler 2017-08-16 01:44:48 +02:00
Wolfvak
b56ca0e8b8 Added brightness adjustment through the volume slider, made the ARM11 finally do something rather than sit and wait for the entrypoint 2017-08-08 09:40:09 -03:00