High memory

From: rjb (nought_at_nothing.com)
Date: 01/02/05


Date: Sun, 2 Jan 2005 15:21:45 +0000 (UTC)

I'm just learning protected-mode programming, and I'm trying to figure some
things out. I believe DOS programs, which are what I want to write, always
start up in conventional memory in rm, and would then switch to pm, yes? But
I know you can run code beyond 1 Mb. The question is, how do you get it
there? It can't load up there at program start, because you're still in rm.
It can only be that your program loads it in from disk after switching to
pm. Is this correct?

Also, is there any reason to have code (as opposed to data) in big memory?
Does it run faster there, or is there some other advantage?

Thanks for any info

rjb