"Frank Leegaard" <frank@superbruger.dk> wrote in
news:a4830a$p4v$1@sunsite.dk:
> Nogen der har en rebootkommando til dos pascal?
>
>
>
Et bud kunne være... hvis det er det du leder efter
Procedure ColdBoot; Assembler;
Asm
Xor AX, AX
Mov ES, AX
Mov Word PTR ES:[472h],0000h {This is not a WARM boot}
Mov AX, 0F000h
Push AX
Mov AX, 0FFF0h
Push AX
Retf
end;
Procedure WarmBoot; Assembler;
Asm
Xor AX, AX
Mov ES, AX
Mov Word PTR ES:[472h],1234h {This is not a COLD boot}
Mov AX, 0F000h
Push AX
Mov AX, 0FFF0h
Push AX
Retf
end;
/Claus
--
Claus Christiansen, <mailto:cch@unipeople.dk>
personal:
http://www.bigfoot.com/~kruc/; pythia:
http://www.pythia.dk
============================================--------------------------
"Computers are useless. They can only give you answers."
- Pablo Picasso (1881-1973)