Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!jarthur!nntp-server.caltech.edu!toddpw From: toddpw@nntp-server.caltech.edu (Todd P. Whitesel) Newsgroups: comp.sys.apple2 Subject: Re: GetCaretTime Message-ID: <1991May23.060838.342@nntp-server.caltech.edu> Date: 23 May 91 06:08:38 GMT References: <3621@kluge.fiu.edu> Organization: California Institute of Technology, Pasadena Lines: 21 acmfiu@serss0.fiu.edu (ACMFIU) writes: >GetCaretTime returns the number of ticks that is to occur between cursor >blinks. because i'm handling my own blinking cursor, i need to use this. >so, am i correct in thinking that i have some counter that i increment >through my main loop and when it gets to the value returned by GetCaretTime >i blink the cursor. if so, then i must be doing something wrong because >the cursor is blinking awefully fast. That's because you aren't counting TICKS (heartbeat interrupts). You're counting _GetCaretTime calls, neglecting the counter code. >also, i update on the main event loop because i never get null events for >some reason. I believe TaskMaster does not return until its internal call to GetNextEvent returns a non-null event the application wishes to see, which would make it a 'WaitNextEvent' call with automatic handling of certain events. Todd Whitesel toddpw @ tybalt.caltech.edu