display.lst
来自「智原mp3 SDK 开发包 与巨力 有mp3 wma ogg decoder」· LST 代码 · 共 72 行
LST
72 行
C51 COMPILER V7.50 DISPLAY 08/18/2008 13:43:44 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE DISPLAY
OBJECT MODULE PLACED IN ..\output\output_bin\output_mp3\display.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE ..\..\code\ap_mp3\src\display.c LARGE OPTIMIZE(9,SIZE) BROWSE INCDIR(..\..\
-..\bsp\include;..\..\code\ap_mp3\src\include;..\..\code\global;..\..\code\include) DEFINE(CONFIG_ASIC,dynamic_load) DEBU
-G OBJECTEXTEND PRINT(..\output\output_bin\output_mp3\display.lst) OBJECT(..\output\output_bin\output_mp3\display.obj)
line level source
1 /*******************
2 * display.c
3 *******************/
4
5 #include <string.h>
6 #include "api.h"
7 #include "lcd1.h"
8 #include "common.h"
9 #include "display.h"
10
11 void gfx_bg_rectangle(UINT8 x, UINT8 y, UINT8 w, UINT8 h)
12 {
13 1 lcd_set_rw_area(x, y, w, h);
14 1
15 1 while(h--)
16 1 lcd_put_data((UINT16)bg_pixel, w << 1);
17 1 }
18
19 void gfx_set_bg(UINT16 color)
20 {
21 1 UINT8 i;
22 1 static UINT16 curr_color;
23 1
24 1 if(curr_color != color)
25 1 curr_color = color;
26 1
27 1 /* Init background pixel */
28 1 for(i = 0; i < SCREEN_WIDTH; i++)
29 1 bg_pixel[i] = color;
30 1 }
31
32
33 void gfx_filename(UINT8 x, UINT8 y)
34 {
35 1 if(*(UINT16 xdata *)curr_finfo.pu8LongFileName == 0) {
36 2 get_short_name(&curr_finfo, _buf);
37 2 lcd_puts(x, y, _buf,0, FONTSIZE_HYPER,0);
38 2 }
39 1 else {
40 2 get_long_name(&curr_finfo, _buf);
41 2 lcd_puts_unicode(x, y, (UINT16 *)_buf,0, FONTSIZE_HYPER,0);
42 2 }
43 1 }
44
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 192 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = 2 6
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
C51 COMPILER V7.50 DISPLAY 08/18/2008 13:43:44 PAGE 2
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?