Gabriel Marcano
d010f2858b
Remove trailing white space
...
- Removed trailing whitespace from all source code files (.c, .h. and
.s) and the README.md
2020-08-26 23:01:58 +02:00
Wolfvak
5905fb84fb
removed the cross allocator, use the shared memory region instead for I2C and NVRAM transfers
2020-07-19 11:44:03 -03:00
santiago
244d24ee2a
fix compiling on dkA r54, libc is bloaty so please stick with r53 for now
2020-06-01 17:13:30 -03:00
luigoalma
d27cfc71e1
Indentation fixes
...
Indentation fixes everywhere
(mostly anyway under arm9/source/)
And some other tab to spaces
2020-03-28 07:05:42 -03:00
d0k3
cfe535f20b
Fix #551
2019-10-28 14:16:55 -03:00
d0k3
00c0dac479
Fix notification LED color
2019-10-05 20:00:14 +02:00
d0k3
1633961707
Allow game icons as preview for scripting
2019-10-03 17:04:35 -03:00
d0k3
85c43795c3
Partially fix #537 (two fixes make one)
2019-10-03 17:04:35 -03:00
Wolfvak
47312797e2
Partially fix #537
...
if size was zero, the inputstr array could contain stack garbage
2019-10-03 17:04:35 -03:00
Wolfvak
3e25393284
fix #539
...
saner new3DS vs old3DS detection
2019-09-29 19:53:28 +02:00
Wolfvak
2ef408f4af
fix broken cross-buffer assumption, check nvram reads
2019-09-29 19:53:28 +02:00
d0k3
e6b63f328b
Store manual calibration data in a support file
2019-09-29 19:53:28 +02:00
Wolfvak
524a86e9a4
fix issue #512
2019-09-29 19:53:27 +02:00
Wolfvak
d6c6f56526
fix compilation warnings due to unaligned packed structures in newer gcc
2019-09-29 19:53:27 +02:00
d0k3
3cbbd53850
Fix the software keyboard
...
Fixes #501
2019-07-01 23:03:35 +02:00
d0k3
4e61bcaa50
Mark the cart drive as uninitialized when uninitialized
...
Fixes #492
2019-06-30 23:50:55 +02:00
d0k3
ccb8531ce6
swkbd: Fix deleting the last char in a string
2019-06-30 23:50:54 +02:00
d0k3
dc9dc794b0
Added brightness setting dialogue to HOME more.. menu, some minor adaptions
2019-06-30 23:50:44 +02:00
Wolfvak
bd74ad00d8
add initial brightness config dialog, currently inaccessible
2019-06-07 17:13:42 -03:00
d0k3
40b4e3f541
Use software keyboard instead of string input prompt
2019-06-03 02:28:27 +02:00
d0k3
ee86ffeb03
Remove old touch playground code
2019-06-03 02:28:27 +02:00
d0k3
73e3a18ea8
Remove legacy A9LH support
2019-06-03 02:28:27 +02:00
d0k3
ae5584aca0
Fix displaying alphabet preview in input tool
2019-06-03 02:28:27 +02:00
Wolfvak
b45bb966df
fixed an off by one error in the UI code that caused all rectangles to be drawn one pixel lower than indicated
2019-06-03 02:28:27 +02:00
Wolfvak
f179caaef3
removed useless stack clearing and whitespace
2019-06-03 02:28:27 +02:00
Wolfvak
8b098fa91a
improvements over the last couple of RGB565 related commits
2019-06-03 02:28:26 +02:00
Wolfvak
256f2465d8
converted all bitmaps to RGB565
2019-06-03 02:28:26 +02:00
Wolfvak
a42dbedf82
fix screenshot functionality
2019-06-03 02:28:26 +02:00
Wolfvak
6823e15584
enable write buffering on VRAM, optimize some UI drawing algorithms
2019-06-03 02:28:25 +02:00
Wolfvak
bb5182cae3
skip unnecessary fixed point conversion + multiplication in touchscreen reading code
2019-06-03 02:28:25 +02:00
Wolfvak
50e97d2dab
Moved most things to RGB565
2019-06-03 02:28:25 +02:00
d0k3
dbd8b8aca8
Included software keyboard in testing
2019-06-03 02:28:25 +02:00
d0k3
ca8c2070f5
Change how TouchboxGet() works
2019-06-03 02:28:25 +02:00
d0k3
f4fc17f145
Tweak button delay in hid.c
2019-06-03 02:28:24 +02:00
d0k3
c3152838db
Move touchbox functions to hid.c / hid.h
2019-06-03 02:28:24 +02:00
d0k3
ff9fde1561
With shell closed, use the LED to signal finished operations
2019-06-03 02:27:44 +02:00
d0k3
df21331218
New & improved touchscreen playground
2019-06-03 02:27:44 +02:00
Wolfvak
77f857ab64
- added way to prevent a race condition when reading the touchscreen values
...
- simplified CODEC init and read code
- fixed I2C register
thanks to @profi200 for the last two points
2019-06-03 02:27:44 +02:00
d0k3
54caa3588e
Added touchscreen calibration from NVRAM (thanks @wolfvak)
2019-06-03 02:27:44 +02:00
d0k3
36c03e578c
Enable screenshots in touch test functions
2019-06-03 02:27:44 +02:00
d0k3
500333b011
Some source code reorganisation
2019-06-03 02:27:43 +02:00
d0k3
bc66cd0ccf
Improved touchscreen calibration GUI & playground
2019-06-03 02:27:43 +02:00
Wolfvak
ad9a9bd5a0
- turn off the LCDs when the lid closes, and turn them back on when it's open
...
- reset LEDs on boot
- add code to set the notification LED
- add a PXI command to verify the NVRAM is actually online
- notify the ARM9 about the shell state through the HID thing
2019-06-03 02:27:43 +02:00
Wolfvak
79aa9191f7
- clamp down the touchscreen coordinates to boundaries
...
- fix annoying compilation warning regarding unsigned vs signed comparison
2019-06-03 02:27:42 +02:00
Wolfvak
70757e3385
- added extremely simple calibration dialog, to be replaced by something prettier/saner/safer at a later point in time
...
- moved all SPI code to the ARM11
- reimplemented NVRAM reading for the new SPI interface
2019-06-03 02:27:42 +02:00
Wolfvak
1b04ca4fa1
- added touchscreen calibration code
...
- added very simple 12-bit precision fixed point arithmetic code as a fast float replacement
2019-06-03 02:27:42 +02:00
Wolfvak
bf45ee3900
- added new SPI and CODEC drivers ported from linux, thanks to xerpi
...
- circle pad simulates dpad keys (up, right, down, left)
- raw touchscreen data is provided but currently unused
- added a simple shared memory region thing
- fixed the 10ms delay to be _after_ the backlights are turned on, thanks to profi again
as always, other stuff I probably forgot about
2019-06-03 02:27:42 +02:00
Wolfvak
f5a877d00b
- implemented MCU stuff and its interrupts, thanks @profi200 for the info
...
- moved brightness control to the ARM11
- moved HID updating to the ARM11
- moved screen init from ARM9 to the ARM11, always performed unconditionally
- removed unnecessary SCREENINIT and SET_BRIGHTNESS pxi commands
and other stuff I probably forgot about
2019-06-03 02:27:41 +02:00
Wolfvak
5e56cd2f77
- refactored arm11/sys.c
...
- moved common.h from the ARM9 tree to the common code tree
- does proper deinit now on the ARM11 side
the bug that caused it to fail to launch some FIRMs has been fixed - it can even boot stock FIRMs
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