Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

64bit access in DOS mode...

62 views
Skip to first unread message

liaoo

unread,
Mar 8, 2013, 4:19:09 AM3/8/13
to
Hi all,
I have one question about the 64-bit access in DOS mode...

Before I wrote one application using (watcom c+dos/32a) and it can access all the memory space under 4GB successfully...
* DOS/32a provides flat mode !

Ex. I used below function to write 4-Byte:
============================================
void PciMemWtDW( DWORD memaddr, DWORD data )
{
DWORD *ptr = (DWORD *)memaddr;
*ptr = data;
}
============================================

My question is: is it possible to access the memory above 4GB if I installed 8GB DRAM ?

If not... then is there any other way to solve this issue ?

Thanks,
liaoo

Robert AH Prins

unread,
Mar 8, 2013, 7:12:42 AM3/8/13
to

rug...@gmail.com

unread,
Mar 14, 2013, 10:22:28 AM3/14/13
to
Hi,

On Friday, March 8, 2013 3:19:09 AM UTC-6, liaoo wrote:
>
> I have one question about the 64-bit access in DOS mode...
>
> Before I wrote one application using (watcom c+dos/32a) and it can
> access all the memory space under 4GB successfully...

Even with so-called memory holes? Congrats!

> * DOS/32a provides flat mode !
>
> My question is: is it possible to access the memory above 4GB if I
> installed 8GB DRAM ?

By default, I don't think so. I assume you're aware of the
experimental PAE hack for DOS/32A, found on the homepage (though
you'll have to assemble it yourself or ask around here for someone
with a copy). Not sure how stable it is, but it's at least a proof
of concept.

I think PAE (up to 64 GB) is your best hope for this (though I
personally think 4 GB is plenty, am I wrong?).

CWS (of CWSDPMI fame) has been busy with work lately, but he still
intends CWSDPMI to work stably with at least 4 GB, and maybe
eventually with PAE too. You could try emailing him for just some
casual tips, but like I said, don't expect much, he's always busy.
(He did some work over the winter holidays but never finalized it.)
If anybody can help you, it's him!

http://homer.rice.edu/~sandmann/

> If not... then is there any other way to solve this issue ?

Sure, just use (xyz OS flavor of the month). :-)
0 new messages