- Original Message -
From: "Nikolay Nikolov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 18, 2004 12:04 PM
Subject: Re: [fpc-pascal]wow quite cool example you made there :)
> Harald Houppermans wrote:
>
> >WOW very interesting
- Original Message -
From: "Nikolay Nikolov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 18, 2004 12:04 PM
Subject: Re: [fpc-pascal]wow quite cool example you made there :)
> Harald Houppermans wrote:
>
> >WOW very interesting
Harald Houppermans wrote:
WOW very interesting indeed
I thought you did it like this:
asm
mov CS, blabla
mov IP, blabla
end
But now I see !!!
You are actually using the parameters:
CS := blabla; :)
IP := blabla; :)
Those interrupt parameters actually allow something which otherwise isn't
> procedure Subst;
> begin
> writeln('Here we are!');
> repeat until false;
> end;
Lol now I understand why you placed repeat until false; lol
Without it it crashes :D hmmm
Probably no way to recover from it... hmmm
Or is there ?
Hmm maybe there is :)
Storing the CS and IP and then later
Wow
Did you just write this from scratch ?
That's a very cool trick you did there...
Replacing the CS ( code segment )
And IP ( instruction pointer )
Seems like a dirty little hack lol... like a hacker could use to execute
code hehehe.
Anyway I was also wondering how to proof it...
This