aboutsummaryrefslogtreecommitdiffstats
path: root/menu/startup.S16
diff options
context:
space:
mode:
authorhpa <hpa>2004-02-02 08:40:14 +0000
committerhpa <hpa>2004-02-02 08:40:14 +0000
commit3edbc5585266a34df2b8708b86fc95bf667c00ed (patch)
tree7f336b5f40ba7827035f4b06b826a61a916f01c1 /menu/startup.S16
parentca5d31af26694aaf4db112c2eb6c3f82a65ec672 (diff)
downloadsyslinux-elf-3edbc5585266a34df2b8708b86fc95bf667c00ed.tar.gz
syslinux-elf-3edbc5585266a34df2b8708b86fc95bf667c00ed.tar.xz
syslinux-elf-3edbc5585266a34df2b8708b86fc95bf667c00ed.zip
Menu system from Murali
Diffstat (limited to 'menu/startup.S16')
-rw-r--r--menu/startup.S1616
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
+