Re: [fpc-pascal] Re: fpc-pascal DLLs

2007-06-17 Thread Alexey Pavluchenko

Hello,

Dr wrote:

Please tell me whether FPC Pascal makes DOS ( DPMI ) protected mode 
DLL and EXE files, that is, a DLL ( called by a DPMI EXE ) that runs on 
DOS, even if there is NO Windows at all on my machine


It doesn't, but maybe HX DOS is what you need:
http://www.japheth.de/HX.html

It emulates Win32 API under DPMI.

You may also take a look at WDOSX:
http://tippach.business.t-online.de/wdosx/

--
Sincerely yours,
Alexey

--- Scanned by M+ Guardian Messaging Firewall ---


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


[fpc-pascal] Re: fpc-pascal DLLs

2007-06-16 Thread Dr
Please tell me whether FPC Pascal makes DOS ( DPMI ) protected mode DLL 
and EXE files, that is, a DLL ( called by a DPMI EXE ) that runs on DOS, 
even if there is NO Windows at all on my machine


Also, can it make 16 bit DPMI EXE and DLL  files in DOS, or is its DOS 
extender limited to only making 32 bit DPMI files?


Also, does FPC Pascal make any type of DOS Overlays?
That is, a Real Mode ( 16 bit )  Overlay compiled program, this would be 
like the BP 7.01 EXE that calls an OVR file, which, itself can be as big as 
maybe 16MB.


Thanks


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


Re: [fpc-pascal] Re: fpc-pascal DLLs

2007-06-16 Thread Jonas Maebe


On 16 Jun 2007, at 13:16, Dr wrote:

Please tell me whether FPC Pascal makes DOS ( DPMI ) protected  
mode DLL and EXE files, that is, a DLL ( called by a DPMI EXE )  
that runs on DOS, even if there is NO Windows at all on my machine


No, it doesn't.

Also, can it make 16 bit DPMI EXE and DLL  files in DOS, or is  
its DOS extender limited to only making 32 bit DPMI files?


FPC can only generate 32 bit (and 64 bit, but those are not for Dos)  
executable.



Also, does FPC Pascal make any type of DOS Overlays?


No (overlays are largely redundant in 32 bit applications).


Jonas


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


Re: [fpc-pascal] Re: fpc-pascal DLLs

2007-06-16 Thread Daniël Mantione


Op Sat, 16 Jun 2007, schreef Dr:

 Please tell me whether FPC Pascal makes DOS ( DPMI ) protected mode DLL and
 EXE files, that is, a DLL ( called by a DPMI EXE ) that runs on DOS, even if
 there is NO Windows at all on my machine

DLLs no, EXEs yes. You can load dxe files (the go32 variant of a DLL) 
using the dxeload unit.
 
 Also, can it make 16 bit DPMI EXE and DLL  files in DOS, or is its DOS
 extender limited to only making 32 bit DPMI files?

Free Pascal is 32/64 bit, so the answer is no, you cannot build 16 bit 
DPMI files.

 Also, does FPC Pascal make any type of DOS Overlays?

No, since it can use virtual memory there is not need for overlays.

 That is, a Real Mode ( 16 bit )  Overlay compiled program, this would be like
 the BP 7.01 EXE that calls an OVR file, which, itself can be as big as maybe
 16MB.

Overlays were an extremely limited way of having virtual memory, though 
there were very usefull to squeeze things in 640K. I doubt your current 
computer has a 640K memory limit, therefore you have no need to use such 
primitive tools.

Daniël___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal