Re: [cc65] Atari DIO

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-10-29 00:28:18


Hi!

On Mon, Oct 28, 2002 at 11:57:31PM +0100, Christian Groessler wrote:
> One year ago an empty Atari program was already the biggest of all
> ports. (Maybe some other port catched up in the meantime?)

The current sizes for this "program":

        int main (void)
        {
            return 0;
        }

are

        apple2:                 225
        atari:                  690
        atmos:                  165
        c64:                    251
        c128:                   378
        cbm510:                 2365    (1)
        cbm610:                 2409    (1)
        geos:                   166     (2)
        pet:                    233
        plus4:                  243
        vic20:                  235

(1) The CBM-II machines are a special cas, because the program runs in a
separate bank without any ROM support. For this reason, an executable carries
a stripped down kernal that includes support for interrupts, keyboard polling
and several other things.

(2) Without header.

So not counting the CBM-II machines, the Atari is still the machine with the
biggest "empty" program. One reason is that it is the only machine with file
I/O support. Maybe it is possible to convert the initialization into a module
constructor? It seems that all of the I/O routines use the fdtable module, so
how about adding stdin/stdout initialization as a constructor of this module?

> Is recompiling really such a problem?

Windows users will have some problems recompiling the libraries. It is
possible but not easy (this sentence is probably true for most tasks under
Windows:-).

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.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-10-29 00:28:21 CET