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 write an operating system, so writing a device 
driver is in theory possible.

Mostly, this would mean writing an RTL which runs inside a kernel, which means
writing routines to handle IO and routines to handle memory management from the
kernel interfaces.

I think for Unix-type interfaces that would be enough. For Windows, there is
the additional problem of producing a .sys file, which would mean some changes
to the internal linker.

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

Reply via email to