Quangbao.inc
Code:
;========================================== ;ten kytu .equ a1 = 0x7f .equ a2 = 0x80 .equ a3 = 0x81 .equ a4 = 0x82 .equ a5 = 0x83 .equ a8 = 0x84 .equ a81 = 0x85 .equ a82 = 0x86 .equ a83 = 0x87 .equ a84 = 0x88 .equ a85 = 0x89 .equ a6 = 0x8a .equ a61 = 0x8b .equ a62 = 0x8c .equ a63 = 0x8d .equ a64 = 0x8e .equ a65 = 0x8f .equ e1 = 0x90 .equ e2 = 0x91 .equ e3 = 0x92 .equ e4 = 0x93 .equ e5 = 0x94 .equ e6 = 0x95 .equ e61 = 0x96 .equ e62 = 0x97 .equ e63 = 0x98 .equ e64 = 0x99 .equ e65 = 0x9a .equ i1 = 0x9b .equ i2 = 0x9c .equ i3 = 0x9d .equ i4 = 0x9e .equ i5 = 0x9f .equ o1 = 0xa0 .equ o2 = 0xa1 .equ o3 = 0xa2 .equ o4 = 0xa3 .equ o5 = 0xa4 .equ o6 = 0xa5 .equ o61 = 0xa6 .equ o62 = 0xa7 .equ o63 = 0xa8 .equ o64 = 0xa9 .equ o65 = 0xaa .equ o7 = 0xab .equ o71 = 0xac .equ o72 = 0xad .equ o73 = 0xae .equ o74 = 0xaf .equ o75 = 0xb0 .equ u1 = 0xb1 .equ u2 = 0xb2 .equ u3 = 0xb3 .equ u4 = 0xb4 .equ u5 = 0xb5 .equ u7 = 0xb6 .equ u71 = 0xb7 .equ u72 = 0xb8 .equ u73 = 0xb9 .equ u74 = 0xba .equ u75 = 0xbb .equ y1 = 0xbc .equ y2 = 0xbd .equ y3 = 0xbe .equ y4 = 0xbf .equ d9 = 0xc0 .equ _D9 = 0xc1 .equ point_RXD = 0x0100 .equ point_TXD = 0x0101 .equ Frame_RXD = 0x0102 .equ buffer_send = 0x0103 .equ type_FILE = 0x0104 .equ cursel_FILEH = 0x0105 .equ cursel_FILEL = 0x0106 .equ DS_TimePhut = 0x010a .equ DS_TimeGio = 0x010b .equ DS_TimeThu = 0x010c .equ DS_TimeNgay = 0x010d .equ DS_TimeThang = 0x010e .equ DS_TimeNam = 0x010f .equ m_kieu_chay = 0x0110 .equ m_mode_chay_begin = 0x0111 .equ m_mode_chay_center = 0x0112 .equ m_mode_chay_end = 0x0113 .equ DS_DauNhietDo = 0x0114 .equ DS_NhietDo = 0x0115 .equ tra_bang_color = 0x0200 .equ offset_font = 0x0380 ;.equ offset_font = 0x0381 .equ offset_logo = 0x0382 ;.equ offset_logo = 0x0383 .equ tong_file = 0x0384 .equ offset_file = 0x0386 .equ offset_time_on = 0x03fa .equ offset_time_off = 0x03fd .equ tra_bang_font = 0x0400 .equ tra_bang_logo = 0x0500 .equ vung_data_RXD = 0x0600 //0600 -> 0700 = 256 byte kytu .equ vung_data_TXD = 0x0700 //0700 -> 0800 = 256 byte kytu .equ vung_load_data = 0x0800 //0800 -> 0c00 = 1k byte kytu .equ bang_font = 0x0c00 //0c00 -> 2000 = 5k ;============================================ ;vung hien thi .equ vung_xanh_low = 0x20 .equ vung_xanh_high = 0x58 .equ vung_do_low = 0x90 .equ vung_do_high = 0xc8 ;============================================ ;kich thuoc bang .equ chieu_dai_bang = 256 .equ chieu_cao_bang = 16 .equ nua_chieu_dai_bang = 128 ;============================================ ;kieu chay quang bao .equ tong_kieu_chay = 3 .equ tong_mode_chay_begin = 23 .equ tong_mode_chay_center = 3 .equ tong_mode_chay_end = 18 .equ chay_chop_tat = 0 .equ chay_chop_dao = 1 .equ chay_long_ngang = 0 .equ chay_trai_qua = 1 .equ chay_phai_qua = 2 .equ chay_che_trai_qua = 3 .equ chay_che_phai_qua = 4 .equ chay_long_doc = 5 .equ chay_tren_xuong = 6 .equ chay_duoi_len = 7 .equ chay_che_tren_xuong = 8 .equ chay_che_duoi_len = 9 .equ chay_chia_doi_vao = 10 .equ chay_chia_doi_ra = 11 .equ chay_che_chia_doi_vao = 12 .equ chay_che_chia_doi_ra = 13 .equ chay_rot_xuong = 14 .equ chay_rot_len = 15 .equ chay_dan_phai_vao = 16 .equ chay_dan_trai_vao = 17 .equ chay_rot_phai_qua = 18 .equ chay_ve_trai_qua = 19 .equ chay_ve_phai_qua = 20 .equ chay_long_trai_qua = 21 .equ chay_long_phai_qua = 22 ;================================= .equ END_DATA = 0xff .equ NEW_COLOR = 0xfe .equ NEW_LOGO = 0xfd .equ NEW_FONT = 0xfc .equ TimePhut = 0xfb .equ TimeGio = 0xfa .equ TimeThu = 0xf9 .equ TimeNgay = 0xf8 .equ TimeThang = 0xf7 .equ TimeNam = 0xf6 .equ NhietDo = 0xf3 .equ Kieu_CANHBAO = 0xff .equ Kieu_SizeMax = 0xfe .equ CONNECT_PC = 0xef .equ TIME_PC = 0xee .equ FORMAT_PC = 0xed .equ ENABLE_RECIVER = 0xeb .equ START_PC = 0xea .equ TIME_SET = 0xe9 .equ NO_FILE = 0 .equ AT24_FILE = 0xcf .equ EEPROM_FILE = 0xce .equ ID_QuangBao = 0x20
Comment