>> but then virtual-86 mode is set and I can no loger use 32bit real-mode  
>> pointers!
>
> IF you need PM from V86 there is VCPI.

Protected mode isn't the same as flat real mode.

>> Yet, there has to be a way, because HIMEM works even though EMM386 is  
>> loaded.
>
> As said, it uses INT $15 / AH=$87 then. That's also what you can use
> to access
> PCI memory mapped I/O (>= 2 GiB) from real mode code, even if EMM386 is  
> there.
>
> BTW, RBIL is wrong here, it says "linear address" but the call in fact  
> eats
> physical addresses, at least those above 1+1/16 MiB AKA $0011'0000.

Yes, you're right. All areas above the 1088 KiB (- 16 byte) accessible in  
real mode access the physical memory. Since the XMM works by switching to  
protected/flat real mode (without remapping memory) or using Int15.87  
provided by EMM386, the linear address returned when locking a XMS memory  
block should be usable as physical address as well.

Regards,
Christian

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to