Hi!

I think some people (CWSDPMI, Japheth, ...) have done some experiments
with tricks to use more than 4 GB RAM in DPMI, but you can only use 3-4
GB in one block that way. If your goal is (easier) to get from 640 kB to
4 GB, you can use a number of methods: You can use (DPMI) DOS extenders,
which is actually normal if your BASIC is 32 bit anyway, such as
FreeBasic, see www.freebasic.net ...

Or you can use EMS or XMS to access additional memory. In EMS, you make
parts of 16 kB (EMS 3.2) or 4 kB (EMS 4.0) visible somewhere in the
first 640 kB and then just use them there... Your software has to take
care to decide when to make which part visible where. In EMS 3.2, the
parts have to be in a "page frame", which takes 64 kB that you could
otherwise use for UMB. In EMS 4.0, the parts can be almost anywhere.

In many cases, XMS is the better choice: With XMS, you just copy around
any amount of data between your low "640k" (1 MB) DOS RAM and a bigger
block that you allocated from XMS. So you can NOT directly access the
big block, just copy to / from it. But on the other hand, you do not
have to work with small 4 kB or 16 kB buckets... For XMS, you need HIMEM
or FDXMS or XMGR drivers. For EMS, you need EMM386, JEMM386, JEMM,
QEMM or similar drivers. Some of them also include XMS...

I hope this gives you some ideas - when you have questions
about EMS or XMS and you cannot find howtos on the web, you
are of course welcome to ask here again :-)

Eric

> I FAVIER Sebastien developer of Cpcdos OSx (See 
> http://microsf01.fr.nf/ or http://cpcdos.fr.nf/> French) brief
> 
> 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...
> 
> I look everywhere, tried Dos4G, Dos32A ... nothing
> 
> It is important Do you have a solution? or a PDS7.1/QuickBasic code?
>  thank you :)


------------------------------------------------------------------------------
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