Commit Graph

45 Commits

Author SHA1 Message Date
TuxSH e11cc090b2 gdb: add support to run new processes
Only titleId [mediaType [launchFlags]] is supported, and the launched title shouldn't rely on APT and all 3 parameters should be hex-encoded.

usage example, with titleId+mediaType:
(gdb) set remote file-exec 0004013000003702
(gdb) r 0
2019-04-13 19:18:47 +02:00
TuxSH 763a1de8d3 gdb: add extended-remote support, implement vAttach 2019-04-12 23:40:51 +02:00
TuxSH e57b546dd4 gdb: rework meaning of selected/used 2019-04-10 23:38:10 +02:00
TuxSH bd670cf87c gdb: add GDB_FindAllocatedContextByPid 2019-04-10 23:17:49 +02:00
TuxSH 1e0996c395 gdb: simply gdbstate 2019-04-09 23:59:05 +02:00
TuxSH 63736d7873 Refactor process detaching code 2019-03-31 22:58:36 +02:00
TuxSH fb800bd4c9 Add support to force-debug applications before they start running code 2019-03-31 20:01:16 +02:00
TuxSH c688600d33 PMDBG_GetCurrentAppTitleId => PMDBG_GetCurrentAppTitleIdAndPid 2019-03-31 16:12:31 +02:00
TuxSH ea14d8a186 gdb: avoid race conditions 2019-03-31 01:14:40 +01:00
TuxSH cd18b85632 gdb: refactor port/ctx alloc 2019-03-31 00:24:45 +01:00
TuxSH 22ec031495 Add client code for new custom pm commands, use them, fix pm race conditions 2019-03-30 18:12:54 +01:00
TuxSH 7177799021 Rosalina: delete "auto screenfilter restore on wakeup" functionality.
It was causing sleep mode wakeup issues and/or interfering with gsp in a
bad way.
2019-03-29 18:23:52 +01:00
TuxSH e57abad52f ctrulib changes 2019-03-29 00:09:59 +01:00
TuxSH 474eb3001b Introduce service_manager, also fix hb:ldr pm/pm race condition 2019-03-16 23:40:43 +01:00
TuxSH d28e961adc Use <string.h> & <3ds/exheader.h>, fix some bugs, etc.
also fix all warnings and use -Werror
2019-03-15 23:03:23 +01:00
BuildTools 1c7b55ee1e Bump copyright year 2019-02-24 18:04:32 -07:00
TuxSH f437d92374 Merge pull request #1065 from panicbit/screen_filter
Implement blue light filters
2019-02-21 19:48:07 +01:00
tstambaugh92 2219b19d5f Fixed cheat functionality (#1117) 2018-08-09 14:21:16 +02:00
TuxSH 1600171ffa Bump copyright year 2018-06-14 18:13:57 +02:00
Nanquitas 8447c209a7 Fix GPU_PSC1_CNT address 2018-05-13 10:58:07 +02:00
panicbit d0306609c3 Apply screen filter when waking up from standby 2018-04-15 16:26:20 +02:00
panicbit d13cde3d7b Implement blue light filters in rosalina 2018-04-15 04:55:20 +02:00
panicbit 38f54fd2b6 Add parts of redshift to rosalina 2018-04-15 04:55:20 +02:00
panicbit b5728e9c11 Add gpu color LUT registers to rosalina 2018-04-15 04:55:14 +02:00
Duckbill 6d4d80a798 Merge remote-tracking branch 'upstream/master' 2018-01-19 17:38:57 +03:00
Nanquitas e40b547bb6 gdb: new getmemregions command 2018-01-18 17:23:43 +01:00
Duckbill 3e67e64faa Fixes after review on github 2018-01-13 13:51:28 +03:00
Duckbill 5def0c18e2 Cheat file format changed from binary to plaintext 2017-12-22 14:46:46 +03:00
Duckbill b6d6cc9750 Cheat implementations 2017-12-21 20:14:04 +03:00
TuxSH cf8696ac70 Disable non-process memory access by default (see below), remove IDA 6.8 support...
The physical memory access "bit31" mapping (0--0x30000000 => 0x80000000--0xB0000000) as well as privileged (kernel) mappings confuse debugger clients like IDA's which interpret the value of the registers.
Access to those mappings can be toggled using "monitor toggleextmemaccess" instead (issue reported by @Nanquitas). Closes #943.

Additionally, support for the buggy IDA 6.8's buggy gdb client was removed. Please use IDA 7.0 or higher.

P.S: IDA 7.0 added client support for no-ack mode (Debugging options > Set specific options), which should be enabled to make debugging twice as smooth. "Use stepping support" should be unchecked.
2017-11-26 02:18:59 +01:00
TuxSH 22a8661fe1 Always patch FS and P9, remove SM service checks 2017-11-02 21:52:14 +01:00
Aurora Wright 188400c5a9 Use ctrulib functions for mcu/battery level 2017-10-05 18:41:11 +02:00
Hikari-chin a4629e4b65 Cleaned up and rearranged the Rosalina menu in preparation for future features 2017-08-01 17:38:48 +02:00
Hikari-chin 3edaf0af64 Whoops 2017-07-09 14:36:06 -04:00
Hikari-chin 2538769f3a Added LED toggling from the Rosalina misc. menu 2017-07-04 23:50:40 -04:00
LiquidFenrir f2861058ba add wireless toggling in rosalina
https://github.com/AuroraWright/Luma3DS/issues/619#issuecomment-309239178

ligne 353: CFG11_WIFICNT, nothing includes it in rosalina so I hardcoded it here
ligne 363: could also use svc 0x5A (SetWifiEnabled) but not sure how
2017-07-04 18:35:55 +02:00
TuxSH 94532e9cea Halve the time necessary to take a screenshot 2017-06-20 16:14:36 +02:00
TuxSH 39ca23d609 Add qGetTLSAddr 2017-06-19 16:04:19 +02:00
TuxSH d819cfd58f Remove useless files 2017-06-19 15:21:15 +02:00
TuxSH 17828273a5 Revamp config format, add saving of Rosalina opt.
(menu combo & 3dsx title ID)
2017-06-18 22:31:21 +02:00
TuxSH 9ccfacd06d Display IP in menus when either gdb/inputredir is enabled 2017-06-15 17:38:45 +02:00
TuxSH cc41003e1c Fix exheader.h 2017-06-15 01:53:34 +02:00
Ezekiel Bethel 37eb21d297 poweroff/reboot for Rosalina misc. menu 2017-06-11 17:06:43 +01:00
Aurora Wright 60d136f9b5 Fix #491 2017-06-06 01:22:17 +02:00
TuxSH 21db0d45bd Added Rosalina, see details
- see release notes
- ( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)
- (∩ ͡° ͜ʖ ͡°)⊃━☆゚
- ( ͡ᵔ ͜ʖ ͡ᵔ) ♫┌( ͡° ͜ʖ ͡°)┘♪ ♫└( ͡° ͜ʖ ͡°)┐♪
2017-06-05 02:02:04 +02:00