In a message dated 11/28/2010 10:18:52 A.M. Eastern Standard Time, marc@rintsch.de writes: Hi Joseph, > > In a message dated 11/27/2010 9:30:09 P.M. Eastern Standard Time, > > plbyrd@gmail.com writes: > > > > cbm_open, cbm_write, cbm_read, cbm_close > > > I thought I could use the kernal routines to load a byte into a > variable, not a buffer. Never mind. Well a byte buffer of length one is a byte, right!? So I don't see the problem with `cbm_read()`:: I just want to load a byte and assign it to a variable to handle to decide what to do with it. But cbm_read() can do the job. ... uint8_t some_byte_value ... cbm_read(lfn, &some_byte_value, 1); If you insist on the kernal routines, take a look at the ``cbm.h`` header file. The kernal function names start with `cbm_k_*`. I did. I even looked at the Vic20 PRG. The routines seemed to request input from the keyboard and then indent the cursor two columns. But for now, I'm using cbm_read(). Thank you for your help. ------------------- Joseph Rose, a.k.a. Harry Potter Working magic in the computer community...or at least striving to! :( ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun Nov 28 17:54:42 2010
This archive was generated by hypermail 2.1.8 : 2010-11-28 17:54:45 CET