Hi!
Only a question of interest:
Are you trying to get FPC compiling X11 apps?
On Wed, 17 Mar 2004, Marc Santhoff wrote:
| Am Mi, den 17.03.2004 schrieb Jeff Pohlmeyer um 08:05:
| Has anyone translated the XTest xtension of XFree86 to pascal yet?
|
| I think it would look something like
Turbo pascal 7 has the 'interrupt' directive which can be placed behind a
procedure name to turn it into a interrupt handler.
forget it, it's a bug
it doesn't save all registers (so your program will crash if it uses longint)
and it doesn't provide a stack (so your programm will crash even it
Am Do, den 18.03.2004 schrieb Rainer Hantsch um 10:40:
Hi!
Only a question of interest:
Are you trying to get FPC compiling X11 apps?
Nope, I;m not trying but doing it actually. ;)
Yes, ask questions, if you like to.
Bye,
Marc
___
fpc-pascal
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
- Original Message -
From: Klaus Hartnegg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 9:02 AM
Subject: Re: [fpc-pascal]Modifying cpu registers while in turbo pascal
interrupt routine ?
Turbo pascal 7 has the 'interrupt' directive which can be placed behind
Hi,
Thursday, 18 March, 2004, 18:26:04, Harald Houppermans wrote:
[...]
forget it, it's a bug
it doesn't save all registers (so your program will crash if it uses
longint)
Yes I read this somewhere else... It doesn't store the high word of the 32
bit registers like eax, ebx, etc.
TP7 only
- Original Message -
From: Nikolai Zhubr [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 19, 2004 12:07 AM
Subject: Re: [fpc-pascal]Modifying cpu registers while in turbo pascal
interrupt routine ?
Hi,
Thursday, 18 March, 2004, 18:26:04, Harald Houppermans wrote:
[...]
- 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 indeed
I thought you did it like this: