summaryrefslogtreecommitdiff
path: root/bootloader/boot16.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/boot16.c')
-rw-r--r--bootloader/boot16.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bootloader/boot16.c b/bootloader/boot16.c
new file mode 100644
index 0000000..a906858
--- /dev/null
+++ b/bootloader/boot16.c
@@ -0,0 +1,7 @@
+#ifdef TEST16
+asm(".code16");
+#endif
+
+int test(int x) { return x*2; }
+
+