* On Tue, Mar 04, 2008 at 10:53:59AM +0000 Jonathan Graham Harston wrote: > I checked the documentation before posting to check that > the C64 was similar to the Acorn world: You'd better had left the answer of people actually USING and KNOWING the CBM machines untouched instead of deciding based upon some documentation. > Commodore 64 Programmer's Reference Guide: > > "If no punctuation finishes the list, a carriage-return > and a line- feed are printed at the end of the data. If > a comma or semicolon terminates the output-list, the > carriage-return and line-feed are suppressed." This is, in fact, wrong. The C64 (and the C128, btw) only issue a $0D (CR). This is because the CBM machines treat a $0D as a combination of CR and LF. > "For printer files, an automatic line-feed will be > performed by carriage-return" > > "if you choose a logical file number that is greater > than 127, then a line feed will follow all carriage > returns." This is what I already wrote in my previous mail. This option (file number > 127) is for non-CBM hardware which needs separate CR and LF to perform what is normally a CR on the C64. > That clearly indicates that line-feed and carriage-return > are two seperate functions. Have you actually used the C64 yourself, so you can decide for sure? > If the others do perform as you say, then how on earth > do you move the cursor down without changing the column? By issuing a CRSR DOWN. > And how on earth do you move to the lefthand column without > moving down a line? There are different ways. If you do not care about your screen scrolling down: CR and CRSR UP. If you care, you can perform CRSR UP and CR (if you are not on the first line), or issue CRSR LEFT until you are at the beginning. Or: POKE the correct value into 211 and SYS 58732. ;) Regards, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ ---------------------------------------------------------------------- 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 16:38:25 2008
This archive was generated by hypermail 2.1.8 : 2008-03-04 16:38:27 CET