Hello Rafa!
reply to a message from Rafa Velilla to All:
RV> Does anybody know how to produce a reset by software? The only way I
RV> know is:
hope my reply is not offtopic (assembler)
(real mode code!)
asm{
mov bx, 0040h // prepare for coldboot
mov ds, bx
mov bx, 0072h
xor ax,ax
mov ds:[bx], ax
mov al, 0feh // simulate Ctrl - Alt - Delete
mov dx, 0064h
out dx, al
mov bx, 0ffffh // oops! didn't work -> call bios reset
mov es, bx
xor bx, bx
call WORD Ptr ES:[bx]
};
bye, Christian!
---
---------------
* Origin: for(;;)full()?sleep():eat(); (2:310/78.19)
|