Re: [cc65] cc65 2.5 beta (update)

Date view Thread view Subject view

From: YTM (
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
ReadFile (dirEntryBuf.n_block, buffer, length);
or loading first block and reading byte by byte till end of file using

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

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.

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:36 CET