Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!labrea!rutgers!orstcs!jacobs.CS.ORST.EDU!borcelf From: borcelf@jacobs.CS.ORST.EDU (Fernando Borcel) Newsgroups: comp.sys.mac.programmer Subject: Re: Help With VBL Tasks Summary: Getting registers from LSPascal Keywords: VBL task; post itself; BOMB Message-ID: <8383@orstcs.CS.ORST.EDU> Date: 20 Jan 89 21:12:10 GMT References: <8343@orstcs.CS.ORST.EDU> <445@internal.Apple.COM> Sender: usenet@orstcs.CS.ORST.EDU Reply-To: borcelf@jacobs.CS.ORST.EDU.UUCP (Fernando Borcel) Organization: Oregon State University - CS - Corvallis Oregon Lines: 19 In article <445@internal.Apple.COM> lsr@Apple.COM (Larry Rosenstein) writes: > >(2) The technique you use to set up the task to be executed again is not >right. You don't need to creata new task block. Instead you shouldsimply >reset the vbl counter in the existing task block. A pointer to the task >block is passed in A0 when your VBL code is called. There are various ways >to get this register in Pascal, depending on the development system. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OK, I'm using LSPascal. How do I get A0, and what is the TYPE of what it's pointed by it? Fernando ___ __ |{tektronix,hp-pcd}!orstcs! / _ _ _ _ _ _/ _ /_/ _ _ _ _ / | jacobs.cs.orst.edu!borcelf /- /_// // / _// // // / / )/ // // /_// | _/ /_ / / //_// //_//_/ /__//_// /_ /_ /_ |borcelf@jacobs.cs.orst.edu