[cc65] Re: Questions for CBM guys

From: Jonathan Graham Harston <jgh1arcade.demon.co.uk>
Date: 2008-03-04 02:25:09
"Oliver Schmidt" wrote:
> 1. What char code does place the cursor at the beginning of the next
> line? This seems to be $0D.
Most screen drivers do not have /a/ code to move to the beginning
of the next line. 
0D CR (Carriage Return) moves to the biginning of the current line
0A LF (Line Feed) moves the cursor to the current column of the
next line.
To move the beginning of the next line you need to send both
codes, LF,CR or CR,LF.
> 2. What registers are modified? As far as I have seen all registers
> are preserved.
Most systems preserve registers that do not return anything.
J.G.Harston - jgh@arcade.demon.co.uk - mdfs.net/User/JGH
BBC BASIC for Windows and Internationalisation
  See http://mdfs.net/Software/BBCBasic/Windows/ProgTips
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Mar 4 03:02:38 2008

This archive was generated by hypermail 2.1.8 : 2008-03-04 03:02:42 CET