Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site drivax.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!hogpc!houxe!drutx!ihnp4!zehntel!dual!amd!qumix!qubix!ios!oliveb!hplabs!amdahl!drivax!alan
From: alan@drivax.UUCP
Newsgroups: net.micro.pc
Subject: Re: Help with PCDOS problem
Message-ID: <43@drivax.UUCP>
Date: Tue, 30-Oct-84 17:07:15 EDT
Article-I.D.: drivax.43
Posted: Tue Oct 30 17:07:15 1984
Date-Received: Fri, 26-Oct-84 03:06:06 EDT
References: <168@hocsl.UUCP>
Organization: Digital Research, Monterey
Lines: 17

Well, if you read the fine print in the DOS manual it says that
CS must point to the Program Segment Prefix when you execute the
Int 20. The only way that I know to do that is:

	xor	ax,ax
	push	ax
	push	ds
	ret

BTW: Just because you say 'assume ds:someware' don't make it so,
and DOS does not set cs and ds correctly for .com files, you have
to do it.
-- 
---------------------
Alan Fargusson.

{ ihnp4, sftig, amdahl, ucscc, ucbvax!unisoft }!drivax!alan