This firmware translates a PS/2 mouse to a USB mouse. The translator firmware is entirely interrupt driven (with the exception of sending the data via USB to the host.) An interrupt is generated when the PS/2 start bit is received, at which time the firmware will begin its receive routine. In addition to this interrupt, every 168ms a timer overflow interrupts the main program and implements one state of the mouse state machine. This state machine handles sending bytes to and translating bytes received from the PS/2 mouse automatically. All of this is done in the background while the main program runs in the foreground. The only operation that the main program implements is sending mouse data to the PC via USB.
標簽: firmware mouse translates translator
上傳時間: 2015-04-26
上傳用戶:cuiyashuo
一個神經網絡工具箱,包括Support Vector Machine等。
上傳時間: 2015-05-09
上傳用戶:wmwai1314
Although there has been a lot of AVL tree libraries available now, nearly all of them are meant to work in the random access memory(RAM). Some of them do provide some mechanism for dumping the whole tree into a file and loading it back to the memory in order to make data in that tree persistent. It serves well when there s just small amount of data. When the tree is somewhat bigger, the dumping/loading process could take a lengthy time and makes your mission-critical program less efficient. How about an AVL tree that can directly use the disk for data storage ? If there s something like that, we won t need to read through the whole tree in order to pick up just a little bit imformation(a node), but read only the sectors that are neccssary for locating a certain node and the sectors in which that node lies. This is my initial motivation for writing a storage-media independent AVL Tree. However, as you step forth, you would find that it not only works fine with disks but also fine with memorys, too.
標簽: available libraries Although nearly
上傳時間: 2014-01-22
上傳用戶:zhoujunzhen
很好的linux內核調試軟件 兼轅馬,沒有密碼。 The ia64 and ix86 directories contain versions of kdb prior to v2.0 (kdb version v2.0, not the kernel version). Older versions of kdb had complete patches for each architecture it supported, each patch included all the common kdb code. This format was awkward to maintain and use for multiple platforms. Starting with kdb v2.0 there is a common patch against each kernel which contains all the architecture independent code plus separate architecture dependent patches. Either use an old style (v1.8 or v1.9) kdb patch or use a new style (v2.0) common patch plus the corresponding architecture dependent patch.
上傳時間: 2014-01-21
上傳用戶:wyc199288
eForth is a small portable Forth design for a wide range of microprocessors. This is the first implementation for 8086. As machine dependency is consolidated into 31 code words, moving eForth to other CPU s will be much less of a chore comparing to other Forth models.
標簽: microprocessors portable eForth design
上傳時間: 2014-01-25
上傳用戶:從此走出陰霾
graspForth is my humble attempt at a Forth-in-C that has the following goals: GCC ......... to support all 32-bit micros that GCC cross-compiles to. Relocatable . to be able to run in-place in either Flash or Ram. Fast ........ to be "not much" slower than an assembly based native Forth. Small ....... to fit-in approx 300 words in less than 25Kbytes on a 32-bit machine. Portable .... to achieve a 5 minute port to a new 32bit micro-processor, or micro-controller.
標簽: graspForth Forth-in-C following attempt
上傳時間: 2015-05-23
上傳用戶:tfyt
尋找函數的全局極小值,global minimization of contrast function with random restarts the data are assumed whitened (i.e. with identity covariance matrix). The output is such that Wopt*x are the independent sources.
上傳時間: 2013-12-15
上傳用戶:康郎
Simulation of RM(1,3), equivalent to the (8,4,4) extended Hamming code. Soft-decision decoding performed by the Green machine
標簽: Soft-decision Simulation equivalent decoding
上傳時間: 2015-07-05
上傳用戶:lindor
Simple GA code (Pascal code from Goldberg, D. E. (1989), Genetic Algorithms in Search, Optimization, and Machine Learning.)
標簽: D. E. code Optimization
上傳時間: 2014-12-07
上傳用戶:wlcaption
Electromagnetic scattering from the trees above a tilted rough ground plane generated by the stochastic Lidenmayer system is studied by Monte Carlo simulations in this paper.The scattering coefficients are calculated in three methods:coherent addition approximation,tree-independent scattering,and independent scattering.
標簽: Electromagnetic scattering generated the
上傳時間: 2013-12-06
上傳用戶:xieguodong1234