gint/include/gint
Lephe 5630814897
core: allow custom panics and exception catching
This change introduces two new mechanismes for executing user code when
an exception occurs.

* This first is the custom panic message, which usually displays "System
  ERROR". The function that performs this task can now be user-defined.
  It is also run in user mode because the exception handler rte's into
  it, allowing it to execute any kind of interrupt-inducing task. The
  behavior is undefined if this function raises an exception.

* The second is an exception-catching function, which (when set) is
  called every time an exception occurs, and is granted the chance of
  handling the exception to continue execution normally. It can be used
  in various ways, the most primitive of which is recording the
  exception and going back. It runs in interrupt mode and must not raise
  any kind of exception.
2019-09-13 08:10:30 +02:00
..
defs minor new definitions 2019-09-13 08:08:22 +02:00
drivers way too much, including bopti/topti, timers, and more. 2019-02-21 21:00:26 +01:00
mpu dma: add support for all six channels (merges #1) 2019-08-08 11:21:10 +02:00
std Ajout de la fonction srtcat et modification du 0 de la police de la Graph 90+E 2019-07-31 04:24:42 -04:00
bfile.h core: add BFile syscalls 2019-07-04 12:15:13 -04:00
clock.h way too much, including bopti/topti, timers, and more. 2019-02-21 21:00:26 +01:00
display-cg.h minor new definitions 2019-09-13 08:08:22 +02:00
display-fx.h bopti: add support for r5g6b5 and r5g6b5a on fxcg50 2019-08-27 21:04:07 +02:00
display.h render: add one-parameter dvline() and dhline() 2019-09-07 11:26:11 +02:00
dma.h exc: add exception handlers, use them in the DMA 2019-09-03 22:15:00 +02:00
drivers.h expose more platform-agnostic code 2019-09-06 12:16:31 +02:00
exc.h core: allow custom panics and exception catching 2019-09-13 08:10:30 +02:00
gint.h bootlog: make a copy for use in gintctl 2019-05-04 12:07:14 +02:00
gray.h minor new definitions 2019-09-13 08:08:22 +02:00
hardware.h core: provide MPU type on unknown platforms 2019-07-16 15:39:33 -04:00
keyboard.h style, formatting, font 2019-09-03 22:29:04 +02:00
keycodes.h way too much, including bopti/topti, timers, and more. 2019-02-21 21:00:26 +01:00
rtc.h way too much, including bopti/topti, timers, and more. 2019-02-21 21:00:26 +01:00
syscalls.h render: refactor to share functions, and basic text on fxcg50 2019-06-15 01:05:31 -04:00
timer.h tmu: export definitions, clean stop, expose address 2019-07-16 15:39:38 -04:00