[net.micro.pc] DOS call 59 smashes ES

johnl@ima.UUCP (07/15/85)

We recently tracked down an obscure memory-smashing bug in one of our
programs, and find that the new DOS 3.x function 59, return extended
error, reliably sets the ES register to zero.  I would certainly
characterize such behavior as an extended if not an execrable error,
but wish that people in Boca and Bellvue would spend less time verifying
that undocumented garbage returns to old calls were the same from version
to version and more time making sure that new calls worked at all.

The solution is to observe that the extended error codes from function 59
are not very useful, in any event, and not to bother calling it.

John Levine, Javelin Software, Cambridge MA 617-494-1400
{ decvax!cca | think | ihnp4 | cbosgd }!ima!johnl, Levine@YALE.ARPA