⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcd13xx.lst

📁 Keil C下通过的UCGUI,UCGUI的移植源代码
💻 LST
📖 第 1 页 / 共 5 页
字号:
C51 COMPILER V8.05a   LCD13XX                                                              04/11/2008 14:19:22 PAGE 1   


C51 COMPILER V8.05a, COMPILATION OF MODULE LCD13XX
OBJECT MODULE PLACED IN LCD13XX.obj
COMPILER INVOKED BY: D:\Program Files\keil\C51\BIN\C51.EXE gui\LCDDriver\LCD13XX.c LARGE BROWSE MDU_F120 DEBUG OBJECTEXT
                    -END PRINT(.\LCD13XX.lst) OBJECT(LCD13XX.obj)

line level    source

   1          /*
   2          *********************************************************************************************************
   3          *                                                uC/GUI
   4          *                        Universal graphic software for embedded applications
   5          *
   6          *                       (c) Copyright 2002, Micrium Inc., Weston, FL
   7          *                       (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH
   8          *
   9          *              礐/GUI is protected by international copyright laws. Knowledge of the
  10          *              source code may not be used to write a similar product. This file may
  11          *              only be used in accordance with a license and should not be redistributed
  12          *              in any way. We appreciate your understanding and fairness.
  13          *
  14          ----------------------------------------------------------------------
  15          File        : LCD13XX.C
  16          Purpose     : Driver for LCDs using a single Seiko Epson SED13XX controllers
  17                        This version supports a single LCD controller
  18                        in (almost) any hardware configuration. The following
  19                        derivatives are currently supported:
  20                        SED1352
  21                        SED1354
  22                        SED1356     (With/Without BitBlt engine support)
  23                        SED1374
  24                        SED1375
  25                        SED13806
  26                        Other Epson LCD controllers are very similar and could
  27                        be covered by this driver as well, but have not been
  28                        tested.
  29          ----------------------------------------------------------------------   
  30          Version-Date---Author-Explanation                                        
  31          ----------------------------------------------------------------------   
  32          3.00s   020724 JE     a) LCD_L0_Init changed
  33          3.00r   020708 JE     a) Changed to work with 2bpp DDP bitmaps
  34          3.00q   020705 JE     a) Changed to work with 4bpp DDP bitmaps
  35          3.00p   020705 JE     a) Optimizations changed: LCD_L0_DrawVLine
  36          3.00o   020703 JE     a) Optimizations changed: LCD_L0_DrawVLine
  37          3.00n   020624 JE     a) Optimizations added for 4bpp, 16bit bus, LCD_SWAPXY:
  38                                   LCD_L0_DrawVLine, DrawBitLine1BPP_Swap, DrawBitLine4BPP_Swap
  39          3.00m   020506 JE     a) LCD_FillRectBB changed to work with large
  40                                   rectangles (width > 1024, heigth > 1024)
  41          3.00l   020327 JE     a) DrawBitLine1BPP for 16bit bus, 4bpp:
  42                                   Compiler problem solved
  43          3.00k   020319 JE     a) DrawBitLine1BPP for 16bit bus, 4bpp optimized
  44          3.00j   020222 JE     a) Optimized version DrawBitLine16BPP added
  45                                b) Macro mapping LCD_SWAP_BYTE_ORDER changed
  46          3.00i   020222 JE     a) DrawBitLine1BPP_Swap, 16bit bus, 4bpp changed
  47                                b) LCD_L0_DrawVLine, 16bit bus, 4bpp changed
  48          3.00h   020221 JE     a) LCD_USE_32BIT_PNT added to support 32Bit offsets
  49                                b) XY2OFF changed to work with 32Bit offsets
  50                                c) BITBLT_SET_DESTINATION changed to work with 32Bit offsets
  51          3.00g   020221 JE     a) LCD_MSB_SHIFT & LCD_LSB_SHIFT removed
  52          3.00f   020221 JE     a) Remaining LCD_READ_MEM removed
  53                                b) WRITE_MEM changed for swapped mode
  54          3.00e   020218 JE     a) Use of READ_MEM, WRITE_MEM instead of 
C51 COMPILER V8.05a   LCD13XX                                                              04/11/2008 14:19:22 PAGE 2   

  55                                   LCD_READ_MEM, LCD_WRITE_MEM
  56          3.00d9  020129 JE     a) DrawBitLine4BPP: Non optimized version used if
  57                                   defined LCD_LUT_SEG
  58                                b) LCD_L0_DrawVLine, LCD_L0_FillRect:
  59                                   BitBLT-versions not used if
  60                                   defined LCD_LUT_SEG or LCD_LUT_COM
  61                                c) LCD_DrawBitmap1BPPBB: Not called if 
  62                                   defined LCD_LUT_SEG or LCD_LUT_COM
  63                                d) BitBLT support not used if
  64                                   defined LCD_LUT_SEG or LCD_LUT_COM
  65          3.00d8  020129 JE     a) Bugfix: LCD_LUT_COM with 'space' now works
  66          3.00d7  020124 JE     a) DrawBitLine1BPP, 16bit bus, 1bpp optimized
  67          3.00df  020123 JE     a) LCD_L0_DrawHLine, 16bit bus, 1bpp, 
  68                                   LCD_SWAP_BYTE_ORDER added
  69          3.00de  020123 JE     a) LCD_L0_DrawHLine, 16bit bus, 1bpp optimized
  70          3.00d4  020104 JE     a) DrawBitLine8BPP, 16Bit bus, 4bpp optimized
  71          3.00d3  011204 JE     a) BitBLT support changed
  72          3.00d2  011129 RS     a) 4bpp opt. enabled also with LCD_LUT_COM
  73          3.00d1  011115 JE     a) Some casts inserted to avoid warnings
  74          3.00d   011109 JE     a) BitBLT support changed
  75          3.00c9  011107 JE     a) LCD_L0_DrawHLine 16bpp, 16bit changed
  76                                b) BPP mapping 15->16bpp removed to keep sure
  77                                   LCD_NUMCOLORS works right
  78          3.00c8  011016 JE     a) Optimized DrawBitLine4BPP for 16 bit bus, 4 bpp mode
  79                                   now supports LCD_SWAP_BYTE_ORDER
  80          3.00c7  011016 RS     a) DrawBitLine4BPP for 16 bit bus, 4 bpp mode changed
  81          3.00c6  011016 JE     a) Optimized version DrawBitLine4BPP for
  82                                   16 bit bus, 4 bpp mode added
  83          3.00c5  010926 JE     a) Dummy read from BITBLT memory area inserted
  84                                   to shutdown BITBLT-engine after operation
  85                                   is finished
  86          3.00c4  010925 JE     a) #define SETNEXTPIXEL(c) SETNEXTPIXEL(c) deleted
  87                                b) LCD_L0_DrawVLine for 8bit BYW mode changed
  88                                c) GetPixelIndex changed
  89          3.00c3  010925 JE     a) Bugfixes: 8bit bus, LCD_MIRROR_Y, LCD_L0_Init
  90          3.00c2  010925 JE     a) Bugfixes: 16bit bus, LCD_MIRROR_Y
  91          3.00c1  010914 RS     a) LCDInt.h always included
  92          3.00c   010905 RS     a) DrawBitLine16BPP taken out via preprocessor
  93                                   for non 16 bpp modes
  94          3.00b3  010824 JE     a) DrawBitLine16BPP ok
  95          3.00b2  010824 JE     a) DrawBitLine16BPP (no opt) added, not tested
  96          3.00b1  010820 JE     a) Bugfixes for LCD_MIRROR_Y, 16 bit bus, 4 bpp
  97          3.00b   010820 RS     a) Changes for 16bpp mode and non-EPSON controllers
  98          3.00a4  010723 JE     a) Optimization added for LCD_L0_DrawVLine for
  99                                   16 bit bus, 4 bpp, SWAP_XY, MIRROR_Y
 100          3.00a3  010718 JE     a) Bugfix in LCD_L0_GetPixelIndex, LCD_SWAP_XY,
 101                                   LCD_MIRROR_X and LCD_MIRROR_Y was not
 102                                   supported
 103                                b) Bugfix: DrawBitLine8BPP, DrawBitLine4BPP:
 104                                   LCD_SWAP_XY was not supported
 105          3.00a2  010718 JE     a) Bugfix in LCD_L0_GetPixelIndex, optimized
 106                                   version for LCD_BUSWIDTH == 8
 107          3.00a1  010515 RS     a) SUperfluos compiler warnings eliminated
 108          3.00a   010509 RS     a) LUT init for 1374 fixed
 109          3.00    010430 RS     a) Optimizaion for 4bpp bitmaps in regular 8bpp
 110                                   mode
 111          2.02    010402 RS     a) LCD_GetDevCaps removed from driver
 112                                   (now LCD.c)
 113          2.00f   001030 RS     a) Optimization for 8bpp bitmaps without palette
 114                                   in 16bit bus mode now also used if
 115                                   COM LUT is being used -> mayor acceleration
 116                                   if this configuration is used (VDO/BMW)
C51 COMPILER V8.05a   LCD13XX                                                              04/11/2008 14:19:22 PAGE 3   

 117          2.00e   001019 RS     a) Optimization for 8bpp bitmaps without palette
 118                                   in 16bit bus mode now also used if
 119                                   COM LUT is being used -> mayor acceleration
 120                                   if this configuration is used (VDO/BMW)
 121          2.00d   001017 RS     a) Video memory init removed from this driver
 122                                   (normally done by LCD_Init in LCD.c)
 123          2.00c   001013 RS     a) 8bbp dd-bitmaps in 16bit bus, 4bpp configuration
 124                                   accelerated (for use with memory devices)
 125          2.00b   000925 RS     a) Source cleaned up (no effect on code)
 126          2.00a   000911 RS     a) LCD_DATAADR introduced
 127          2.00    000525 RS     a) New interface supported.
 128                                b) Support for LCD_LUT_COM added
 129          1.40a   000524 RS/JE  a) 1 BPP bitmap draw fix: Misbehaved if
 130                                   Backgroundcolor == Color
 131          1.40    000516 RS     a) LCD_GetColorIndex implemented
 132                                b) Support for simulation added
 133          1.30l   000505 RS/JE  a) 8 bit DDB fix
 134          1.30k   000428 JE     a) Optimized version of DrawBitLine8BPP (16 bit)
 135                                   now draws transparent bitmaps
 136          1.30j   000426 RS     a) Support for V1.30 interface
 137                                                                       1) LCD_SetColorIndex, LCD_SetBkColorIndex
 138                                                                          added
 139                                   2) LCD_InitLUT,LCD_SetColor, LCD_SetBkColor
 140                                      removed (now in LCD_COLOR)
 141                                b) Cleanup
 142          1.30i   000416 RS     a) Small cleanups
 143          1.30h   000411 RS     a) Optimized DrawHLine 8bpp, 8 bit bus
 144          1.30g   000411 JE     a) Now all textmodes supported in
 145                                   DrawBitLine1BPP for 1bpp mode
 146          1.30f   000411 JE     a) Support for 1bpp mode added to LCD_L0_GetPixelIndex
 147                                b) Clipping in DrawBitLine1BPP for 1bpp mode changed
 148          1.30e   000408 RS     a) 1BPP mode, 8bit bus accelerated
 149          1.30d   000408 RS     a) LCD_SetNormalDispMode, LCD_SetReverseDispMode
 150                                   eliminated
 151          1.30c   000406 JE     a) Code generation: 133x controller excluded
 152          1.30b   000404 RS     a) LCD_DrawHLine accelerated for 1BPP/8bitbus 
 153          1.30a   000403 RS     a) Support for 1bpp mode added with 16 bit bus
 154          1.30    000402 RS     a) Interface changed: LCD_GetDevCaps
 155          1.14j   000401 RS     a) Offset type changed to unsigned
 156          1.14i   000327 RS     a) LCD_SetPaletteEntry renamed LCD_L0_SetLUTEntry
 157                                   LCD_InitPalette renamed LCD_InitLUT
 158          1.14h   000324 JE     a) DrawBitLine8BPP_DDP & DrawBitLine8BPP merged
 159          1.14g   000323 RS     a) offets types changed from int to
 160                                   unsigned int in order for 16-bit CPUs
 161                                   to cope with bigger vmem areas
 162                                b) COLOR2INDEX macro created (simplifying
 163                                   driver source)
 164                                c) LCD_SetBkColorIndex, LCD_SetColorIndex
 165                                   created
 166          1.14f   000322 RS     a) 1BPP mde supported
 167          1.14e   000321 RS     a) 4BPP mode, 8 bit bus accelerated
 168          1.14d     000320 RS     a) Support for 1375 palette init added
 169          1.14c   000306 JE     a) Support for SED13806 added
 170          1.14b   991213 JE     a) LCD_DrawBitMap changed: If LCD_MIRROR_X==1 the
 171                                   standard routine DrawBitLine1BPP has to be used
 172          1.14a   991211 RS     a) 8-bit mode Swapped, y-mirror accelerated
 173                                   (using SETNEXTPIXEL)
 174          1.14    991206 RS     a) SWAP_XY modes supported, 8-bit bus modes
 175                                   accelerated
 176          1.12b   991201 RS     a) XY2OFF macro clean up: parameterorder changed
 177          1.12a   991129 RS     a) Additional defaults for config switches defined
 178                                   in order to keep config files simple
C51 COMPILER V8.05a   LCD13XX                                                              04/11/2008 14:19:22 PAGE 4   

 179          1.12    991128 RS     a) PIXELCOLOR definition moved to top in order to
 180                                   avoid compiler warnings
 181                                b) Optimizations for 8 bit modes added
 182          1.10.25 991113 RS     a) Comments brushed up
 183                                b) Cleanup in LCD_DrawBitmap1BPPBB
 184                                c) LCD_DrawBitLine1BPPBB eliminated, as its
 185                                   functionality has been completely replaced
 186                                   by LCD_DrawBitmap1BPPBB
 187                                d) Default for LCD_OPTIMIZE set to (1) for all
 188                                   configurations
 189                                e) LCD_DrawBitmap1BPPBB would not necessarily
 190                                   work correctly if the drawing area had been
 191                                   reduced because of clipping to less than one
 192                                   line. Fixed.
 193          1.10.24 991022 JE     a) Support for LCD_COMTRANS & LCD_SEGTRANS completed
 194                                b) LUT init for SED1356 changed, reverse mode supported
 195          1.10.23 991021 RS     a) Illegal optimization were used with LCD_COMTRANS
 196                                   Fixed.
 197          1.10.22 991021 JE     a) BitBLT support for SED1356 accellerated,
 198                                   drawing 1 bitmap instead of bitlines
 199                                b) LCD_TYPE_COMTRANS & LCD_TYPE_SEGTRANS (re)implemented
 200                                c) LCD_ENABLE_REG_ACCESS implemented to accellerate
 201                                   BitBLT routines with register access
 202          1.10.21 991020 JE     a) BitBLT support for SED1356 finished and cleand up
 203          1.10.20 991019 JE/RS  a) LCD_SetPalette (re)implemented for 1354 controllers
 204          1.10.19 991019 JE     a) SetBkColor/SetColor fix
 205                                b) LCD_DrawPixelAA added
 206          1.10.18 991015 JE     a) BitBLT Support added for 8bpp and 15bpp color mode
 207          1.10.17 991012 JE     a) LCD_DrawBitLine8BPP changed
 208          1.10.16 991012 JE     a) LCD_DrawHLine changed
 209                                b) Color translation in 8bpp mode supported
 210          1.10.15 991011 RS     a) LCD_DrawBitLine8BPP optimized for 16 bit bus, 8bpp
 211                                b) LCD_DrawHLine optimized for 16 bit bus, 8bpp
 212                                c) Color translation changed, PhysColors only used
 213                                   when LCD_FIXEDPALETTE == 0
 214          1.10.14 991011 JE     a) Optimizations in LCD_DrawHLine changed in 8 & 15b pp mode
 215          1.10.13 991009 RS     a) LCD_DrawHLine cleaned up for easier readability
 216                                b) Support for 8 bit bus added                     
 217                                c) XY2OFF macro cleaned up, accelerated            
 218                                d) Palettes reversed for all gray modes as default 
 219                                   (since most displays require current (or set bi ts)
 220                                   in order to make a pixel dark                   
 221                                e) DrawBitLine2BPP: Bug with transparent bitmaps   
 222                                   fixed: The left 1-4 pixel were not drawn or not 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -