summaryrefslogtreecommitdiff
path: root/reboot3.asm
diff options
context:
space:
mode:
Diffstat (limited to 'reboot3.asm')
-rw-r--r--reboot3.asm18
1 files changed, 18 insertions, 0 deletions
diff --git a/reboot3.asm b/reboot3.asm
new file mode 100644
index 0000000..466ec10
--- /dev/null
+++ b/reboot3.asm
@@ -0,0 +1,18 @@
+; $Id$
+; Titel: ReBoot #3
+; Autor: DreamDemon
+; Date : 05.08.1999
+
+.model small
+.code
+ org 100h
+start:
+ mov ah,0Dh
+ int 21h ; DOS Services ah=function 0Dh
+ ; flush disk buffers to disk
+ sti ; Enable interrupts
+ hlt ; Halt processor
+ mov al,0FEh
+ out 64h,al ; port 64h, kybd cntrlr functn
+ ; al = 0FEh, pulse CPU reset
+end start