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)
|