[net.micro.cbm] scrolling, etc; BASIC using sys calls

keithe@tektronix.UUCP (Keith Ericson) (08/23/84)

From the September "RUN" magazine - their ongoing "Magic" column...

On the C64, a single line (line number LN, with  0 <= LN <= 24) can be
erased with

	POKE 781,LN : SYS(59903)

Copying one line to another is also available: to move a line from line
number LF to line number LT (0 <= LT,LF <= 24)

	POKE 781,LT: SYS(59888) : POKE 172,PEEK(60656+LF) : POKE 780,
	PEEK(216+MF) : SYS(59848)

Finally, to scroll the screen up one line,

	SYS(59626)

As long as you're reading this, let me put in a plug for "RUN"
magazine.  I have a subscription to it and to "Compute's Gazzette." If
I had to give one of them up it would NOT be "RUN" as I find it to
contain better, more technologically advanced articles and more helpful
stuff.  CG usually has *more* stuff in it, but much of it's not the
stuff I want; most ot the time it's too elementary, and often cutesy.

keith ericson at teklabs

P.S. - only use these if you have purchased a copy of September "RUN"
magazine...:-)

P.P.S - '<=' means 'less than or equal'