Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site ecsvax.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!mcnc!ecsvax!calway
From: calway@ecsvax.UUCP (James Calloway)
Newsgroups: net.micro.cbm
Subject: Re: Next print location on the screen
Message-ID: <425@ecsvax.UUCP>
Date: Sun, 30-Dec-84 16:52:37 EST
Article-I.D.: ecsvax.425
Posted: Sun Dec 30 16:52:37 1984
Date-Received: Tue, 1-Jan-85 00:16:46 EST
References: <2@omovax.UUCP>
Organization: The News and Observer
Lines: 17

x
The PLOT routine in the kernal ($FFF0 or65520) will position the cursor for you. Load the Y register with the column number, 0-39, and the X resister with the row number, 0-24, clear the carry flag and JSR to FFF0.

If you want to do that from BASIC, you can poke the Y value into 782 and the X value into 781. I don't know how to clear the carry flag except to SYS to a short routine that contains these numbers:
24,76,240,255

This will jump to FFFO for you and then return to BASIC.

-- 

James  Calloway
The News and Observer
Box 191
Raleigh, N.C. 27602
(919) 829-4570
{akgua,decvax}!mcnc!ecsvax!calway