Subversion Repositories pentevo

Rev

Blame | Last modification | View Log | Download | RSS feed | ?url?

  1. #include "_global.h"
  2. #include "_screen.h"
  3. #include "_ps2k.h"
  4.  
  5. //-----------------------------------------------------------------------------
  6.  
  7. void Test_Video(void)
  8. {
  9.  scr_set_cursor(0,0);
  10.  scr_fill_char_attr(0x00,0x00,53*25);
  11.  scr_set_cursor(15,4);
  12.  scr_print_msg(msg_title2);
  13.  
  14.  u8 tvid_tst_cnt;
  15.  tvid_tst_cnt=0;
  16.  do
  17.  {
  18.   tvid_tst_cnt++;
  19.   fpga_reg(SCR_MODE,tvid_tst_cnt|(mode1&0b10000000));
  20.   if (tvid_tst_cnt>=6) tvid_tst_cnt=0;
  21.  }while ((waitkey()>>8)!=KEY_ESC);
  22.  
  23.  fpga_reg(SCR_MODE,mode1&0b10000000);
  24. }
  25.  
  26. //-----------------------------------------------------------------------------
  27.