From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-04-24 07:10:42
On Tue, Apr 23, 2002 at 02:01:17PM -0700, Shawn Jefferson wrote: > All in assembly... not my forte unfortunately.. I will have to do some quick > learning! ;) You may also code it in C if you prefer that. The library routines are written in assembler because this will make them shorter and a bit faster, but that is no must. A working lseek written in C is better than a non working one written in assembler. > In that vein, where is the return value from a function placed? On the > stack? No, in the registers/zero page. Just have a look at the existing lseek function, it returns -1L. > Is Christian still around? He coded this stuff in 2000, but didn't code the > fseek and ftell functions which really cripples any file i/o you might use. Compared to fread/fwrite I would say that fseek and ftell are quite esoteric, so "cripples any file i/o" is a bit of an exaggeration, isn't it? :-) And, Christian and a few others have done a great job with the Atari stuff. Regarding library support, the Atari has definitely a lead over to all other platforms, inculding the Commodores, which - as far as I can say - have a much larger cc65 user base. > It is better than what the C64 has now though, so I should count my blessings, > I guess! Yup:-) Regards Uz -- Ullrich von Bassewitz uz_at_musoftware.de ---------------------------------------------------------------------- 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 : 2002-04-24 07:11:02 CEST