From: YTM (ytm_at_priv1.onet.pl)
Date: 2000-06-24 14:22:29
On sob, 24 cze 2000, you wrote: > >Yes, you can write GEOS apps with cc65, thanks to the great work of Maciej > >Witkowiak. > > Is there file support in the GEOS routines? Yes, at the level of GEOS kernal. There is no support for standard libraries, so you can't do fopen, but kernal support is enough to do something like: FindFile ("filename"); to acquire file descriptor and then using data from it: ReadFile (dirEntryBuf.n_block, buffer, length); or loading first block and reading byte by byte till end of file using ReadByte(); This is more clear to people who are used to programming GEOS in asm, using macros from geosMac and symbols from geosSym definitions, than those with C origin. IMO programming GEOS in C is like using a high level macro assembler. Most likely GEOS port will not have full support for standard file functions, because these are working at byte level and GEOS kernal prefers loading and saving whole blocks of data. Maciek ---------------------------------------------------------------------- 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 : 2001-12-14 22:05:36 CET