02 2007 档案

摘要:这段代码太好了,跟大家一起分享它。//左上角到右下角画直线.////caimouse 2007/02/11//bool CSurface::LeftTopToRightBottom(int nXStart,int nYStart,int nDeltaX,int nDeltaY){//int nDelta = CNOS_NS::Max(nDeltaX,nDeltaY);//计算判断符号,除2.int nError = nDelta>>1;//if (nDeltaX < nDeltaY){for (int i = 0; i < nDelta; i++){//画点.SetPi 阅读全文
posted @ 2007-02-12 13:56 ajuanabc 阅读(257) 评论(0) 推荐(0) 编辑
摘要:For PC AT or newer:- 8048 chip in the keyboard- 8042 chip on the PC motherboardBoth are tiny 8-bit microprocessors, programmed to understandsimple one- or two-byte commands.Features of the 8042 chip:- I/O ports: 60h read/write Data register 64h write Command register 64h read... 阅读全文
posted @ 2007-02-08 15:54 ajuanabc 阅读(232) 评论(0) 推荐(0) 编辑
摘要:PS/2 PC键盘编程的参考资料一.电气特性 1 DATA Key Data 2 n/c Not connected ... 阅读全文
posted @ 2007-02-08 15:47 ajuanabc 阅读(237) 评论(0) 推荐(0) 编辑