TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: RAFA VELILLA
from: CHRISTIAN KOTZ
date: 1997-07-03 22:39:00
subject: Reset

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.