summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/boot_loader.c
diff options
context:
space:
mode:
authorleleraffa97@hotmail.it <leleraffa97@hotmail.it>2017-06-15 19:16:17 +0200
committerleleraffa97@hotmail.it <leleraffa97@hotmail.it>2017-06-15 19:16:17 +0200
commit2429b5fe88f7ce886b73c52168a802bff842f47f (patch)
tree9cf05169a300cb1866aa70c1e660546964347f7b /sw/z80/kernel/boot_loader.c
parentKernel memory mapping setup (diff)
downloadz80uPC-2429b5fe88f7ce886b73c52168a802bff842f47f.tar.gz
z80uPC-2429b5fe88f7ce886b73c52168a802bff842f47f.zip
Boot loader structures (WORK IN PROGRESS)
Some Program manager structures, macros and functions (WORK IN PROGRESS)
Diffstat (limited to 'sw/z80/kernel/boot_loader.c')
-rw-r--r--sw/z80/kernel/boot_loader.c13
1 files changed, 13 insertions, 0 deletions
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