亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? revlog.txt

?? Cypress 的(鼠標+鍵盤)復合設備匯編源程序
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
; This firmware file is for demonstration purposes only.  
; Cypress Semiconductor will not assume any liability for its use.
;=======================================================================
; 3/23/00	dgw
;
;  fixed the descriptors to report usb 1.10 not 1.01
;
; ??/??/00	lxa
;
;  implemented new usb/ps2 detection algorithm.
;
; 10/05/99      bth
; 
;  fixed phantom key release bug in ps/2
;  fixed short-inhibit problem with ps/2 command clocking
;
;
; 
;
; 8/16/99      bth
; 
; rewrote endpoint 0 ISR, delegating much of the endpoint 0 traffic processing
; to the main loop. This removes much of the finite looping within the ISR
; and improves throughput.  Some of the non-compliant bugs were fixed as part of
; this rewrite.
;
; rewrote setup command parsing to be table driven
;
; rewrote descriptor parsing so that descriptors can be of arbitrary length
; and position (greater than 256 bytes and spanning page boundaries).
;
; rewrote endpoint 2 sharing to be table driven (set idle, get idle, get report)
;
; added more robust parameter checking on all setup commands
;
; fixed mouse polling rate at 24 msec, repaired mouse idle rate bug
;
;
;
; 
;
;=======================================================================
; 2/13/99      bth
; added 3-d mouse support
; 
; 2/2/99      bth
; 
; added boot-protocol switching on endpoint 2 (mouse/power reports)
; now, in boot protocol, the 2nd endpoint only reports mouse packets
; and omits the report ID, in accordance with the boot protocol format.
;
; enhanced  get_report for endpoint 2's packets 
;
; added idle counts for power and mouse packets, and enhanced get_idle
; and set_idle to handle these.
;
;=======================================================================
; 10/16/98      bth 
;
; renamed file from kbps2_07.asm to usbmain.asm, and made several changes
; to the code so that it could be combined with existing ps2 keyboard code into a
; single executable that fully supports two types of keyboards: usb with ps2 slave mouse,
; and a ps2 keyboard.  The changes are:
;
; 1: the key scanning code and its associated RAM variables were removed from
; this file and replaced by calls to the shared key scanning code which resides 
; in the separate file keyscan.asm.
;
; 2: Ram variables in this file were declared as an offset from a base value rather than
; as absolute values. This allows the variables to be arbitrarily located in RAM.
;
; 3: All writes and reads to the leds were modified to use the generic ksc_writeLED
; routine found in keyscan.asm
;
; 4: Some redundant constant declarations that were also in regs.inc were removed.
;
; 5. The 1 msec and GPIO ISRs were completely rewritten to simplify their operation.
; The suspend/resume code was gutted from these routines and moved to a background
; routine ("Suspend") which is invoked from the main loop.  This obviates the need for the
; 1msec and GPIO ISRs to interact so intensively as was the case in the previous code.
; As a result, the GPIO ISR shrank from 100 lines of code to 2 (!), while the 1 msec
; ISR shrank from 200 lines of code to about 30. 4 state variables that controlled
; the suspend/resume process were eliminated. Subroutine "Suspend" was added; this
; routine is now called from the main loop when the 1msec ISR detects no bus activity
; for 3msec or more. This routine consists mostly of old code removed from the 1msec
; and GPIO ISR routines.
;
; 6. Fixed remote wakeup so that mouse activity can now wake up the keyboard after
; a suspend.  Now the GPIO ISR ALWAYS calls mouse_int.
; See the comments for the GPIO ISR for details.
;
; 7. Added MouseConnectTask, and removed Ch11_Supp, and removed PS2_Init_Reset.
; Now, plugging/unplugging the mouse is handled entirely within MouseConnectTask
; which is repeatedly invoked from the main loop to keep track of the mouse's connect state.
; See the comments in MouseConnectTask.  This change obsoletes many of the modifications
; previously made to get the mouse to plug and play: they did not work reliably.
;
; 8. Modifications were made to kb_mouse code to improve its operation when the
; mouse is plugged and unplugged. Specifically, the mouse_machine state machine
; could get "stuck" in a non-idle state if the mouse was unplugged during a data transfer.
; This in turn would cause calls to mouse_poll to hang indefinitely.  The
; kb_mouse 1msec ISR was supposed to "free" mouse_machine in this case, but
; it was not working properly. To fix this,
; the functionality of the kb_mouse subroutine "mouse_status" was changed.
; Now, mouse_status returns the state of mouse_machine.  If mouse_status returns
; nonzero, it means that mouse_machine is in the middle of transacting with the
; mouse. The mouse 1msec ISR was in turn changed to use the result of "mouse_status"
; to time mouse transactions and to "unstick" mouse_machine in the event of a timeout.
; Due to this enhancement, the "plugin" flag and the 256msec_counter were removed
; as they were no longer necessary.
;
; 9. Writing the leds was removed from the EP0 and Bus_Reset ISR. Port 3 is shared by keyboard
; column scanning, slave-mouse control lines, and the leds.  The firmware that 
; modifies these bits executes in the background (key scan code and mouse communications)
; as well as in the ISRs (GPIO, Reset, and EP0).  There exists the possibility
; that a background task and an ISR could simultaneously access port3 and 
; corrupt certain bits.  In actuality the possibility is remote, but to reduce it
; even further, the writing of port 3 was removed from EP0 and Reset ISRs and
; put in the main processing loop.  Now, the only possibility that port3 is accessed
; by an ISR and the background simultaneously, is when a mouse is initially plugged in
; and asynchronously sends its power-on string (causing a GPIO ISR which accesses port 3),
; which could occur during key scanning which also accesses port 3.
; This likelihood is small and the only consequence is that the mouse communication
; would be corrupted for 1 pass; it will recover during the next sequence of calls to 
; MouseConnectTask from the main loop.
;
; 10. Modified operation of Bus Reset ISR. the main loop was moved to within the bus reset
; ISR to simplify the startup operation. Now, after a power-up reset, the code
; enters an infinite loop waiting for a bus reset.  The occurrence of a bus reset
; causes the Bus Reset ISR to fire, which initializes the system and runs the main
; loop.  In this way, the Bus Reset is now truly a "vulcan nerve pinch", in that
; it interrupts whatever is currently executing and restarts the code.  Previously,
; the Bus Reset would interrupt currently executing code, reinitialize global variables,
; and then would RETURN to currently executing code, which was expected to recover
; and find its way back to the main loop. This technique has shortcomings.  This new way,
; a Bus Reset truly restarts the code from scratch.  
;
; 11. added SetInterface and GetInterface support.  These were only partially implemented.
; Code was added to get SetInterface to work properly.
;=======================================================================
; 08/07/98      jk Fixed Hot and Could Reboot with PS/2 mouse connected.
; Removed the call of the "ps2_init" routine from after the call of the 
; "mouse_reset" routine.
; This modification was done in the Reset subroutine. 						
;;=======================================================================
; 07/30/98      lxa Fixed suspend operation on Chapter 9 test.
; Previous version of the code (v.06) didn't go into suspend mode during 
; Chapter 9 test. 
; Every time the variable "task" is set to 1 (SCAN_TASK) the suspend in the
; One_mSec_ISR is skipped.
; Modification in the One_mSec_ISR:
; now before checking if it is time to scan the matrix (every 4 ms) we check
; if the device is already configured, if not (this the case of Chapter9)
; we skipped the test and the "task" variable is set to 0 (NO_TASK).
;=======================================================================
; 07/24/98      jk Bugfixes
; (1) "Reset" entry point routine (POR or Watchdog). This routine always
; assumed mouse was present. This could sometimes cause problems if
; keyboard was plugged into host without a mouse connected. The former
; section of code labelled "Initialize_PS2" has been removed from the Reset
; processing routine and "Init_PS2_Reset" has been converted to a subroutine
; as it is still used by the main loop when it tries to re-connect a new
; mouse.
; (2) "Ch11_Supp" was modified to check for mouse connection before
; attempting to re-initialize it (in case it has been un-plugged).
;=======================================================================
; 10/07/98      jk Added support for true plug and play mouse.
; Version 6 did not allow random plug/un-plug of the PS/2 mouse. The 
; routines that have been modified to add this support are:
; (1) One_mSec_ISR. In the "Mouse_timer" routine, a 256msec timer has been
; added as a PS/2 watchdog. If there is no PS/2 activity for 256msec, then
; the PS/2 bus will be reset and the mouse connected flag (mouse_conx_flagC)
; will be cleared. This makes sure that the mouse command state machines are
; all reset back to idle. This disconnect event will be later recognized by 
; the main loop which will then look for new PS/2 activity indicating that the
; mous hase been re-plugged. The 256ms timer is reset back to 256ms every
; time there is any PS/2 activity (handled in "mouse_int" interrupt code)
; (2) Main Loop. Code added that will detect whether a mouse is connected
; or not. If it is, then the sequence flow is the same as version 6. If it
; does not detect a mouse, then the main loop will look at the "plugin" flag.
; This flag will be set if there is any PS/2 activity. In that case, there
; has been a mouse re-connect event and it will make the necessary calls to
; configure the PS/2 port and reset the mouse. If valid data has been received
; then we know the mouse has been successfully reset and it has sent its self
; test result. At that point, the mouse is working fine, so it is placed
; into polling mode for normal operation, and flagged as connected.
; (3) BugFix. The keyboard scan task was accidentally corrupting the PS/2
; bus. This has been fixed in the "WriteP3" routine by using the
; P3_PS2_LED_MASK which saves the state of PS/2 and LEDs before initiating
; a new scan pattern.
;=======================================================================
; 06/17/98      nxk/lxa Fixed suspend/resume problem
; Now keyboard and mouse work coming out of suspend.  Remote wakeup
; works on a real system (both mouse and keyboard), but for some
; reason, it fails to work with Ch. 11 test (the device does not
; go to suspend during the Selective Suspend and Remote Wakeup test
; under Ch. 11, and so remote wakeup cannot work).  More investigation
; is required.
; Changes:
; 1. Added the GPIO_TIMER_RESET_MASK constant to be used with register 20h
; (i.e. Global Interrupt register).  This constant is used wherever
; GPIO, 1ms, and USB Bus Reset interrupts are required (replaced the
; old constant GPIO_TIMER_MASK).
; 2. Changed the GPIO_TIMER_MASK constant to be used when just the GPIO
; and 1ms interrupts are required.
; 3. Added the MOUSE_TASK constant. This is put in the 'task' variable
; during the execution of MouseTask. The 1ms ISR will not go to suspend
; while a task is running, so that PS/2 transactions will not be
; interrupted.  
; 4. The 'suspend_in_progress' variable was added so that the 1ms ISR
; can be nested safely during the suspend procedure to allow 
; timeout capability to the mouse transactions.
;=======================================================================
; 06/17/98      nxk/lxa Upgraded to be consistent with key38.asm
;=======================================================================
; 06/12/98      nxk/lxa Removed wait loops
; Removed wait loops from SendMouseData and SendKeys routines.
;=======================================================================
; 06/12/98      nxk/lxa Fixed bug in Init routine
; Port 2 interrupts were being enabled.  Now they're disabled.
;=======================================================================
; 06/12/98      nxk/lxa Changed design for boot protocol compliance
; Keyboard uses EP1 and mouse uses EP2.  The routines that were
; affected are:
; - USB Bus Reset ISR
; - Endpoint 0 ISR
; - Endpoint 2 ISR (added)
; - SendMouseData
; - SendKeys
; Constants were defined for EP2 mode/counter registers and EP2 interrupts.
;=======================================================================
; 04/18/98      nxk/lxa/hth Integrated v36 of USB keyboard firmware
;=======================================================================
; 04/18/98      nxk/lxa Implemented new key debounce algorithm
; A new debounce algorithm was implemented which replaced the debounce
; FIFO with two arrays:  debounce_key_array and debounce_counters_array.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合久久99| 色哟哟一区二区三区| 婷婷综合久久一区二区三区| 国产精品久久久久久久久搜平片 | 亚洲欧美视频一区| 国产精品入口麻豆原神| 中文字幕二三区不卡| 国产精品污www在线观看| 中文在线一区二区| 欧美另类久久久品| 51精品秘密在线观看| 日韩久久免费av| 国产日韩欧美高清| 一区二区在线免费| 天涯成人国产亚洲精品一区av| 午夜精品影院在线观看| 久久99久久久欧美国产| 国产99久久久精品| 国产精品美女久久久久久久久久久| 亚洲午夜精品在线| 天天操天天综合网| 精品中文av资源站在线观看| 国产乱人伦偷精品视频免下载| 成人妖精视频yjsp地址| 一本一道波多野结衣一区二区| 欧美性高清videossexo| 91精品国产乱码久久蜜臀| 久久久久久久久久久久久女国产乱 | 国产午夜一区二区三区| 成人免费在线视频观看| 视频一区在线播放| 国产成人免费9x9x人网站视频| 一本一道综合狠狠老| 精品免费日韩av| 亚洲视频香蕉人妖| 久久99热这里只有精品| 日本电影欧美片| 久久久久久麻豆| 午夜影视日本亚洲欧洲精品| 国产在线播精品第三| 欧美性猛交xxxxxxxx| 91精品福利在线一区二区三区| 国产日韩v精品一区二区| 99在线精品一区二区三区| 欧美一区二区在线观看| 最新久久zyz资源站| 亚洲精品成a人| 免费的国产精品| 国产不卡免费视频| 色婷婷av一区二区三区之一色屋| 7777女厕盗摄久久久| 一区二区三区日韩在线观看| 国产精品一区在线观看你懂的| 欧美日韩不卡在线| 欧美日韩精品欧美日韩精品一| 中文文精品字幕一区二区| 久久精品国产一区二区| 欧美午夜精品一区二区三区| 成人免费小视频| 国产精品99久久久久| 91精品中文字幕一区二区三区| 4438成人网| 首页国产丝袜综合| 欧美日韩综合在线免费观看| 一区二区三区精品久久久| 国产传媒欧美日韩成人| 99免费精品视频| 国产精品另类一区| 国产精品一品二品| 精品福利在线导航| 国产制服丝袜一区| 日韩一区二区在线观看视频| 亚洲国产精品激情在线观看 | 中文字幕精品一区| 韩国理伦片一区二区三区在线播放| 7777精品伊人久久久大香线蕉完整版 | 3d动漫精品啪啪| 亚洲色大成网站www久久九九| 99久久精品国产精品久久| 中文文精品字幕一区二区| 成人免费av网站| 亚洲三级电影网站| 色哟哟一区二区三区| 亚洲夂夂婷婷色拍ww47| 欧美在线观看视频一区二区 | 日韩一区二区精品在线观看| 天堂久久一区二区三区| 欧美成人精品二区三区99精品| 麻豆精品国产传媒mv男同| 久久综合色之久久综合| 国产suv一区二区三区88区| 国产精品女主播av| 欧美影视一区在线| 午夜精品久久久久久不卡8050| 日韩国产精品久久久| 91捆绑美女网站| 欧美激情综合五月色丁香小说| 韩国理伦片一区二区三区在线播放 | 日韩欧美一级二级三级久久久| 久久精品国产网站| 中文字幕av一区二区三区免费看 | 精品国产123| 国产91露脸合集magnet| 中文成人av在线| 成人av手机在线观看| 日韩精品一级中文字幕精品视频免费观看 | 国产成人精品aa毛片| 亚洲欧洲精品一区二区三区不卡| 欧美性一二三区| 国产一区二区在线看| 亚洲女性喷水在线观看一区| 欧美精品成人一区二区三区四区| 日韩二区在线观看| 中文字幕一区二区三区乱码在线| 67194成人在线观看| 国产精品网站在线观看| 日韩午夜在线播放| 91国偷自产一区二区使用方法| 精品在线免费观看| 亚洲自拍另类综合| 国产成人亚洲综合a∨猫咪| 亚洲一区二区欧美| 中文字幕乱码久久午夜不卡 | 精品一区二区三区av| 一区二区三区欧美视频| 久久无码av三级| 91精选在线观看| 欧美性大战xxxxx久久久| 免费日韩伦理电影| 亚洲精品成人精品456| 国产精品婷婷午夜在线观看| 欧美丰满少妇xxxbbb| 国产一区999| 捆绑调教一区二区三区| 丝袜美腿成人在线| 一区二区三区精密机械公司| 国产精品久久久久久久久免费桃花| 精品不卡在线视频| av成人免费在线观看| 国产精品女主播在线观看| 精品国产123| 欧美日本视频在线| 欧美色涩在线第一页| 色综合网站在线| 美女被吸乳得到大胸91| 自拍视频在线观看一区二区| 91精品国产高清一区二区三区| 五月天亚洲婷婷| 日韩中文字幕亚洲一区二区va在线| 亚洲女人****多毛耸耸8| 91麻豆精品国产91久久久久久| av中文字幕一区| 日韩欧美成人午夜| 国产91清纯白嫩初高中在线观看| 国产电影精品久久禁18| 亚洲成a人片在线不卡一二三区| 亚洲一区视频在线| 五月天亚洲婷婷| 精品国产伦一区二区三区免费| 欧美变态凌虐bdsm| 久久久久久久久免费| 日韩一区二区三区在线| 日韩欧美国产一区二区在线播放 | 韩国视频一区二区| 国产成人综合在线| 99久久99久久精品免费看蜜桃 | 国产乱子伦一区二区三区国色天香| 蜜桃av一区二区| 国产精品一区二区三区99| 国产成人免费在线视频| av电影在线观看一区| 麻豆91精品视频| 播五月开心婷婷综合| 欧美视频一区在线观看| 欧美成人精品二区三区99精品| 国产亚洲精品免费| 欧美日韩国产一级| 26uuu精品一区二区| 国产精品你懂的在线欣赏| √…a在线天堂一区| 欧美自拍偷拍午夜视频| 欧美高清一级片在线| 国产亚洲成aⅴ人片在线观看| 国产精品传媒入口麻豆| 五月天丁香久久| 国产一区二区在线观看免费| 国产精品一区二区在线观看不卡| 色综合一区二区三区| 精品少妇一区二区三区视频免付费| 国产精品美女久久久久aⅴ国产馆| 亚洲图片欧美视频| 国产精品一卡二卡在线观看| 欧美在线观看一二区| 国产精品拍天天在线| 美国av一区二区| 欧美综合视频在线观看| 日本一区二区三区免费乱视频| 亚洲成av人在线观看| 91视频国产资源| 久久久精品国产99久久精品芒果|