TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: RAFA VELILLA
from: STUART MILLER
date: 1997-07-05 10:58:00
subject: Re: Reset

Hi Rafa Velilla, hope you are having a nice day
 RV>   Does anybody know how to produce a reset by software? The only way I 
 RV> know is:
 I know how to do it in PASCAL, but I havent had time to convert it to
 C/++ yet...
 So here`s the code, if you convert it successfully, could you send us back
 a copy of the C version.
 Cheers.
(By REYNIR STEFANSSON
The Inline code is a far jump to the restart vector at $FFFF:0.)
Procedure ColdStart;
begin
   MemW[$40:$72] := 0;
   Inline($EA/0/0/$FF/$FF);
end;
Procedure WarmStart;
begin
   MemW[$40:$72] := $1234;
   Inline($EA/0/0/$FF/$FF);
end;
 -=> Yours sincerely, STUART MILLER <=-
--- Terminate 4.00
---------------
* Origin: With Terminate YOU can beat the feeling! (2:251/56.13)

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™.