PDA

Click to See Complete Forum and Search --> : Bored...


parksie
Nov 18th, 2000, 08:44 AM
<grunts>

tumblingdown
Nov 18th, 2000, 08:50 AM
write some code then ;-)


td.

zmerlinz
Nov 18th, 2000, 09:19 AM
or you can see if you can find out what the letters ML stand for in my thread entitled ML

Sam Finch
Nov 18th, 2000, 09:22 AM
Or, learn how to read peoples minds, read mine, figure out what the problem I'm struggeling with is ( which I can't explain because I don't understand it) solve it and tell me the answer.

zmerlinz
Nov 18th, 2000, 10:07 AM
the answer is 42, next

according to the hitch hickers guide to the galaxy, the answer to everything is 42, so there is your answer

Nov 18th, 2000, 10:25 AM
so..... 2 + 2 = 42?

zmerlinz
Nov 18th, 2000, 10:29 AM
depends, only if you add another 38 to it, or another 2

2 + 2 = 4 (+ meaning and) and another 2 equals 42

any other suggestions

Sam Finch
Nov 18th, 2000, 10:36 AM
actually, the answer was that If I keep the start address of my dynamicly loaded code segment in EFS and the start address of the expression entry point stack then the lea instruction can be usesed very effectivley to convert all addresses into 32bit pointers allowing near 32 bit calls.

which is closer to 41 i reckon

parksie
Nov 18th, 2000, 11:10 AM
Fair enough - plenty going on :)

Sam - what do you mean by a near 32-bit call? I thought they were all in one homogenous (love that word :)) code segment?

Sam Finch
Nov 18th, 2000, 12:19 PM
well, it's a wierd old thing, I'm writing files containing executable code put in my own file format not a dll or exe or anything, so windows doesn't know how to run it, then I load the file direct into memory inside a COM object, then all it does is call C++ functions, which is exactly what we need, the truoble is there's no way of knowing where the file's going to be loaded into memory, which is why the segmented memory model would be perfect, trouble is VC++ doesn't want to do it that way and it limits us to 64KB of code, and looking into it the 32bit addressing model hasn't fully taken over yet, it just seems like it, (because windows moves memory around so much behind the scenes it needs some elements of the segmented model and the whole things a bit messy under the hood. but the lea function looks like it should take care of a lot.

It's just damn confusing.

parksie
Nov 18th, 2000, 12:36 PM
Ouch. Sounds like fun :)

Sam Finch
Nov 18th, 2000, 12:47 PM
this is just a minor pondering point, the real fun is yet to start.

[Edited by Sam Finch on 11-18-2000 at 01:59 PM]