Mail Archives: djgpp/1996/08/20/07:38:31
On Mon, 19 Aug 1996, Ian Stevenson wrote:
>
>If I use DJGPP to compile a command line program for MS-DOS, which includes
>accesses to ports (i.e. _inp, _outp or their equivalents) will this program
>run correctly on the WindowsNT command line?
>
>If so, would it still work if compiled for NT (using RSXNT is that the name?)
Probably yes. When running with CWSDPMI, djgpp programs have IOPL set to 3
which means that all the I/O is not simulated. Under WinNT however, I suspect
that the DPMI server will emulate your in, out etc. instructions produced by
_inp, _outp .... functions. Anyway, the code should work as expected.
OTOH, I think it depends on what hardware you're accessing and on what level.
There are, undoubtedly, areas that are being kept closed for the "ordinary"
application programs under WinXX.
Greetings, Mark
/************************************************************/
/** Maybe it was infatuation or the thrill of a chase? **/
/** Maybe you were always beyond my reach and my heart **/
/** was playing safe? ***********/
/** But was that love in your eyes I saw, **/
/** or the reflection of mine? **/
/** I'll never really know for sure, **/
/** You never really gave me time! **/
/** Won't you give me that time? **/
/** "Cindirella Search" **/
/********************************/
Visit my homepage: http://ananke.amu.edu.pl/~grendel
- Raw text -