Michael Scire
402e4d1adb
fatal: wip (pending libnx pr) update for new sf semantics
2021-01-20 23:39:31 -08:00
Michael Scire
8d46d901d9
ams: make mesosphere usage user-visible in display version
2020-09-17 21:18:44 -07:00
SciresM
3a1ccdd919
Switch atmosphere's build target to C++20. ( #952 )
...
* ams: update to build with gcc10/c++20
* remove mno-outline-atomics
* ams: take care of most TODO C++20s
* fusee/sept: update for gcc10
* whoosh, your code now uses pre-compiled headers
* make: dependency fixes
2020-05-11 15:02:10 -07:00
Michael Scire
6719abec65
hos::Version: rename enum members
2020-04-13 22:19:44 -07:00
Michael Scire
065485b971
os: refactor/rewrite entire namespace.
2020-04-08 02:21:35 -07:00
Michael Scire
067fe2d10f
stratosphere: fix building with latest libnx
2020-03-18 00:14:34 -07:00
Michael Scire
40400aee1f
ams: revamp assertion system
2020-02-22 23:05:14 -08:00
Michael Scire
6ecf04c3b7
find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} +
2020-01-24 02:10:40 -08:00
Michael Scire
f3fa680d5d
fatal: use STB instead of freetype
2020-01-03 22:35:11 -08:00
Michael Scire
5b1060b30e
fatal: make aarch32 fatal screen prettier
2020-01-03 20:21:12 -08:00
Michael Scire
ea3ebbaa7d
strat: TitleId -> ProgramId, titles->contents
2019-12-07 12:41:28 -08:00
Michael Scire
1636668762
strat: fixes for compat with latest libnx
2019-12-07 12:41:28 -08:00
Michael Scire
d7a06057eb
strat: split out common functionality for future meso use
2019-12-07 12:41:28 -08:00
Michael Scire
8cb77ac136
namespace sts -> namespace ams
...
namespace sts::ams -> ams::exosphere, ams::.
This is to facilitate future use of ams:: namespace code in
mesosphere, as we'll want to include ams::util, ams::result, ams::svc...
2019-12-07 12:41:28 -08:00
Michael Scire
4059dc6187
Results: Implement namespaced, type-safe results.
...
Because I was working on multiple things at once, this commit also:
- Adds wrappers for/linker flags to wrap CXX exceptions to make them
abort. This saves ~0x8000 of memory in every system module.
- Broadly replaces lines of the pattern if (cond) { return ResultX; }
with R_UNLESS(!cond, ResultX());.
- Reworks the R_TRY_CATCH macros (and the result macros in general).
2019-12-07 12:41:28 -08:00
Michael Scire
0b22af1206
libstrat: namespace remaining non-namespaced code. more new-ipc updates
2019-12-07 12:41:28 -08:00
Michael Scire
535e49a38d
strat: statically allocate additional threads
2019-12-07 12:41:28 -08:00
Michael Scire
799c158b86
fatal: update for new-ipc
2019-12-07 12:41:28 -08:00
Michael Scire
1f2de35f94
fatal: use new vi enum value
2019-08-07 13:02:02 -07:00
Michael Scire
215f1bc8ee
fatal: fix abort in viSetDisplayPowerState on < 3.0.0
2019-08-05 18:55:04 -07:00
Michael Scire
39d041466d
fatal: refactor into sts namespace
2019-07-23 14:01:16 -07:00
Michael Scire
cead8a36ea
stratosphere: more result cleanup
2019-06-20 02:00:59 -07:00
Michael Scire
31fde233e1
fatal: refactor for R_TRY
2019-06-17 16:41:03 -07:00
Michael Scire
3a8f9114fc
fatal: fix sm session usage
2019-04-24 05:18:31 -07:00
Michael Scire
b09adb6a34
stratosphere: only hold sm sessions open when needed
2019-04-22 12:59:49 -07:00
Michael Scire
03e176d7f1
atmosphere: current year is 2019
2019-04-07 19:00:49 -07:00
Michael Scire
c6d67eab6a
strat: 0 -> ResultSuccess
2019-03-28 22:39:39 -07:00
Michael Scire
4167dfea14
strat: vi results over magics
2019-03-28 20:39:17 -07:00
Michael Scire
0001e93810
strat: use atmosphere results instead of magics
2019-03-28 20:19:38 -07:00
Michael Scire
285feba42b
fatal: Standardize result definitions
2019-03-28 15:37:50 -07:00
Michael Scire
e62606d276
fatal: only set display magnification on 3.0.0+
2019-03-06 14:39:48 -08:00
Michael Scire
a38927ec04
fatal: remove debugging log that slipped through
2019-03-05 07:52:42 -08:00
Michael Scire
b4b1208222
stratosphere: fix svcExitThread usage
2019-03-05 07:50:27 -08:00
Michael Scire
031c9e545b
fatal: reboot to sdmc:/atmosphere/reboot_payload.bin
2019-01-24 08:20:27 -08:00
Michael Scire
be5b58d033
fatal: Reboot to RCM if VOL is pressed instead of PWR.
2018-11-30 05:33:35 -08:00
Michael Scire
25956c4fa1
fatal: Print special message for version mistmatch.
2018-11-30 04:51:27 -08:00
Michael Scire
962fa0a690
fatal: automatically collect backtrace for callers.
2018-11-14 03:23:28 -08:00
Michael Scire
9714db14d2
fatal/creport: Add cpu context.
2018-11-13 20:22:54 -08:00
Michael Scire
50c65ea7e1
fatal: monospace start address
2018-11-13 19:33:21 -08:00
Michael Scire
98bdb2a7a3
fatal: Add fake monospace for hex output
2018-11-13 19:30:40 -08:00
Michael Scire
d4ee772714
fatal: Display start instead of bt if size = 0
2018-11-13 18:11:08 -08:00
Michael Scire
fa9d7f40fc
fatal: Reorder error message lines.
2018-11-13 18:07:27 -08:00
Michael Scire
20026587fd
fatal: Draw GPRs + Backtrace to screen.
2018-11-13 17:53:26 -08:00
Michael Scire
f16423c413
fatal: Add font scaling support
2018-11-13 14:32:50 -08:00
Michael Scire
1bface09d5
fatal: add line spacing func, improve 565->888 for blending
2018-11-13 13:28:05 -08:00
Michael Scire
560d899a9b
Improve text rendering API, add ams version.
2018-11-13 13:11:41 -08:00
Michael Scire
8550f722ca
fatal: Implement basic text rendering.
2018-11-13 06:03:30 -08:00
Michael Scire
9f6ff2ed6e
Fatal: Implement basic background drawing.
2018-11-12 22:26:13 -08:00
Michael Scire
f914edeebd
fatal: Implement configuration based on settings
2018-11-10 12:38:24 -08:00
Michael Scire
5f3187300d
fatal: Skeleton ScreenDrawing code
2018-11-10 11:59:55 -08:00