Thank you. That should be useful. Sorry about my stupidity! :( ----- Original Message ---- From: Marc 'BlackJack' Rintsch <marc@rintsch.de> To: cc65@musoftware.de Sent: Sun, February 20, 2011 5:35:45 PM Subject: Re: [cc65] CBM kernal disk I/O? Hi Joseph, > I want to load bytes from disk one at a time and do a little > processing before using it. So far, when I read a byte from an open > file, I've been using cbm_read() to load a byte into a char variable > as a buffer. I tried to use the kernal functions to do it, but it > took information from the keyboard and started moving the cursor to > column 3. Can anybody tell me how to use the kernal functions to > read and write information more directly? Just look at the source code of the cbm_* functions how they use the kernel functions. In the case of `cbm_read()` you will even find a C implementation in the comments of the assembler source file. > I am unwilling to reveal my code until its beta version. Any help > would be appreciated. If you don't want to show the actual code then reduce the code to a small but runnable example which still has the problem. Ciao, Marc 'BlackJack' Rintsch -- The Python debugger has a 'break' command; why doesn't it have 'fix' command too? ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Mon Feb 21 00:12:30 2011
This archive was generated by hypermail 2.1.8 : 2011-02-21 00:12:32 CET