Hello Raj, * On Sat, Oct 22, 2005 at 02:42:44PM -0400 Raj Wurttemberg wrote: > 390 print#15,"m-w"chr$(0)chr$(0)chr$(1)chr$(job) > > The line should read: > > 390 print#15,"m-w"chr$(0)chr$(0)chr$(2)chr$(job) I tend to disagree. The original line writes 1 byte into the location $0000, while your line writes 2 bytes, one to $0000, and one to $0001. Interestingly, the byte written into $0001 is (most probably, would have to check to be absolutely sure) a $0D or $00, as your line ends with a CR. While this does not do any harm, it does not help you in the first place. You just "mask" an error you have, working around that one. In fact, I think your problem with the C code most probably is that you forget to send the CR after the line. (I would have to check again if this CR is really needed, but this is my guess). Regards, Spiro. -- Spiro R. Trikaliotis http://www.trikaliotis.net/ http://cbm4win.sf.net/ ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sat Oct 22 21:00:17 2005
This archive was generated by hypermail 2.1.8 : 2005-10-22 21:00:20 CEST