On Saturday 16 February 2008 14:55:24 ik wrote:
> On Feb 16, 2008 10:03 PM, Florian Klaempfl <[EMAIL PROTECTED]> wrote:
> > ik schrieb:
> > > 1. There is a support only for up to 6 parameters (plus the instruction
> > > itself).
> >
> > Which syscall has more parameters?
>
> I don't know, but then again, up until now I did not require to use
> syscall on my own (at least using FPC, because I used "write" using
> "pure" assembly). But now that I do require, I found a design that I
> find it problematic. But as I understand, I'm the only one that think
> there is a problem, so I'll give up and I'll not bother you on this
> again.

If the way the syscall routine works is a problem for you, then you are going 
to have to take that up with the Linux kernel guys.  Free Pascal is only 
interfacing to something that the Linux kernel provides, and it's provided by 
the kernel in that very strict, very rigid manner.

It doesn't matter what language you use, Pascal, C, or whatever, to perform a 
system call you must put some integer values into processor registers and 
perform an interrupt (if I recall correctly without looking it up, int $80).  
There's no getting around how that works.

I beg your pardon if I'm misunderstanding the complaint.

Best regards,
Pete C.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to