Re: Adventure - the answer to what went wrong?

Alan Cox
2002-12-12T21:15:30Z

On Thu, 2002-12-12 at 20:27, Dan Olson wrote:
> Also, the file size is 84k, but that doesn't mean that the code segment is
> going to be more than 64k, does it? Does the whole file get loaded into
> memory and executed, or can there be other "stuff" in that file besides
> executable code that may not get loaded into the code segment? I haven't
> messed with this stuff in a while, so I don't remember :)

"size" should tell you.

Basically you have code at CS:0 for upto 64K (and possibly shared). Then
you have data at DS:0->n and stack at DS:[topsize] going down and the
dynamic memory space settable using chmem.