Hi,

On Jan 28, 2013 11:25 AM, "Ralf A. Quint" <[email protected]> wrote:
>
> At 08:13 AM 1/28/2013, Sébastien FAVIER wrote:
> >
> >I wonder if with freedos, there is a tool or
> >other for run a program compiled with
> >PDS7.1(QuickBasic)16Bit in 32bit ? just to have access to 4GB of
memory...
>
> This is not a problem of FreeDOS, but of the compiler you are using.
> For all I know, there simply isn't any DOS
> Extender that you can use with PDS.

Without recompiling or (if you really knew how, which I don't) binary
patching, it's quite unlikely.

I wouldn't be totally surprised if there was a compatible 16-bit extender
(DPMI?), but I don't know of one offhand.

> The only prerequisite as far as FreeDOS is
> concerned is that it would also have to be a DOS
> Extender that works with any of the memory
> managers (EMM386, JEMM386), and AFAIK, DOS32/A
> (OpenWatcom), CWSDPMI (DGPP) and GO32 (FreePascal) should work...

If you can write inline asm or call interrupts or link to such, you can
access EMS and/or XMS (if available). That's usually what DPMI in real DOS
does anyways. Raw or unreal would also work but not as well (less
compatible).

Go32 is not a separate extender anymore. Modern Go32v2 assumes 32-bit DPMI,
usually CWSDPMI, which does not support 16-bit DPMI. Actually, I'm not sure
if any of the freely available DPMI-16 hosts is suitable here (may require
386!). HX's DPMILD16 could maybe work, dunno.

DOS/4GW and DOS32A assume LE or similar formats, so that's not much help.

It's not a perfectly compatible replacement, but you may wish to just use
FreeBASIC to recompile (if feasible, only if hacking in XMS support or
whatever isn't sufficient).
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to