Why many home-made programmers use a software under DOS, and it does not work under windows??
As I know, Windows takes some control over ports so certain low-level instruccions just don't work. But.. isn't it possible to control the paralel port under Windows if you write a program for it, for example in C++ or Delphi??
Why many home-made programmers use a software under DOS, and it does not work under windows??
As I know, Windows takes some control over ports so certain low-level instruccions just don't work. But.. isn't it possible to control the paralel port under Windows if you write a program for it, for example in C++ or Delphi??
You can directly access the ports under 16 bit Windows, or the non-NT 32 bit Windows (95, 98, Millenium) - but all the NT based Windows don't allow it. Delphi versions later than 1.0 (the only 16 bit version) don't even include the Port[] instruction - although you can do it with an assembler routine (but only for 95,98 and Millenium).
As mentioned, you need a hardware driver dll to do it under NT, the dlportio mentioned is the one I use in WinPicProg - which (as far as I know) was the first Windows PIC programmer.
I built my own programmer for PIC's , AVR's, 89cXX51 flash and 2864 and i made a program using visual basic.net and the interface is the RS232 COMM port.
Its not that hard to do it but it takes time and more than basic programming skilles...