Re: [fpc-pascal] problem with threads and backgrounding, fpc 2.1.3 arm native

2007-04-05 Thread Micha Nelissen
Luca Olivetti wrote: > This is another test program that shows my problem with fork: as soon as > I start the thread, the main program stops working (the thread *is* > running, you can put a writeln in its loop to show it). Note that in > this short example I don't close stdin,stdout,stderr, I don'

Re: [fpc-pascal] FP-IDE FPC204 and Ubuntu 6.06

2007-04-05 Thread Daniël Mantione
Op Wed, 4 Apr 2007, schreef Tiziano_mk: > > maibe I make something wrong, but if I install FPC2.0.4 on Ubuntu 6.06 the > FP-IDE responds randomly to the mouse commands (all menus and keyboard > commands are working). > > I see the same problem on Free Vision Apps. > > (it seems to me that it

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Luca Olivetti
En/na Bisma Jayadi ha escrit: What kind of windows driver? First choose that. There are lot´s and lot´s of types of windows drivers. Device driver for a custom hardware connected through USB port. I'm currently writing an "usermode" device driver for an USB device (a voip phone) using libusb

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Marc Santhoff
Am Donnerstag, den 05.04.2007, 17:36 +0700 schrieb Bisma Jayadi: > > What kind of windows driver? First choose that. There are lot´s and > > lot´s of types of windows drivers. > > Device driver for a custom hardware connected through USB port. > > > I´ve already seen a framework to write VXD driv

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Marc Pertron
Felipe Monteiro de Carvalho a écrit : Which usb interface chips do you know? I´ve been using FT8U245BM from http://www.ftdichip.com/ It does a good job, but knowing others is always good =) World seems small, i used the same, but it's not "real usb", but i agree that it will be enough for 95%

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Felipe Monteiro de Carvalho
On 4/5/07, Marc Pertron <[EMAIL PROTECTED]> wrote: Ok, this will depend on the chip you used on your device for USB. Most of the chips comes with a SDK and drivers, so it's as simple as a DLL use. Of course, some chips have better SDK than others. Which usb interface chips do you know? I´ve be

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Marc Pertron
Bisma Jayadi a écrit : What kind of windows driver? First choose that. There are lot´s and lot´s of types of windows drivers. Device driver for a custom hardware connected through USB port. Ok, this will depend on the chip you used on your device for USB. Most of the chips comes with a SDK and

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Bisma Jayadi
What kind of windows driver? First choose that. There are lot´s and lot´s of types of windows drivers. Device driver for a custom hardware connected through USB port. I´ve already seen a framework to write VXD drivers using Delphi, but that will be of no use if you don´t want a VxD but another

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Vinzent Hoefler
On Thursday 05 April 2007 08:14, Felipe Monteiro de Carvalho wrote: > On 4/5/07, Vinzent Hoefler <[EMAIL PROTECTED]> wrote: > > And it would mean writing a C to Pascal conversion of an ever > > changing kernel interface. > > All interfaces change when a new version is released, Well, I was not tal

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Felipe Monteiro de Carvalho
On 4/5/07, Bisma Jayadi <[EMAIL PROTECTED]> wrote: Is there any tutorials or wikis or how-tos out there that describe how to write a device driver using FPC? At least for windows platform. TIA. What kind of windows driver? First choose that. There are lot´s and lot´s of types of windows drivers

Re[2]: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Alexey Pavluchenko
Hello Felipe, Thursday, April 05, 2007, 11:14:24 AM, you wrote: > What really doesn´t help is that the windows driver world is huge. > really vast. There are dozens of different driver types, and some > tipes only work on some versions of windows. Well, not dozens. There are, basically: user-mo

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Michael Van Canneyt
On Thu, 5 Apr 2007, Vinzent Hoefler wrote: > On Thursday 05 April 2007 08:14, Felipe Monteiro de Carvalho wrote: > > On 4/5/07, Vinzent Hoefler <[EMAIL PROTECTED]> wrote: > > > And it would mean writing a C to Pascal conversion of an ever > > > changing kernel interface. > > > > All interfaces c

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Bisma Jayadi
Well. FPC can be used to write an operating system, so writing a device driver is in theory possible. Is there any tutorials or wikis or how-tos out there that describe how to write a device driver using FPC? At least for windows platform. TIA. -Bee- has Bee.ography at: http://beeography.wor

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Vinzent Hoefler
On Thursday 05 April 2007 08:57, Michael Van Canneyt wrote: > The solution is rather simple, it seems to me: write a small C driver > stub which exposes a uniform interface. Yes. Of course, apart from the fact that this portion of code can get rather large depending on the structures and functio

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Felipe Monteiro de Carvalho
On 4/5/07, Vinzent Hoefler <[EMAIL PROTECTED]> wrote: And it would mean writing a C to Pascal conversion of an ever changing kernel interface. All interfaces change when a new version is released, that´s no reason not to write pascal bindings for them. We have different pascal bindings for Qt 2

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Vinzent Hoefler
On Thursday 05 April 2007 07:36, Michael Van Canneyt wrote: > On Thu, 5 Apr 2007, Bisma Jayadi wrote: > > Writing device driver for windows using Delphi is almost impossible > > since Delphi can't produce .sys files. Is it the same case for FPC? > > Can FPC produce .sys file and write device driver

Re: [fpc-pascal] FP-IDE FPC204 and Ubuntu 6.06

2007-04-05 Thread Tiziano_mk
Marco van de Voort wrote: maibe I make something wrong, but if I install FPC2.0.4 on Ubuntu 6.06 the FP-IDE responds randomly to the mouse commands (all menus and keyboard commands are working). I see the same problem on Free Vision Apps. (it seems to me that it could be a problem on ncurses,

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Michael Van Canneyt
On Thu, 5 Apr 2007, Bisma Jayadi wrote: > Writing device driver for windows using Delphi is almost impossible since > Delphi can't produce .sys files. Is it the same case for FPC? Can FPC produce > .sys file and write device drivers for any OSes (not just windows)? TIA. Well. FPC can be used to

[fpc-pascal] writing device driver using FPC

2007-04-05 Thread Bisma Jayadi
Writing device driver for windows using Delphi is almost impossible since Delphi can't produce .sys files. Is it the same case for FPC? Can FPC produce .sys file and write device drivers for any OSes (not just windows)? TIA. -Bee- has Bee.ography at: http://beeography.wordpress.com ___