From 2429b5fe88f7ce886b73c52168a802bff842f47f Mon Sep 17 00:00:00 2001 From: "leleraffa97@hotmail.it" Date: Thu, 15 Jun 2017 19:16:17 +0200 Subject: Boot loader structures (WORK IN PROGRESS) Some Program manager structures, macros and functions (WORK IN PROGRESS) --- sw/z80/kernel/boot_loader.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sw/z80/kernel/boot_loader.c (limited to 'sw/z80/kernel/boot_loader.c') diff --git a/sw/z80/kernel/boot_loader.c b/sw/z80/kernel/boot_loader.c new file mode 100644 index 0000000..b7873ec --- /dev/null +++ b/sw/z80/kernel/boot_loader.c @@ -0,0 +1,13 @@ +#include "boot.h" +#include "progman.h" + +#define DEFAULT_EXEC_STATUS 0x4000 + +struct exec_status *status = EXEC_STATUS; + +void boot_init() { + + *status = DEFAULT_EXEC_STATUS; + + // TODO other stuff +} \ No newline at end of file -- cgit v1.2.1