Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!samsung!ginosko!uunet!mcrware!jejones From: jejones@mcrware.UUCP (James Jones) Newsgroups: comp.sys.m68k Subject: Re: Info on create data module Message-ID: <1380@mcrware.UUCP> Date: 28 Oct 89 20:25:16 GMT References: <552@crash.cts.com> <23250@cup.portal.com> <4042@m2-net.UUCP> Reply-To: jejones@mcrware.UUCP (James Jones) Organization: Microware Systems Corp., Des Moines, Iowa Lines: 33 In article <4042@m2-net.UUCP> nom@m-net.UUCP (Paul Campbell) writes: >Would someone mind posting a man page or similar explaining the >command [well, actually system call, to create a data module] >in a fair amount of detail? Here goes: os9 F$DatMod inputs: d0.l = size of module body wanted (not counting header or CRC) d1.w = attributes and revision number to put on new module d2.w = module access permission desired (a0) = module name pointer outputs (if everything works): condition code register has the carry bit cleared d0.w = module type/language word d1.w = module attributes and revision (a0) = updated to just past the name it pointed at on input (a1) = module data pointer (a2) = module header pointer outputs (if something goes wrong): condition code register has the carry bit set d1.w = error code James ("Opinions? *ME*?") Jones