自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

VxWorks driver (PCI, USB, SERIAL)

VxWorks 专栏 ------浪影

  • 博客(34)
  • 收藏
  • 关注

原创 定机票的好网站

定机票的好网站

2011-05-28 21:44:00 1392

原创 虫虫特工队

                                        ''虫虫特工队" 开张了:) 浪影捉虫记!!

2010-09-24 10:52:00 1420

转载 GUN-ld 链接脚本浅析

                         GUN-ld 链接脚本浅析                       注: 此文转自夜精灵的博客。 . Contents1. 概论2. 基本概念3. 脚本格式4. 简单例子5. 简单脚本命令6. 对符号的赋值7. SECTIONS命令8. MEMORY命令9. PHDRS命令10. VERSION命令11. 脚本内的表达式12.

2010-01-24 08:29:00 1321

转载 GB2312-80备忘录

国家标准汉字代码体系   汉字字数繁多,属性丰富,因而汉字代码体系也较复杂,包括:   (1)汉字机内码。它们是汉字在计算机汉字系统内部的表示方法,是计算机汉字系统的基础代码。   (2)汉字交换码。它们是国标汉字(如机内码)进行信息交换的代码标准。  (3)汉字输入码。它们是在计算机标准键盘上输入汉字用到的各种代码体系。   (4)汉字点阵码。它们是在计算机屏幕上显示和在打印机上

2008-06-23 00:02:00 1388

转载 Real Mode IVT Map

The following is a list of the standard BIOS interrupts used in a typical BIOS.  Interrupt Address

2008-05-31 17:35:00 840

转载 AMIT/AMI BIOS Post Codes

AMI BIOS Post Procedures AMI BIOS Text Error Messages AMIT BIOS Post Codes (Prior to April 1990) AMI BIOS Post Codes (After April 1990)

2008-05-31 17:33:00 3138

转载 CMOS Memory Map

Below is a typical CMOS RAM memory map for an AT PC.  Under a 128byte ISA compatible CMOS, 16 bytes (00h-0fh) is the real time clock, 32 bytes (10h-2Fh) is the ISA configuration data, 16 bytes (30h-3F

2008-05-31 17:30:00 2138

转载 BDA - BIOS Data Area - PC Memory Map

Address Size    Description 00:00 256dwords Interrupt vector table 30:00 256bytes Stack area used during post and bootstrap 40:00 word COM1 port address 40:02 word COM2 port address 40:04 word COM3 po

2008-05-29 23:38:00 3199

原创 如何检测非MFC程序的内存泄露?

在调试MFC程序时,在应用程序入口函数所在的模块(.cpp)加入如下语句:#define _CRTDBG_MAP_ALLOC #includestdlib.h> #includecrtdbg.h>在应用程序入口函数中加上如下语句:_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);程序退出时,如

2008-05-19 16:00:00 1384

转载 The Portable Executable File Format from Top to Bottom

 Randy KathMicrosoft Developer Network Technology Group Download the EXEVIEW sample. (Afterwards, use PKUNZIP.EXE -d to recreate directory structure.) Download the PEFILE sample. (Afterwards, us

2008-05-16 16:37:00 2177

转载 “PE文件格式”1.9版 完整译文(附注释)

作 者: ah007时 间: 2006-02-28,13:32链 接: http://bbs.pediy.com/showthread.php?t=21932$Id: pe.txt,v 1.9 1999/03/20 23:55:09 LUEVELSMEYER Exp $PE文件格式系列译文之一----          【翻译】“PE文件格式”1.9版 完整译文(附注释)=============

2008-05-16 12:02:00 1571

转载 PE文件格式详解(下)

作者:MSDN译者:李马 (http://home.nuc.edu.cn/~titilima)预定义段    一个Windows NT的应用程序典型地拥有9个预定义段,它们是.text、.bss、.rdata、.data、.rsrc、.edata、.idata、.pdata和.debug。一些应用程序不需要所有的这些段,同样还有一些应用程序为了自己特殊的需要而定义了更多的段。这种做法与MS-DOS

2008-05-16 11:56:00 751

转载 PE文件格式详解(上)

作者:MSDN译者:李马 (http://home.nuc.edu.cn/~titilima) 摘要    Windows NT 3.1引入了一种名为PE文件格式的新可执行文件格式。PE文件格式的规范包含在了MSDN的CD中(Specs and Strategy, Specifications, Windows NT File Format Specifications),但是它非常之晦涩。   

2008-05-16 11:52:00 670

原创 Tutorial 7: Export Table

We have learned about one part of the dynamic linking, namely the import table, in the previous tutorial. Now we will learn about the other side of the coin, the export table.Download the example.

2008-05-15 21:00:00 819

原创 Tutorial 6: Import Table

We will learn about import table in this tutorial. Let me warn you first. This tutorial is a long and difficult one for those who arent familiar with the import table. You may need to read this tutor

2008-05-15 17:38:00 908

转载 Tutorial 5: Section Table

Download the example.Theory:Up to this tutorial, we learned about the DOS header, the PE header. What remains is the section table. A section table is actually an array of structure immediately fo

2008-05-15 17:30:00 651

转载 Tutorial 4: Optional Header

We have learned about the DOS header and some members of the PE header. Heres the last, the biggest and probably the most important member of the PE header, the optional header.To refresh your memo

2008-05-15 16:38:00 516

转载 Tutorial 3: File Header

In this tutorial, we will study the file header portion of the PE header. Lets summarize what we have learned so far: DOS MZ header is called IMAGE_DOS_HEADER. Only two of its members are im

2008-05-15 16:31:00 567

转载 Tutorial 2: Detecting a Valid PE File

[Iczelions Win32 Assembly Homepage]In this tutorial, we will learn how to check if a given file is a valid PE file.Download the example.Theory:How can you verify if a given file is a PE file? T

2008-05-15 16:13:00 774

转载 Tutorial 1: Overview of PE file format

Iczelions Win32 Assembly HomepageThis is the complete rewrite of the old PE tutorial no1 which I considered the worst tutorial I have ever written. So I decided to replace it with this new one.PE

2008-05-15 15:46:00 851

转载 Playing with the Stack

Chavdar Dimitrov (view profile)November 14, 2002 Environment: MSVC6, Borland C++ 5.02, Borland C++ Builder 6, NT4, Win2000 In this essay, I am goi

2008-05-13 21:12:00 822

转载 WBINVD--Write Back and Invalidate Cache

WBINVD--Write}}--> Back and Invalidate Cache Opcode Instruction Descripti

2008-05-13 21:03:00 1823

原创 C/C++ call stack traces

哎,郁闷,不知道是CSDN的bug还是有人故意捣乱,辛辛苦苦写的文章被替换成“自由的思维”一文,真是百思不解呀,至此也没有什么再写的激情了!(该程序能输出调用栈上的函数名称,实参个数及其值,以及函数调用处的偏移量。像VC++ 6.0中的call stack)控制台输出如下:StackTrace dump begin...StackTrace(  )Call_C( 0x0000000A,

2008-05-09 18:43:00 1787

原创 C++ Thunk技术(初学版)

今天看到一篇关于Thunk技术的文章,特转过来。这里想说的是:代码中的关键点为用指令jmp pFunc跳转到你想要执行的函数pFunc。指令“jmp xxxx”占5个字节,代码中用了个一字节对齐的结构体struct Thunk ,当然也可以用 unsigned char code[5]; 说另一个关键点就是地址计算了,jmp xxxx指令用了相对跳转地址,相对地址 = 要跳转函数的

2008-04-29 18:24:00 3463 2

原创 VMware Linux RedHat 9.0 tftp server配置(修改)

(平台:Windows XP sp2 + VMware RedHat 9.0) TFTP是用来下载远程文件的最简单网络协议,它其于UDP协议而实现。嵌入式linux的tftp开发环境包括两个方面:一是linux服务器端的tftp-server支持,二是嵌入式目标系统的tftp-client支持。因为u-boot本身内置支持tftp-client,所以嵌入式目标系统端就不用配置了

2008-04-29 17:39:00 3088

原创 WindML PC-BIOS 驱动实现细节概述

 近日研读了一下WindML中pc-bios的显卡驱动源码,有点收获。遂随手写下该驱动实现的大体过程,以备日后查阅!PC-BIOS驱动顾名思义,就是该驱动调用了BIOS中断来实现对显卡驱动。一:基础知识1:real模式下的内存分布,大致情况如下:(只讲这篇文章能用到的)| 高端内存          || 上位内存384K | (具体分布如下图)| 常规内存640K | (

2007-10-25 09:22:00 2403 1

原创 跳转指令之目标地址的疑惑!

以前看汇编代码时,从来就没有注意到call, jmp及其它条件调转指令的目标地址会在编译成机器代码的时候会被改变。最近看VxWorks 5.5的x86中断源码时,突然看到call指令调用的不是所调用函数的地址,而是该所调用函数地址与call指令所在地址的下一条指令的地址之差。当时真是百思不得其解,后偶然从一些资料上得知这是跟机器相关的。这应该是出于缩短指令长度的考虑,原来如此!(当然也有用绝对调转

2007-10-25 08:17:00 1403

原创 Zinc 6.0 下RoundCornerButton补遗

Zinc 6.0中的 demo/med/ 中自带一个RoundCornerButton控件,但是她有“残角”,特别是按钮较大时就更明显了。如果窗口的背景色和按钮的背景色不一样时候,这时候就特别地难看。偶的按钮是直接放在Bitmap上的,刚开始偶想通过用MODE_XOR方式重画 “残角”区域,不过未成功。后来偶又想通过创建透明Bitmap来“消残”,结果还是无功而返,就这样我就把这个问题扔一旁了

2007-09-24 14:33:00 809

原创 WindML 2.0.x USB Mouse Driver

虽然WindML 3.0.x中有USB mouse driver, 但是偶的项目用的是WindML 2.0.x + Zinc 6.0.1而WindML 2.0.x中又没有USB Mouse driver,  偶只好从WindML 3.0.x 中把USB mouse driver "拿来":-)由于WindML 2.0和 WindML 3.0中驱动的一般结构的不同,对源代码需要做一定修改才能

2007-09-24 11:15:00 1334

原创 VxWorks下用CF卡作启动盘的详细步骤(修改版)

首先感谢gaoping8384 (from EDW)【续】硬盘加载 【第一步】 修改config.h中的启动行参数: (要注意你的CF卡是使用哪个ata控制器) (1) 在config.h中 #define DEFAULT_BOOT_LINE /: “ata=1,0(0,0)host:/ata1/vxWorks h=192.168.0.24 e=192.168.0.55 o=rtl" 【第二步

2007-03-22 21:02:00 7204

原创 VC++ 6.0 CSMA/CD协议仿真程序

 最近用VC++ 6.0写了一个CSMA/CD协议的仿真程序。此程序是从一个已有的用JAVA写的程序改过来的。这个程序采用了多线程,看起来工作不错,如有需要源码的可以联系偶[email protected]

2007-03-20 10:46:00 3317 16

原创 WindML下显示器高分辨率和刷新率的解决方案

提供WindML下显示器高分辨率和刷新率的解决方案!特别是在PC-BIOS VBE模式下的高分辨率和高刷新率问题! 在显卡能支持的情况下,能随意设定刷新率,如:60Hz, 75Hz, 85Hz等等。

2006-07-19 23:22:00 2004 2

原创 pl2303 VxWorks驱动

pl2303 USB to Serial VxWorks驱动开发成功,有需要着请与偶联系![email protected]

2006-07-19 23:18:00 2875 1

原创 NetMos 9845 VxWorks驱动

 有需要者,请联系偶![email protected]

2006-07-05 17:34:00 2010

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除