找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2988|回复: 0
收起左侧

光立方程序代码

[复制链接]
ID:76127 发表于 2015-4-16 03:02 | 显示全部楼层 |阅读模式
光立方程序代码 姬家寨电子科技实验室 实验:姬学瑞
  1. #include<STC12C5A60S2.h>
  2. #define uint unsigned int
  3. #define uchar unsigned char
  4. sbit keyamenu=P4^4;//按键
  5. sbit keyout=P4^5;
  6. sbit keymenu=P4^6;
  7. uint code tab_water[]={
  8. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0080,0x0140,0x0080,0x0000,0x0000,0x0000,0x0000,0
  9. x0000,0x0000,0x0000,
  10. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0080,0x0140,0x0220,0x0140,0x0080,0x0000,0x0000,0x0000,0
  11. x0000,0x0000,0x0000,
  12. 0x0000,0x0000,0x0000,0x0000,0x01c0,0x0220,0x0410,0x0410,0x0410,0x0220,0x01c0,0x0000,0x0000,0
  13. x0000,0x0000,0x0000,   
  14. 0x0000,0x0000,0x0000,0x03e0,0x0410,0x0808,0x0808,0x0808,0x0808,0x0808,0x0410,0x03e0,0x0000,0
  15. x0000,0x0000,0x0000,
  16. 0x0000,0x0000,0x07f0,0x0808,0x1004,0x1004,0x1004,0x1004,0x1004,0x1004,0x1004,0x0808,0x07f0,0
  17. x0000,0x0000,0x0000,
  18. 0x0000,0x0ff8,0x1004,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x1004,0
  19. x0ff8,0x0000,0x0000,
  20. 0x1ffc,0x2002,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0
  21. x2002,0x1ffc,0x0000
  22. };
  23. char code tab00[]={7,7,7,7,7,7,7,7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6,//28
  24.         
  25. 8+6,8+6,8+6,8+6,8+6,8+6,8+5,8+4,8+3,8+2,8+1,8+1,8+1,8+1,8+1,8+1,8+2,8+3,8+4,8+5,//20
  26.         
  27. 16+5,16+5,16+5,16+5,16+4,16+3,16+2,16+2,16+2,16+2,16+3,16+4,//12
  28.        24+4,24+4,24+3,24+3,//24+4
  29.        32+4,32+4,32+3,32+3,
  30.         
  31. 40+5,40+5,40+5,40+5,40+4,40+3,40+2,40+2,40+2,40+2,40+3,40+4,//12
  32.         
  33. 48+6,48+6,48+6,48+6,48+6,48+6,48+5,48+4,48+3,48+2,48+1,48+1,48+1,48+1,48+1,48+1,48+2,48+3,48
  34. +4,48+5,//20
  35.       
  36. 56+7,56+7,56+7,56+7,56+7,56+7,56+7,56+7,56+6,56+5,56+4,56+3,56+2,56+1,56+0,56+0,56+0,56+0,56
  37. +0,56+0,56+0,56+0,56+1,56+2,56+3,56+4,56+5,56+6//28
  38. };
  39. char code tab10[]=
  40. {56+7,56+7,56+7,56+7,56+7,56+7,56+7,56+7,56+6,56+5,56+4,56+3,56+2,56+1,56+0,56+0,56+0,56+0,5
  41. 6+0,56+0,56+0,56+0,56+1,56+2,56+3,56+4,56+5,56+6,//56+28
  42.         
  43. 48+6,48+6,48+6,48+6,48+6,48+6,48+5,48+4,48+3,48+2,48+1,48+1,48+1,48+1,48+1,48+1,48+2,48+3,48
  44. +4,48+5,//20
  45.         
  46. 40+5,40+5,40+5,40+5,40+4,40+3,40+2,40+2,40+2,40+2,40+3,40+4,//12
  47.        32+4,32+4,32+3,32+3,
  48.        24+4,24+4,24+3,24+3,//24+4
  49.         
  50. 16+5,16+5,16+5,16+5,16+4,16+3,16+2,16+2,16+2,16+2,16+3,16+4,//12
  51.         
  52. 8+6,8+6,8+6,8+6,8+6,8+6,8+5,8+4,8+3,8+2,8+1,8+1,8+1,8+1,8+1,8+1,8+2,8+3,8+4,8+5,//20
  53.       
  54. 7,7,7,7,7,7,7,7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6//28
  55. };
  56. char code tab01[]={7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,7,7,7,7,7,7,//28
  57.       
  58. 6,5,4,3,2,1,1,1,1,1,1,2,3,4,5,6,6,6,6,6,//20
  59.        5,4,3,2,2,2,2,3,4,5,5,5,//12
  60.        4,3,3,4,//
  61.       4,3,3,4,
  62.       5,4,3,2,2,2,2,3,4,5,5,5,//12
  63.       6,5,4,3,2,1,1,1,1,1,1,2,3,4,5,6,6,6,6,6,//20
  64.       
  65. 7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,7,7,7,7,7,7,//28
  66. };
  67. uchar code tab_print[]={//打印函数使用
  68. 0X00,0X00,0X81,0XFF,0XFF,0X81,0X00,0X00,//I
  69. 0X1C,0X3E,0X7E,0XFC,0XFC,0X7E,0X3E,0X1C,//心
  70. 0X3F,0X7F,0X80,0X80,0X80,0X80,0X7F,0X3F,//U
  71. 0X3C,0X42,0X14,0XA1,0XA1,0X14,0X42,0X3C,//笑脸
  72. 0X00,0X73,0XE9,0X89,0X89,0X8F,0X4F,0X00,//5
  73. 0X00,0XC6,0X86,0X89,0X99,0XB1,0XE7,0XC6,//2
  74. 0X3C,0X7E,0X81,0X81,0X81,0X7E,0X3C,0X00,//0
  75. 0X00,0X00,0X3C,0X3C,0X3C,0X3C,0X00,0X00,//正方形
  76. 0X20,0X30,0X38,0X3C,0X3C,0X38,0X30,0X20,//三角形
  77. 0X08,0X14,0X22,0X77,0X14,0X14,0X14,0X1C,//箭头
  78. 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//全亮
  79. 0X00,0X00,0X80,0XFF,0XFF,0X82,0X00,0X00,//1
  80. 0X00,0X76,0XFF,0X89,0X89,0X81,0XC2,0X00,//3
  81. 0X00,0X00,0X80,0XFF,0XFF,0X82,0X00,0X00,//1
  82. 0X20,0XA0,0XFF,0XFF,0XA3,0X22,0X3C,0X30//4
  83. };
  84. char code tab_mian[]={4,3,7,2,0,6,1,5};
  85. char code tab_xian[]={5,0,3,6,1,7,4,2};
  86. char code tab_dian[]={
  87. 0,1,3,4,7,2,6,5,
  88. 1,7,5,0,4,2,3,6,
  89. 1,6,4,0,7,5,2,3,
  90. 5,7,4,2,0,1,6,3,
  91. 1,6,3,4,5,2,0,7,
  92. 6,7,1,5,4,2,0,3,
  93. 2,0,3,1,5,7,6,4,
  94. 5,2,1,0,3,6,7,4,
  95. 0,7,4,3,2,6,5,1,
  96. 4,7,2,6,5,3,1,0,
  97. 0,1,4,3,2,5,6,7,
  98. 3,6,7,2,1,4,0,5,
  99. 5,2,1,0,7,6,4,3,
  100. 1,4,0,2,3,5,7,6,
  101. 4,2,1,5,6,0,7,3,
  102. 0,4,7,3,1,5,2,6,
  103. 1,0,6,7,4,5,3,2,
  104. 6,0,4,2,7,5,1,3,
  105. 3,1,2,6,7,5,0,4,
  106. 2,4,1,0,6,5,3,7,
  107. 6,2,1,5,7,4,3,0,
  108. 1,0,5,3,2,6,7,4,
  109. 7,1,0,4,2,5,6,3,
  110. 6,4,1,0,2,5,7,3,
  111. 2,6,7,0,3,5,1,4,
  112. 6,3,7,2,1,4,5,0,
  113. 7,0,5,6,1,3,4,2,
  114. 5,2,3,4,0,7,1,6,
  115. 2,3,0,7,6,4,1,5,
  116. 1,3,0,4,5,2,7,6,
  117. 3,4,2,5,6,0,1,7,
  118. 4,2,0,6,3,7,5,1,
  119. 4,1,6,0,7,3,2,5,
  120. 7,6,0,5,1,4,2,3,
  121. 6,1,3,2,7,0,5,4,
  122. 2,7,3,6,0,5,1,4,
  123. 6,5,2,1,0,3,7,4,
  124. 7,1,0,5,4,6,3,2,
  125. 1,7,3,2,6,0,5,4,
  126. 0,2,6,7,4,3,5,1,
  127. 0,5,4,1,6,3,2,7,
  128. 0,1,5,4,7,2,3,6,
  129. 1,4,2,3,5,7,6,0,
  130. 2,7,0,5,6,1,3,4,
  131. 2,1,6,0,4,5,3,7,
  132. 6,1,5,4,2,7,3,0,
  133. 4,0,5,2,1,6,7,3,
  134. 1,2,0,6,3,7,4,5,
  135. 5,0,1,2,4,3,7,6,
  136. 4,2,0,6,7,5,1,3,
  137. 2,3,7,4,6,1,0,5,
  138. 1,5,7,0,3,4,2,6,
  139. 2,7,6,3,5,1,0,4,
  140. 4,5,7,0,2,3,1,6,
  141. 0,5,7,3,2,1,6,4,
  142. 6,4,5,7,1,0,3,2,
  143. 1,6,5,7,0,2,3,4,
  144. 2,1,5,3,6,4,0,7,
  145. 0,6,5,4,3,7,0,2,
  146. 6,4,2,0,3,1,5,7,
  147. 4,5,7,6,0,3,1,2,
  148. 0,3,7,2,1,5,6,4,
  149. 5,2,4,0,1,3,7,2,
  150. 4,5,3,1,7,0,2,6
  151. };
  152. uchar code tab_shandian[]={
  153. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  154. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  155. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  156. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  157. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  158. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  159. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  160. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//1
  161. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  162. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  163. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  164. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  165. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  166. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  167. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  168. 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//2
  169. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  170. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  171. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  172. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  173. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  174. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  175. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  176. 0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//3
  177. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  178. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  179. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  180. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  181. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  182. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  183. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  184. 0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//4
  185. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  186. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  187. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  188. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  189. 0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
  190. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  191. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  192. 0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//5
  193. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  194. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  195. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  196. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  197. 0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
  198. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  199. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  200. 0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//6
  201. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  202. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  203. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  204. 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
  205. 0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
  206. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  207. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  208. 0x7f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//7
  209. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  210. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  211. 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
  212. 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
  213. 0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
  214. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  215. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  216. 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//8

  217. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  218. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  219. 0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00,
  220. 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
  221. 0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
  222. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  223. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  224. 0xff,0x80,0x00,0x00,0x00,0x00,0x00,0x00,//9
  225. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  226. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  227. 0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,
  228. 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
  229. 0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
  230. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  231. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  232. 0xff,0x80,0x80,0x00,0x00,0x00,0x00,0x00,//10
  233. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  234. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  235. 0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,
  236. 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
  237. 0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
  238. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  239. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  240. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//11
  241. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  242. 0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
  243. 0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,
  244. 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
  245. 0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
  246. 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  247. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  248. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//12

  249. 0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
  250. 0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
  251. 0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,
  252. 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
  253. 0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
  254. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  255. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  256. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//13
  257. 0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,
  258. 0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
  259. 0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,
  260. 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
  261. 0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
  262. 0x01,0x00,0x00,0x80,0x80,0x00,0x00,0x00,
  263. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  264. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//14
  265. 0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,
  266. 0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
  267. 0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,
  268. 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
  269. 0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
  270. 0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,
  271. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  272. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//15
  273. 0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x03,
  274. 0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
  275. 0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,
  276. 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
  277. 0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,
  278. 0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,
  279. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  280. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//16
  281. 0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x07,
  282. 0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
  283. 0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,
  284. 0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,
  285. 0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,
  286. 0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,
  287. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  288. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//17
  289. 0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x0f,
  290. 0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
  291. 0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,
  292. 0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x00,
  293. 0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,
  294. 0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,
  295. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  296. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//18
  297. 0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x1f,
  298. 0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
  299. 0x00,0x00,0x01,0x01,0x01,0x01,0x80,0x00,
  300. 0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x00,
  301. 0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,
  302. 0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,
  303. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  304. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//19
  305. 0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x3f,
  306. 0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,
  307. 0x00,0x00,0x01,0x01,0x01,0x01,0x80,0x00,
  308. 0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x00,
  309. 0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,
  310. 0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,
  311. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  312. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//20

  313. 0x00,0x00,0x00,0x00,0x00,0x01,0x81,0x7f,
  314. 0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,
  315. 0x00,0x00,0x01,0x01,0x01,0x01,0x80,0x00,
  316. 0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x00,
  317. 0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,
  318. 0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,
  319. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  320. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//21
  321. 0x00,0x00,0x00,0x00,0x00,0x01,0x81,0xff,
  322. 0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,
  323. 0x00,0x00,0x01,0x01,0x01,0x01,0x80,0x00,
  324. 0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x00,
  325. 0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,
  326. 0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,
  327. 0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,
  328. 0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//22
  329. };
  330. uchar code yc_table[]={//2帧,yinchu函数使用
  331. 0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,//1I
  332. 0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,
  333. 0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,
  334. 0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,
  335. 0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,
  336. 0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,
  337. 0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,
  338. 0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,
  339. 0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,//2心脏
  340. 0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,
  341. 0x00,0x00,0x18,0x7e,0x7e,0x18,0x00,0x00,
  342. 0x00,0x00,0x3c,0x7e,0x7e,0x3c,0x00,0x00,
  343. 0x00,0x18,0x7e,0xff,0xff,0x7e,0x18,0x00,
  344. 0x00,0x00,0x7e,0xff,0xff,0x7e,0x00,0x00,
  345. 0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,
  346. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  347. 0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,//3U
  348. 0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,
  349. 0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,
  350. 0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,
  351. 0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,
  352. 0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,
  353. 0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,
  354. 0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,
  355. 0x00,0x00,0x00,0x24,0x24,0x00,0x00,0x00,//4苹果
  356. 0x00,0x00,0x00,0x7e,0x7e,0x00,0x00,0x00,
  357. 0x00,0x00,0x3c,0xff,0x7e,0x3c,0x00,0x00,
  358. 0x00,0x18,0x7e,0xff,0xff,0x7e,0x18,0x00,
  359. 0x00,0x00,0x3c,0xfe,0xfe,0x3c,0x00,0x00,
  360. 0x00,0x00,0x00,0x6e,0x66,0x00,0x00,0x00,
  361. 0x00,0x00,0x00,0x18,0x10,0x00,0x00,0x00,
  362. 0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x00,
  363. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//5五角星
  364. 0x00,0x00,0x00,0x22,0x22,0x00,0x00,0x00,
  365. 0x00,0x00,0x00,0x36,0x36,0x00,0x00,0x00,
  366. 0x00,0x00,0x00,0x1c,0x1c,0x00,0x00,0x00,
  367. 0x00,0x00,0x00,0x3e,0x3e,0x00,0x00,0x00,
  368. 0x00,0x00,0x00,0x7f,0x7f,0x00,0x00,0x00,
  369. 0x00,0x00,0x00,0x1c,0x1c,0x00,0x00,0x00,
  370. 0x00,0x00,0x00,0x08,0x08,0x00,0x00,0x00
  371. };
  372. uchar code tab_xuanzhuantiao[]=//旋转条
  373. {
  374. 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,
  375. 0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,
  376. 0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,
  377. 0x00,0x00,0x00,0x0f,0xf0,0x00,0x00,0x00,
  378. 0x00,0x00,0x00,0xf0,0x0f,0x00,0x00,0x00,
  379. 0x00,0x00,0x80,0x70,0x0e,0x01,0x00,0x00,
  380. 0x00,0x80,0x60,0x10,0x08,0x06,0x01,0x00,//
  381. 0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01,//1
  382. 0x40,0x20,0x20,0x10,0x08,0x04,0x04,0x02,
  383. 0x20,0x10,0x10,0x10,0x08,0x08,0x08,0x04,
  384. 0x10,0x10,0x10,0x10,0x08,0x08,0x08,0x08,
  385. 0x08,0x08,0x08,0x08,0x10,0x10,0x10,0x10,
  386. 0x04,0x08,0x08,0x08,0x10,0x10,0x10,0x20,
  387. 0x02,0x04,0x04,0x08,0x10,0x20,0x20,0x40//7
  388. };
  389. uchar code flash0__tab[]=
  390. {
  391. 0X03,0X07,0X06,0X08,0X10,0X20,0X40,0X80,
  392. 0X07,0X07,0X0F,0X1C,0X18,0X20,0X40,0X80,
  393. 0X0F,0X0F,0X1F,0X3F,0X3C,0X78,0X60,0X80,
  394. 0X1F,0X1F,0X3F,0X3F,0X7F,0X7C,0X70,0X80,
  395. 0X3F,0X3F,0X3F,0X7F,0X7F,0X7F,0XF8,0XC0,
  396. 0X7F,0X7F,0X7F,0X7F,0XFF,0XFF,0XFF,0XF0,
  397. 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF//7
  398. };
  399. uchar code tab_xuanzhuantiao2[]=//旋转条
  400. {
  401. 0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,//1
  402. 0X02,0X04,0X08,0X00,0X10,0X20,0X40,0X80,//
  403. 0X04,0X08,0X00,0X10,0X20,0X20,0X40,0X80,//
  404. 0X08,0X10,0X10,0X20,0X20,0X40,0X40,0X80,//
  405. 0X10,0X10,0X20,0X20,0X20,0X40,0X40,0X80,//
  406. 0X20,0X20,0X40,0X40,0X40,0X80,0X80,0X80,//
  407. 0X40,0X40,0X40,0X40,0X80,0X80,0X80,0X80,//
  408. 0X80,0X80,0X80,0X80,0X80,0X80,0X80,0X80,//8
  409. 0X80,0X80,0X80,0X80,0X40,0X40,0X40,0X40,//
  410. 0X80,0X80,0X00,0X40,0X40,0X40,0X20,0X20,//10
  411. 0X80,0X80,0X40,0X40,0X20,0X20,0X10,0X10,//
  412. 0X80,0X40,0X40,0X20,0X20,0X10,0X10,0X08,//
  413. 0X80,0X40,0X20,0X20,0X10,0X10,0X08,0X04,//
  414. 0X80,0X40,0X20,0X10,0X08,0X08,0X04,0X02,//
  415. 0X80,0X40,0X20,0X10,0X08,0X04,0X02,0X01,//15
  416. 0X80,0X40,0X20,0X10,0X0C,0X02,0X01,0X00,//16
  417. 0X80,0X40,0X30,0X0C,0X02,0X01,0X00,0X00,//
  418. 0X80,0X60,0X18,0X06,0X01,0X00,0X00,0X00,//18
  419. 0XC0,0X30,0X0E,0X01,0X00,0X00,0X00,0X00,//
  420. 0XE0,0X1C,0X03,0X00,0X00,0X00,0X00,0X00,//20
  421. 0XF0,0X0F,0X00,0X00,0X00,0X00,0X00,0X00,//
  422. 0XFF,0X00,0X00,0X00,0X00,0X00,0X00,0X00,//22
  423. 0X0F,0XF0,0X00,0X00,0X00,0X00,0X00,0X00,//23
  424. 0X07,0X38,0XC0,0X00,0X00,0X00,0X00,0X00,
  425. 0X03,0X0C,0X20,0XC0,0X00,0X00,0X00,0X00,
  426. 0X01,0X02,0X0C,0X30,0XC0,0X00,0X00,0X00,
  427. 0X01,0X02,0X04,0X08,0X30,0XC0,0X00,0X00,
  428. 0X01,0X02,0X04,0X08,0X10,0X60,0X80,0X00,
  429. 0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,
  430. 0X01,0X02,0X04,0X08,0X10,0X20,0X20,0X40,
  431. 0X01,0X02,0X04,0X08,0X08,0X10,0X20,0X20,
  432. 0X01,0X02,0X04,0X04,0X08,0X08,0X10,0X10,
  433. 0X01,0X01,0X02,0X02,0X04,0X04,0X08,0X08,
  434. 0X01,0X01,0X01,0X02,0X02,0X02,0X04,0X04,
  435. 0X01,0X01,0X01,0X01,0X02,0X02,0X02,0X02,
  436. 0X01,0X01,0X01,0X01,0X01,0X01,0X01,0X01,//36

  437. 0X02,0X02,0X02,0X02,0X01,0X01,0X01,0X01,//37
  438. 0X04,0X04,0X02,0X02,0X02,0X01,0X01,0X01,
  439. 0X08,0X08,0X04,0X04,0X02,0X02,0X01,0X01,
  440. 0X10,0X10,0X08,0X08,0X04,0X04,0X02,0X01,
  441. 0X20,0X10,0X00,0X08,0X08,0X04,0X02,0X01,
  442. 0X40,0X20,0X10,0X08,0X08,0X04,0X02,0X01,
  443. 0X80,0X40,0X20,0X10,0X08,0X04,0X02,0X01,
  444. 0X00,0X80,0X40,0X20,0X18,0X04,0X02,0X01,
  445. 0X00,0X00,0X80,0X40,0X38,0X04,0X02,0X01,
  446. 0X00,0X00,0X00,0X80,0X60,0X1C,0X02,0X01,
  447. 0X00,0X00,0X00,0X00,0X80,0X70,0X0E,0X01,
  448. 0X00,0X00,0X00,0X00,0X00,0XC0,0X3C,0X03,
  449. 0X00,0X00,0X00,0X00,0X00,0X00,0XF0,0X0F,
  450. 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0XFF,//50
  451. 0X00,0X00,0X00,0X00,0X00,0X00,0X0F,0XF0,//51
  452. 0X00,0X00,0X00,0X00,0X00,0X03,0X1C,0XE0,
  453. 0X00,0X00,0X00,0X00,0X03,0X0C,0X30,0XC0,
  454. 0X00,0X00,0X00,0X01,0X06,0X18,0X20,0XC0,
  455. 0X00,0X00,0X01,0X02,0X0C,0X30,0X40,0X80,
  456. 0X00,0X01,0X02,0X04,0X18,0X20,0X40,0X80,
  457. //0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80//57
  458. };
  459. uchar code bianxing_table[]={//变形
  460. 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,
  461. 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,
  462. 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,
  463. 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,
  464. 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,
  465. 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,
  466. 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,
  467. 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,//1
  468. 0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,
  469. 0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,
  470. 0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,
  471. 0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,
  472. 0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,
  473. 0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,
  474. 0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,
  475. 0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,//2
  476. 0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,
  477. 0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,
  478. 0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,
  479. 0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,
  480. 0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,
  481. 0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,
  482. 0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,
  483. 0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,//3
  484. 0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,
  485. 0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,
  486. 0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,
  487. 0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,
  488. 0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,
  489. 0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,
  490. 0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,
  491. 0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,//4变形开始
  492. 0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,
  493. 0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,
  494. 0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,
  495. 0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,
  496. 0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,
  497. 0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,
  498. 0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,
  499. 0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,//5
  500. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  501. 0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,
  502. 0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,
  503. 0X00,0X00,0X0f,0X0F,0Xf0,0XF0,0X00,0X00,
  504. 0X00,0X00,0X0f,0X0F,0Xf0,0XF0,0X00,0X00,
  505. 0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,
  506. 0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,
  507. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//6
  508. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  509. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  510. 0X00,0X00,0X0f,0X0F,0Xf0,0XF0,0X00,0X00,
  511. 0X00,0X00,0X0f,0X0F,0Xf0,0XF0,0X00,0X00,
  512. 0X00,0X00,0X0f,0X0F,0Xf0,0XF0,0X00,0X00,
  513. 0X00,0X00,0X0F,0X0f,0XF0,0Xf0,0X00,0X00,
  514. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  515. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//7

  516. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  517. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  518. 0x00,0x00,0x1e,0x1e,0x78,0x78,0x00,0x00,
  519. 0x00,0x00,0x1e,0x1e,0x78,0x78,0x00,0x00,
  520. 0x00,0x00,0x1e,0x1e,0x78,0x78,0x00,0x00,
  521. 0x00,0x00,0x1e,0x1e,0x78,0x78,0x00,0x00,
  522. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  523. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//8
  524. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  525. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  526. 0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,
  527. 0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,
  528. 0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,
  529. 0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,
  530. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  531. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//9,方体成型
  532. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  533. 0x00,0x66,0x66,0x00,0x00,0x66,0x66,0x00,
  534. 0x00,0x66,0x66,0x00,0x00,0x66,0x66,0x00,
  535. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  536. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  537. 0x00,0x66,0x66,0x00,0x00,0x66,0x66,0x00,
  538. 0x00,0x66,0x66,0x00,0x00,0x66,0x66,0x00,
  539. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//10

  540. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  541. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  542. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  543. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  544. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  545. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  546. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  547. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//11
  548. };
  549. uchar code y_table[]={//6帧四方块外轴心旋转
  550. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  551. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  552. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  553. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  554. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  555. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  556. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  557. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//1
  558. 0x06,0x06,0x00,0x00,0x00,0x00,0x06,0x06,
  559. 0xc6,0xc6,0x00,0x00,0x00,0x00,0xc6,0xc6,
  560. 0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,
  561. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  562. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  563. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  564. 0x63,0x63,0x00,0x00,0x00,0x00,0x63,0x63,
  565. 0x60,0x60,0x00,0x00,0x00,0x00,0x60,0x60,//2
  566. 0x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,
  567. 0x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,
  568. 0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,
  569. 0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,
  570. 0x0c,0x0c,0x00,0x00,0x00,0x00,0x03,0x03,
  571. 0x0c,0x0c,0x00,0x00,0x00,0x00,0x03,0x03,
  572. 0x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,
  573. 0x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,//3
  574. 0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,
  575. 0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,
  576. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  577. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  578. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  579. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  580. 0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,
  581. 0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,//4
  582. 0x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,
  583. 0x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,
  584. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  585. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  586. 0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,
  587. 0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,
  588. 0x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,
  589. 0x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,//5
  590. 0x60,0x60,0x00,0x00,0x00,0x00,0x60,0x60,
  591. 0x63,0x63,0x00,0x00,0x00,0x00,0x63,0x63,
  592. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  593. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  594. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  595. 0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,
  596. 0xc6,0xc6,0x00,0x00,0x00,0x00,0xc6,0xc6,
  597. 0x06,0x06,0x00,0x00,0x00,0x00,0x06,0x06//6
  598. };
  599. uchar code z_table[]=
  600. {
  601. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  602. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  603. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  604. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  605. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  606. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  607. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  608. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//1
  609. 0x60,0x63,0x03,0x00,0x00,0xc0,0xc6,0x06,
  610. 0x60,0x63,0x03,0x00,0x00,0xc0,0xc6,0x06,
  611. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  612. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  613. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  614. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  615. 0x60,0x63,0x03,0x00,0x00,0xc0,0xc6,0x06,
  616. 0x60,0x63,0x03,0x00,0x00,0xc0,0xc6,0x06,//2
  617. 0x30,0x30,0x03,0x03,0xc0,0xc0,0x0c,0x0c,
  618. 0x30,0x30,0x03,0x03,0xc0,0xc0,0x0c,0x0c,
  619. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  620. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  621. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  622. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  623. 0x30,0x30,0x03,0x03,0xc0,0xc0,0x0c,0x0c,
  624. 0x30,0x30,0x03,0x03,0xc0,0xc0,0x0c,0x0c,//3
  625. 0x18,0x18,0x00,0xc3,0xc3,0x00,0x18,0x18,
  626. 0x18,0x18,0x00,0xc3,0xc3,0x00,0x18,0x18,
  627. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  628. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  629. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  630. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  631. 0x18,0x18,0x00,0xc3,0xc3,0x00,0x18,0x18,
  632. 0x18,0x18,0x00,0xc3,0xc3,0x00,0x18,0x18,//4
  633. 0x0c,0x0c,0xc0,0xc0,0x03,0x03,0x30,0x30,
  634. 0x0c,0x0c,0xc0,0xc0,0x03,0x03,0x30,0x30,
  635. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  636. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  637. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  638. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  639. 0x0c,0x0c,0xc0,0xc0,0x03,0x03,0x30,0x30,
  640. 0x0c,0x0c,0xc0,0xc0,0x03,0x03,0x30,0x30,//5
  641. 0x06,0xc6,0xc0,0x00,0x00,0x03,0x63,0x60,
  642. 0x06,0xc6,0xc0,0x00,0x00,0x03,0x63,0x60,
  643. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  644. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  645. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  646. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  647. 0x06,0xc6,0xc0,0x00,0x00,0x03,0x63,0x60,
  648. 0x06,0xc6,0xc0,0x00,0x00,0x03,0x63,0x60,//6
  649. };
  650. uchar code xz_table[]=
  651. {
  652. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  653. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  654. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  655. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  656. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  657. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  658. 0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,
  659. 0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,//1
  660. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  661. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  662. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  663. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  664. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  665. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  666. 0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,
  667. 0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,//2
  668. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  669. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  670. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  671. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  672. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  673. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  674. 0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,
  675. 0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,//3
  676. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  677. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  678. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  679. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  680. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  681. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  682. 0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,
  683. 0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,//4
  684. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  685. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  686. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  687. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  688. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  689. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  690. 0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,
  691. 0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,//5
  692. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  693. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  694. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  695. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  696. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  697. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  698. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  699. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//6
  700. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  701. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  702. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  703. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  704. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  705. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  706. 0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,
  707. 0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,//7
  708. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  709. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  710. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  711. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  712. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  713. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  714. 0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,
  715. 0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,//8

  716. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  717. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  718. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  719. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  720. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  721. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  722. 0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,
  723. 0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,//9
  724. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  725. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  726. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  727. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  728. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  729. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  730. 0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,
  731. 0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,//10
  732. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  733. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  734. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  735. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  736. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  737. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  738. 0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,
  739. 0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,//11
  740. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  741. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  742. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  743. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  744. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  745. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  746. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  747. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,//12
  748. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,
  749. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,
  750. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  751. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  752. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  753. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  754. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,
  755. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,//13
  756. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,
  757. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,
  758. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  759. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  760. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  761. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  762. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,
  763. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,//14
  764. 0x00,0x00,0x00,0x00,0x00,0xc0,0xff,0x3f,
  765. 0x00,0x00,0x00,0x00,0x00,0xc0,0xff,0x3f,
  766. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  767. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  768. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  769. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  770. 0x00,0x00,0x00,0x00,0x00,0xc0,0xff,0x3f,
  771. 0x00,0x00,0x00,0x00,0x00,0xc0,0xff,0x3f,//15
  772. 0x00,0x00,0x00,0x00,0xc0,0xc0,0x3f,0x3f,
  773. 0x00,0x00,0x00,0x00,0xc0,0xc0,0x3f,0x3f,
  774. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  775. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  776. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  777. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  778. 0x00,0x00,0x00,0x00,0xc0,0xc0,0x3f,0x3f,
  779. 0x00,0x00,0x00,0x00,0xc0,0xc0,0x3f,0x3f,//16
  780. 0x00,0x00,0x00,0xc0,0xc0,0x00,0x3f,0x3f,
  781. 0x00,0x00,0x00,0xc0,0xc0,0x00,0x3f,0x3f,
  782. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  783. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  784. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  785. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  786. 0x00,0x00,0x00,0xc0,0xc0,0x00,0x3f,0x3f,
  787. 0x00,0x00,0x00,0xc0,0xc0,0x00,0x3f,0x3f,//17
  788. 0x00,0x00,0xc0,0xc0,0x00,0x00,0x3f,0x3f,
  789. 0x00,0x00,0xc0,0xc0,0x00,0x00,0x3f,0x3f,
  790. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  791. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  792. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  793. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  794. 0x00,0x00,0xc0,0xc0,0x00,0x00,0x3f,0x3f,
  795. 0x00,0x00,0xc0,0xc0,0x00,0x00,0x3f,0x3f,//18
  796. 0x00,0xc0,0xc0,0x00,0x00,0x00,0x6f,0x6f,
  797. 0x00,0xc0,0xc0,0x00,0x00,0x00,0x6f,0x6f,
  798. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  799. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  800. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  801. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  802. 0x00,0xc0,0xc0,0x00,0x00,0x00,0x6f,0x6f,
  803. 0x00,0xc0,0xc0,0x00,0x00,0x00,0x6f,0x6f,//19
  804. 0xc0,0xc0,0x00,0x00,0x00,0x00,0xcf,0xcf,
  805. 0xc0,0xc0,0x00,0x00,0x00,0x00,0xcf,0xcf,
  806. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  807. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  808. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  809. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  810. 0xc0,0xc0,0x00,0x00,0x00,0x00,0xcf,0xcf,
  811. 0xc0,0xc0,0x00,0x00,0x00,0x00,0xcf,0xcf,//20
  812. 0x60,0x60,0x00,0x00,0x00,0xc0,0xcf,0x0f,
  813. 0x60,0x60,0x00,0x00,0x00,0xc0,0xcf,0x0f,
  814. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  815. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  816. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  817. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  818. 0x60,0x60,0x00,0x00,0x00,0xc0,0xcf,0x0f,
  819. 0x60,0x60,0x00,0x00,0x00,0xc0,0xcf,0x0f,//21
  820. 0x18,0x18,0x00,0x00,0xc0,0xc0,0x0f,0x0f,
  821. 0x18,0x18,0x00,0x00,0xc0,0xc0,0x0f,0x0f,
  822. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  823. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  824. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  825. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  826. 0x18,0x18,0x00,0x00,0xc0,0xc0,0x0f,0x0f,
  827. 0x18,0x18,0x00,0x00,0xc0,0xc0,0x0f,0x0f,//22
  828. 0x18,0x18,0x00,0xc0,0xc0,0x00,0x0f,0x0f,
  829. 0x18,0x18,0x00,0xc0,0xc0,0x00,0x0f,0x0f,
  830. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  831. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  832. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  833. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  834. 0x18,0x18,0x00,0xc0,0xc0,0x00,0x0f,0x0f,
  835. 0x18,0x18,0x00,0xc0,0xc0,0x00,0x0f,0x0f,//23

  836. 0x0c,0x0c,0xc0,0xc0,0x00,0x00,0x1b,0x1b,
  837. 0x0c,0x0c,0xc0,0xc0,0x00,0x00,0x1b,0x1b,
  838. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  839. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  840. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  841. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  842. 0x0c,0x0c,0xc0,0xc0,0x00,0x00,0x1b,0x1b,
  843. 0x0c,0x0c,0xc0,0xc0,0x00,0x00,0x1b,0x1b,//24
  844. 0x06,0xc6,0xc0,0x00,0x00,0x00,0x33,0x33,
  845. 0x06,0xc6,0xc0,0x00,0x00,0x00,0x33,0x33,
  846. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  847. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  848. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  849. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  850. 0x06,0xc6,0xc0,0x00,0x00,0x00,0x33,0x33,
  851. 0x06,0xc6,0xc0,0x00,0x00,0x00,0x33,0x33,//25
  852. 0x03,0xc3,0xc0,0x00,0x00,0x00,0x63,0x63,
  853. 0x03,0xc3,0xc0,0x00,0x00,0x00,0x63,0x63,
  854. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  855. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  856. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  857. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  858. 0x03,0xc3,0xc0,0x00,0x00,0x00,0x63,0x63,
  859. 0x03,0xc3,0xc0,0x00,0x00,0x00,0x63,0x63,//26
  860. };
  861. uchar code yx_table[]={//Y轴心切换至X轴心变形
  862. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  863. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  864. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  865. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  866. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  867. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  868. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  869. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//1
  870. 0xc6,0xc6,0x00,0x00,0x00,0x00,0xc6,0xc6,
  871. 0xc6,0xc6,0x00,0x00,0x00,0x00,0xc6,0xc6,
  872. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  873. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  874. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  875. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  876. 0x63,0x63,0x00,0x00,0x00,0x00,0x63,0x63,
  877. 0x60,0x60,0x00,0x00,0x00,0x00,0x60,0x60,//2
  878. 0xcc,0xcc,0x00,0x00,0x00,0x00,0xcc,0xcc,
  879. 0xcc,0xcc,0x00,0x00,0x00,0x00,0xcc,0xcc,
  880. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  881. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  882. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  883. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  884. 0x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,
  885. 0x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,//3
  886. 0xd8,0xd8,0x00,0x00,0x00,0x00,0xd8,0xd8,
  887. 0xd8,0xd8,0x00,0x00,0x00,0x00,0xd8,0xd8,
  888. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  889. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  890. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  891. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  892. 0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,
  893. 0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,//4
  894. 0xf0,0xf0,0x00,0x00,0x00,0x00,0xf0,0xf0,
  895. 0xf0,0xf0,0x00,0x00,0x00,0x00,0xf0,0xf0,
  896. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  897. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  898. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  899. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  900. 0x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,
  901. 0x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,//5
  902. 0xf0,0xf0,0x00,0x00,0x00,0x00,0xf0,0xf0,
  903. 0xf3,0xf3,0x00,0x00,0x00,0x00,0xf3,0xf3,
  904. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  905. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  906. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  907. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  908. 0x06,0x06,0x00,0x00,0x00,0x00,0x06,0x06,
  909. 0x06,0x06,0x00,0x00,0x00,0x00,0x06,0x06,//6
  910. 0xf3,0xf3,0x00,0x00,0x00,0x00,0xf3,0xf3,
  911. 0xf3,0xf3,0x00,0x00,0x00,0x00,0xf3,0xf3,
  912. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  913. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  914. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  915. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  916. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  917. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,//7
  918. 0xf6,0xf6,0x00,0x00,0x00,0x00,0xf6,0xf6,
  919. 0xf6,0xf6,0x00,0x00,0x00,0x00,0xf6,0xf6,
  920. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  921. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  922. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  923. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  924. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  925. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//8
  926. 0xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,
  927. 0xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,
  928. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  929. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  930. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  931. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  932. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  933. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//9
  934. 0xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,
  935. 0xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,
  936. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  937. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  938. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  939. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  940. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  941. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//10
  942. 0xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,
  943. 0xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,
  944. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  945. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  946. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  947. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  948. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  949. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//11
  950. 0xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,
  951. 0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xff,
  952. 0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,
  953. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  954. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  955. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  956. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  957. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//12
  958. 0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xff,
  959. 0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xff,
  960. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  961. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  962. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  963. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  964. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  965. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//13
  966. 0xff,0xff,0xc3,0xc3,0xc3,0xc3,0xff,0xff,//完成
  967. 0xff,0xff,0xc3,0xc3,0xc3,0xc3,0xff,0xff,
  968. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  969. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  970. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  971. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  972. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  973. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//14
  974. 0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,
  975. 0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,
  976. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  977. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  978. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  979. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  980. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  981. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//15
  982. 0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,
  983. 0xff,0xff,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,
  984. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  985. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  986. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  987. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  988. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  989. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//16
  990. 0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,
  991. 0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,
  992. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  993. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  994. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  995. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  996. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  997. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//17
  998. 0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,
  999. 0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,
  1000. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1001. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1002. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1003. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1004. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1005. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//18
  1006. 0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,
  1007. 0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,
  1008. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1009. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1010. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1011. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1012. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1013. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//19
  1014. 0x00,0xc3,0xc3,0x00,0xc3,0xc3,0xc3,0xc3,
  1015. 0x00,0xc3,0xc3,0x00,0xc3,0xc3,0xc3,0xc3,
  1016. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1017. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1018. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1019. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1020. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1021. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//20
  1022. 0xc3,0xc3,0x00,0x00,0xc3,0xc3,0xc3,0xc3,
  1023. 0xc3,0xc3,0x00,0x00,0xc3,0xc3,0xc3,0xc3,
  1024. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1025. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1026. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1027. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1028. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1029. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,//21
  1030. 0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,
  1031. 0xc3,0xc3,0x00,0x00,0xc3,0xc3,0xc3,0xc3,
  1032. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1033. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1034. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1035. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1036. 0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,
  1037. 0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,//22
  1038. 0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,
  1039. 0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,
  1040. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1041. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1042. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1043. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1044. 0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,
  1045. 0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,//23
  1046. 0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,
  1047. 0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,
  1048. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1049. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1050. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1051. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1052. 0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,
  1053. 0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,//24
  1054. 0x00,0x00,0xc3,0xc3,0x00,0x00,0xc3,0xc3,
  1055. 0x00,0x00,0xc3,0xc3,0x00,0x00,0xc3,0xc3,
  1056. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1057. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1058. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1059. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1060. 0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,
  1061. 0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,//25
  1062. 0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,
  1063. 0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,
  1064. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1065. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1066. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1067. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1068. 0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,
  1069. 0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,//26
  1070. };
  1071. uchar code x_table[]={//四方块X轴心旋转
  1072. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  1073. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  1074. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1075. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1076. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1077. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1078. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  1079. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//1
  1080. 0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,
  1081. 0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,
  1082. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1083. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1084. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1085. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  1086. 0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,
  1087. 0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,//2
  1088. 0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,
  1089. 0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,
  1090. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1091. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1092. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  1093. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  1094. 0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,
  1095. 0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,//3
  1096. 0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,
  1097. 0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,
  1098. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1099. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  1100. 0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,
  1101. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1102. 0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,
  1103. 0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,//4
  1104. 0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,
  1105. 0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,
  1106. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  1107. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  1108. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1109. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1110. 0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,
  1111. 0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,//5
  1112. 0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,
  1113. 0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,
  1114. 0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,
  1115. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1116. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1117. 0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,
  1118. 0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,
  1119. 0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,//6
  1120. };
  1121. /***************************************************************/
  1122. uchar code tab_rain[]={//rain
  1123. 0X00,0X84,0X01,0X00,0X00,0X01,0X02,0X44,
  1124. 0X84,0X00,0X24,0X08,0X04,0X20,0X80,0X00,
  1125. 0X00,0X20,0X00,0X00,0X20,0X00,0X40,0X00,
  1126. 0X00,0X04,0X00,0X40,0X00,0X00,0X08,0X00,
  1127. 0X40,0X00,0X10,0X00,0X00,0X04,0X04,0X11,
  1128. 0X00,0X41,0X00,0X00,0X80,0X00,0X40,0X00,
  1129. 0X00,0X00,0X00,0X24,0X01,0X18,0X00,0X00,
  1130. 0X22,0X10,0X02,0X00,0X40,0X00,0X02,0X00
  1131. };
  1132. uchar code sin_cube_table[]={//14帧
  1133. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1134. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1135. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  1136. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  1137. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  1138. 0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  1139. 0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,
  1140. 0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,
  1141. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1142. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  1143. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  1144. 0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  1145. 0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  1146. 0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  1147. 0xff,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  1148. 0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,
  1149. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  1150. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  1151. 0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  1152. 0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  1153. 0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  1154. 0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  1155. 0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  1156. 0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  1157. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,
  1158. 0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  1159. 0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  1160. 0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  1161. 0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  1162. 0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  1163. 0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  1164. 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1165. 0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,
  1166. 0x00,0x00,0x00,0x00,0xff,0x00,0x00,0xff,
  1167. 0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  1168. 0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  1169. 0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  1170. 0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  1171. 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1172. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1173. 0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,
  1174. 0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,
  1175. 0x00,0x00,0xff,0x00,0x00,0x00,0x00,0xff,
  1176. 0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  1177. 0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  1178. 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1179. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1180. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1181. 0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,
  1182. 0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,
  1183. 0x00,0xff,0x00,0x00,0x00,0x00,0xff,0x00,
  1184. 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  1185. 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  1186. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1187. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1188. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1189. 0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,
  1190. 0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,
  1191. 0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  1192. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  1193. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  1194. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  1195. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1196. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1197. 0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,
  1198. 0xff,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  1199. 0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  1200. 0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  1201. 0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  1202. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  1203. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  1204. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1205. 0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  1206. 0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  1207. 0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  1208. 0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  1209. 0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  1210. 0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  1211. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  1212. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  1213. 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1214. 0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  1215. 0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  1216. 0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  1217. 0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  1218. 0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  1219. 0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  1220. 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,
  1221. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1222. 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1223. 0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  1224. 0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  1225. 0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  1226. 0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  1227. 0x00,0x00,0x00,0x00,0xff,0x00,0x00,0xff,
  1228. 0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,
  1229. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1230. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1231. 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1232. 0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  1233. 0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  1234. 0x00,0x00,0xff,0x00,0x00,0x00,0x00,0xff,
  1235. 0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,
  1236. 0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,
  1237. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1238. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1239. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1240. 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  1241. 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  1242. 0x00,0xff,0x00,0x00,0x00,0x00,0xff,0x00,
  1243. 0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,
  1244. 0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,
  1245. };
  1246. uchar code hart_table[]={//2帧心跳
  1247. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1248. 0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,
  1249. 0x00,0x18,0x3c,0x18,0x00,0x00,0x00,0x00,
  1250. 0x00,0x18,0x3c,0x18,0x00,0x00,0x00,0x00,
  1251. 0x00,0x3c,0x7e,0x3c,0x18,0x00,0x00,0x00,
  1252. 0x00,0x18,0x7e,0x18,0x00,0x00,0x00,0x00,
  1253. 0x00,0x00,0x24,0x00,0x00,0x00,0x00,0x00,
  1254. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1255. 0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,
  1256. 0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,
  1257. 0x00,0x00,0x18,0x7e,0x7e,0x18,0x00,0x00,
  1258. 0x00,0x00,0x3c,0x7e,0x7e,0x3c,0x00,0x00,
  1259. 0x00,0x18,0x7e,0xff,0xff,0x7e,0x18,0x00,
  1260. 0x00,0x00,0x7e,0xff,0xff,0x7e,0x00,0x00,
  1261. 0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,
  1262. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1263. };
  1264. uchar code szfc_table[]={//数字浮出
  1265. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  1266. 0X38,0X64,0X06,0X3E,0X66,0X66,0X24,0X18,//9
  1267. 0x00,0x00,0x00,0x00,
  1268. 0X3C,0X66,0X66,0X3C,0X66,0X66,0X24,0X18,//8
  1269. 0x00,0x00,0x00,0x00,
  1270. 0X30,0X30,0X30,0X18,0X0C,0X04,0X46,0X7E,//7
  1271. 0x00,0x00,0x00,0x00,
  1272. 0X18,0X26,0X66,0X78,0X60,0X66,0X24,0X18,//6
  1273. 0x00,0x00,0x00,0x00,
  1274. 0X18,0X64,0X46,0X06,0X1C,0X60,0X62,0X7E,//5
  1275. 0x00,0x00,0x00,0x00,
  1276. 0X0C,0X0C,0X7E,0X68,0X6C,0X2C,0X3C,0X1C,//4
  1277. 0x00,0x00,0x00,0x00,
  1278. 0x78,0x46,0x06,0x06,0x1c,0x06,0x46,0x3c,//3
  1279. 0x00,0x00,0x00,0x00,
  1280. 0xfc,0xc0,0x60,0x30,0x18,0xc6,0xc6,0x78,//2
  1281. 0x00,0x00,0x00,0x00,
  1282. 0x3c,0x18,0x18,0x18,0x18,0x18,0x38,0x18,//1
  1283. 0x00,0x00,0x00,0x00,
  1284. 0X18,0X24,0X66,0X66,0X66,0X66,0X24,0X18,//0
  1285. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  1286. };

  1287. /*音柱编码*/
  1288. uchar code tuku1[]={0x01,0x03,0x07,0x0f,0x1f,0x3f,0x7f,0xff,0xff};
  1289. uchar code table1[]=
  1290. {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff/*0X1C,0X3E,0X7E,0XFC,0XFC,0X7E,0X3E,0X1C*/};
  1291. uchar code table2[]={
  1292. 0Xe0,0Xe0,0Xe0,0xe0,0Xe0,0Xe0,0Xe0,0Xe0,
  1293. 0X07,0X07,0X07,0X07,0X07,0X07,0X07,0X07
  1294. };
  1295. /*uchar code table2[]={
  1296. 0X80,0Xc0,0Xe0,0xf0,0Xf0,0Xe0,0Xc0,0X80,
  1297. 0X01,0X03,0X07,0X0f,0X0f,0X07,0X03,0X01
  1298. }; */
  1299. uchar code table3[]={
  1300. 0Xf0,0Xe0,0Xc0,0x80,0X00,0X00,0X00,0X00,
  1301. 0X03,0X07,0X0e,0x1c,0X38,0X70,0Xe0,0Xc0,
  1302. 0X00,0X00,0X00,0X00,0X01,0X03,0X07,0X0f
  1303. };
  1304. uchar code table4[]={
  1305. 0Xc0,0Xc0,0X00,0x00,0X00,0X00,0X00,0X00,
  1306. 0X00,0X00,0X30,0x30,0X00,0X00,0X00,0X00,
  1307. 0X00,0X00,0X00,0X00,0X0c,0X0c,0X00,0X00,
  1308. 0X00,0X00,0X00,0X00,0X00,0X00,0X03,0X03
  1309. };
  1310. uchar code table5[]={
  1311. 0Xc0,0Xc0,0X00,0x00,0X00,0X00,0X00,0X00,
  1312. 0X18,0X18,0X00,0x00,0X00,0X00,0X00,0X00,
  1313. 0X03,0X03,0X00,0X00,0X00,0X00,0X00,0X00,
  1314. 0X00,0X00,0X00,0X03,0X03,0X00,0X00,0X00,
  1315. 0X00,0X00,0X00,0X00,0X00,0X00,0X03,0X03
  1316. };
  1317. uchar code table6[]={
  1318. 0x0f,0x0f,0x0f,0x0f,0x00,0x00,0x00,0x00,
  1319. 0Xc0,0Xc0,0X00,0x00,0X00,0X00,0X00,0X00,
  1320. 0X00,0X00,0X00,0xc0,0Xc0,0X00,0X00,0X00,
  1321. 0X00,0X00,0X00,0X00,0X00,0X00,0xc0,0Xc0,
  1322. 0X00,0X00,0X00,0X00,0X00,0X00,0X18,0X18,
  1323. 0X00,0X00,0X00,0X00,0X00,0X00,0X03,0X03
  1324. };
  1325. uchar code number[]={//数字,滚动字幕使用,从上至下
  1326. 0x00,0x40,0x40,0x40,0x40,0x40,0x7E,0x00,/*"L",0*/
  1327. 0x00,0x7E,0x40,0x7E,0x40,0x40,0x7E,0x00,/*"E",1*/
  1328. 0x00,0x7C,0x46,0x42,0x42,0x46,0x7C,0x00,/*"D",2*/
  1329. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",3*/
  1330. 0x00,0x3C,0x62,0x40,0x40,0x61,0x3E,0x00,/*"C",4*/
  1331. 0x00,0x42,0x42,0x42,0x42,0x42,0x3C,0x00,/*"U",5*/
  1332. 0x00,0x7C,0x42,0x7C,0x42,0x41,0x7E,0x00,/*"B",6*/
  1333. 0x00,0x7E,0x40,0x7E,0x40,0x40,0x7E,0x00,/*"E",7*/
  1334. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",8*/
  1335. 0x00,0x42,0x42,0x7E,0x42,0x42,0x42,0x00,/*"H",9*/
  1336. 0x00,0x42,0x42,0x42,0x42,0x42,0x3C,0x00,/*"U",10*/
  1337. 0x00,0xC2,0x64,0x38,0x10,0x10,0x10,0x00,/*"Y",11*/
  1338. 0x00,0x18,0x18,0x24,0x7E,0x42,0x81,0x00,/*"A",12*/
  1339. 0x00,0x62,0x62,0x52,0x4A,0x46,0x46,0x00,/*"N",13*/
  1340. 0x00,0x3C,0x62,0x40,0x4E,0x62,0x3E,0x00,/*"G",14*/
  1341. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",15*/
  1342. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",16*/
  1343. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",17*/
  1344. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"Y",18*/
  1345. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",19*/
  1346. 0x00,0x44,0x44,0x7C,0x44,0x44,0x44,0x00,/*"H",20*/
  1347. 0x00,0x44,0x44,0x44,0x44,0x44,0x38,0x00,/*"U",21*/
  1348. 0x00,0x82,0x44,0x28,0x10,0x10,0x10,0x00,/*"Y",22*/
  1349. 0x00,0x10,0x28,0x28,0x7C,0x44,0x82,0x00,/*"A",23*/
  1350. 0x00,0x64,0x64,0x54,0x54,0x4C,0x44,0x00,/*"N",24*/
  1351. 0x00,0x78,0xC4,0x80,0x9C,0xC4,0x7C,0x00,/*"G",25*/
  1352. 0x00,0x10,0x10,0x10,0x10,0x00,0x10,0x00,/*"!",26*/
  1353. 0X38,0X64,0X06,0X3E,0X66,0X66,0X24,0X18,//"9"27
  1354. 0X3C,0X66,0X66,0X3C,0X66,0X66,0X24,0X18,//"8"28
  1355. 0X30,0X30,0X30,0X18,0X0C,0X04,0X46,0X7E,//"7"29
  1356. 0X18,0X26,0X66,0X78,0X60,0X66,0X24,0X18,//"6"30
  1357. 0X18,0X64,0X46,0X06,0X1C,0X60,0X62,0X7E,//"5"31
  1358. 0X0C,0X0C,0X7E,0X68,0X6C,0X2C,0X3C,0X1C,//"4"32
  1359. 0x78,0x46,0x06,0x06,0x1c,0x06,0x46,0x3c,//"3"33
  1360. 0xfc,0xc0,0x60,0x30,0x18,0xc6,0xc6,0x78,//"2"34
  1361. 0x3c,0x18,0x18,0x18,0x18,0x18,0x38,0x18,//"1"35
  1362. 0X18,0X24,0X66,0X66,0X66,0X66,0X24,0X18,//"0"36
  1363. //0XCC,0XCC,0X44,0X44,0X22,0X22,0X1f,0X00,
  1364. //0XCC,0XCC,0X44,0X44,0X22,0X22,0X1f,0X00,
  1365.    0X66,0X66,0X66,0X7E,0X66,0X66,0X3C,0X18,/*"A",37*/
  1366. //0X00,0X99,0X99,0X99,0X99,0X99,0X66,0X00,
  1367. 0XC3,0XC7,0XCF,0XDF,0XFB,0XF3,0XE3,0XC3,/*"N",38*/
  1368. //0X03,0X05,0XF9,0X81,0X81,0XF9,0X05,0X03,
  1369.   0X7E,0X62,0X62,0X60,0X60,0X60,0X60,0X60/*"L",39*/
  1370. };
  1371. /*音柱编码*/
  1372. uchar code tuku[]={0x01,0x03,0x07,0x0f,0x1f,0x3f,0x7f,0xff};
  1373. uchar code BRTable[64] ={
  1374. 0,32,16,48,8,40,24,56,4,36,20,52,12,44,28,60,2,34,18,50,10,42,26,58,6,38,22,54,14,46,30,62,1
  1375. ,33,17,49,9,41,25,57,5,37,21,53,13,45,29,61,3,35,19,51,11,43,27,59,7,39,23,55,15,47,31,63};
  1376. char code sin_tabb[64] = { 0 ,12 ,25 ,37 ,49 ,60 ,71 ,81 ,90 ,98 ,106 ,112 ,117 ,122 ,125
  1377. ,126 ,127 ,126 ,125 ,122 ,117 ,112 ,106 ,98 ,90 ,81 ,71 ,60 ,49 ,37 ,25 ,12 ,0 ,-12 ,-25 ,-
  1378. 37 ,-49 ,-60 ,-71 ,-81 ,-90 ,-98 ,-106 ,-112 ,-117 ,-122 ,-125 ,-126 ,-127 ,-126 ,-125 ,-122
  1379. ,-117 ,-112 ,-106 ,-98 ,-90 ,-81 ,-71 ,-60 ,-49 ,-37 ,-25 ,-12  };
  1380. char code cos_tabb[64] = {127 ,126 ,125 ,122 ,117 ,112 ,106 ,98 ,90 ,81 ,71 ,60 ,49 ,37 ,25
  1381. ,12 ,0 ,-12 ,-25 ,-37 ,-49 ,-60 ,-71 ,-81 ,-90 ,-98 ,-106 ,-112 ,-117 ,-122 ,-125 ,-126 ,-
  1382. 127 ,-126 ,-125 ,-122 ,-117 ,-112 ,-106 ,-98 ,-90 ,-81 ,-71 ,-60 ,-49 ,-37 ,-25 ,-12 ,0 ,12
  1383. ,25 ,37 ,49 ,60 ,71 ,81 ,90 ,98 ,106 ,112 ,117 ,122 ,125 ,126 };
  1384. char num;
  1385. char c[6];//用于存储5个不同频率的幅值
  1386. char b[6];//用于使音谱柱形显示的平滑
  1387. char amenu,menu,out;
  1388. int xdata Real[64];//实部
  1389. int xdata Image[64];//虚部
  1390. void delay(int t)
  1391. {
  1392. int i;
  1393. while(t--)
  1394.   for(i=0;i<700;i++);
  1395. }
  1396. void delay1(int t)
  1397. {
  1398. char i;
  1399. while(t--)
  1400.   for(i=0;i<20;i++);
  1401. }
  1402. void clc()//全局清屏
  1403. {
  1404. P3=0;
  1405. P2=0xff;
  1406. P0=0;
  1407. P2=0;
  1408. }
  1409. uchar daoxu(uchar x)//一字节倒序
  1410. {
  1411. uchar k=0;
  1412. char i;
  1413. for(i=0;i<8;i++)
  1414. {
  1415.   if((x>>(7-i))&0x01)
  1416.    k|=0x01<<i;
  1417. }
  1418. return k;
  1419. }
  1420. void key_menu_scan()
  1421. {
  1422. if(!keymenu)
  1423. {
  1424.   delay(30);//按键驱抖
  1425.   if(!keymenu)
  1426.   {
  1427.    P3=0;
  1428.    menu++;
  1429.    if(menu==4)
  1430.     menu=1;
  1431.   }
  1432.   while(!keymenu);//释放判断
  1433. }
  1434. }
  1435. void key_amenu_scan()
  1436. {
  1437. if(!keyamenu)
  1438. {
  1439.   delay(30);//按键驱抖
  1440.   if(!keyamenu)
  1441.   {
  1442.    P3=0;
  1443.    amenu++;
  1444.    if(amenu==7)
  1445.     amenu=1;
  1446.   }
  1447.   while(!keyamenu);//释放判断
  1448. }
  1449. }
  1450. void key_out_scan()
  1451. {
  1452. if(!keyout)
  1453. {
  1454.   delay(30);//按键驱抖
  1455.   if(!keyout)
  1456.   {
  1457.    P3=0;
  1458.    if(!out)
  1459.     out=1;
  1460.    else
  1461.     out=0;
  1462.   }
  1463.   while(!keyout);//释放判断
  1464. }
  1465. }
  1466. void fun(uchar *a)//层填充函数
  1467. {
  1468. uchar i,p;
  1469. p=1;
  1470. for(i=0;i<8;i++)
  1471. {
  1472.   P2=p;
  1473.   P0=a[i];
  1474.   P2=0;
  1475.   p<<=1;
  1476. }
  1477. }
  1478. /*
  1479. void fun(uchar *a)//层填充函数
  1480. {
  1481. uchar i,p;
  1482. p=0x80;
  1483. for(i=0;i<8;i++)
  1484. {
  1485.   P2=p;
  1486.   P0=a[i];
  1487.   P2=0;
  1488.   p>>=1;
  1489. }
  1490. }
  1491. */
  1492. void fun1(uchar *a,uchar d,uchar b,uchar c,uchar e)//滚动字幕数据处理
  1493. {
  1494. char i;
  1495. for(i=0;i<8;i++)
  1496. {
  1497.   a[i]=e&0x01;
  1498.   e>>=1;
  1499. }
  1500. a[7]|=(c<<1);
  1501. a[6]|=(c&0x80);
  1502. for(i=0;i<6;i++)
  1503. {
  1504.   a[5-i]|=((b<<(7-i))&0x80);
  1505. }
  1506. d=daoxu(d);
  1507. a[0]|=((d>>1)&0x7e);
  1508. }
  1509. void zhen(uchar *a,uchar v)//一帧,a是一帧编码起始地址
  1510. {
  1511. uchar p;
  1512. char i;
  1513. while(v--)
  1514. {
  1515.   p=1;
  1516.   for(i=0;i<8;i++)
  1517.   {
  1518.    key_out_scan();
  1519.    key_amenu_scan();
  1520.    key_menu_scan();
  1521.    if(amenu)
  1522.     break;
  1523.    P3=0;
  1524.    fun(a+i*8);
  1525.    P3=p;
  1526.    delay(2);
  1527.    p<<=1;
  1528.   }
  1529. }
  1530. }
  1531. void turn_on(uchar v)
  1532. {
  1533. uchar a[64]={0};
  1534. char i,j;
  1535. a[7]=0x80;
  1536. zhen(a,v);
  1537. for(i=1;i<8;i++)
  1538. {
  1539.   a[i*8+7]=0x80;
  1540.   zhen(a,v);
  1541. }
  1542. for(i=6;i>=0;i--)
  1543. {
  1544.   for(j=0;j<8;j++)
  1545.    a[j*8+i]=0x80;
  1546.   zhen(a,v);
  1547. }
  1548. for(i=0;i<64;i++)
  1549.   a[i]=0;
  1550. }
  1551. void H_scan(uchar v)
  1552. {
  1553. uchar b[64]={0};
  1554. char i,j;
  1555. for(i=0;i<64;i++)
  1556.   b[i]=0x80;
  1557. for(i=0;i<7;i++)
  1558. {
  1559.   for(j=0;j<64;j++)
  1560.    b[j]>>=1;
  1561.   zhen(b,v);
  1562. }
  1563. }
  1564. void V_scan(uchar v)
  1565. {
  1566. uchar a[64]={0};
  1567. char i,j;
  1568. for(i=0;i<8;i++)
  1569.   a[i]=0xff;
  1570. zhen(a,v);
  1571. for(i=1;i<8;i++)
  1572. {
  1573.   for(j=0;j<8;j++)
  1574.   {
  1575.    a[i*8+j]=0xff;
  1576.    a[(i-1)*8+j]=0;
  1577.   }
  1578.   zhen(a,v);
  1579. }
  1580. }
  1581. void jb0(char num,char v)///////////////////////////////
  1582. {
  1583. char i,k;
  1584. uchar c[64]={0};
  1585. for(i=0;i<64;i++)
  1586.   c[i]=0x80;
  1587. zhen(c,v);
  1588. while(num--)
  1589.   for(i=0;i<28;i++)
  1590.   {
  1591.    if(i<7)
  1592.     for(k=0;k<8;k++)
  1593.     {
  1594.      c[k*8]|=(0x80>>(i+1));
  1595.      c[k*8+7-i]=0;
  1596.     }
  1597.    else if(i<14)
  1598.     for(k=0;k<8;k++)
  1599.     {
  1600.      c[k*8+i-6]=0x01;
  1601.      c[k*8]>>=0x01;
  1602.     }
  1603.    else if(i<21)
  1604.     for(k=0;k<8;k++)
  1605.     {
  1606.      c[k*8+i-14]=0;
  1607.      c[k*8+7]|=(0x01<<(i-13));
  1608.     }
  1609.    else if(i<28)
  1610.     for(k=0;k<8;k++)
  1611.     {
  1612.      c[k*8+27-i]=0x80;
  1613.      c[k*8+7]<<=1;
  1614.     }
  1615.    zhen(c,v);
  1616.   }
  1617. clc();
  1618. }
  1619. void link_pingmian1(char v)
  1620. {
  1621. uchar a[64]={0};
  1622. char i,j;
  1623. for(i=0;i<8;i++)
  1624.   for(j=0;j<8;j++)
  1625.   {
  1626.    a[7*8+j]|=(0x01<<i);
  1627.    zhen(a,v);
  1628.   }
  1629. }
  1630. void pingmian1(char num,char v)
  1631. {
  1632. char i,k;
  1633. uchar a[64]={0};
  1634. for(i=0;i<8;i++)
  1635.   a[7*8+i]=0xff;
  1636. zhen(a,v);
  1637. while(num--)
  1638.   for(i=0;i<28;i++)
  1639.   {
  1640.    if(i<7)
  1641.     for(k=0;k<8;k++)
  1642.     {
  1643.      a[(6-i)*8+k]=0x01;
  1644.      a[7*8+k]>>=1;
  1645.     }
  1646.    else if(i<14)
  1647.     for(k=0;k<8;k++)
  1648.     {
  1649.      a[k]|=0x01<<(i-6);
  1650.      a[(14-i)*8+k]=0;
  1651.     }
  1652.    else if(i<21)
  1653.     for(k=0;k<8;k++)
  1654.     {
  1655.      a[(i-13)*8+k]=0x80;
  1656.      a[k]<<=1;
  1657.     }
  1658.    else
  1659.     for(k=0;k<8;k++)
  1660.     {
  1661.      a[7*8+k]|=0x80>>(i-20);
  1662.      a[(i-21)*8+k]=0;
  1663.     }
  1664.    zhen(a,v);
  1665.   }
  1666. clc();
  1667. }
  1668. void move(uchar *a,char kind,char direction,char length)//length不能为8
  1669. //kind=0 x轴,1 x轴,2 z轴;direction=0,负向,1正向
  1670. {
  1671. char i,j;
  1672. if(kind==0)
  1673. {
  1674.   if(direction==1)
  1675.    for(i=0;i<64;i++)
  1676.     a[i]<<=length;
  1677.   else
  1678.    for(i=0;i<64;i++)
  1679.     a[i]>>=length;
  1680. }
  1681. else if(kind==1)
  1682. {
  1683.   if(direction==1)
  1684.    for(j=0;j<8;j++)
  1685.    {
  1686.     for(i=7;i>=length;i--)
  1687.      a[i+j*8]=a[i-length+j*8];
  1688.     for(i=0;i<length;i++)
  1689.      a[i+j*8]=0;   
  1690.    }
  1691.   else
  1692.    for(j=0;j<8;j++)
  1693.    {
  1694.     for(i=0;i<length;i++)
  1695.      a[i+j*8]=a[i+length+j*8];
  1696.     for(i=(8-length);i<8;i++)
  1697.      a[i+j*8]=0;   
  1698.    }   
  1699. }
  1700. else
  1701. {
  1702.   if(direction==1)
  1703.    for(j=0;j<8;j++)
  1704.    {
  1705.     for(i=7;i>=length;i--)
  1706.      a[j+i*8]=a[j+(i-length)*8];
  1707.     for(i=0;i<length;i++)
  1708.      a[j+i*8]=0;   
  1709.    }
  1710.   else
  1711.    for(j=0;j<8;j++)
  1712.    {
  1713.     for(i=0;i<(8-length);i++)
  1714.      a[j+i*8]=a[j+(i+length)*8];
  1715.     for(i=(8-length);i<8;i++)
  1716.      a[j+i*8]=0;   
  1717.    }
  1718. }
  1719. }
  1720. void produce_cube(uchar *a,char n)//0<=n<=8
  1721. {
  1722. char i,j;
  1723. for(i=0;i<8;i++)
  1724.   for(j=0;j<8;j++)
  1725.   {
  1726.    if(j<n&&i<n)
  1727.     a[j+i*8]=0xff>>(8-n);
  1728.    else
  1729.     a[j+i*8]=0;
  1730.   }
  1731. }
  1732. void produce_empty(uchar *a,char n)//0<n<=8,注意n不能为0
  1733. {
  1734. char j;
  1735. uchar p;
  1736. for(j=0;j<64;j++)
  1737.   a[j]=0;
  1738. p=0xff>>(8-n);
  1739. /************X4列*************/
  1740. a[(n-1)*8+n-1]=p;
  1741. a[(n-1)*8]=p;
  1742. a[0]=p;
  1743. a[n-1]=p;
  1744. for(j=0;j<n;j++)
  1745. {
  1746.   p=(0x01|(0x01<<(n-1)));
  1747. /************竖直4列*************/
  1748.   a[j*8]|=p;
  1749.   a[j*8+n-1]|=p;
  1750. /************Y4列*************/
  1751.   a[j]|=p;
  1752.   a[(n-1)*8+j]|=p;
  1753. }
  1754. }
  1755. void cube(char empty,char kind,char v)
  1756. {
  1757. uchar a[64]={0};
  1758. char i;
  1759. for(i=1;i<=8;i++)//生成
  1760. {
  1761.   if(empty==0)
  1762.    produce_cube(a,i);
  1763.   else
  1764.    produce_empty(a,i);
  1765.   if(kind==0)
  1766.    {;}
  1767.   else if(kind==1)
  1768.    move(a,1,1,8-i);
  1769.   else if(kind==2)
  1770.   {
  1771.    move(a,1,1,8-i);
  1772.    move(a,0,1,8-i);
  1773.   }
  1774.   else
  1775.    move(a,0,1,8-i);
  1776.   zhen(a,v);
  1777. }
  1778. for(i=7;i>0;i--)//退出
  1779. {
  1780.   if(empty==0)
  1781.    produce_cube(a,i);
  1782.   else
  1783.    produce_empty(a,i);
  1784.   if(kind==0)
  1785.   {
  1786.    move(a,1,1,8-i);
  1787.    move(a,0,1,8-i);
  1788.   }
  1789.   else if(kind==1)
  1790.    move(a,0,1,8-i);
  1791.   else if(kind==2)
  1792.    {;}
  1793.   else
  1794.    move(a,1,1,8-i);   
  1795.   zhen(a,v);
  1796. }
  1797. }
  1798. /***************************************************************************/
  1799. void yinchu(uchar *table,char n,char v)
  1800. {
  1801. /****************************
  1802. n为帧数
  1803. ******************************/
  1804. char i,j,k;
  1805. uchar a[64]={0},p;
  1806. for(k=0;k<n;k++)
  1807. {
  1808.   for(i=0;i<8;i++)
  1809.   {
  1810.    p=0xff;
  1811.    for(j=0;j<64;j++)
  1812.    {
  1813.     a[j]=(table[j+k*64]|(0x80>>i))&(p<<(7-i));
  1814.    }
  1815.    zhen(a,v);
  1816.   }
  1817.   zhen(table+k*64,50);
  1818. }
  1819. }
  1820. void rain(char menu,char num,char v)
  1821. {//menu=0,up;menu=1,down
  1822. uchar a[64]={0};
  1823. char i,j;
  1824. if(menu==0)
  1825. {
  1826.   for(i=0;i<8;i++)
  1827.    a[i]=tab_rain[i];
  1828.   zhen(a,v);
  1829.   for(i=1;i<8;i++)
  1830.   {
  1831.    move(a,2,1,1);
  1832.    for(j=0;j<8;j++)
  1833.     a[j]=tab_rain[i*8+j];
  1834.    zhen(a,v);
  1835.   }
  1836.   while(num--)
  1837.   {
  1838.    for(i=0;i<8;i++)
  1839.    {
  1840.     move(a,2,1,1);
  1841.     for(j=0;j<8;j++)
  1842.      a[j]=tab_rain[i*8+j];
  1843.     zhen(a,v);
  1844.    }
  1845.   }
  1846. }
  1847. else
  1848. {
  1849.   for(i=0;i<8;i++)
  1850.    a[7*8+i]=tab_rain[i];
  1851.   zhen(a,v);
  1852.   for(i=1;i<8;i++)
  1853.   {
  1854.    move(a,2,0,1);
  1855.    for(j=0;j<8;j++)
  1856.     a[7*8+j]=tab_rain[i*8+j];
  1857.    zhen(a,v);
  1858.   }
  1859.   while(num--)
  1860.   {
  1861.    for(i=0;i<8;i++)
  1862.    {
  1863.     move(a,2,0,1);
  1864.     for(j=0;j<8;j++)
  1865.      a[j+7*8]=tab_rain[i*8+j];
  1866.     zhen(a,v);
  1867.    }   
  1868.   }
  1869. }
  1870. }
  1871. void LED()
  1872. {
  1873. char i;
  1874. uchar p=0x01;
  1875. for(i=0;i<8;i++)
  1876. {
  1877.   P2=p;
  1878.   delay1(1);
  1879.   P0=0xff;
  1880.   delay1(1);
  1881.   p<<=1;
  1882. }
  1883. P2=0;
  1884. while(!out)
  1885. {
  1886.   key_out_scan();
  1887.   key_amenu_scan();
  1888.   P3=0xff;
  1889.   delay1(amenu*30);
  1890.   P3=0;
  1891.   delay1((6-amenu)*30);
  1892. }
  1893. P3=0;
  1894. }
  1895. void pc1(char num,char v)
  1896. {
  1897. uchar a[64]={0};
  1898. char i,j;
  1899. while(num--)
  1900. {
  1901.   for(i=1;i<8;i++)
  1902.    a[i]=0xff;
  1903.   zhen(a,v);
  1904.   for(i=1;i<8;i++)
  1905.   {
  1906.    move(a,2,1,1);
  1907.    for(j=0;j<8;j++)
  1908.     a[j]=0xff;
  1909.    zhen(a,v);
  1910.   }
  1911.   for(i=0;i<8;i++)
  1912.   {
  1913.    if(num==0&&i==7)
  1914.     continue;
  1915.    move(a,2,1,1);
  1916.    zhen(a,v);
  1917.   }
  1918. }
  1919. for(i=0;i<7;i++)
  1920. {
  1921.   move(a,2,0,1);
  1922.   zhen(a,v+5);
  1923. }
  1924. }
  1925. void link(char v)
  1926. {
  1927. /****************************
  1928. 旋转衔接
  1929. ******************************/
  1930. char i,j,k;
  1931. uchar a[64]={0};
  1932. for(i=0;i<64;i++)
  1933.   a[i]=0x80;
  1934. zhen(a,3);
  1935. for(i=0;i<8;i++)
  1936. {
  1937.   for(j=0;j<8;j++)
  1938.   {
  1939.    if(i<7)
  1940.     a[j*8+7-i]&=0x7f;
  1941.    a[j*8+i]|=(0x80>>i);
  1942.   }
  1943.   zhen(a,v);
  1944. }
  1945. for(i=0;i<6;i++)
  1946. {
  1947.   for(j=0;j<8;j++)
  1948.    for(k=0;k<8;k++)
  1949.     a[j*8+k]=tab_xuanzhuantiao[(i+8)*8+k];
  1950.   zhen(a,3);
  1951. }
  1952. }
  1953. void leitu(uchar *b,char num,char v)//V>1
  1954. {
  1955. uchar a[64]={0},p;
  1956. char i,j,k,m;
  1957. for(m=0;m<num;m++)
  1958. {
  1959.   for(i=0;i<8;i++)
  1960.    for(k=0;k<8;k++)
  1961.     for(j=0;j<8;j++)
  1962.     {
  1963.      p=b[m*64+i*8+k]&(0x01<<j);
  1964.      if(p)
  1965.      {
  1966.       a[i*8+k]|=p;
  1967.       zhen(a,v);
  1968.      }
  1969.     }
  1970.   zhen(a,60);
  1971.   for(j=0;j<64;j++)
  1972.   {
  1973.    if(!a[j])
  1974.     continue;
  1975.    a[j]=0;
  1976.    zhen(a,v-1);
  1977.   }
  1978.   delay(30);
  1979. }
  1980. }
  1981. void fn(char v)
  1982. {
  1983. uchar a[64]={0};
  1984. int i;
  1985. for(i=0;i<128;i++)//点
  1986. {
  1987.   a[tab00[i]]=(0x01<<tab01[i]);
  1988.   zhen(a,v);
  1989.   a[tab00[i]]=0;
  1990. }
  1991. for(i=0;i<128;i++)//8点
  1992. {
  1993.   a[tab10[i]]|=(0x01<<tab01[i]);
  1994.   if(i>=8)
  1995.    a[tab10[i-8]]^=(0x01<<tab01[i-8]);
  1996.   zhen(a,v);
  1997. }
  1998. a[tab00[0]]|=(0x01<<tab01[0]);
  1999. a[0]=0x80;
  2000. zhen(a,v);
  2001. for(i=1;i<128;i++)//线
  2002. {
  2003.   if(i<8)
  2004.    a[i-1]=0;
  2005.   a[tab00[i]]|=(0x01<<tab01[i]);
  2006.   zhen(a,v);
  2007. }
  2008. zhen(a,120);
  2009. for(i=0;i<128;i++)//线
  2010. {
  2011.   a[tab10[i]]^=(0x01<<tab01[i]);
  2012.   zhen(a,v);
  2013. }
  2014. }
  2015. void xuanzhuantiao(char kind,char num,char v)//空心旋转,kind=1实心,否则空心
  2016. {
  2017. uchar a[64]={0};
  2018. char i,j,k;
  2019. while(num--)
  2020. {
  2021.   for(i=0;i<14;i++)
  2022.   {
  2023.    for(j=0;j<8;j++)
  2024.    {
  2025.     for(k=0;k<8;k++)
  2026.     {
  2027.      if(k>1&&k<6&&j>1&&j<6&&kind!=1)
  2028.       a[k+j*8]=tab_xuanzhuantiao[i*8+k]&0xc3;
  2029.      else
  2030.       a[k+j*8]=tab_xuanzhuantiao[i*8+k];
  2031.     }
  2032.    }
  2033.    zhen(a,v);
  2034.   }
  2035. }
  2036. }
  2037. void qumianxuanzhuan(char kind,char num,char v)//曲面旋转
  2038. {
  2039. uchar a[64]={0};
  2040. char i,j,k;
  2041. for(j=0;j<8;j++)
  2042.   for(i=0;i<8;i++)
  2043.    a[i+j*8]=tab_xuanzhuantiao[i];
  2044. zhen(a,v);
  2045. if(kind==1)
  2046. {
  2047.   for(j=1;j<8;j++)//顺时针初形变换
  2048.   {
  2049.    for(i=0;i<j;i++)
  2050.     for(k=0;k<8;k++)
  2051.      a[k+i*8]=tab_xuanzhuantiao[(j-i)*8+k];
  2052.    zhen(a,v);
  2053.   }
  2054.   for(i=8;i<14;i++)
  2055.   {
  2056.    move(a,2,1,1);
  2057.    for(j=0;j<8;j++)
  2058.     a[j]=tab_xuanzhuantiao[i*8+j];
  2059.    zhen(a,v);
  2060.   }
  2061. }
  2062. else
  2063. {
  2064.   for(j=1;j<8;j++)//逆时针初形变换
  2065.   {
  2066.    for(i=0;i<j;i++)
  2067.     for(k=0;k<8;k++)
  2068.      a[k+i*8]=tab_xuanzhuantiao[(14-j+i)*8+k];
  2069.    zhen(a,v);
  2070.   }
  2071.   for(i=7;i>=0;i--)
  2072.   {
  2073.    move(a,2,1,1);
  2074.    for(j=0;j<8;j++)
  2075.     a[j]=tab_xuanzhuantiao[i*8+j];
  2076.    zhen(a,v);
  2077.   }
  2078. }
  2079. while(num--)//主循环
  2080. {
  2081.   if(kind==1)
  2082.    for(i=0;i<14;i++)
  2083.    {
  2084.     move(a,2,1,1);
  2085.     for(j=0;j<8;j++)
  2086.      a[j]=tab_xuanzhuantiao[i*8+j];
  2087.     zhen(a,v);
  2088.    }
  2089.   else
  2090.    for(i=13;i>=0;i--)
  2091.    {
  2092.     move(a,2,1,1);   
  2093.     for(j=0;j<8;j++)
  2094.      a[j]=tab_xuanzhuantiao[i*8+j];
  2095.     zhen(a,v);
  2096.    }
  2097. }
  2098. if(kind==1)
  2099.   for(j=0;j<7;j++)
  2100.   {
  2101.    for(i=7;i>=j;i--)
  2102.    {
  2103.     if(i>j)
  2104.      for(k=0;k<8;k++)
  2105.       a[k+i*8]=tab_xuanzhuantiao[(14-i+j)*8+k];
  2106.     else
  2107.      for(k=0;k<8;k++)
  2108.       a[k+i*8]=tab_xuanzhuantiao[k];
  2109.    }
  2110.    zhen(a,v);
  2111.   }
  2112. else
  2113.   for(j=1;j<7;j++)
  2114.   {
  2115.    for(i=7;i>=j;i--)
  2116.    {
  2117.     if(i>j)
  2118.      for(k=0;k<8;k++)
  2119.       a[k+i*8]=tab_xuanzhuantiao[(i-j)*8+k];
  2120.     else
  2121.      for(k=0;k<8;k++)
  2122.       a[k+i*8]=tab_xuanzhuantiao[k];
  2123.    }
  2124.    zhen(a,v);
  2125.   }
  2126. }
  2127. void qumianxuanzhuan2(char num,char v)//曲面旋转
  2128. {
  2129. uchar a[64]={0};
  2130. char i,j,k;
  2131. for(j=0;j<8;j++)
  2132.   for(i=0;i<8;i++)
  2133.    a[i+j*8]=tab_xuanzhuantiao[i];
  2134. zhen(a,v);
  2135. for(j=1;j<8;j++)
  2136. {
  2137.   for(i=0;i<j;i++)
  2138.    for(k=0;k<8;k++)
  2139.     a[k+i*8]=tab_xuanzhuantiao[(14-j+i)*8+k];
  2140.   zhen(a,v);
  2141. }
  2142. while(num--)
  2143. {
  2144.   for(j=1;j<8;j++)
  2145.   {
  2146.    move(a,2,1,1);
  2147.    for(i=0;i<j;i++)
  2148.    {
  2149.     for(k=0;k<8;k++)
  2150.     {
  2151.      if(j!=7|i!=0)
  2152.       a[i*8+k]=tab_xuanzhuantiao[k+(j+7-i)*8];
  2153.      else
  2154.       a[k]=tab_xuanzhuantiao[k];
  2155.     }
  2156.    }
  2157.    zhen(a,v);
  2158.   }
  2159.   for(j=1;j<8;j++)
  2160.   {
  2161.    move(a,2,1,1);
  2162.    for(i=0;i<j;i++)
  2163.    {
  2164.     for(k=0;k<8;k++)
  2165.      a[i*8+k]=tab_xuanzhuantiao[k+(14-j+i)*8];
  2166.    }
  2167.    zhen(a,v);
  2168.   }
  2169. }
  2170. }
  2171. void W_scan(uchar v)
  2172. {
  2173. uchar a[64]={0};
  2174. char i,j;
  2175. for(i=0;i<8;i++)
  2176.   a[i*8+7]=0xff;
  2177. zhen(a,v);
  2178. for(i=6;i>=0;i--)
  2179. {
  2180.   for(j=0;j<8;j++)
  2181.   {
  2182.    a[j*8+i]=0xff;
  2183.    a[j*8+i+1]=0;
  2184.   }
  2185.   zhen(a,v);
  2186. }
  2187. clc();
  2188. }
  2189. void zimu(uchar *x,char n,char v,int num)//滚动字幕,num表示循环次数,v表示滚动速度,n字符个数
  2190. {
  2191. char i,j,k;
  2192. uchar xdata a[64]={0},temp0[8],temp1[8],temp2[8],temp3[8],temp[8];
  2193. for(i=0;i<8;i++)
  2194. {
  2195.   temp0[i]=0;
  2196.   temp1[i]=0;
  2197.   temp2[i]=0;
  2198.   temp3[i]=0;
  2199. }
  2200. while(num--)
  2201.   for(j=0;j<n;j++)//滚动
  2202.   {
  2203.    for(k=7;k>=0;k--)//读取数据
  2204.     temp[7-k]=x[j*8+k];
  2205.    for(k=0;k<8;k++)//移动8位
  2206.    {
  2207.     for(i=0;i<8;i++)
  2208.     {
  2209.      temp0[i]=(temp0[i]<<1)|(temp1[i]>>7);
  2210.      temp1[i]=(temp1[i]<<1)|(temp2[i]>>7);
  2211.      temp2[i]=(temp2[i]<<1)|(temp3[i]>>7);
  2212.      temp3[i]=(temp3[i]<<1)|(temp[i]>>7);
  2213.      temp[i]<<=1;
  2214.      fun1(a+i*8,temp0[i],temp1[i],temp2[i],temp3[i]);
  2215.     }
  2216.     zhen(a,v);
  2217.    }
  2218.   }
  2219. }
  2220. void hy(uchar *tab,char v)
  2221. {
  2222. uchar a[64]={0};
  2223. char i,j;
  2224. for(i=0;i<8;i++)
  2225.   a[i*8]=tab[i];
  2226. zhen(a,v);
  2227. for(i=1;i<8;i++)
  2228. {
  2229.      for(j=0;j<8;j++)
  2230.       a[i+j*8]=a[i-1+j*8];
  2231.      zhen(a,v);
  2232. }
  2233.         for(i=0;i<7;i++)
  2234. {
  2235.      for(j=0;j<8;j++)
  2236.       a[i+j*8]=0;
  2237.      zhen(a,v);
  2238. }
  2239.         zhen(a,23);
  2240. }
  2241. void W_side(uchar *tab,char num,char v)
  2242. {
  2243. uchar a[64]={0};
  2244. int i,j;
  2245. for(j=0;j<num;j++)
  2246. {
  2247.   if(amenu)
  2248.    break;
  2249.   for(i=0;i<8;i++)
  2250.    a[i*8+7]=tab[j*8+i];
  2251.   zhen(a,v);
  2252. }
  2253. }
  2254. void print(uchar *a,char m)//m=0中空显示,m=1实心显示
  2255. {
  2256. uchar p;
  2257. char i,j,k;
  2258. uchar b[64]={0};
  2259. for(i=0;i<8;i++)
  2260. {
  2261.   b[7*8+i]=0xff;
  2262. }
  2263. for(i=0;i<8;i++)//行切换
  2264. {
  2265.   for(j=0;j<8;j++)//点移动
  2266.   {
  2267.    p=a[i]&(0x01<<j);
  2268.    if(p)
  2269.    {
  2270.     for(k=6;k>0;k--)
  2271.     {
  2272.      if(m==1&&k==6)
  2273.      {;}
  2274.      else
  2275.       b[(k+1)*8+7-i]&=(~p);
  2276.      b[k*8+7-i]|=(0x01<<j);
  2277.      zhen(b,1);
  2278.     }
  2279.     b[1*8+7-i]=0;
  2280.     b[7-i]|=p;
  2281.     zhen(b,1);
  2282.    }
  2283.    b[7-i]|=p;
  2284.   }
  2285. }
  2286. zhen(b,40);
  2287. b[0]=0;
  2288. for(j=7;j>0;j--)
  2289. {
  2290.   for(i=7;i>0;i--)
  2291.   {
  2292.    b[i]=b[i-1];
  2293.   }
  2294.    zhen(b,5);  
  2295. }
  2296. clc();
  2297. }
  2298. void water1(char x,char y,char v)
  2299. {
  2300. uchar a[64]={0};
  2301. char i,r;
  2302. a[7*8+y]=0x01<<x;
  2303. zhen(a,v);
  2304. for(i=6;i>=0;i--)
  2305. {
  2306.   a[i*8+y]=a[(i+1)*8+y];
  2307.   a[(i+1)*8+y]=0;
  2308.   zhen(a,v);
  2309. }//下落
  2310. for(r=0;r<7;r++)
  2311. {
  2312.   for(i=0;i<8;i++)
  2313.    a[i]=tab_water[r*16+7-y+i]>>(7-x);
  2314.   zhen(a,v+1);
  2315. }//扩散
  2316. }
  2317. void water2(char x1,char y1,char x2,char y2,char v)
  2318. {
  2319. uchar a[64]={0};
  2320. char i,r;
  2321. a[7*8+y1]=0x01<<x1;
  2322. zhen(a,v);
  2323. for(i=6;i>=0;i--)
  2324. {
  2325.   move(a,2,0,1);
  2326.   if(i==5)
  2327.   {
  2328.    a[7*8+y2]=0x01<<x2;   
  2329.   }
  2330.   zhen(a,v);
  2331. }
  2332. for(r=0;r<9;r++)
  2333. {
  2334.   if(r<2)
  2335.    move(a,2,0,1);
  2336.   else
  2337.    for(i=0;i<8;i++)
  2338.     a[i]=tab_water[(r-2)*16+7-y2+i]>>(7-x2);  
  2339.   if(r<7)
  2340.    for(i=0;i<8;i++)
  2341.     a[i]|=(tab_water[r*16+7-y1+i]>>(7-x1));
  2342.   if(r==1)
  2343.    a[y2]|=0x01<<x2;
  2344.   zhen(a,v);
  2345. }
  2346. }
  2347. void water3(char x1,char y1,char x2,char y2,char x3,char y3,char v)
  2348. {//3水滴
  2349. uchar a[64]={0};
  2350. char i,r;
  2351. a[7*8+y1]=0x01<<x1;
  2352. zhen(a,v);
  2353. for(i=6;i>=0;i--)
  2354. {
  2355.   move(a,2,0,1);
  2356.   if(i==5)//第二点
  2357.    a[7*8+y2]=0x01<<x2;
  2358.   if(i==3)
  2359.    a[7*8+y3]=0x01<<x3; //第三点  
  2360.   zhen(a,v);
  2361. }
  2362. for(r=0;r<11;r++)
  2363. {
  2364.   if(r<4)
  2365.    move(a,2,0,1);
  2366.   if(r<11&&r>=4)
  2367.    for(i=0;i<8;i++)
  2368.     a[i]=tab_water[(r-4)*16+7-y3+i]>>(7-x3);
  2369.   if(r<9&&r>=2)
  2370.    for(i=0;i<8;i++)
  2371.     a[i]|=tab_water[(r-2)*16+7-y2+i]>>(7-x2);  
  2372.   if(r<7)
  2373.    for(i=0;i<8;i++)
  2374.     a[i]|=(tab_water[r*16+7-y1+i]>>(7-x1));
  2375.   if(r==1)
  2376.    a[y2]|=0x01<<x2;
  2377.   if(r==3)
  2378.    a[y3]|=0x01<<x3;
  2379.   zhen(a,v);
  2380. }
  2381. }
  2382. void xuanzhuantiao2(char num,char v)//空心旋转,kind=1实心,否则空心
  2383. {
  2384. uchar a[64]={0};
  2385. char i,j,k;
  2386. while(num--)
  2387.   for(i=0;i<56;i++)
  2388.   {
  2389.    for(j=0;j<8;j++)
  2390.     for(k=0;k<8;k++)
  2391.      a[j*8+k]=tab_xuanzhuantiao2[i*8+k];
  2392.    zhen(a,v);
  2393.   }
  2394. }
  2395. void flash0(char v)//条状升降
  2396. {
  2397.   char i,j,k;
  2398.   uchar a[64]={0};
  2399.   for(i=7;i>=0;i--)
  2400.   {
  2401.    a[i]=0x01<<i;
  2402.    zhen(a,v+5);
  2403.   }
  2404.   for(i=0;i<7;i++)
  2405.   {
  2406.    for(j=0;j<8;j++)
  2407.     a[j]=flash0__tab[i*8+j];
  2408.    zhen(a,v+5);
  2409.   }
  2410.   for(i=0;i<7;i++)
  2411.   {
  2412.    move(a,2,1,1);
  2413.    zhen(a,v+5);
  2414.   }
  2415. /*  for(i=0;i<64;i++)
  2416.   {
  2417.    if(i>55)
  2418.     a[i]=0xff;
  2419.    else
  2420.     a[i]=0;
  2421.   }*/
  2422.   zhen(a,20);
  2423.   for(i=7;i>=0;i--)//1
  2424.    for(j=6;j>=0;j--)
  2425.    {
  2426.     a[i+j*8]=0xff;
  2427.     a[i+(j+1)*8]=0;
  2428.     zhen(a,v);
  2429.    }
  2430.   zhen(a,27);
  2431.   for(i=7;i>=0;i--)//2
  2432.    for(j=1;j<8;j++)
  2433.    {
  2434.     a[i+j*8]=0xff;
  2435.     a[i+(j-1)*8]=0;
  2436.     zhen(a,v);
  2437.    }
  2438.   zhen(a,27);
  2439.   for(i=7;i>=0;i--)//3
  2440.    for(k=6;k>=0;k--)
  2441.    {
  2442.     for(j=0;j<8;j++)
  2443.     {
  2444.      if(k==0)
  2445.       a[j+k*8]|=(0x80>>(7-i));
  2446.      else
  2447.       a[j+k*8]=(0x80>>(7-i));
  2448.      a[j+(k+1)*8]^=(0x80>>(7-i));
  2449.     }
  2450.     zhen(a,v);
  2451.    }
  2452.   zhen(a,27);
  2453.   for(i=7;i>=0;i--)//4
  2454.    for(k=1;k<8;k++)
  2455.    {
  2456.     for(j=0;j<8;j++)
  2457.     {
  2458.      if(k==7)
  2459.       a[j+k*8]|=(0x80>>(7-i));
  2460.      else
  2461.       a[j+k*8]=(0x80>>(7-i));
  2462.      a[j+(k-1)*8]^=(0x80>>(7-i));
  2463.     }
  2464.     zhen(a,v);
  2465.    }
  2466.   zhen(a,27);
  2467. }
  2468. void donghua(uchar *tab,uchar num,uchar n,char v)
  2469. {
  2470. char i;
  2471. while(n--)
  2472. {
  2473.   for(i=0;i<num;i++)//清空
  2474.   {
  2475.    zhen(tab+i*64,v);
  2476.   }
  2477. }
  2478. }
  2479. void denghuo(char v)
  2480. {
  2481. uchar a[64];
  2482. char i,j,k;
  2483. for(k=0;k<8;k++)
  2484.   for(i=0;i<8;i++)
  2485.    for(j=0;j<8;j++)
  2486.    {
  2487.     a[tab_mian[i]*8+tab_xian[j]]|=(0x01<<tab_dian[(i+j)*8+k]);
  2488.     zhen(a,v);
  2489.    }
  2490.   zhen(a,90);
  2491. for(k=0;k<8;k++)
  2492.   for(i=0;i<8;i++)
  2493.    for(j=0;j<8;j++)
  2494.    {
  2495.     a[tab_mian[i]*8+tab_xian[j]]^=(0x01<<tab_dian[(i+j)*8+k]);
  2496.     zhen(a,v);
  2497.    }
  2498. }
  2499. /***************************************/
  2500. void xzcube()
  2501. {
  2502.   char i;
  2503.   donghua(y_table,6,8,8);
  2504.   for(i=0;i<26;i++)
  2505.   {
  2506.    if(i==12||i==13||i==14)
  2507.     zhen(yx_table+i*64,30);
  2508.    else
  2509.     zhen(yx_table+i*64,14);
  2510.   }
  2511.   donghua(x_table,6,8,8);
  2512.   for(i=0;i<26;i++)
  2513.   {
  2514.    if(i==12||i==13||i==14)
  2515.     zhen(xz_table+i*64,30);
  2516.    else
  2517.     zhen(xz_table+i*64,14);
  2518.   }
  2519.   donghua(z_table,6,8,8);
  2520. }
  2521. void szfc0(char v)//数字上浮
  2522. {
  2523. char i,j;
  2524. uchar a[64];
  2525. for(i=0;i<64;i++)
  2526. {
  2527.   a[i]=0;
  2528. }
  2529. for(j=124;j>=0;j--)
  2530. {
  2531.   for(i=7;i>=0;i--)
  2532.   {
  2533.    a[i*8+3]=szfc_table[j+i];
  2534.    a[i*8+4]=szfc_table[j+i];
  2535.   }
  2536.   zhen(a,v);
  2537. }
  2538. }
  2539. void shandian(char v)
  2540. {
  2541.   char i,j;
  2542.   uchar a[64];
  2543.   for(i=0;i<64;i++)
  2544.    a[i]=tab_shandian[64*21+i];
  2545.   for(i=0;i<22;i++)
  2546.    zhen(tab_shandian+64*i,v);
  2547.   for(i=0;i<22;i++)
  2548.   {
  2549.    for(j=0;j<64;j++)
  2550.     a[j]=a[j]&(~tab_shandian[64*i+j]);
  2551.    zhen(a,v);
  2552.   }
  2553. }
  2554. void cut()
  2555. {
  2556. uchar a[64]={0};
  2557. char i;
  2558. for(i=0;i<4;i++)
  2559. {
  2560.   a[i*8+7]=0xff;
  2561.   a[(7-i)*8+7]=0xff;
  2562.   zhen(a,8);
  2563. }
  2564. zhen(a,30);
  2565. for(i=3;i>=0;i--)
  2566. {
  2567.   a[i*8+7]=0;
  2568.   a[(7-i)*8+7]=0;
  2569.   zhen(a,8);
  2570. }
  2571. }
  2572. void shensuo(uchar v)
  2573. {
  2574. char i,j;
  2575. uchar a[64]={0};
  2576. for(i=0;i<64;i++)
  2577.   a[i]=0xff;
  2578. for(i=0;i<7;i++)
  2579. {
  2580.   move(a,0,0,1);
  2581.   zhen(a,v);
  2582. }
  2583. for(i=0;i<7;i++)
  2584. {
  2585.   move(a,0,1,1);
  2586.   for(j=0;j<64;j++)
  2587.    a[j]|=0x01;
  2588.   zhen(a,v);
  2589. }
  2590. for(i=0;i<7;i++)
  2591. {
  2592.   move(a,2,0,1);
  2593.   zhen(a,v);
  2594. }
  2595. for(i=0;i<7;i++)
  2596. {
  2597.   move(a,2,1,1);
  2598.   for(j=0;j<8;j++)
  2599.    a[j]|=0xff;
  2600.   zhen(a,v);
  2601. }
  2602. for(i=7;i>0;i--)
  2603. {
  2604.   for(j=0;j<8;j++)
  2605.    a[j*8+i]=0;
  2606.   zhen(a,v);
  2607. }
  2608. for(i=1;i<8;i++)
  2609. {
  2610.   for(j=0;j<8;j++)
  2611.    a[j*8+i]|=0xff;
  2612.   zhen(a,v);
  2613. }
  2614. }
  2615. void linkpc1(char v)
  2616. {
  2617. uchar i,a[64]={0};
  2618. for(i=0;i<7;i++)
  2619.   a[7*8+i]=0xff;
  2620. for(i=0;i<8;i++)
  2621. {
  2622.   move(a,2,0,1);
  2623.   zhen(a,v);
  2624. }
  2625. }
  2626. void link00()
  2627. {
  2628. uchar a[64]={0};
  2629. char i;
  2630. for(i=10;i>7;i--)
  2631. {
  2632.   zhen(bianxing_table+i*64,70);
  2633. }
  2634. produce_cube(a,6);
  2635. move(a,1,1,1);
  2636. move(a,0,1,1);
  2637. zhen(a,110);
  2638. produce_cube(a,8);
  2639. zhen(a,110);
  2640. }
  2641. void link_jb0(char v)
  2642. {
  2643. uchar a[64]={0};
  2644. char i;
  2645. for(i=0;i<64;i++)
  2646. {
  2647.   a[i]=0x80;
  2648.   zhen(a,v);
  2649. }
  2650. }
  2651. int STC_ADC()
  2652. {
  2653.   uchar i;
  2654.     ADC_RES=0;
  2655.     ADC_RESL=0;
  2656.   ADC_CONTR=0x88;
  2657.   i=3;
  2658.     while(i--);
  2659.     while(1)                     
  2660.     {
  2661.        if(ADC_CONTR&0x10)      
  2662.     break;
  2663.     }
  2664.     ADC_CONTR=0x80;
  2665.   return(ADC_RESL+ADC_RES<<2);
  2666. }
  2667. short sqrt_16( unsigned long M)  
  2668. {
  2669.     unsigned int N,i;
  2670.     unsigned long tmp,ttp;
  2671.     if(M==0)            
  2672.         return 0;
  2673.     N=0;
  2674.     tmp=(M>>30);      
  2675.     M<<=2;
  2676.     if(tmp>1)           
  2677.     {
  2678.         N++;              
  2679.         tmp-=N;
  2680.     }
  2681.     for(i=15;i>0;i--)  
  2682.     {
  2683.         N<<=1;         
  2684.         tmp<<=2;
  2685.         tmp+=(M>>30);
  2686.         ttp=N;
  2687.         ttp=(ttp<<1)+1;
  2688.         M<<=2;
  2689.         if(tmp>=ttp)   
  2690.         {
  2691.             tmp-=ttp;
  2692.             N++;
  2693.         }      
  2694.     }
  2695.     return N;
  2696. }
  2697. void FFT()
  2698. {
  2699. int xdata i,bb,j,k,p;
  2700. int max,a[6];
  2701. int xdata TR,TI,temp;
  2702.    for(i=0; i<64;i++)
  2703. {
  2704.       Real[BRTable[i]]=STC_ADC();
  2705.       Image[i]=0;
  2706. }
  2707.    for(i=1;i<=6;i++)                        
  2708.    {
  2709.       bb=1;
  2710.       bb<<=(i-1);                                    
  2711.       for(j=0;j<=bb-1;j++)                           
  2712.       {
  2713.          p=1;
  2714.          p<<=(6-i);           
  2715.          p=p*j;
  2716.          for(k=j;k<64;k=k+2*bb)              
  2717.          {
  2718.       key_amenu_scan();   
  2719.     key_out_scan();
  2720.             TR = Real[k];
  2721.     TI = Image[k];
  2722.     temp=Real[k+bb];
  2723.             Real[k]=Real[k]+((Real[k+bb]*cos_tabb[p])>>7)+((Image[k+bb]*sin_tabb[p])>>7);
  2724.             Image[k]=Image[k]-((Real[k+bb]*sin_tabb[p])>>7)+((Image[k+bb]*cos_tabb[p])>>7);
  2725.             Real[k+bb]=TR-((Real[k+bb]*cos_tabb[p])>>7)-((Image[k+bb]*sin_tabb[p])>>7);
  2726.             Image[k+bb]=TI+((temp*sin_tabb[p])>>7)-((Image[k+bb]*cos_tabb[p])>>7);
  2727.             Real[k]>>=1;            
  2728.             Image[k]>>=1;
  2729.             Real[k+bb]>>=1;               
  2730.             Image[k+bb]>>=1;
  2731.          }
  2732.       }
  2733.    }
  2734. max=0;
  2735. for(i=0;i<6;i++)
  2736. {
  2737.     a[i]=sqrt_16((Real[i+1]*Real[i+1]+Image[i+1]*Image[i+1])>>1);
  2738.     if(a[i]<2 )   
  2739.        a[i]=0;
  2740.     else
  2741.        a[i]-=2;
  2742.   if(max<a[i])
  2743.    max=a[i];
  2744. }
  2745. if(max>7)
  2746. {
  2747.   max/=7;
  2748.   for(i=0;i<6;i++)
  2749.   {
  2750.    a[i]/=max;
  2751.   }
  2752. }
  2753. for(i=0;i<6;i++)
  2754.   c[i]=a[i];
  2755. }
  2756. void disp() interrupt 1
  2757. {
  2758. TR0=0;
  2759. TH0=(65536-2500)/256;
  2760. TL0=(65536-2500)%256;
  2761. if(num>=(amenu-1))
  2762.   num=0;
  2763. else
  2764.   num++;
  2765. if(b[num]<c[num])
  2766.   b[num]++;
  2767. if(b[num]>c[num])
  2768.   b[num]--;
  2769. if(b[num]>8)
  2770.   b[num]=8;
  2771. if(amenu==1)
  2772.   fun(table1+num*8);
  2773. else if(amenu==2)
  2774.   fun(table2+num*8);
  2775. else if(amenu==3)
  2776.   fun(table3+num*8);
  2777. else if(amenu==4)
  2778.   fun(table4+num*8);
  2779. else if(amenu==5)
  2780.   fun(table5+num*8);
  2781. else
  2782.   fun(table6+num*8);
  2783. P3=tuku1[b[num]];
  2784. TR0=1;
  2785. }
  2786. /**********初始化函数*****************/
  2787. void init()
  2788. {
  2789. /***********I/O口初始化*************/
  2790. P1M1=1;  //p1.0口高阻输入
  2791. P1ASF=1;
  2792. P3M0=0xff;  //P3口推挽输出
  2793. P2M0=0xff;
  2794. P0M0=0xff;
  2795. P4SW = 0x70;
  2796. P4M1=0;
  2797. P4M0=0;
  2798. TMOD=0x01;
  2799. TH0=(65536-4000)/256;
  2800. TL0=(65536-4000)%256;
  2801. EA=1;  
  2802. ET0=1;
  2803. TR0=0;  
  2804.    menu=0;
  2805. out=0;
  2806. amenu=0;
  2807. num=0;
  2808. }
  2809. /*************主函数******************/
  2810. void main()
  2811. {
  2812. int i,j;
  2813. char go;
  2814. delay(800);
  2815. init(); //初始化函数
  2816. ////////////////////////呼吸灯
  2817. P2=0xff;
  2818. P0=0;
  2819. P2=0x80;
  2820. P3=1;
  2821. while(!menu)
  2822. {
  2823.   for(i=0;i<400;i++)
  2824.   {
  2825.    key_menu_scan();
  2826.    if(menu)
  2827.     break;
  2828.    P0=0x80;
  2829.    delay1(i);
  2830.    P0=0;
  2831.    delay1(400-i);
  2832.    if(i<200)
  2833.    {
  2834.     j=2;
  2835.     while(j--)
  2836.     {
  2837.      P0=0x80;
  2838.      delay1(i);
  2839.      P0=0;
  2840.      delay1(400-i);
  2841.     }
  2842.    }
  2843.   }
  2844.   for(i=0;i<401;i++)
  2845.   {
  2846.    if(menu)
  2847.     break;
  2848.    key_menu_scan();
  2849.    P0=0x80;
  2850.    delay1(400-i);
  2851.    P0=0;
  2852.    delay1(i);
  2853.    if(i>200)
  2854.    {
  2855.     j=2;
  2856.     while(j--)
  2857.     {
  2858.      P0=0x80;
  2859.      delay1(400-i);
  2860.      P0=0;
  2861.      delay1(i);
  2862.     }
  2863.    }
  2864.   }
  2865. }
  2866. // P3M0=0x00;
  2867. ///////////////////////////开机扫描
  2868. turn_on(10);
  2869. H_scan(20);
  2870. V_scan(20);
  2871. W_scan(20);
  2872. /////////////////主菜单选项
  2873. while(1)
  2874. {
  2875.   hy(number+37*8,2);
  2876.   while(!amenu)
  2877.   {
  2878.    W_side(number+(36+menu)*8,1,45);
  2879.   }
  2880.   switch(menu){
  2881.   case 1://音谱显示
  2882.    delay(400);
  2883.    while(!out)
  2884.    {
  2885.     TR0=1;
  2886.     FFT();
  2887.    }
  2888.    TR0=0;
  2889.    break;
  2890.   case 2://动画显示
  2891.    delay(400);
  2892.    amenu=0;menu=1;
  2893.    go=1;
  2894.    cut();
  2895.    while(go)
  2896.    {
  2897.     for(i=0;i<10;i++)
  2898.      hy(number+27*8+i*8,3);
  2899.     if(out)
  2900.      go=1;
  2901.     else
  2902.      go=0;
  2903.    }
  2904.    go=1;
  2905.    while(go)
  2906.    {
  2907.     zimu(number,19,12,1);
  2908.     if(out)
  2909.      go=1;
  2910.     else
  2911.      go=0;
  2912.    }
  2913.    go=1;
  2914.    while(go)
  2915.    {
  2916.     fn(4);
  2917.     if(out)
  2918.      go=1;
  2919.     else
  2920.      go=0;
  2921.    }
  2922.    go=1;
  2923.    while(go)
  2924.    {
  2925.     out=0;
  2926.     flash0(2);
  2927.     if(out)
  2928.      go=1;
  2929.     else
  2930.      go=0;
  2931.    }
  2932.    go=1;
  2933.    while(go)
  2934.    {
  2935.     linkpc1(10);
  2936.     pc1(4,3);
  2937.     if(out)
  2938.      go=1;
  2939.     else
  2940.      go=0;
  2941.    }
  2942.    go=1;
  2943.    while(go)
  2944.    {
  2945.     leitu(yc_table,5,2);
  2946.     if(out)
  2947.      go=1;
  2948.     else
  2949.      go=0;
  2950.    }
  2951.    go=1;
  2952.    while(go)
  2953.    {
  2954.     denghuo(3);
  2955.     if(out==1)
  2956.      go=1;
  2957.     else
  2958.      go=0;
  2959.    }
  2960.    go=1;
  2961.    while(go)
  2962.    {
  2963.     water1(1,2,10);water1(2,4,10);
  2964.     water1(4,3,10);water1(7,1,10);
  2965.     water1(5,6,10);   
  2966.     water2(0,2,7,1,9);
  2967.     water2(2,4,7,7,9);
  2968.     water2(4,7,7,1,9);
  2969.     water2(3,6,7,7,9);
  2970.     water2(4,1,6,6,9);
  2971.     water2(7,3,1,2,9);
  2972.     water3(0,4,7,4,5,1,9);
  2973.     water3(7,7,0,0,0,7,9);
  2974.     water3(0,6,6,6,5,1,9);
  2975.     water3(6,7,0,0,2,2,9);
  2976.     water3(3,3,6,6,2,2,9);
  2977.     if(out)
  2978.      go=1;
  2979.     else
  2980.      go=0;
  2981.    }
  2982.    go=1;
  2983.    while(go)
  2984.    {
  2985.     clc();
  2986.     link_pingmian1(1);
  2987.     pingmian1(8,3);
  2988.     if(out)
  2989.      go=1;
  2990.     else
  2991.      go=0;
  2992.    }
  2993.    go=1;
  2994.    while(go)
  2995.    {
  2996.     for(i=0;i<7;i++)
  2997.      print(tab_print+i*8,1);
  2998.     for(i=7;i<11;i++)
  2999.      print(tab_print+i*8,0);
  3000.     if(out)
  3001.      go=1;
  3002.     else
  3003.      go=0;
  3004.    }
  3005.    go=1;
  3006.    while(go)
  3007.    {
  3008.     clc();
  3009.     link_jb0(1);
  3010.     jb0(10,3);
  3011.     if(out)
  3012.      go=1;
  3013.     else
  3014.      go=0;
  3015.    }
  3016.    go=1;
  3017.    while(go)
  3018.    {
  3019.     yinchu(yc_table,5,9);
  3020.     if(out)
  3021.      go=1;
  3022.     else
  3023.      go=0;
  3024.    }
  3025.    go=1;
  3026.    while(go)
  3027.    {
  3028.     clc();
  3029.     link_jb0(1);
  3030.     jb0(10,3);
  3031.     if(out)
  3032.      go=1;
  3033.     else
  3034.      go=0;
  3035.    }
  3036.    go=1;
  3037.    while(go)
  3038.    {
  3039.     link(9);
  3040.     xuanzhuantiao(1,8,4);
  3041.     xuanzhuantiao(0,8,4);
  3042.     if(out)
  3043.      go=1;
  3044.     else
  3045.      go=0;
  3046.    }
  3047.    go=1;
  3048.    while(go)
  3049.    {
  3050.     xuanzhuantiao2(3,3);
  3051.     if(out)
  3052.      go=1;
  3053.     else
  3054.      go=0;
  3055.    }
  3056.    go=1;
  3057.    while(go)
  3058.    {
  3059.     qumianxuanzhuan(1,10,4);
  3060.     qumianxuanzhuan(0,10,4);
  3061.     if(out)
  3062.      go=1;
  3063.     else
  3064.      go=0;
  3065.    }
  3066.    go=1;
  3067.    while(go)
  3068.    {
  3069.     qumianxuanzhuan2(13,4);
  3070.     if(out)
  3071.      go=1;
  3072.     else
  3073.      go=0;
  3074.    }
  3075.    go=1;
  3076.    while(go)
  3077.    {
  3078.     xuanzhuantiao(1,4,4);
  3079.     xuanzhuantiao(1,3,5);
  3080.     xuanzhuantiao(1,2,6);
  3081.     xuanzhuantiao(1,1,7);
  3082.     if(out)
  3083.      go=1;
  3084.     else
  3085.      go=0;
  3086.    }
  3087.    go=1;
  3088.    while(go)
  3089.    {
  3090.     donghua(bianxing_table,11,1,24);
  3091.     xzcube();
  3092.     donghua(y_table,6,5,5);
  3093.     donghua(x_table,6,5,5);
  3094.     donghua(z_table,6,5,5);
  3095.     link00();
  3096.     if(out)
  3097.      go=1;
  3098.     else
  3099.      go=0;
  3100.    }
  3101.    go=1;
  3102.    while(go)
  3103.    {
  3104.     shensuo(5);
  3105.     if(out)
  3106.      go=1;
  3107.     else
  3108.      go=0;
  3109.    }
  3110.    go=1;
  3111.    while(go)
  3112.    {
  3113.     donghua(sin_cube_table,14,22,5);
  3114.     if(out)
  3115.      go=1;
  3116.     else
  3117.      go=0;
  3118.    }
  3119.    go=1;
  3120.    while(go)
  3121.    {
  3122.     for(i=0;i<3;i++)
  3123.      for(j=0;j<3;j++)
  3124.       cube(0,j,6);
  3125.     for(i=0;i<3;i++)
  3126.      for(j=0;j<3;j++)
  3127.       cube(1,j,6);
  3128.     if(out)
  3129.      go=1;
  3130.     else
  3131.      go=0;
  3132.    }
  3133.    go=1;   
  3134.    while(go)
  3135.    {
  3136.     donghua(hart_table,2,10,32);
  3137.     if(out)
  3138.      go=1;
  3139.     else
  3140.      go=0;
  3141.    }
  3142.    go=1;
  3143.    while(go)
  3144.    {
  3145.     for(i=2;i>0;i--)
  3146.       shandian(i);
  3147.     if(out)
  3148.      go=1;
  3149.     else
  3150.      go=0;
  3151.    }
  3152.    go=1;
  3153.    while(go)
  3154.    {
  3155.     szfc0(10);
  3156.     if(out)
  3157.      go=1;
  3158.     else
  3159.      go=0;
  3160.    }
  3161.    go=1;
  3162.    while(go)
  3163.    {
  3164.     rain(1,10,9);
  3165.     rain(0,10,9);
  3166.     if(out)
  3167.      go=1;
  3168.     else
  3169.      go=0;
  3170.    }
  3171.    break;
  3172.   case 3://夜灯模式
  3173.    delay(200);
  3174.    LED();break;
  3175.   }
  3176.   out=0;
  3177.   amenu=0;
  3178.   menu=1;
  3179. }
  3180. }
复制代码



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表