Welcome![Sign In][Sign Up]
Location:
Search - FIRST FOLLOW code

Search list

[Other resourceECOM

Description: 这是单板上DPRAM的驱动程序,开发环境是vxworks,是bsp的一部分。如果单板上有DPRAM内存,在启动的时候,加载操作系统之前,需要对硬件进行初始化。后续的内存操作也都是通过此驱动进行的。BSP开发人员只需要修改相关的宏就可以运行。当然,首先必须读懂源代码。此代码是我开发的一块单板的BSP的一部分,经过严格测试。因为是我开发的,且用于实验室中的单板,并非商用产品中的模块,所以不存在版权问题,与大家共享。-This is the single board DPRAM of the driver, the development environment is vxworks, bsp is a part. If a DPRAM single-board memory at startup time, load the operating system, the need for hardware initialization. Follow-up memory operations are also driven through this process. BSP developers only need to amend the relevant Acer can run. Of course, one must first understand the source code. This code is developed by a veneer part of the BSP, after rigorous testing. Because I developed in the laboratory and used for the veneer, which is not a commercial product modules, so there is no copyright issues, and share.
Platform: | Size: 454467 | Author: 丁力 | Hits:

[OS DevelopMyIE_Code

Description: 1.MyIE开源工程协议 MyIE开源工程遵循GNU通用公共许可证GPL(GNU General Public License)开发,任何人都可以永久免费安装使用,在你下载和使用MyIE源代码前,请阅读并同意这个许可(http://www.gnu.org/copyleft/gpl.html),中文版本(http://www.morequick.com/down/gpl_chs.htm). 2.工程编译提示 如果你使用的是VC++6,你需要更新2个头文件,请从这里下载: http://www.morequick.com/down/hfile.zip,然后将2个头文件\"tlogstg.h\" 和 \"exdisp.h\"放到VC++的头文件目录,如: \"C:\\Program Files\\Microsoft Visual Studio\\VC98\\Include\". -1.MyIE revenue agreement revenue engine works to follow the terms of the GNU General Public License GPL ( GNU General Public License) development, Anyone can install permanent free use, you download and use the engine source code, Please read and agree with the permission (http : / / www.gnu.org / copyleft / gpl.html). Chinese version (http : / / www.morequick.com / down / gpl_chs.htm). 2. If the compiler works suggest you use the VC 6, you need to update two header file, please download here : http : / / www.morequick.com / down / hfile.zip. Then two header file, "tlogstg.h" and "exdisp.h" has been transformed into the first VC directory , such as : "C : \\ Program Files \\ Microsoft Visual Studio \\ VC98 \\ Include. "
Platform: | Size: 384841 | Author: hhh | Hits:

[Other resourcevisualc++_xiwangchubanshe

Description: 《Visual C++ 6.0程序设计教程》 希望出版社 源代码 本书首先从Visual C++6.0的基础知识入手,详细介绍了Visual C++6.0的操作环境和应用程序的基本框架,然后按照由易到难、由浅入深地顺序介绍了用Visual C++6.0开发Windows程序的方法,包括菜单和加速键、对话框、常用控件、文本和字体类、图形图像、文件操作、多线程、动态连接库、网络编程和数据库开发等内容。书中在每一个对应的知识点后面,给出了一个或多个示例。 本书适合想按部就班学习Visual C++6.0编程并很快应用到实践中的初学者阅读。-"Visual C 6.0 Programming Guide" Publishers want the source code from the book First Visua l C 6.0 start of the basic knowledge, Details on the Visual C 6.0 operating environment and application of the basic framework, and then follow the easy to arrive difficult, elementary introduction to the order by using Visual C 6.0 for Windows procedures, including menu and accelerate key, the dialog, common control, text and font type, graphics and video, file manipulation, multi-thread, Dynamic Link Library, network programming and database development, and other content. Each book in a corresponding knowledge points behind, given one or more examples. The book for learning step by step to 6.0 Visual C programming and quickly applied to the practice of reading beginners.
Platform: | Size: 1670105 | Author: 石榴石 | Hits:

[Other resourceRFID-C++

Description: 飞利浦RC522芯片源代码。该芯片主要针对三表市场和手持设备,支持I2C/SPI/UART接口。 先发布基于普通51单片机的驱动源代码,采用串口接口,无需中断。只要接一个串口,后续会发布基于飞利浦LPC9401的读写源代码!LPC9401也是基于51核,只需连接SPI接口!有公司拿这个源代码卖钱哟-Philips RC522 chip source. The chip targeted at three tables and handheld devices market, support I2C/SPI/UART interface. Based on the first general release 51 MCU-driven source code, using serial interface, without interruption. As long as a serial port access, the follow-up will be issued based on the Philips LPC9401 write source code! LPC9401 is based on the 51 nuclear, only connecting SPI interface! A company with the source code acquisition yo! !
Platform: | Size: 1701 | Author: wxf | Hits:

[Linux-UnixLinux_Kernel_CN(1)

Description: 本书并不是特意一本Linux 的内部手册相反它是对操作系统的介绍同时以Linux作为示例书中每一章遵循从共性到特性的原则它们将首先给出核心子系统的概叙然后进行尽可能的详细描叙 我不会用routine_X()调用routine_Y()来增加bar 数据结构中foo 域的值这种方式来描叙核心算法 你自己可以通过阅读代码发现它每当需要理解一段代码时我总是将其数据结构画出来这样我发现了许多相关的核心数据结构以及它们之间的关系 每一章都是非常独立的就象Linux 核心子系统一样当然有时它们还是有联系的比如说如果你没有理解虚拟内存工作原理就无法描叙进程 硬件基本概念一章对现代PC 做了简要介绍操作系统必须与硬件系统紧密结合在一起协同工作操作系统需要一些只能够由硬件提供的服务为了全面理解Linux 你必须了解有关硬件的基础知识 软件基本概念一章介绍了软件基本原理与C 程序语言讨论了建立Linux 这样的操作系统的工具并且给出了操作系统的目标与功能的概叙 内存管理这章描叙了Linux 如何处理物理内存以及虚拟存储技术 进程管理描叙了进程的概念以及Linux 核心是如何创建管理与删除系统中的进程 进程间及进程与核心间通讯以协调它们的活动Linux 支持大量进程间通讯IPC -the book is not specifically a Linux internal manual Rather, it was the introduction of the operating system Linux simultaneously in each chapter of the book as an example to follow from the common characteristics of the principles is that they will be the first core subsystems of Syria will then proceed to the detailed depicts as possible, I will not use routine_X () call routine _Y () to increase the bar data structure foo domain of values in this manner, depicts the core algorithm you can read the code when it was found necessary to understand some code, I will always data structure drawn so I found many of the core data structure and the relationship between them each chapter very independent, just like the Linux kernel subsystem of course sometimes they like or linked, for instance if
Platform: | Size: 1200471 | Author: 陈彬 | Hits:

[GUI Developbrew window manager

Description:

 

Objective
This topic describes how to create a windowed application that will share the display with other applications.
Brew® MP windowed applications need to be written differently than traditional Brew MP applications. Traditional Brew MP applications, when running in the foreground, occupy full screen space and can modify the display at any time. In the windowing framework, multiple applications share the display at the same time and are not allowed to modify the display arbitrarily. A windowed application also needs to create one or more widgets to be used to create the windows.
A windowed application needs to:
·                  Create and initialize one or more widgets to be passed to IWindowMgr_CreateWindow().
The application can implement its own IWidget, or it can make use of an existing IWidget.
·                  Handle the EVT_APP_START_WINDOW event (and create a window).
·                  Implement handlers for visibility changes, focus changes, and extent changes. The implementation of these handlers is dependent on the details of the application.
·                  Draw in two stages:
·                                  Tell the container that drawing is necessary (ICONTAINER_Invalidate()).
·                                  Draw only when told to draw by the container (IWIDGET_Draw()).
Note: A windowed application should not call any functions that modify IDisplay directly. This includes explicit IDisplay function calls or implicit updates, such as calls to IIMAGE_Draw() or ICONTROL_Redraw(). Drawing should happen only on demand, for example, when IWIDGET_Draw() is called for the widget used to create the window. Existing Widget based applications follow these guidelines and, with minor modifications, can be ported to the windowing framework.
Event handling
A windowed application must respond to these events:
EVT_APP_START_WINDOW and EVT_APP_START
A window-based application receives EVT_APP_START_WINDOW first. If the application returns TRUE for this event, the application does not receive EVT_APP_START. If an application needs to support both the environments (window based and non-window based), it should handle both events.
When the application receives EVT_APP_START_WINDOW, it should create one or more windows.
If creation of IWindowMgr0 fails while handling EVT_APP_START_WINDOW, the application should assume that the platform does not support window-based applications. In this case, the application should return FALSE and continue the application logic in the code for EVT_APP_START.
EVT_APP_SUSPEND and EVT_APP_RESUME
After an application returns TRUE for EVT_APP_START_WINDOW, it will not receive EVT_APP_SUSPEND and EVT_APP_RESUME as non-windowed Brew MP applications do. Instead, the application must check for window status events that are sent to the widget through EVT_WDG_SETPROPERTY events. For EVT_WDG_SETPROPERTY events, wParam indicates which property was set, and dwParam specifies the value of the property. When the AEEWindowMgrExt_PROPEX_STATE property has a value of AEEWindowMgrExt_STATE_VISIBLE, the window is visible.
EVT_WDG_WINDOWSTATUS
The EVT_WDG_WINDOWSTATUS event is sent to a widget to notify it about various window related status messages. AEEWindowStatus.h contains information on the meaning of various status messages.
Sample code location

ZIP filename
Location
Run app
hellowindowapp
Brew MP Library
·                       Download and extract the ZIP file.
·                       Compile the app.
·                       Run it on the Brew MP Simulator.

Example of a windowed application
In the hellowindowapp sample, HelloWindowApp_HandleEvent handles the EVT_APP_START_WINDOW event and creates soft key and pop-up windows:
   case EVT_APP_START_WINDOW:   
      DBGPRINTF("EVT_APP_START_WINDOW");
 
      // Create the softkey and popup windows
      HelloWindowApp_CreateSoftkey(pMe);
      HelloWindowApp_CreateOrActivatePopup(pMe);
 
      // Handling this event tells Brew that we are a windowing
      // application.
      return TRUE;  
HelloWindowApp_CreateSoftkey() creates the soft key widget, sets the color text of the widget, then calls HelloWindowApp_CreateWindow() to create the window.
   WidgetWindow *pWindow = &pMe->softkeyWindow;
  
   if (pWindow->piWindowWidget != NULL) return;
   pWindow->pszDbgName = "Softkey";
   pWindow->pMe = pMe;
  
   (void) ISHELL_CreateInstance(pMe->applet.m_pIShell, AEECLSID_SoftkeyWidget,
            (void **) &pWindow->piWindowWidget);
   if (pWindow->piWindowWidget == NULL) return;
 
   {
      WidgetExtent extent = {0, HWA_SOFTKEY_HEIGHT};
      IWidget_SetExtent(pWindow->piWindowWidget, &extent);
   }
  
   (void) IWidget_SetBGColor(pWindow->piWindowWidget, MAKE_RGBA(200,200,200,255));
  
   // Now set the softkeys text
   {
      IWidget *piTextWidget = NULL;
      (void) IWidget_GetSoftkey(pWindow->piWindowWidget, PROP_SOFTKEY1, &piTextWidget);
     
      if (piTextWidget != NULL) {
         (void) IWidget_SetText(piTextWidget, L"Hover", TRUE);
      }
      RELEASEIF(piTextWidget);
 
      (void) IWidget_GetSoftkey(pWindow->piWindowWidget, PROP_SOFTKEY2, &piTextWidget);
      if (piTextWidget != NULL) {
         (void) IWidget_SetText(piTextWidget, L"Close", TRUE);
      }
      RELEASEIF(piTextWidget);
   }
 
   HelloWindowApp_CreateWindow(pMe, pWindow, AEEWindowMgrExt_CLASS_Softkey);  
HelloWindowApp_CreateWindow() creates the soft key window, as follows:
   int result;
   uint32 winId;
   AEEWindowProp propList[1];
  
   // Set custom window handler
   HANDLERDESC_Init(&pWindow->hdHandler, HelloWindowApp_WindowHandler, pWindow, NULL);
   IWIDGET_SetHandler(pWindow->piWindowWidget, &pWindow->hdHandler);
        
   propList[0].id = AEEWindowMgrExtProp_CLASS;
   propList[0].pbyLen = sizeof(winClass);
   propList[0].pby = (void *) &winClass;
     
   result = IWindowMgr_CreateWindow(pMe->piWindowMgr, (IQI*) (void *) pWindow->piWindowWidget,
      propList, ARR_SIZE(propList), &winId);
 
   if (result != SUCCESS) {
      DBGPRINTF("Window creation failed for %s: %d", pWindow->pszDbgName, result);
      HelloWindowApp_DestroyWindow(pWindow);
   } else {
      DBGPRINTF("Window %s created: id=%d", pWindow->pszDbgName, winId);
   }
HelloWindowApp_CreateOrActivatePopup() creates the widget for the pop-up window, then calls HelloWindowApp_CreateWindow() to create the pop-up window.
   pWindow->piWindowWidget = HelloWindowApp_CreateAndInitImageWidget(
                                pMe,
                                "popups.main" // Image as defined in appinfo.ini
                             );
 
   if (pWindow->piWindowWidget == NULL) return;
 
   {
      WExtent extent = {HWA_POPUP_WIDTH, HWA_POPUP_HEIGHT};
      IWIDGET_SetExtent(pWindow->piWindowWidget, &extent);
   }
 
   HelloWindowApp_CreateWindow(pMe, pWindow, AEEWindowMgrExt_CLASS_Popup);
Related information
·                  See Brew MP Widgets Technology Guide: Creating a Widgets application
·                  See Brew MP API Reference

Base version:
Brew MP 1.0
Tested version:
Brew MP 1.0
Phone tested:
No

 

Platform: | Size: 439828 | Author: bluecrest | Hits:

[Linux-UnixLinux_Kernel_CN(1)

Description: 本书并不是特意一本Linux 的内部手册相反它是对操作系统的介绍同时以Linux作为示例书中每一章遵循从共性到特性的原则它们将首先给出核心子系统的概叙然后进行尽可能的详细描叙 我不会用routine_X()调用routine_Y()来增加bar 数据结构中foo 域的值这种方式来描叙核心算法 你自己可以通过阅读代码发现它每当需要理解一段代码时我总是将其数据结构画出来这样我发现了许多相关的核心数据结构以及它们之间的关系 每一章都是非常独立的就象Linux 核心子系统一样当然有时它们还是有联系的比如说如果你没有理解虚拟内存工作原理就无法描叙进程 硬件基本概念一章对现代PC 做了简要介绍操作系统必须与硬件系统紧密结合在一起协同工作操作系统需要一些只能够由硬件提供的服务为了全面理解Linux 你必须了解有关硬件的基础知识 软件基本概念一章介绍了软件基本原理与C 程序语言讨论了建立Linux 这样的操作系统的工具并且给出了操作系统的目标与功能的概叙 内存管理这章描叙了Linux 如何处理物理内存以及虚拟存储技术 进程管理描叙了进程的概念以及Linux 核心是如何创建管理与删除系统中的进程 进程间及进程与核心间通讯以协调它们的活动Linux 支持大量进程间通讯IPC -the book is not specifically a Linux internal manual Rather, it was the introduction of the operating system Linux simultaneously in each chapter of the book as an example to follow from the common characteristics of the principles is that they will be the first core subsystems of Syria will then proceed to the detailed depicts as possible, I will not use routine_X () call routine _Y () to increase the bar data structure foo domain of values in this manner, depicts the core algorithm you can read the code when it was found necessary to understand some code, I will always data structure drawn so I found many of the core data structure and the relationship between them each chapter very independent, just like the Linux kernel subsystem of course sometimes they like or linked, for instance if
Platform: | Size: 1200128 | Author: 陈彬 | Hits:

[VxWorksECOM

Description: 这是单板上DPRAM的驱动程序,开发环境是vxworks,是bsp的一部分。如果单板上有DPRAM内存,在启动的时候,加载操作系统之前,需要对硬件进行初始化。后续的内存操作也都是通过此驱动进行的。BSP开发人员只需要修改相关的宏就可以运行。当然,首先必须读懂源代码。此代码是我开发的一块单板的BSP的一部分,经过严格测试。因为是我开发的,且用于实验室中的单板,并非商用产品中的模块,所以不存在版权问题,与大家共享。-This is the single board DPRAM of the driver, the development environment is vxworks, bsp is a part. If a DPRAM single-board memory at startup time, load the operating system, the need for hardware initialization. Follow-up memory operations are also driven through this process. BSP developers only need to amend the relevant Acer can run. Of course, one must first understand the source code. This code is developed by a veneer part of the BSP, after rigorous testing. Because I developed in the laboratory and used for the veneer, which is not a commercial product modules, so there is no copyright issues, and share.
Platform: | Size: 454656 | Author: 丁力 | Hits:

[OS DevelopMyIE_Code

Description: 1.MyIE开源工程协议 MyIE开源工程遵循GNU通用公共许可证GPL(GNU General Public License)开发,任何人都可以永久免费安装使用,在你下载和使用MyIE源代码前,请阅读并同意这个许可(http://www.gnu.org/copyleft/gpl.html),中文版本(http://www.morequick.com/down/gpl_chs.htm). 2.工程编译提示 如果你使用的是VC++6,你需要更新2个头文件,请从这里下载: http://www.morequick.com/down/hfile.zip,然后将2个头文件"tlogstg.h" 和 "exdisp.h"放到VC++的头文件目录,如: "C:\Program Files\Microsoft Visual Studio\VC98\Include". -1.MyIE revenue agreement revenue engine works to follow the terms of the GNU General Public License GPL ( GNU General Public License) development, Anyone can install permanent free use, you download and use the engine source code, Please read and agree with the permission (http :// www.gnu.org/copyleft/gpl.html). Chinese version (http :// www.morequick.com/down/gpl_chs.htm). 2. If the compiler works suggest you use the VC 6, you need to update two header file, please download here : http :// www.morequick.com/down/hfile.zip. Then two header file, "tlogstg.h" and "exdisp.h" has been transformed into the first VC directory , such as : "C : \ Program Files \ Microsoft Visual Studio \ VC98 \ Include. "
Platform: | Size: 385024 | Author: hhh | Hits:

[source in ebookvisualc++_xiwangchubanshe

Description: 《Visual C++ 6.0程序设计教程》 希望出版社 源代码 本书首先从Visual C++6.0的基础知识入手,详细介绍了Visual C++6.0的操作环境和应用程序的基本框架,然后按照由易到难、由浅入深地顺序介绍了用Visual C++6.0开发Windows程序的方法,包括菜单和加速键、对话框、常用控件、文本和字体类、图形图像、文件操作、多线程、动态连接库、网络编程和数据库开发等内容。书中在每一个对应的知识点后面,给出了一个或多个示例。 本书适合想按部就班学习Visual C++6.0编程并很快应用到实践中的初学者阅读。-"Visual C 6.0 Programming Guide" Publishers want the source code from the book First Visua l C 6.0 start of the basic knowledge, Details on the Visual C 6.0 operating environment and application of the basic framework, and then follow the easy to arrive difficult, elementary introduction to the order by using Visual C 6.0 for Windows procedures, including menu and accelerate key, the dialog, common control, text and font type, graphics and video, file manipulation, multi-thread, Dynamic Link Library, network programming and database development, and other content. Each book in a corresponding knowledge points behind, given one or more examples. The book for learning step by step to 6.0 Visual C programming and quickly applied to the practice of reading beginners.
Platform: | Size: 1670144 | Author: 石榴石 | Hits:

[SCMRFID-C++

Description: 飞利浦RC522芯片源代码。该芯片主要针对三表市场和手持设备,支持I2C/SPI/UART接口。 先发布基于普通51单片机的驱动源代码,采用串口接口,无需中断。只要接一个串口,后续会发布基于飞利浦LPC9401的读写源代码!LPC9401也是基于51核,只需连接SPI接口!有公司拿这个源代码卖钱哟-Philips RC522 chip source. The chip targeted at three tables and handheld devices market, support I2C/SPI/UART interface. Based on the first general release 51 MCU-driven source code, using serial interface, without interruption. As long as a serial port access, the follow-up will be issued based on the Philips LPC9401 write source code! LPC9401 is based on the 51 nuclear, only connecting SPI interface! A company with the source code acquisition yo! !
Platform: | Size: 1024 | Author: wxf | Hits:

[Otherll1

Description: 计算first follow集,预测分析表-Calculation of first follow set, Forecast and Analysis Table
Platform: | Size: 6144 | Author: tyty | Hits:

[ELanguagesss

Description: 编译原理,很有用的源代码printf("所得first集为:") ShowCollect(first) printf("所得follow集为:") -Compiler theory, very useful source code printf (income for the first set:) ShowCollect (first) printf (obtained follow sets:)
Platform: | Size: 3072 | Author: 庄涛 | Hits:

[ELanguagefirst+and+follow

Description: first集 与 follow集 编译原理-first set and follow the principle set compiler
Platform: | Size: 2048 | Author: yiminhui | Hits:

[Linux-Unix0701_driver-led

Description: 这是一个模块化的K2.6的LED驱动,驱动中包含了基本上所有驱动架构的特点,新手仿照写的话,首先可以有对2.6驱动架构的认识,也可以培养自身对代码规范的掌握,以便写出的代码更具有内核的规范.-This is a modular K2.6 the LED driver, driver contains essentially all the characteristics of architecture-driven, and newcomers follow the written words, first of all, can have on the 2.6-driven framework for understanding, we can train our own norms of the code master in order to write the code more normative core.
Platform: | Size: 4096 | Author: 按时地方 | Hits:

[VHDL-FPGA-Verilogfirst

Description: verilog 初学者原代码,万事开头难,CPLD也如此,第一个成功的代码测试往往后续学习的信心。需要的朋友请进-beginners verilog source code, everything is hard in the beginning, CPLD is also the case, the first successful test of the code is often the confidence of the follow-up study. Come friend in need
Platform: | Size: 137216 | Author: keny | Hits:

[ELanguagefirst-follow

Description: slr program for parsers
Platform: | Size: 1024 | Author: sss | Hits:

[Technology ManagementfirstfollowLL

Description: 很好的语法分析器,first,follow集LL算法代码,值得初学者下载。-Good parser, first, follow the set the the LL algorithm code, it is worth beginners download.
Platform: | Size: 9216 | Author: baijiao | Hits:

[Successful incentivefirstfollow

Description: First follow [rogram code in C
Platform: | Size: 17408 | Author: neha | Hits:

[ELanguagecode

Description: 编译原理,预测分析器,可求出first集,follow集,并构造出LL(1)分析器-Compiler theory, prediction analyzer can be obtained first set, follow set, and construct LL (1) parser
Platform: | Size: 1632256 | Author: jue | Hits:
« 12 3 »

CodeBus www.codebus.net