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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? readme

?? 該程序為USB HUB程序
??
字號:
;=========================================================================
;   Copyright : Cypress Semiconductor Corp, 2000.
;-------------------------------------------------------------------------
;   This is the Cypress COMBI KEYBOARD HUB Reference Design. 
;-------------------------------------------------------------------------
;   The combi means it has Y-type cable to connect both USB and PS/2.
;   Hub supports 2 or 4 port. (option)
;   Reference designe is for demonstration only. 
;   Cypress Semiconductor will not assume any responsibilities for its use.
;-------------------------------------------------------------------------
;   Design Notes:
;
;   This design implements a keyboard function and an embedded hub as a USB
;   compound device. The hub is configured as a bus-powered 4-port hub 
;   utilizing CY66113. It has Y-type cable to connect both USB and PS/2.
;   The keyboard use PS/2. if PS/2 is not connected, The USB keyboard is 
;   configured as a "virtual port" on the hub's 5th port. 
;   The keyboard,as a device, reports it's status and change over the hub's 
;   status/change interrupt endpoint along with the other 4 downstream ports 
;   of the hub.
;
;   The number of downstream ports is configurable by setting MAX_PORTS
;   in OPTION.INC. All routines support variable port number assignment 
;   and RAM allocations are made for up to 4 downstream ports. 
;-------------------------------------------------------------------------
;   Design Specifications:
;
;   [1] USB Rev 1.1
;   [2] USB Rev 1.1 Chapter 11 HUB Specification
;   [3] CY7C66113 High-Speed USB Controller with Integrated Hub data sheet
;   [4] Microsoft Keyboard Scan Code specification Rev1.3a
;   [5] HID Ver 1.1
;   [6] Combi Keyboard Hub Functional Specification Rev 1.0
;   [7] USB Language Identifiers (LANGIDs)Rev 1.0
;   [8] USB Rev 2.0
;
;=========================================================================
;   Development Environment
;-------------------------------------------------------------------------
;   Assembler:    CYASM.EXE (DOS) Version 1.94 (2000)
;                 [example:  CYASM MAIN.ASM -b -t4]
;
;   CAUTION:      CANNOT have XPAGE instructions fall within a JMP table.
;                 Code does not jump correctly for obvioius reasons.
;                 ( See JMP_TBL.ASM ). 
;                 However MUST have XPAGEON!
;
;=========================================================================
;   System parameters
;-------------------------------------------------------------------------
;   Device      CY7C66113 (DAC with 8K EPROM)
;
;   Clock Speed: 
;               12MHz internal from 6MHz external crystal (PLL)
;               USB Hub 48MHz
;
;   Instruction Cycle   
;               Most instructions are 4 to 8 cycles
;               CLK/4 => 333ns/instruction
;
;   Instructions/USB Frame Interval (1ms)
;               12000 Clocks/ms
;               Avg: 2000 instructions/ms
;
;=========================================================================
;   Module descriptions:
;   
;   ckhub.asm       ROM allocation
;   option.inc      Hardware configuration / Software option
;
;   equate.inc      Global system EQU's (CPU specific registers and MASKS)
;   malloc.inc      RAM allocation EQU's
;   macro.inc       Generic system macro definitions
;   hub.inc         Hub related definition
;
;   kbhub.asm       Main loop & 1~4 Port hub + PS/2 & USB Keyboard
;
;   kbscan.asm      Key scan, Phantome key, N-key rollover
;   kbmatrix.asm    Scan matrix
;   kb101.inc       Scan matrix definition
;
;   kbusb.asm       USB Keyboard
;
;   ps2main.asm     PS2 keyboard initial and PS2 loop
;   ps2key.asm      PS2 Keycode transmit/receive
;   ps2_io.asm      PS2 I/O Level
;   ps2.inc         PS2 definitions
;
;   ck.asm          Combi keyboard function
;
;   suspend.asm     Suspend & Resume subroutine
;
;   ocp.asm         Overcurrent detect, shutdown and report
;
;=========================================================================
; Revision History ( Please use the template below! )
;-------------------------------------------------------------------------
;   Rev     : 
;   Date    :   
;   By      :   
;-- Notes ----------------------------------------------------------------
; 
;-------------------------------------------------------------------------
;   Rev     : 1.0
;   Date    : Aug 2nd, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   Debugged to pass USBCheck 3.2 test (Chapter 9 & 11)
;   -. HubBase & KBBase address mixing problem  
;   -. ClearEndpointFeature
;   -. SetPortFeature 
;   -. SetPortSuspend (Port number is fixed.)
;   -. ClearPortChange (Branch is corrected.)
;   -. ClearHubFeature is implemented.
;   -. Descriptor errors are fixed.
;
;   (Etc)
;   New macro file is defined for conditional branch function.
;   Direct numbers are changed with proper label & Equation
;   Added comment to make it easy to understand.
;   Redundancy is removed at several position. 
;   Hub port number is replaced with label. ( 2 Port / 4 Port ) 
;   7 Port part is removed. (Conditional assembler v1.90)
;   Memory allocation is changed from 8 port to 4 port maximum.
;-------------------------------------------------------------------------
;   Rev     : 1.1
;   Date    : Aug 15th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   Keyboard routine is added.
;   USB or PS2 option can be seleted in option.inc file.
;   -. Common keyboard routine ( Key Scan, Phantom, Rollover, ...)
;   -. USB keyboard routine ( Key report, LED report, ... )
;   -. PS2 keyboard routine ( PS2 Buffering, I/O, Typematic, ...)
;-------------------------------------------------------------------------
;   Rev     : 1.2
;   Date    : Aug 17th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   -PS/2 Boot error fixed.
;   Reason: When PC is booting, it send 0xff(Keyboard reset command) to 
;           the keyboard. if the keyboard really does software reset,
;           ps2_connect input is changed to LOW short time.
;           it makes fail on boot mode rarely.
;   solution: 0xff command initial only keyboard memory.
;-------------------------------------------------------------------------
;   Rev     : 1.3
;   Date    : Aug 25th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   -USB Boot protocol error is fixed
;   -SetReport(Keyboard) stall errors in Win2K is fixed.
;   Reason: When PC is booting, GetDescriptor(Keyboard) is stalled.
;           USB Keyboard is not enumerated. software bug.
;   solution: Checking HubControlCount routine is located in Hub, 
;           KBD common routine. it was moved to Hub part and
;           Keyboard ControlCount is generated in Keyboard part newly.
;   -In emulator test, micros are already turned on. 
;    it can cause ps/2 BAT error in boot mode. (if PS/2 only connected)
;   -GetIdle, SetIdle supported. (No more stall) HIDView test PASS!
;   -HubPortBase,PortStatus,PortChange location is modified.(Malloc.inc)
;   -USB keyboard resume after wakeup
;       Upstream port K status ( 1 ~ 14msec ; 5msec for Old PC )
;       PortCounter = 1 to emulate functions below...
;           ClearPortStatus(PORT_SUSPEND)
;           SetPortChange(C_PORT_SUSPEND)
;           Set Hub EP1 AckIn
;   -When the PS/2 is connected, USB per port wakeup.
;-------------------------------------------------------------------------
;   Rev     : 1.4
;   Date    : Aug 28th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   -All interrupts are disabled while PS/2 protocol is processing.
;    it reduce the LED data error. 
;   -getbit() timing in ps2_io.asm is modified.
;   (before)
;    ----+       +-----
;        |       |    
;        +R------+      R:Read port
;   (after)
;
;    ----+       +-----
;        |       |    
;        +----R--+      R:Read port
;
;   -Over-current protection is debugged.
;
;   -Vsw Enable is added to SetPortPower() in kbhub.asm
;-------------------------------------------------------------------------
;   Rev     : 1.5
;   Date    : Aug 31st, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   -Prevent not to write zero value to Bit7 of Port3.
;   -DI added to Power on reset
;   -Keyboard disable is remarked. ( To avoid error )
;-------------------------------------------------------------------------
;   Rev     : 1.6
;   Date    : Sep 6th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   -WHQL TEST (USB) 
;       2 & 3 Key Combo test fail
;       if Any other key is pressed, Report Byte 0 (Modifier) is cleared.        
;    Reason : USB_KBD_Reset is done every main loop. (Bug)
;    Solution : USB_RESET_FLAG is defined.
;-------------------------------------------------------------------------
;   Rev     : 1.61
;   Date    : Sep 8th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   -Both PS2 and USB cable are connected, Double keys are noticed.           
;   Reason : PS2 disable interrupt, if it is re-enabled, timing is screwed up.
;   Solution : DEBOUNCE_RELEASE_TIME = 3 ( Old 2x4msec --> 3x4msec )
;
;-------------------------------------------------------------------------
;   Rev     : 1.62
;   Date    : Sep 15th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   - Cold & Warm boot problem with Win98 ( over 50% )
;   Reason : WDR clear all endpoint mode register. (Disable status)
;   Solution : If the Watchdog reset is occurred, Upplug/plug is simulated.
;              SE0 is output to USB upstream port for 700usec.
;              'ESDTEST' compile option is enabled at option.inc.
;              Simulating routine is modified to determine WDR state.
;-------------------------------------------------------------------------
;   Rev     : 1.63
;   Date    : Sep 18th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   - POR bit is cleared ([3] Processor Status and Control Register 0xFF)
;	- WDR detect bit is changed from 0x40 -> 0x10
;	- WDR SE0 Timing is changed from 700usec to 100msec (at least 1msec)
;-------------------------------------------------------------------------
;   Rev     : 1.64
;   Date    : Sep 20th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   - Cyasm version 1.94(debug)
;   - 4 port Hub only function checked. (HubOnly compile option)
;     Power port is changed from DAC port to Port0
;
;     Bit7    Bit6    Bit5    Bit4    Bit3    Bit2    Bit1    Bit0
;     OCin#4  OC_in#3 OC_in#2 OC_in#1 Out#4   Out#3   Out#2   Out#1
;
;   - SetProtocol function is added. 
;     Gateway PIII 700MHz model doesn't accept the stall of SetProtocol.
;   - String descriptor(F/W Version) is updated.
;-------------------------------------------------------------------------
;   Rev     : 1.65
;   Date    : Sep 22th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   - GetProtocol function is added.
;   - String descriptor is updated.
;   - Warning comment is added to String descriptor area.
;-------------------------------------------------------------------------
;   Rev     : 1.66
;   Date    : Nov 9th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;   - GetDeviceStatus Mask error fixed (Search index : JUK v1.66-1)
;     It only affect to Self-powered hub.
;   - HubStatus is not cleared to remain initial status 
;     (Search index : JUK v1.66-2) It only affect to Self-powered hub.
;   - Cold rebooting problem with Self-powered device 
;     It only affect to USB Keyboard Hub option.
;     (Search index : JUK v1.66-3)
;     Reason : Keyboard is enumerated improper position.
;   - GetPortStatus() error
;     (Search index : JUK v1.66-4)  
;     Reason : HubCounterRegister is not unlocked.
;	- String descriptor & Firmware version fixed (Search index : JUK v1.66-5)
;-------------------------------------------------------------------------
;   Rev     : 1.67
;   Date    : Dec 19th, 2000  
;   By      : JUK  
;-- Notes ----------------------------------------------------------------
;	- The input of unused port is masked to avoid error as described below. 
;     (search index : JUK v1.67-1)
;     
;     3654-P03 application board that uses two downstream port. and another 
;     two downstream port are just opened. These undecided input caused the 
;	  hub to change the speed of virtual keyboard.
; 
;   - String descriptor is modified with version information "v1.67" 
;     (Search index : JUK v1.67-2)
;-------------------------------------------------------------------------
;   Rev     : 1.68
;   Date    : Mar 1st, 2001  
;   By      : BTH   
;-- Notes ----------------------------------------------------------------
;
;	- 2nd interrupt endpoint on keyboard (EPA2) now used to report power/multimedia keys.
;	  Report and HID Class descriptors for EPA2 endpoint added;
;	  Idle reports implemented for EPA2 endpoint;
;	  GetIdle, SetIdle implemented for EPA2 endpoint;
;	  GetReport implemented for both keyboard endpoints;
;	  Power/MM key functionality added to both USB and PS/2
;	- Keyboard SetEndpointHalt sets EPA[1,2] response to STALL
;	- Keyboard ClearEndpointHalt sets EPA[1,2] response to NAK, resets toggle to DATA0
;	- Keyboard SetConfiguration	resets EPA[1,2] toggle to DATA0 
;	  Search index: BTH v1.68
;-------------------------------------------------------------------------

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区三区四区在线| 欧美亚洲国产bt| 日韩美女在线视频| 日韩国产欧美在线视频| 欧美三级一区二区| 亚洲成a人片在线观看中文| 94-欧美-setu| 亚洲另类中文字| 欧美性生活影院| 亚洲r级在线视频| 精品视频一区二区三区免费| 亚洲综合男人的天堂| 精品视频一区二区三区免费| 午夜不卡在线视频| 日韩欧美一区二区视频| 韩国v欧美v日本v亚洲v| 国产午夜亚洲精品理论片色戒| 国产成人在线电影| 亚洲四区在线观看| 欧美日韩视频不卡| 九九精品一区二区| 国产精品网站在线播放| 97久久久精品综合88久久| 伊人一区二区三区| 欧美一级夜夜爽| 国产原创一区二区| 国产成人综合精品三级| 国产精品伦一区| 在线观看亚洲一区| 美女视频一区在线观看| 中文欧美字幕免费| 欧美亚洲国产一区在线观看网站| 日本亚洲欧美天堂免费| 国产亲近乱来精品视频| 91福利社在线观看| 麻豆精品视频在线| 亚洲欧美在线aaa| 欧美日韩国产片| 成人爽a毛片一区二区免费| 亚洲影视资源网| 久久久精品天堂| 欧美视频第二页| 精品一区二区在线免费观看| 国产精品久久久久一区| 91精品综合久久久久久| 懂色一区二区三区免费观看| 亚洲第一激情av| 国产精品水嫩水嫩| 9191成人精品久久| 99久久精品国产观看| 免费成人你懂的| 亚洲人成在线观看一区二区| 日韩一级免费观看| 欧美亚洲国产一区二区三区| 国产福利电影一区二区三区| 午夜日韩在线观看| 亚洲你懂的在线视频| 久久综合色鬼综合色| 欧美精选一区二区| 91色乱码一区二区三区| 国产一区二区美女| 日本欧美一区二区| 一区二区国产视频| 亚洲视频综合在线| 久久久不卡网国产精品一区| 3d动漫精品啪啪一区二区竹菊 | 经典三级视频一区| 午夜天堂影视香蕉久久| 亚洲天堂av老司机| 中国色在线观看另类| 精品美女一区二区| 日韩一区二区三区四区五区六区| 欧美亚洲高清一区| 日本精品裸体写真集在线观看 | 欧美日本韩国一区| 在线亚洲人成电影网站色www| 国产不卡在线一区| 国产酒店精品激情| 国内久久精品视频| 国产真实精品久久二三区| 三级成人在线视频| 日韩综合在线视频| 色综合久久久网| 国产69精品久久久久777| 久久精品国产免费看久久精品| 亚洲国产日产av| 亚洲国产一区二区三区青草影视| 夜夜嗨av一区二区三区中文字幕 | 成人在线一区二区三区| 亚洲欧美另类小说| 亚洲精品视频免费观看| 亚洲天堂成人在线观看| 亚洲欧美乱综合| 亚洲免费视频成人| 亚洲精品大片www| 亚洲一级片在线观看| 一区二区在线观看视频在线观看| 亚洲女同女同女同女同女同69| 亚洲手机成人高清视频| 一区二区三区四区不卡在线| 亚洲一区二区三区中文字幕| 亚洲电影中文字幕在线观看| 日韩高清在线电影| 韩国女主播一区| 成人免费高清在线| 色综合久久99| 欧美日韩一级视频| 精品免费日韩av| 日本一区二区三区久久久久久久久不| 国产精品你懂的在线| 亚洲综合自拍偷拍| 欧美区一区二区三区| 6080午夜不卡| 久久网站最新地址| 中文字幕欧美一区| 亚洲妇女屁股眼交7| 久久成人久久爱| av电影天堂一区二区在线观看| 91国产精品成人| 日韩欧美国产不卡| 日本一区二区动态图| 亚洲免费毛片网站| 日本91福利区| 成人一区二区三区视频在线观看| 91色在线porny| 欧美成人一区二区三区| 中文字幕亚洲一区二区av在线| 亚洲午夜电影在线观看| 黑人巨大精品欧美一区| 色综合久久88色综合天天免费| 欧美精品自拍偷拍| 国产精品福利影院| 蜜臀久久99精品久久久久久9| 成人激情午夜影院| 日韩一级片网址| 亚洲视频一区在线观看| 日产欧产美韩系列久久99| 国产91丝袜在线播放| 欧美日韩久久一区| 国产精品卡一卡二卡三| 蜜桃传媒麻豆第一区在线观看| 91视频在线观看| 国产亚洲一区二区三区在线观看| 亚洲国产另类av| www.爱久久.com| 精品国产露脸精彩对白| 亚洲成人tv网| 99久久精品情趣| 久久精品综合网| 久久国产精品第一页| 欧美日韩中文字幕精品| 国产精品色呦呦| 激情六月婷婷综合| 8v天堂国产在线一区二区| 亚洲人成网站精品片在线观看| 国产一区二区电影| 日韩欧美中文字幕一区| 亚洲丰满少妇videoshd| 91影院在线观看| 国产精品人人做人人爽人人添 | 精品久久一区二区三区| 亚洲成人动漫在线免费观看| 一本色道a无线码一区v| 国产区在线观看成人精品 | 成a人片国产精品| 久久久亚洲精华液精华液精华液| 天天操天天综合网| 欧美性猛片aaaaaaa做受| 国产精品不卡视频| 成人午夜视频在线观看| 国产亚洲欧美日韩在线一区| 国内久久婷婷综合| 久久久久久久久久久电影| 日本成人在线电影网| 91精品国产综合久久久久久久久久| 亚洲午夜私人影院| 欧美三级日韩在线| 婷婷中文字幕综合| 在线成人av网站| 婷婷夜色潮精品综合在线| 欧美日韩一区二区不卡| 午夜电影一区二区三区| 日韩一级高清毛片| 精品一区二区影视| 精品对白一区国产伦| 国产精品亚洲视频| 国产精品二三区| 色婷婷综合久久久久中文一区二区 | 在线看日本不卡| 亚洲成av人片一区二区梦乃| 777亚洲妇女| 极品美女销魂一区二区三区免费| 久久亚洲二区三区| 成人激情动漫在线观看| 亚洲人精品午夜| 在线不卡一区二区| 国产一区美女在线| 国产精品久久久久久久久动漫| 色狠狠桃花综合| 奇米777欧美一区二区|