Re: [cc65] CIA Timers, SID gate, Structs Vs Poking, NES?

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2004-01-09 18:33:45


Hi!

On Fri, Jan 09, 2004 at 02:26:06PM +0200, Veli-Pekka Tätilä wrote:
> Handling interrupts is also all new to me so could you please give a
> simple example in C related to the timer question above?

Interrupt handlers cannot be written in C, at least not completely. See

        http://www.cc65.org/faq.php#IntHandlers

> 3) Just out of curiousity, is poking the memory directly with the macro
> introduced in the FAQ faster than assigning to a field of one of those
> structs? I personally find the struct version much easier to work with.

When constant addresses are used, the generated code is the same.

> 4) Is it possible to write programs for the NES using this same compiler? I
> think it uses the same processor as the C64 but haven't seen any NES
> specific structs in the headers.

Groepaz has contributed the necessary code for the NES, which went "official"
with version 2.10. But beware: There are currently no Windows/DOS binaries
available for this release.

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 : 2004-01-09 18:33:54 CET