On Sonntag 04 Januar 2009, Ullrich von Bassewitz wrote: > On Sun, Jan 04, 2009 at 01:43:23AM +0100, Groepaz wrote: > > first of all, the function pointer is 16bit and goes into two adresses, > > fffa and fffb... > > > > then you probably have to enable vblank interupts in some control > > register of the videochip, check nes docs :) > > ... and last but not least, the generated C code is not reentrant, so your > interrupt handler has to save registers and the zero page locations used. that said, don't even bother writing interrupt handlers in C for the nes... it's to slow for anything useful, in most apps you will sooner or later want your own specific hardcoded irq handler anyway. -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ftp.pokefinder.org The mystical trend of our time, which shows itself particularly in the rampant growth of the so-called Theosophy and Spiritualism, is for me no more than a symptom of weakness and confusion. <Albert Einstein> ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Mon Jan 5 03:01:47 2009
This archive was generated by hypermail 2.1.8 : 2009-01-05 03:01:49 CET