Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!microsoft!darekm From: darekm@microsoft.UUCP (Darek MIHOCKA) Newsgroups: comp.sys.atari.st.tech Subject: Re: Where is my cursor? Keywords: TOS cursor Message-ID: <59146@microsoft.UUCP> Date: 16 Nov 90 23:34:30 GMT References: <3063@cernvax.cern.ch> Reply-To: darekm@microsoft.UUCP (Darek MIHOCKA) Organization: Microsoft Corp., Redmond WA Lines: 18 In article <3063@cernvax.cern.ch> hohr@cernvax.cern.ch (roger hoh) writes: > > Hi netters, > > How can I know the coordinates of the text cursor? > An other solution than the VDI call vq_curaddress() > would realy help me. > Thanks in advance. > Roger Try the line A variables CUR_X and CUR_Y. Offsets -28 and -26 (decimal) from the line A base pointer. In assembler, you could do... dc.w $A000 move.w -28(a0),cur_x move.w -26(a0),cur_y - Darek