[comp.lang.forth] PYGMY implementation question.

dwp@willett.UUCP (Doug Philips) (02/09/90)

To anyone that's hacked PYGMY:

I'm playing about with using 'DOS' and 'DOS2'.  In particular,
I'm writing words to interface to the handle-based file I/O.
It seems from my sporadic perusal of the sources that PYGMY keeps DS==CS.
What I want to know is if I change DS for the duration of a DOS call
then change it back again before doing NXT, will anything EVIL happen?
It looks like DS is diddled in the V@ V! (video memory fetch/store CODE),
but those aren't CODE words that do INT's, let alone INT 21's.

(I want to change DS so that I can use the DOS INT 21 calls to read/write
from files into alternate segments).

	Thanks in advance,

			Doug

P.S.  If this is answered somewhere in the pygmy docs, please let me know
	where (which file/screen).

---
Preferred: willett!dwp@gateway.sei.cmu.edu OR ...!sei!willett!dwp
Daily: ...!{uunet,nfsun}!willett!dwp   [in a pinch: dwp@vega.fac.cs.cmu.edu]