Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!xmission!news.bbs-scene.org!macgui.com!dog_cow From: D Finnigan Newsgroups: comp.sys.apple2.programmer Subject: Re: Get character at position in 80-column mode Date: Mon, 15 Jul 2013 21:32:43 +0000 (UTC) Organization: Mac GUI Lines: 21 Message-ID: References: NNTP-Posting-Host: gunshin.wiredns.net Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: technocratmedia-w1.news.bbs-scene.org 1373923963 2378 74.119.145.48 (15 Jul 2013 21:32:43 GMT) X-Complaints-To: abuse@bbs-scene.org NNTP-Posting-Date: Mon, 15 Jul 2013 21:32:43 +0000 (UTC) User-Agent: Mac GUI Usenet Xref: csiph.com comp.sys.apple2.programmer:747 krussell.co wrote: > Hi there, > > There was a post here about getting a character at a given position on the > screen in 40-column mode using SCRN. How can I get a character at a given > position in 80-column mode? I can find nothing about this anywhere. On page 188 of The New Apple II User's Guide: "one may use PEEK(36) to find the current cursor column. Likewise, to find the current cursor row, use PEEK(37). It will return a number between 0 and 23, representing top and bottom of the screen, respectively." Works in 40 and 80 columns. -- ]DF$ Apple II Book: http://macgui.com/newa2guide/ Usenet: http://macgui.com/usenet/ <-- get posts by email! Apple II Web & Blog hosting: http://a2hq.com/