summaryrefslogtreecommitdiff
path: root/bootloader/boot16.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-08-27 03:20:16 +0200
committerMichal Idziorek <m.i@gmx.at>2014-08-27 03:20:16 +0200
commit50c7bdbe826b5b425748a11273d14e3aed2ce851 (patch)
tree8fc2bec5576aad366b6f9f3f1fcc406f6a3eeb33 /bootloader/boot16.c
parentfc7022286a14e7325907fb4e77aa44330037229b (diff)
many changes and adaptions and VESA 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; }
+
+