TuxSH
0491a21a99
Fix logic bug in stage2's main function
2018-06-05 16:18:02 +02:00
TuxSH
b2139ed182
Pass screen status and mmc struct from stage1 to 2
2018-06-04 19:17:23 +02:00
TuxSH
bf2c6dff25
Stage2: Add exception handlers
2018-05-21 03:50:53 +02:00
TuxSH
57ff5e694a
Don't check for panics in stage2
2018-05-20 22:00:11 +02:00
TuxSH
f45bc83bc4
Introduce fatal_error
2018-05-20 16:18:48 +02:00
TuxSH
ec7e0d923d
Add custom panic driver
2018-05-20 14:11:46 +02:00
TuxSH
15bba0ba0c
Make loadlist empty when booting Horizon, more nxboot.c code
2018-05-14 21:17:06 +02:00
TuxSH
17f4a17d17
[stage2] Add debug printf in main.c
2018-05-14 00:06:48 +02:00
TuxSH
8df624a10d
Rename sd_utils to fs_utils, etc
2018-05-13 23:49:50 +02:00
TuxSH
4f50d412f5
Redesign fs_dev, raw_dev, introducing device_partition and switch_fs.
...
In theory, one could mount an encrypted FAT partition itself coming from a disk image, etc.
2018-05-13 19:53:55 +02:00
TuxSH
75169790ff
stage1 -> stage2 again
2018-05-12 11:00:36 +02:00
TuxSH
3e68441040
[stage2] Make console.c manage the display, enable it only when needed
2018-05-09 22:20:14 +02:00
TuxSH
70bb496388
Refactor stage1's and stage2's main.c files
2018-05-08 16:51:43 +02:00
TuxSH
50498e3b20
Don't deinit the display yet, for now
2018-05-08 15:44:48 +02:00
TuxSH
d43255d484
Fix bug in crt0
2018-05-08 14:56:17 +02:00
TuxSH
461e886244
Make di.c accept arbitrary FB addresses, fix flickering issues
2018-05-08 13:45:37 +02:00
TuxSH
e8306361f0
Rewrote crt0, init, and chainloading code
...
start.s, init.c, linker.ld and linker.specs are meant
to be re-used by user applications, should they remove the defines
from init.c and the .chainloader* sections from the linker script
2018-05-08 13:45:37 +02:00
TuxSH
2c07b5a2fb
Rework fs_dev mount code
2018-05-06 18:41:40 +02:00
TuxSH
a29e800661
Revert "Fix mount code in fs_dev.c"
...
This reverts commit 306555e522
.
2018-05-06 18:14:08 +02:00
TuxSH
4265dc7b65
Don't pass the mmc struct around
2018-05-06 17:22:12 +02:00
TuxSH
306555e522
Fix mount code in fs_dev.c
2018-05-06 13:03:45 +02:00
TuxSH
8f5a5acb06
Fix the g_bct0 overflow issue, malloc now works
...
The linker chose the unused symbol from loader.c.
2018-05-06 11:46:48 +02:00
TuxSH
8648cac77b
[stage2] Remove printk, introduce UTF-8 console stdio
2018-05-05 23:56:18 +02:00
TuxSH
67b76cc8f1
Instead of passing FatFS structs around, unmount; other changes
2018-05-05 17:33:49 +02:00
TuxSH
0d344e45af
Initialize heap, increase stack size
2018-05-04 23:56:01 +02:00
Michael Scire
4199be2460
Merge SD stuff into fusee-secondary. Switch diskio to single-sector reads temporarily
2018-05-04 11:47:05 -06:00
Michael Scire
d6806517c8
Fusee Stage 2: Make references to external (stage 1) memory internal.
2018-04-09 15:44:59 -06:00
Michael Scire
a05bf5b4ce
Fusee stage 2: Fix up loader (no stage 3!). Skeleton chainload behavior.
2018-04-09 15:34:23 -06:00
Michael Scire
92ef68e84a
Turns out we actually don't need a third stage for Fusee
2018-04-09 15:12:54 -06:00
Michael Scire
953c02dfba
Update argument passing, add video resume
2018-04-08 13:51:44 -06:00
Michael Scire
c9909b34db
Use argc/argv in Stage 2
2018-04-08 05:13:15 -06:00
Michael Scire
c758b1188a
Fix start.s in stage2 of Fusee for argc/argv
2018-04-08 05:06:04 -06:00
Michael Scire
18f1274587
Change fusee folder naming
2018-04-07 21:45:57 -06:00