1158 Commits

Author SHA1 Message Date
Wolfvak
07b2a2beb6 fix backwards compatibility with software that exclusively uses the old SPI interface
fix PXI acknowledgement bug that prevented older GM9 from booting
2019-09-29 19:53:27 +02:00
Wolfvak
3061da4dcc Refactor file/dir/drive information dialog and attribute setting
Now allows directory attributes to be set
2019-09-29 19:53:26 +02:00
Ian Burgwin
506a3d3089 Makefile: call firmtool as a PY3 module (#535)
Calling firmtool directly may not work as expected on Windows, where
Python is not added to PATH by default. However, the py launcher is
always added to a directory in PATH by default.

The only downside is that firmtool with Python 2 will not automatically
be called. Since Python 3.5 is required for add2tar, however, this
shouldn't be an issue.
2019-09-14 11:33:12 -03:00
Bálint Kovács
3c8fe0f69d Get rid of extra copy of readme (#504)
See 9ab9c01
2019-07-07 01:12:02 -03:00
Wolfvak
e87f69dc20 Fix setting file attributes 2019-07-05 23:59:06 -03:00
Bálint Kovács
8f588fa8bc Fix crashes when opening extensionless files. (#503)
* Set extension to an empty string when there's none
2019-07-05 23:35:41 -03:00
d0k3
3cbbd53850 Fix the software keyboard
Fixes #501
2019-07-01 23:03:35 +02:00
d0k3
e7e800d44f Fix booting FIRMs from scripts 2019-06-30 23:51:15 +02:00
d0k3
9a7ff738be Show "NOLABEL" for unlabeled SDs 2019-06-30 23:51:15 +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
d928591a80 sdmcc.c: Longer delay on SD init (thanks @profi200) 2019-06-30 23:50:54 +02:00
d0k3
1403dc8ef9 Improved touchscreen playground 2019-06-30 23:50:45 +02:00
d0k3
dc9dc794b0 Added brightness setting dialogue to HOME more.. menu, some minor adaptions 2019-06-30 23:50:44 +02:00
d0k3
ab110bf73d Improved legit CIA build warning 2019-06-10 16:54:19 +02:00
d0k3
87d4152d4e Add handling for SD / TWLN & DLC CMD CMACs
Fixes #340
2019-06-10 16:30:40 +02:00
Wolfvak
bd74ad00d8 add initial brightness config dialog, currently inaccessible 2019-06-07 17:13:42 -03:00
Wolfvak
04bf6438de lowered circle pad sensitivity on the horizontal axis 2019-06-03 02:28:27 +02: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
ff491f2993 Scripting: allow NO_CANCEL flag for fill command 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
648275c097 - rewrote the entrypoint detection code for clarity and size
- fixed a dumb bug during mpu setup
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
ca7944ce04 - enable the VFP on the ARM11
- stopped using the ITCM as the interrupt vector table
- removed dead Thumb code handler in interrupt handling
- added basic memory protection flags
2019-06-03 02:28:26 +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
6dc89d7107 compile time fixed brightness bugfix, reinstated command to set brightness from ARM9 2019-06-03 02:28:25 +02:00
Wolfvak
50e97d2dab Moved most things to RGB565 2019-06-03 02:28:25 +02:00
d0k3
73d8d14bd5 Fix #478 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
Wolfvak
7d3a5270f1 fix lodepng CRC calculation 2019-06-03 02:28:24 +02:00
d0k3
9cc31b6f56 Fix several alignment assumptions 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
Wolfvak
2f64a8046a - compile with size optimizations, reduces inst cache pressure
- removed most of lodepng's optional features
- lodepng now uses the already existing CRC32 code instead of using its own copy
- fixed GIC interrupt priority
2019-06-03 02:28:24 +02:00
d0k3
cadc7e6982 Revert to old splash logo 2019-06-03 02:27:44 +02:00
d0k3
ff9fde1561 With shell closed, use the LED to signal finished operations 2019-06-03 02:27:44 +02:00
d0k3
85a189b3b6 Move testing stuff to its own menu entry 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
dad662610d Moved touch testing functions to HOME -> more... 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