Ok, I will try to use C to print something on a PAL-M TV. If doesn't work, go to assembly code and work with it. Thanks to all for the attention. 2009/12/14 Mauricio Giovagnini : > Mark Rages escribi=F3: >> On Fri, Dec 11, 2009 at 3:18 PM, frederico schardong >> wrote: >>> All this started when I found a code to use PIC with PAL-M TV. All >>> codes that I found about this has writen in assembly and I would like >>> to use PAL-M in C. >>> >> >> >> Wait, is this one of those hacks that uses instruction timings to >> generate video in software? =A0That's not going to work in C. >> > > > Federico, take Mark advice... many of those codes have tight > timings in order to refresh the image at the needed > frequency to comply with the specifications. > > In C you "perhaps" could do the same only if you know deeply > how to work with interrupts (which is much dependant on the > C compiler you will use), and may be you will be working > with inline assembly and stuff like that. > > Another approach will be to work with a faster device while > trying to reproduce the behaviour of the code. > > > > > > -- > ------------------------------ > Mauricio Giovagnini (Maunix) > www.maunix.com.ar > Cordoba, Arg. > LinkedIn Profile: http://www.linkedin.com/in/mgiovagnini > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- = Thanks, Frederico Schardong, SOLIS - Open source solutions www.solis.coop.br Linux registered user #500582 -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist