Michael Scire
e5d62025d3
dmnt: update for new-ipc
2019-12-07 12:41:28 -08:00
Michael Scire
609a302e16
os: implement waitable management.
...
This implements waitable management for Events (and
implements Events). It also refactors PM to use new
Event/Waitable semantics, and also adds STS_ASSERT
as a macro for asserting a boolean expression. The
rest of stratosphere has been refactored to use
STS_ASSERT whenever possible.
2019-12-07 12:41:28 -08:00
Michael Scire
bb223eb5ae
libstrat: namespace hossynch.hpp
2019-12-07 12:41:28 -08:00
Michael Scire
89c484414b
dmnt: Truncate cheat names after maxlen instead of failing
2019-09-18 11:54:30 -07:00
Michael Scire
fe2dd671fb
dmnt: fix edge case in debug events thread
2019-09-18 11:54:30 -07:00
Michael Scire
8abee1bdaa
dmnt: fix some bugs in init
2019-09-18 11:54:30 -07:00
Michael Scire
78a730ddf6
dmnt: refactor to use sts:: namespace.
2019-09-18 11:54:30 -07:00
Michael Scire
2d0c881ffe
strat: go all in on ncm::TitleId
2019-07-11 22:24:59 -07:00
Michael Scire
c916a7db88
strat: remove sizeof() / sizeof([0])
2019-07-11 22:24:59 -07:00
hexkyz
09ab3efddd
Fix argument type for isspace
2019-07-01 20:29:43 +01:00
hexkyz
e561919a52
Fix logic in ldr_ro_manager
...
Fix argument type for isdigit/isxdigit
2019-06-30 18:48:16 +01:00
Michael Scire
18ca8aaf5b
stratosphere: all in on enum class CommandId
2019-06-27 23:34:53 -07:00
Michael Scire
1671c04e24
stratosphere: prefer static waitable managers
2019-06-20 13:15:39 -07:00
Michael Scire
4191dcee75
dmnt: fix missing init
2019-06-20 04:04:11 -07:00
Michael Scire
cead8a36ea
stratosphere: more result cleanup
2019-06-20 02:00:59 -07:00
Michael Scire
7b6050a0cb
boot: refactor for R_TRY
2019-06-20 00:57:17 -07:00
Michael Scire
491383c637
dmnt: trailing whitespace
2019-06-19 22:20:44 -07:00
Michael Scire
d7a3645f7f
dmnt: update for R_TRY
2019-06-19 22:19:53 -07:00
Michael Scire
e7e5ef4e5d
dmnt: update targetio file ops for new libnx api
2019-06-08 15:58:35 -07:00
Michael Scire
f38965d0bd
dmnt: implement debug log opcode
2019-05-27 18:44:09 -07:00
Michael Scire
cfa050cc8f
dmnt: explicitly reserve double-extended width opcodes
2019-05-27 18:10:49 -07:00
leo60228
eab2d05680
Do same in dmnt and reboot_to_payload
2019-05-12 10:43:49 -04:00
Michael Scire
41f5b39f6b
stratosphere: stop using kernelAbove
2019-05-10 03:25:07 -07:00
Michael Scire
dcc93ce60e
strat: disable exception handlers when creport would be better
2019-04-26 07:32:23 -07:00
Michael Scire
d44b91826d
dmnt: only init roDmnt when we can
2019-04-24 05:19:37 -07:00
Michael Scire
b09adb6a34
stratosphere: only hold sm sessions open when needed
2019-04-22 12:59:49 -07:00
Michael Scire
c3875796df
dmnt: update for ldr/ro api change
2019-04-22 09:50:45 -07:00
Michael Scire
ac07971211
stratosphere: custom exception handlers (reboot to fusee)
2019-04-12 15:28:46 -07:00
Michael Scire
03e176d7f1
atmosphere: current year is 2019
2019-04-07 19:00:49 -07:00
Michael Scire
5bedcd305d
dmnt-cheat: add clear-reg to save/restore reg
2019-04-05 14:19:12 -07:00
Michael Scire
c7ffcad74e
dmnt-cheat: add clear to save/restore reg
2019-04-05 14:16:07 -07:00
Michael Scire
08a2f02a7c
dmnt-cheat: Add Save/Restore register mask opcode
2019-04-04 12:23:51 -07:00
Michael Scire
477bee2e4c
dmnt-cheat: Add Save/Restore register opcode
2019-04-04 12:16:00 -07:00
Michael Scire
c6d67eab6a
strat: 0 -> ResultSuccess
2019-03-28 22:39:39 -07:00
Michael Scire
29be429d2f
strat: fix remaining FS result magic numbers
2019-03-28 19:45:41 -07:00
Michael Scire
acffae6643
strat: replace kernel/dbg magic numbers with result defs
2019-03-28 16:57:18 -07:00
Michael Scire
2678735f73
stratosphere: migrate result headers to libstrat
2019-03-28 14:23:34 -07:00
Michael Scire
f4950ff26e
dmnt-cheat: Add support for saving/restoring cheat toggle state
2019-03-25 10:35:08 -07:00
Michael Scire
2a973b9e16
dmnt-cheat: extend StoreRegisterToAddressOpcode some more
2019-03-15 19:24:23 -07:00
Michael Scire
7551bebb88
dmnt-cheat: Fix a few bugs in vm.
2019-03-15 18:29:43 -07:00
Michael Scire
433b01aaf8
dmnt-cheat: add other register source to new condition opcode
2019-03-15 13:52:11 -07:00
Michael Scire
da664b49ad
dmnt-cheat: amend inline docs
2019-03-15 13:46:53 -07:00
Michael Scire
5d79952bdd
dmnt-cheat: Add register conditional vm instruction
2019-03-15 13:45:35 -07:00
Michael Scire
e5ecd243f2
dmnt-cheat: Implement real workaround for 6.0.0+ kernel bug
2019-03-15 03:30:51 -07:00
Michael Scire
aac64b1ded
dmnt-cheat: workaround for 6.0.0+ kernel bug.
2019-03-14 09:15:59 -07:00
Michael Scire
d756f2fc0d
dmnt-cheat: make cheats default toggle configurable
2019-03-06 00:20:17 -08:00
Michael Scire
4d0ab41e6e
dmnt-cheat: Fix debug event management
2019-03-05 23:58:36 -08:00
Michael Scire
512dbc3a24
dmnt: prevent lag on game thread-spawning
2019-03-05 18:57:50 -08:00
Michael Scire
a3d44e37b5
dmnt-cheat: *properly* update frozen address values on write
2019-03-05 11:56:17 -08:00
Michael Scire
18e4d80073
dmnt-cheat: update frozen address values on write
2019-03-05 11:44:24 -08:00
Michael Scire
fbddf090a4
dmnt: only initialize HID once
2019-03-05 07:50:50 -08:00
Michael Scire
4e95397ed5
dmnt-cheat: const correctness
2019-03-05 01:40:49 -08:00
Michael Scire
853a57e4d4
dmnt-cheat: Support nested conditionals in VM
2019-03-05 01:39:20 -08:00
Michael Scire
8c86074da2
dmnt-cheat: Add opcode to store register to memory
2019-03-05 01:20:18 -08:00
Michael Scire
7d2dd628ba
dmnt-cheat: multi-nybble opcodes, update libstrat
2019-03-05 00:53:45 -08:00
Michael Scire
7e93ca0977
dmnt: give hid access
2019-03-04 22:40:58 -08:00
Michael Scire
eddbd7c072
dmnt-cheat: output value on EnableFrozenAddress
2019-03-04 22:17:18 -08:00
Michael Scire
e734a5412a
dmnt-cheat: Implement frozen addresses
2019-03-04 22:13:43 -08:00
Michael Scire
7ddb0da5f6
dmnt-cheat: Implement cheat management service commands
2019-03-04 21:11:12 -08:00
Michael Scire
862aa73783
Add maximum instruction opcode bounds check (thanks hthh)
2019-03-04 20:24:49 -08:00
Michael Scire
34af93b72f
dmnt-cheat: implement cheat loading from SD
2019-03-04 20:13:52 -08:00
Michael Scire
37d3577028
dmnt: allow disabling cheats via title-specific button combo
2019-03-04 06:55:37 -08:00
Michael Scire
ef68881e5c
dmnt-cheat: Implement memory service cmds
2019-03-04 05:56:44 -08:00
Michael Scire
e8a5aa81f4
dmnt-cheat: fix decode error, add debug logging
2019-03-04 01:41:01 -08:00
Michael Scire
8d140d835a
dmnt-cheat: fix compat
2019-03-03 23:42:52 -08:00
Michael Scire
afae7eaa11
dmnt-cheat: finish vm instruction decoder
2019-03-03 09:09:21 -08:00
Michael Scire
af70a4a3a3
dmnt-cheat: skeleton decode, fix missing libnx call
2019-03-03 06:44:21 -08:00
Michael Scire
bc6ad53018
dmnt-cheat: Implement remaining VM opcodes
2019-03-03 06:29:48 -08:00
Michael Scire
a3fc2c95b8
dmnt-cheat: Add new, better math instruction to vm
2019-02-27 19:30:29 -08:00
Michael Scire
68af2c1c2a
dmnt-cheat: Implement static math opcode.
2019-02-27 18:46:53 -08:00
Michael Scire
2552c0327c
dmnt-cheat: Begin implementing Cheat VM.
2019-02-27 18:33:07 -08:00
Michael Scire
f5ac895062
dmnt-cheat: revise cheatentry definition
2019-02-27 04:47:43 -08:00
Michael Scire
e4cc39c29b
dmnt-cheat: Implement all meta commands.
2019-02-27 04:37:02 -08:00
Michael Scire
c80eb26135
dmnt-cheat: continue fleshing out cheat manager code
2019-02-27 04:27:49 -08:00
Michael Scire
964a698875
dmnt-cheat: flesh out new process logic
2019-02-27 04:09:14 -08:00
Michael Scire
66d5c9fe26
dmnt-cheat: Skeleton cheat manager
2019-02-27 03:30:08 -08:00
Michael Scire
434f600f95
dmnt: Skeleton cheat service API.
2019-02-27 02:51:05 -08:00
Michael Scire
600ad660a6
tma: First pass at tio file read/write
2018-12-06 15:32:27 -08:00
Michael Scire
6b04c937e6
dmnt: Add remaining TargetIO_File* funcs
2018-12-06 13:39:27 -08:00
Michael Scire
46c50f2cbe
dmnt: Add TargetIO_Open/Close/Read/Write funcs.
2018-12-06 13:16:33 -08:00
Michael Scire
eb6ab2ba62
dmnt: Implement three more easy commands
2018-12-05 23:57:35 -08:00
Michael Scire
94e527e763
dmnt: Skeleton real process implementation.
2018-12-05 23:35:09 -08:00
Michael Scire
588315f877
dmnt: Create Makefile/Process folder.
2018-12-05 21:08:04 -08:00