diff options
Diffstat (limited to 'menu/startup.S16')
-rw-r--r-- | menu/startup.S16 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/menu/startup.S16 b/menu/startup.S16 new file mode 100644 index 00000000..df821093 --- /dev/null +++ b/menu/startup.S16 @@ -0,0 +1,16 @@ + .code16gcc + + .globl _start +_start: + movw $__bss_start,%di + xorl %eax,%eax + movw $_end,%cx + subw %di,%cx + shrw $2,%cx + rep ; stosl + + calll main + movb $0x4c,%ah + int $0x21 + hlt + |