-
Notifications
You must be signed in to change notification settings - Fork 1
/
INT_Ini.cpp
55 lines (49 loc) · 1.48 KB
/
INT_Ini.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*****************************************************************************
System Name : TVoutColor_NTSC
File Name : INT_Ini.cpp
Content :
Version : 0.0
CPU board : Arduino UNO/Duemilanove
Compiler : Arduino 1.0.4
History : 2013/10/04
*****************************************************************************/
/*----------------------------------------------------------------------------
; Copyleft @Nabe_RMC
;---------------------------------------------------------------------------*/
/*==========================================================================*/
/* Includes */
/*==========================================================================*/
#define INT_INCLUDE
#include "defSYS.h"
#include "defINT.h"
#include "defCRT.h"
/*==========================================================================*/
/* Program */
/*==========================================================================*/
CINT::CINT()
{
Ini();
}
UB CINT::UBf_132ms_req = 0;
void CINT::Ini( void )
{
int i,k;
UB_ModePTN = 0;
UB_ModePLS = FRM_OFF;
UH_hline = 0;
UB_scanline = 0;
UB_cg_line = 0;
UB_row = 0;
UH_AddrDataNow = 0;
UBf_132ms_req = 0;
}
UB CINT::Check132ms()
{
if( UBf_132ms_req ==0 ){
return( 0 );
}
else{
UBf_132ms_req =0;
return( 1 );
}
}