Attached are some patches I made while getting the latest version of isapnptools 1.24 to compile for DOS real mode using Borland's Turbo C/C++ v3. I split them into three, one part has general things that fix some potential portibility problems (at least when porting to 16 bit environments), one that adds some DEBUG macros to the DJGPP section, and the third provides sample batch files and patches for compiling isapnptools using Borland's tools. The patches may need the CRLN converted to LN for patch to work properly. I have tested compiling with the patches under Linux and WinNT DOS box, but I have only done limited testing running isapnp/pnpdump using DR-DOS 7.02 boot disk. The compiled version should produce near identical results to DJGPP version, except work without a DPMS and with pre386 machines. See desc.txt and the patches themselves for more detail.