From f1e0ff8f952ad82eb337a523c78568983c84c5f7 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 22 Sep 2003 09:20:22 +0000 Subject: Reboot (DOS) --- reboot3.asm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 reboot3.asm (limited to 'reboot3.asm') 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 -- cgit v1.2.3