Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!xanth!mcnc!rti!sunpix!matthew From: matthew@sunpix.UUCP ( Sun NCAA) Newsgroups: comp.sys.apple Subject: Re: Passing commands to DOS 3.3 Message-ID: <390@greens.UUCP> Date: 12 Feb 89 21:05:27 GMT References: <8902101603.aa01184@SMOKE.BRL.MIL> Organization: Sun Microsystems, Research Triangle Park, NC Lines: 28 In article <8902101603.aa01184@SMOKE.BRL.MIL>, ST402281@BROWNVM.BITNET (John Moon) writes: > Does anyone know how to pass commands to DOS 3.3 from machine language? > I would like to be able to use the DOS 3.3 filesystem from machine > language. Thanks in advance! > > John Moon > ST402281@BROWNVM (Bitnet) There is three tricks to do this under DOS 3.3. The first is to print the command just like in AppleSoft. Remember though, the [Control-D] must be the first character printed after a [Return], else DOS 3.3 will not detect it. The second is to get the book 'Beneath Apple DOS'. This book tells you how DOS 3.3 is broken down into 3 parts, the command processor, the file manager, and the rwts handler. You could make direct file manager calls if you studied the book long enough. Third, use DOS 3.3's rwts (read/write-track/sector) and do all the file management yourself. Its up to you, but get the book. -- Matthew Lee Stier (919) 469-8300| Sun Microsystems --- RTP, NC 27560| "Wisconsin Escapee" uucp: {sun, rti}!sunpix!matthew |