From: Groepaz (groepaz_at_gmx.net)
Date: 2003-03-21 16:14:32
On Thursday 20 March 2003 17:56, Greg King wrote: > As I said above, we must use the program-format -- remember what you said > about IDE64's "problem." And, RAMDOS is another "device" that gives only > the LOAD"$"-version of its directory. oh oh....yes :=P > I see no conflict; they use different logical-file-numbers and > secondary-addresses. Your code works well. I converted it to header- and > library-files, and linked them to the test-program. > It still works well. :-) > > I admit that I didn't try to open a file while a directory still is open; > but stdin, stdout, and stderr are "normal" files, on CBM targets. We know > that the directory-routines work with stdout. try it then...i would actually be surprised if it works correctly.... the problem is that internally the open/read/write/close routines use exactly the same "kernel level" file descriptors like the cbm_open stuff.... it might be true that there are certain cases where for example stdout still works fine, but i bet if you open a few files (and maybe even read/write to them) things will start going berzerk. mmmh well....test it :o) maybe i'm also on the wrong track and it's just fine as it is? :) (if thats true...some things in that code should be updated to use cbm_open stuff really properly :=P) gpz ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-03-21 16:15:31 CET