NTSC video out library

New release:
added PAL support (my tv detects the signal as 576i anyway).
start_render(_PAL); or start_render(_NTSC);

made a few necessary changes that will facilitate future sound support and or polling UART/SPI/ect.

added a delay_frame(#frames) function to regain some semi accurate delay. this will block the user code until the end of the visible screen so it can be used to wait for a frame render to occur.

added ability to pause the display rendering but keep outputting a sync signal(Hsync only) so user code can have full access to the cpu.

I also did some quick calculations and running as it(128H pixels by 96V double height pixels) is there is about 3.6MIPS left for user code.

updated NTSC demo (there is an included pal example too)

#include <TVout.h>

TVout TV;
char x,y;

void setup()  {
  x=0;
  y=0;
  TV.start_render(_NTSC);
}

void loop() {
  TV.clear_screen();
  x=0;
  y=0;
  for (char i = 32; i < 127; i++) {
    TV.print_char(x*6,y*8,i);
    x++;
    if (x >20) {
      y++;
      x=0;
    }
  }
  TV.delay_frame(60);
  TV.clear_screen();
  TV.print_str(0,0,"fill screen pixel");
  TV.print_str(0,8,"by pixel");
  TV.delay_frame(60);
  TV.clear_screen();
  for(x=0;x<127;x++){
    for(y=0;y<95;y++){
      TV.set_pixel(x,y,1);
    }
  }
  TV.delay_frame(60);
  TV.clear_screen();
  TV.print_str(0,0,"draw some lines");
  TV.delay_frame(60);
  for(y=0;y<95;y++){
    delay(10);
    TV.draw_line(0,y,x-y,y,2);
  }
  TV.delay_frame(60);
}