summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/modules/int18.asm
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux-4.02/modules/int18.asm')
-rw-r--r--contrib/syslinux-4.02/modules/int18.asm16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/modules/int18.asm b/contrib/syslinux-4.02/modules/int18.asm
new file mode 100644
index 0000000..a13ada7
--- /dev/null
+++ b/contrib/syslinux-4.02/modules/int18.asm
@@ -0,0 +1,16 @@
+ bits 16
+ org 100h
+_start:
+ mov ax,5
+ int 22h
+ mov ah,09h
+ mov dx,msg
+ int 21h
+ mov ax,000Ch
+ xor dx,dx
+ int 22h
+ int 18h
+ jmp 0F000h:0FFF0h ; INT 18h should not return...
+
+ section .data
+msg: db 'Local boot via INT 18...', 13, 10, '$'