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

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

?? mousetut.faq

?? 80386單片機
?? FAQ
?? 第 1 頁 / 共 2 頁
字號:

                  The Microsoft Mouse Interface Tutorial
                By Matthew Hildebrand (FidoNet 1:247/128.2)
                        Revision:  January 14, 1993


Applications wishing to interface to the mouse should do so via calls to
the industry-standard Microsoft or compatible mouse driver.  All calls to
the driver are made through interrupt 33h.

A list of answers to frequently asked questions is at the end of this
document.

Following is a summary of the functions the mouse driver provides.




                     **** MOUSE DRIVER FUNCTIONS ****

==============================
Function 00h:  Reset mouse

Call with      AX = 0000h

Return         If mouse available
                 AX = FFFFh
                 BX = number of buttons
               If mouse unavailable
                 AX = 0000h

Notes          Calling this function will initialize the mouse hardware,
               position the pointer at the screen center, set the pointer
               display page to zero, hide the pointer, reset the pointer
               shape to the default, disable any user-defined event
               handlers, enable light pen emulation, set the horizontal
               mickeys:pixels ratio to 8:8 and the vertical ratio to 16:8,
               set the double speed threshold to 64 mickeys/second, and set
               both the horizontal and vertical maximum and minimum pointer
               bounds to include the entire screen.

See also       Function 21h


==============================
Function 01h:  Show pointer

Call with      AX = 0001h

Return         Nothing

Notes          Calls to Functions 01h and 02h are cumulative; ie., if
               Function 01h is called twice, Function 02h must be called
               twice before the pointer becomes visible again.
See also       Function 02h


==============================
Function 02h:  Hide pointer

Call with      AX = 0002h

Return         Nothing

Notes          Calls to Functions 01h and 02h are cumulative; ie., if
               Function 01h is called twice, Function 02h must be called
               twice before the pointer becomes visible again.

See also       Function 01h


==============================
Function 03h:  Get pointer position and button status

Call with      AX = 0002h

Return         BX = button status
                 bit 0   left button down (if set)
                 bit 1   right button down (if set)
                 bit 2   center button down (if set)
               CX = x coordinate
               DX = y coordinate

Notes          Coordinates are always in pixels, where (0,0) is the upper-
               left of the screen.

See also       Functions 04h-06h


==============================
Function 04h:  Set pointer position

Call with      AX = 0004h
               CX = x coordinate
               DX = y coordinate

Return         Nothing

Notes          The new position will be disregarded if it lies within an
               exclusion area.

               Coordinates are always in pixels, where (0,0) is the upper-
               left of the screen.

               The position will be modified, if necessary, such that it
               lies within the horizontal and vertical limits.

See also       Function 03h


==============================
Function 05h:  Get button press information

Call with      AX = 0005h
               BX = button
                 0 = left button
                 1 = right button
                 2 = center button

Return         AX = button status
                 bit 0   left button down (if set)
                 bit 1   right button down (if set)
                 bit 2   center button down (if set)
               BX = button press counter (number since last call)
               CX = x coordinate of last press
               DX = y coordinate of last press

Notes          The button press counter for the specified button is reset
               to zero following a call to this function.

See also       Function 05h


==============================
Function 06h:  Get button release information

Call with      AX = 0006h
               BX = button
                 0 = left button
                 1 = right button
                 2 = center button

Return         AX = button status
                 bit 0   left button down (if set)
                 bit 1   right button down (if set)
                 bit 2   center button down (if set)
               BX = button release counter (number since last call)
               CX = x coordinate of last release
               DX = y coordinate of last release

Notes          The button release counter for the specified button is reset
               to zero following a call to this function.

See also       Function 04h


==============================
Function 07h:  Set pointer horizontal limits

Call with      AX = 0007h
               CX = minimum x coordinate
               DX = maximum x coordinate

Return         Nothing

Notes          The two values will be swapped if necessary.

               If necessary, the pointer will be moved such that it lies
               within the new limits.

See also       Functions 08h, 10h


==============================
Function 08h:  Set pointer vertical limits

Call with      AX = 0008h
               CX = minimum y coordinate
               DX = maximum y coordinate

Return         Nothing

Notes          The two values will be swapped if necessary.

               If necessary, the pointer will be moved such that it lies
               within the new limits.

See also       Functions 07h, 10h


==============================
Function 09h:  Set graphics pointer shape

Call with      AX = 0009h
               BX = hot spot offset from left
               CX = hot spot offset from top
               ES:DX = segment:offset of image buffer

Return         Nothing

Notes          The hot spot is the pixel of the image which the driver
               considers to be the current position.  For instance, an
               arrow pointer would have its hot spot at the upper left,
               while a crosshairs pointer would have it at the center. 
               Both the horizontal and vertical offsets must be between -16
               and 16 inclusive.

               The image buffer's length is 64 bytes.  The first 32 consist
               of a bitmask which is ANDed with the screen image, and the
               second 32 consist of a bitmap which is XORed with the screen
               image.

See also       Function 0Ah


==============================
Function 0Ah:  Set text pointer type

Call with      AX = 000Ah
               BX = pointer type
                 0 = software cursor
                 1 = hardware cursor
               CX = If BX=0:  AND mask
                    If BX=1:  Starting scan line
               DX = If BX=0:  XOR mask
                    If BX=1:  Ending scan line

Return         Nothing

Notes          If a software cursor is selected, CX and DX are as follows:
                    bits 0-7   character code
                    bits 8-10  foreground colour
                    bit 11     intensity bit
                    bits 12-14 background colour
                    bit 15     blink bit

               If the hardware cursor is selected, CX and DX are the
               starting and ending scan lines for the blinking cursor which
               the video card generates, which will depend upon the video
               card used.


==============================
Function 0Bh:  Read motion counters

Call with      AX = 000Bh
               
Return         CX = net horizontal mickey count
               DX = net vertical mickey count

Notes          This function will return the net mouse displacement since
               the last call to this function.  The returned values are
               measured in mickeys, where a negative value is upwards or to
               the left and a positive value is downwards or to the right.

See also       Functions 03h, 0Fh


==============================
Function 0Ch:  Set user-defined mouse event handler

Call with      AX = 000Ch
               CX = event mask
                 bit 0   mouse movement
                 bit 1   left button pressed
                 bit 2   left button released
                 bit 3   right button pressed
                 bit 4   right button released
                 bit 5   center button pressed
                 bit 6   center button released
               ES:DX = segment:offset of event handler

Return         Nothing

Notes          On entrance to the handler:
                 AX = mouse event mask (see Notes)
                 BX = button states
                   bit 0 left button down (if set)
                   bit 1 right button down (if set)
                   bit 2 center button down (if set)
                 CX = x coordinate of pointer
                 DX = y coordinate of pointer
                 DI = raw horizontal mickey count
                 SI = raw vertical mickey count
                 DS = mouse driver data segment

               The event mask specified in CX is placed in AX before each
               call to the handler, regardless of which of the events it
               specifies actually occurred.

               The handler may be deactivated by calling function 00h or
               this function with an event mask of zero.

See also       Functions 14h, 18h


==============================
Function 0Dh:  Activate light pen emulation

Call with      AX = 000Dh

Return         Nothing

Notes          This function activates light pen emulation for IBM BASIC. 
               The pen down condition is simulated by pressing the left and
               right buttons simultaneously.

See also       Function 0Eh


==============================
Function 0Eh:  Deactivate light pen emulation

Call with      AX = 000Eh

Return         Nothing

Notes          None.

See also       Function 0Dh


==============================
Function 0Fh:  Set mickeys to pixels ratio

Call with      AX = 0Fh
               CX = horizontal mickeys (default=8)
               DX = vertical mickeys (default=16)

Return         Nothing

Notes          The mickey values must be between 1 and 32767 inclusive.

               This function will set the number of mickeys necessary for 8
               pixels of motion to occur.

See also       Functions 13h, 1Ah, 1Bh


==============================
Function 10h:  Set pointer exclusion area

Call with      AX = 0010h
               CX = upper left x coordinate
               DX = upper left y coordinate
               SI = lower right x coordinate
               DI = lower right y coordinate

Return         Nothing

Notes          This function defines an exclusion area wherein the pointer
               is not displayed.  The exclusion area is cancelled by a call
               to function 00h or 01h, or replaced by another call to this
               function.

See also       Functions 00h-02h


==============================
Function 13h:  Set double speed threshold

Call with      AX = 0013h
               DX = speed in mickeys/second

Return         Nothing

Note           This function sets the minimum speed necessary before

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩亚洲国产综合| 日韩1区2区日韩1区2区| 日韩手机在线导航| 在线观看成人免费视频| 99久久精品国产网站| 成人免费高清视频| 高清国产一区二区| 成人综合婷婷国产精品久久蜜臀| 免费一级欧美片在线观看| 天堂久久久久va久久久久| 午夜激情一区二区三区| 午夜a成v人精品| 日韩二区三区四区| 天堂午夜影视日韩欧美一区二区| 亚洲欧美怡红院| 成人免费在线播放视频| 亚洲欧美乱综合| 夜夜嗨av一区二区三区网页| 亚洲免费观看高清| 亚洲成人动漫av| 日本欧美韩国一区三区| 久色婷婷小香蕉久久| 国产在线一区二区综合免费视频| 狠狠色丁香久久婷婷综合丁香| 成人午夜免费电影| 国产精品视频一二| 中文字幕日韩一区| 亚洲精品美国一| 日韩国产欧美在线视频| 老司机一区二区| 岛国av在线一区| 欧美羞羞免费网站| 欧美成人福利视频| 国产精品素人一区二区| 亚洲国产一区二区在线播放| 青青草视频一区| 成人黄色在线看| 欧美午夜一区二区三区免费大片| 欧美一区二区福利在线| 日本一区二区三级电影在线观看 | 日韩欧美综合一区| 欧美一区二区三区成人| 国产欧美日韩麻豆91| 亚洲黄色免费网站| 日韩高清在线一区| 国产成人午夜精品5599| 欧美优质美女网站| 精品国产网站在线观看| 中文字幕av一区二区三区| 亚洲动漫第一页| 国产91精品一区二区麻豆亚洲| 欧洲人成人精品| 久久久久久日产精品| 亚洲一区二区四区蜜桃| 成人在线视频一区| 3d动漫精品啪啪| 亚洲三级免费观看| 久久成人免费网| 国产揄拍国内精品对白| 在线观看免费亚洲| 中文字幕第一区二区| 日本一道高清亚洲日美韩| 91在线视频观看| 久久久久亚洲蜜桃| 免播放器亚洲一区| 欧美精品一二三| 韩国女主播一区| 亚洲精品日日夜夜| 国产精品18久久久久久久网站| 欧美日韩成人综合天天影院| 国产精品久久夜| 国产一区二区女| 国产综合久久久久影院| 国产精品精品国产色婷婷| 欧美乱熟臀69xxxxxx| 亚洲欧美影音先锋| 成人激情动漫在线观看| 亚洲午夜在线观看视频在线| 日韩欧美中文字幕公布| 国产精品一区二区无线| 亚洲精品国产一区二区精华液 | 欧美一三区三区四区免费在线看 | 久久久久久麻豆| 91精品办公室少妇高潮对白| 蜜桃久久久久久| 亚洲精品老司机| 精品国产免费人成电影在线观看四季| 丁香五精品蜜臀久久久久99网站| 亚洲高清视频的网址| 日本一区二区不卡视频| 欧美一区二区精品在线| 色综合久久88色综合天天6| 久久66热re国产| 亚洲一线二线三线久久久| 国产日韩欧美精品在线| 欧美三级韩国三级日本一级| 丁香婷婷综合五月| 久久综合综合久久综合| 成人激情免费电影网址| 亚洲欧美日韩中文字幕一区二区三区| 欧美一区二区视频观看视频| av电影在线观看一区| 久久99热狠狠色一区二区| 亚洲精品成人在线| 国产精品不卡一区| 日韩亚洲欧美综合| 欧美日韩高清一区二区三区| 不卡的看片网站| 国产成人在线视频网站| 美女一区二区视频| 午夜精品福利一区二区三区av | 久久草av在线| 午夜精品一区二区三区电影天堂 | 欧美色老头old∨ideo| 成av人片一区二区| 国产成人精品三级| 精品一区二区国语对白| 蜜臀久久99精品久久久久宅男| 五月婷婷综合激情| 日本亚洲三级在线| 奇米精品一区二区三区四区| 日韩av一区二区三区四区| 亚洲电影第三页| 亚洲午夜在线观看视频在线| 亚洲香蕉伊在人在线观| 一区二区三区在线免费视频| 亚洲激情在线播放| 亚洲成人中文在线| 日韩精品成人一区二区在线| 日本伊人午夜精品| 精品一区二区日韩| 国产中文字幕精品| 成人激情小说网站| 91亚洲精品久久久蜜桃网站| 日本乱码高清不卡字幕| 在线日韩一区二区| 91精品国产色综合久久ai换脸 | 亚洲人成在线观看一区二区| 国产欧美va欧美不卡在线| 国产精品的网站| 一区二区三区四区在线播放| 天天色 色综合| 激情国产一区二区 | 久久精品国产亚洲高清剧情介绍 | 玉米视频成人免费看| 一区二区三区高清在线| 日本欧美肥老太交大片| 国产在线精品免费| 91免费在线看| 日韩午夜激情视频| 国产精品久久久久久久裸模| 一区二区三区在线观看欧美| 日本特黄久久久高潮 | 亚洲一区在线视频观看| 日韩精品1区2区3区| 国产乱码一区二区三区| 色天天综合久久久久综合片| 日韩一区二区精品在线观看| 国产精品丝袜久久久久久app| 樱花草国产18久久久久| 捆绑调教一区二区三区| 成人不卡免费av| 欧美电影在哪看比较好| 亚洲国产激情av| 日本系列欧美系列| 色综合久久中文综合久久牛| 日韩欧美另类在线| 一区二区在线电影| 国产成人免费视频网站高清观看视频| 在线日韩一区二区| 国产亚洲成aⅴ人片在线观看| 亚洲一区二区三区三| 大美女一区二区三区| 欧美一区二区三区视频在线| 综合电影一区二区三区| 激情小说欧美图片| 欧美精品丝袜中出| 成人免费在线视频观看| 国产精品伊人色| 日韩三级精品电影久久久| 亚洲精品日韩综合观看成人91| 国产91精品一区二区麻豆网站| 在线不卡欧美精品一区二区三区| 国产精品二区一区二区aⅴ污介绍| 男男gaygay亚洲| 欧美日韩一区 二区 三区 久久精品| 国产情人综合久久777777| 麻豆国产欧美日韩综合精品二区| 欧美性色黄大片手机版| 亚洲午夜免费福利视频| 国产成人亚洲精品青草天美| 日韩欧美国产电影| 天天免费综合色| 欧美视频中文字幕| 亚洲欧美日韩一区二区| 成人动漫在线一区| 国产精品美女久久久久久2018| 国产一区二区伦理| 精品国产不卡一区二区三区| 麻豆视频一区二区|