Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ll-xn!nike!lll-crg!lll-lcc!well!espen From: espen@well.UUCP (Peter Espen) Newsgroups: net.micro.mac Subject: A quick question regarding a _Control call in assembly code Message-ID: <1970@well.UUCP> Date: Thu, 23-Oct-86 19:42:15 EDT Article-I.D.: well.1970 Posted: Thu Oct 23 19:42:15 1986 Date-Received: Fri, 24-Oct-86 16:45:25 EDT References: <709@aaec.OZ> <4183@ut-ngp.UUCP> <1969@well.UUCP> Organization: Whole Earth Lectronic Link, Sausalito, CA Lines: 17 Summary: _Control (Trap #$A004) call with CScode set to 6 I am examining some assembly code that makes does the following... 204F ' O' MOVEA.L A7,A0 42A8 000C 'B...' CLR.L ioCompletion(A0) 317C FFFD 0018 '1|....' MOVE #-3,ioCRefNum(A0) 317C 0006 001A '1|....' MOVE #6,CSCode(A0) 217C 0002 FFFD '!|....' MOVE.L #$2FFFD,CSParam(A0) 42A8 0020 'B.. ' CLR.L CSParam+4(A0) 42A8 0024 'B..$' CLR.L CSParam+8(A0) A004 '..' _Control ; (A0|IOPB:ParmBlkPtr):D0\OSErr I cannot find in any of my documantation a description of what a _control call with CScode set to 6 does. Can someone out there give me some help and tell me what this call does? Thanks! Peter Espen (espen@well)