Hi Barry,
FS> BB> Well, I may be wrong, but, not needed anyway, as the stack is the
ame
FS> BB> on return from Int 2E.
It's not the same on the return. Which is major crash problem one. SS:SP are
toasted after the INT 2E call.
Quick example using DEBUG:...
(speaking of which did you know that OpenDOS (Novell) debug supports 386+
instructions? It does :), you can do things like MOV EAX,......)
Anyway... darn, SS:SP is preserved with OpenDOS! :) wouldn't you know it.
I'll have to boot from a DOS 6 floppy... darn where's the DOS 6 floppy...
...found it :) ok, here's my informal results:
BEFORE INT 2E CALL
SS = 1538 SP = FFFE
AFTER INT 2E CALL
SS = 0E38 SP = 0603
Which is why it needs to be saved, SS:SP that is.
Cheers,
Denis Boyles
* OLX 2.1 TD * All hope abandon, ye who enter messages here.
--- Maximus/2 3.01
---------------
* Origin: Frog Hollow Port Moody BC 604-469-0264/0284 (1:153/290)
|