Guys,
I was pretty sure I had got it working before, so I didn't want to just
leave it as it is. What I just did is restart my computer with plain FreeDOS
and wrote, compiled and executed a programme like this:
mov ax,0b800h
--- On Tue, 27/10/09, japhethx gmail <[email protected]> wrote:
From: japhethx gmail <[email protected]>
Subject: Re: [Freedos-devel] About my driver, HIMEM/EMM386 and interrupts
To: [email protected]
Received: Tuesday, 27 October, 2009, 4:56 PM
>> However, I understood that HIMEM did something like establishing a
>> routine that was run whenever you tried to use an offset greater than
>> 0FFFFh together with a "real-mode-made" segment. This routine would
>> "trap" the event and handle the switch to protected mode and back,
>> keeping the segment base, but extending the limit to 4G, then returning
>> to the instruction that generated the exception. Am I right? Does this
>> really happen? If so, programs should not mind about their segments
>> being initially setup in real mode.
>
> No, I'm not aware of any Extended Memory Manager (XMM) that does such a
> thing.
MS Himem does indeed "install" such a routine, but it is installed only during
XMS block moves inside Himem.
See the MS Himem source for details. It's Public Domain, IIRC.
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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