summaryrefslogtreecommitdiff
path: root/reboot3.asm
blob: 466ec1084b8adbd474d4d97f221c9ba6884341f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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