Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!julius.cs.uiuc.edu!rpi!batcomputer!cornell!vax5.cit.cornell.edu!hh2x From: hh2x@vax5.cit.cornell.edu Newsgroups: comp.sys.cbm Subject: Re: C128 Programming question Message-ID: <1990Nov13.162259.981@vax5.cit.cornell.edu> Date: 13 Nov 90 20:22:59 GMT References: <1990Nov13.043708.23063@DMI.USherb.CA> Distribution: na,comp Lines: 32 In article <1990Nov13.043708.23063@DMI.USherb.CA>, sd05@terre.DMI.USherb.CA (Sylvain Tremblay / Eric Trepanier) writes: > Hello all! > > I have a technical question here. I'm writing an assembler input routine > wich needs to work on either the 40 or 80 column screens. To filter out > unwanted characters, I use the GETIN Kernal subroutine ($FFE4). As you > probably know, this routine dos not provide any kind of cursor. It's easy > to turn the cursor on in 80 columns using the ESCAPE F sequence. But I'm > clueless as to how to turn on the 40 column cursor... > > Anybody has a suggestion? > > Thanks in advance! > > Eric Trepanier It's simple... just POKE 2599, 0 to turn on the cursor. Any other value turns it off. LDA #0 STA +2599 ; Cursor on LDA #1 STA 2599 ; Cursor off Courtesy Compute's _Mapping the Commodore 128_ by Ottis R. Cowper. Good luck with your programming project. Aaron Peromsik ! (Insert world-class hh2x@vax5.cit.cornell.edu ! ultra-nifty tag line Fido 1:260/420 ! here)