Re: [fpc-pascal] Linux Kernel and FPC

2007-07-10 Thread Michael Van Canneyt
On Tue, 10 Jul 2007, ik wrote: > On 7/9/07, Alain Michaud <[EMAIL PROTECTED]> wrote: > > Hi, > > > > last year I have written a very small driver using the "char" model, > > ie. that is put in src/linux/drivers/char something very simple to > > read/write a few bytes on an output port. I would

Re: [fpc-pascal] Linux Kernel and FPC

2007-07-10 Thread ik
On 7/9/07, Alain Michaud <[EMAIL PROTECTED]> wrote: Hi, last year I have written a very small driver using the "char" model, ie. that is put in src/linux/drivers/char something very simple to read/write a few bytes on an output port. I would have been glad to write it in pascal, but I do not t

Re: [fpc-pascal] Linux Kernel and FPC

2007-07-09 Thread Alain Michaud
Hi, last year I have written a very small driver using the "char" model, ie. that is put in src/linux/drivers/char something very simple to read/write a few bytes on an output port. I would have been glad to write it in pascal, but I do not think it would be possible at all. I finally did it thi

Re: [fpc-pascal] Linux Kernel and FPC

2007-07-07 Thread Micha Nelissen
Michael Van Canneyt wrote: >> And I was thinking in implementing it using FPC. >> My question is, how hard can it be ? > > Relatively hard: you must write a complete RTL for it. > Once that is done, the rest should be easy. I don't think you would want to use a regular pascal RTL in a kernel modu

Re: [fpc-pascal] Linux Kernel and FPC

2007-07-07 Thread Michael Van Canneyt
On Fri, 6 Jul 2007, ik wrote: > Hi, > > I have found the following guide: > http://www.linuxdevcenter.com/pub/a/linux/2007/07/05/devhelloworld-a-simple-introduction-to-device-drivers-under-linux.html > > And I was thinking in implementing it using FPC. > My question is, how hard can it be ? R

[fpc-pascal] Linux Kernel and FPC

2007-07-07 Thread ik
Hi, I have found the following guide: http://www.linuxdevcenter.com/pub/a/linux/2007/07/05/devhelloworld-a-simple-introduction-to-device-drivers-under-linux.html And I was thinking in implementing it using FPC. My question is, how hard can it be ? Are there any kernel modules that already been b