Re: [cc65] question...

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2002-12-26 19:16:45


>>>>> "T" == TXG/MNX  <txg01_at_xs4all.nl> writes:

T> Would it be possible to write and OS like Lunix or some other OS
T> like that completely in CC65?

As cc65 also includes an assembler, yes. But if you mean in pure C,
no, you can't handle things like irqs and task switching without using
assembler.

T> This would make coding for different platforms like c64, atari,
T> apple II and other 6502 systems more interested.

If you think about it, cc65 with its standard library actually IS a
small operating system. The same code runs unmodified on all the cc65
supported targets, as long as you don't use any platform specific
code.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
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-12-26 19:17:55 CET