TVGRam.h
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:2k
- #include "Config.h" // Global Configuration - do not remove!
- extern uchar gop_offset;
- // CC char pair Output FIFO
- #define CCMAXFIFO 16
- extern uchar ccfifo[CCMAXFIFO];
- extern uchar iccfifo;
- extern uchar occfifo;
- // Built-in Machine Registers
- extern uchar w;
- extern signed char sw, scounter;
- extern uchar *fsr;
- // temporary location for bit-wise accesses
- extern uchar brtemp;
- /* File Registers */
- extern long tvg_flags;
- /* EEPROM variables */
- extern ushort ee_addr; /* EEPROM ADDRESS - 16-BIT WORD */
- /* temporary variables */
- extern uchar dummy; /* DUMMY VARIABLE */
- extern uchar dummy2; /* DUMMY VARIABLE #2 */
- /* New Variables Associated with V2 Dictionary Structure */
- extern uchar eow_flags;
- extern uchar word_toler;
- /* switches and modes */
- extern uchar io_map; /* MAP FOR SWITCH AND LED FLAGS */
- extern uchar iomap2;
- /* timer variables */
- extern uchar timer_mute; /* AUDIO MUTE TIMER (IN MS) */
- extern uchar timer_tvg; /* TVG DISPLAY TIMER (IN MS) */
- /* counter variables */
- extern uchar counter; /* GENERAL COUNTER */
- extern uchar r0; /* WORK REGISTER 0 */
- extern uchar r1; /* WORK REGISTER 1 */
- extern uchar prev_c1; /* PREVIOUS CC_F1_C1 */
- extern uchar prev_c2; /* PREVIOUS CC_F1_C2 */
- extern uchar replace_index; /* INDEX OF CUSSWORD REPLACEMENT */
- extern uchar start_of_word; /* BUFFER POS. OF 1ST LETTER OF WORD */
- extern uchar first_char; /* 1ST CHARACTER OF CURRENT CC WORD */
- extern uchar last_char; /* LAST CHARACTER OF CURRENT CC WORD */
- extern uchar words_found; /* CUSSWORD COUNTER */
- extern uchar word_length; /* CUSSWORD LENGTH */
- extern uchar errors_cc; /* CC PARITY AND SAMPLING ERRORS COUNTER */
- extern uchar cc_buffer_in; /* WORKING CC BUFFER IN INDEX */
- extern uchar cc_buffer_out; /* WORKING CC BUFFER OUT INDEX */
- extern uchar cc_buffer_pos; /* CURRENT POSITION IN WORKING CC BUFFER */
- extern uchar cc_buffer[CC_BUFFER_LEN]; /* WORKING CLOSED CAPTION BUFFER */