CyberWalkingGuy / arduino-tvout

Automatically exported from code.google.com/p/arduino-tvout
1 stars 0 forks source link

Integrating with other code #64

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Now that I have the demo code working, I am moving on to add 
functionality that I intended.
This involves trying to use the PS2 keyboard library with TVOut.
If I understand your code, it uses timer interrupts and
is written to not use nested interrupts.
Without modification, the PS2 interrupt routine runs late if
there is a video line interrupt in progress.
I gather that if nested interrupts were allowed, the PS2 interrupt, which is 
level activated would take precedence over the timer interrupt
as the pin interrupts are earlier in the interrupt table.
And if this was allowed, the PS2 interrupt would knock the video lines out of 
sync, I figure but the video would later stabilize. 
I can live with that.
Would there be any catastrophic effect that I'm not thinking of?

Related, have you or would you provide a detailed theory of operation of
the TVOut system to go along with the source code?

Thanks - NICE work!  

Original issue reported on code.google.com by douglas....@gmail.com on 7 Mar 2013 at 7:35