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

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

?? buffinfo.doc

?? Tutorial on keyboard buffer
?? DOC
?? 第 1 頁 / 共 3 頁
字號(hào):
         By Jim Pottkotter, 05/20/85
                        -1The Keyboard Buffer Explained-0
             -1Introduction-0
             The keyboard buffer on the PC is a neat trick.  You just key
         in letters and other characters and the computer uses them as
         necessary.  That's all there is to it, right?  Well, yes and no.
             Keyboard buffers are a neat trick, and Big Blue certainly knew
         what they were doing when they put one in the PC.  Even though
         your trusty buffer serves you well now, you can get it to do even
         more if you understand how it works.  You can clear it, load it,
         and even use it to execute batch files and commands from BASIC.
         Interested?  I will give you a short BASIC subroutine to do this
         and more.
             -1Buffers In General-0
             First, we need to cover a little background material.  Buffers
         are fundamental to computer performance.  Buffers smooth out the
         delays between comparatively fast and slow processes.  Input and
         output of all types generally fall into this category because
         these processes usually require the passing of data to and from
         external devices like keyboards, disks, and printers.  Most
         printers have at least a small buffer.  The computer is fast, but
         the printer is relatively slow.  Buffering the output to the
         printer allows the printer to catch up when it can, and frees the
         computer to do something else.
             While print buffers are an example of output buffers, keyboard
         buffers are an example of input buffers.  In this case, you are
         the slow part of the system.  The buffer allows you to plod along
         at hunt and peck speed, while your program is busy doing something
         useful.  When the program stops to handle your keyboard input, it
         can usually catch up quickly.  The result of this handy
         man-machine interface is greater throughput; you get finished
         quicker.
             -1The Keyboard Buffer-0
             Almost every keystroke you enter goes through the buffer.  I
         say almost because, as you would expect, there are exceptions.
         The buffer accepts up to 15 keystrokes before beeping at you.
         Keystrokes are stored in the buffer sequentially, FIFO fashion.
         Even keystroke combinations take up only one keystroke place in
         the buffer. Examples of these are <ALT> <F1> and <CTRL> <F10>.
         These and other combinations are treated as single keystrokes
         because the <ALT> and <CTRL> keys are actually shift keys, giving
         some keys alternate uses.
         By Jim Pottkotter, 05/20/85
             One combination you probably use frequently is <CTRL> <BREAK>.
         You may not have noticed it before, but in addition to stopping
         your program, <CTRL> <BREAK> also clears the buffer.  Another
         combination you are familiar with is <CTRL> <NUM LOCK>.  You use
         these keys to make your programs pause, or to stop a fast moving
         listing on the monitor.  This combination does not go into the
         buffer, nor does the key you press to get out of pause.  SHIFT
         <PRTSC> behaves similarly, printing the screen as requested, but
         not entering the buffer.  Function keys which you monitor under
         program control using the KEY (N) ON and ON KEY(N) GOSUB features
         of BASICA are not entered into the buffer.
             -1How To Make Heads And Tails Out Of The Buffer-0
             The buffer is actually a continuous loop.  While it has a
         limited physical size, it does not have a typical beginning or
         end.  This sounds like double-talk, but bear with me.  The memory
         required to manage the keyboard buffer consists of 34 bytes.  And,
         the buffer is in the system unit, not the keyboard as you might
         assume.  One byte points to the address of the first queued
         keystroke in the buffer.  Think of it as the head of the buffer.
         One byte points to the next available address within the buffer
         for storing a keystroke.  This next available location is called
         the tail.  If the buffer is empty and you press a key, that key
         goes in the tail of the buffer, and the tail address is updated to
         reflect the next available buffer storage position.
             The buffer consists of thirty-two bytes of storage.  Thirty
         bytes are required for holding up to fifteen keystrokes.  The
         reason the buffer takes twice as many bytes as the number of
         keystrokes is because each buffered keystroke uses two bytes of
         memory.  The two remaining bytes in the buffer represent the tail
         of the buffer, the place where the next keystroke will be stored.
         Figure 1 shows the addresses of the buffer management area in
         memory.
             You can use PEEK and POKE to examine and manipulate the
         buffer.  Or, you can use BUFFLOOK.EXE to examine the buffer, and
         BUFFLOAD.SUB in listing 1 to clear or load the buffer.
         BUFFLOOK.EXE is described here, and BUFFLOAD.SUB is described in
         detail later.
             -1A Window Into The Buffer-0
             BUFFLOOK.EXE is an interactive teaching tool.  The program
         allows you to enter keystrokes, and see what effect they have on
         the buffer.  Figure 2 is a screen print from the program.  The
         upper left portion of the screen contains the decimal and hex
         addresses of the first, last, and next active character positions
         in the buffer.  These are labelled as the head, last, and tail
         respectively.  The number of active characters in the buffer is
         also displayed.  All decimal and hex address are relative to
         segment zero.
                                         Page 2
         By Jim Pottkotter, 05/20/85
             -1The Top Of The Display-0
             The top center portion of the screen contains the real-time
         window to the buffer.  This is one of the most interesting parts
         of the display.  The window display consists of four
         sixteen-character lines of information.  The first line is a
         simple scale from one to sixteen. Remember, the buffer can hold up
         to fifteen characters, and the buffer has a tail indicating where
         the next character entered will be stored.  This scale shows the
         physical buffer positions.
             The second line shows the physical buffer contents.  Almost
         all displayable characters are shown.  Control characters such as
         line feed and carriage return would corrupt the display, so
         control characters are indicated by a period.  Extended keystrokes
         such as <ALT> <F1> do not have a character representation, so they
         are indicated by a small block, CHR$(254).
             Since almost every keystroke you enter is passed through the
         buffer, it is usually full of characters.  However, not all
         characters are active.  Active characters are those presently
         queued, and represent the characters which will be passed to the
         next program to read the keyboard.  Inactive characters are "dead
         soldiers" that have already been used.
             The third line shows the relative position within the physical
         buffer that each active character holds.  Only the active
         characters are numbered.  This line also shows the caret symbol
         (^), showing where the next active character you enter will be
         inserted.
             The fourth line labels the head, last, and tail positions
         within the buffer.  Active characters are contained between the
         head and tail markers inclusive.  This is handy when buffer
         wraparound occurs.
             -1The Main Body Of The Display-0
             The main body of the display contains columns of information,
         and provides more detail about the buffer contents.  The first two
         columns show the decimal and hex address locations of each
         character in the buffer.  The address locations are consecutive,
         and correspond to the physical buffer locations.  The physical and
         relative positions of characters in the buffer are listed in the
         third and fourth columns.
                                         Page 3
         By Jim Pottkotter, 05/20/85
             The decimal codes which represent the contents of each buffer
         character are listed in the fifth and sixth columns.  Here you
         begin to understand visually why each character in the buffer
         requires two bytes of storage.  Standard and control characters
         have a positive number in the first physical byte of storage for a
         character.  This number is the ASCII value of the character.  The
         ASCII character codes are explained on pages 1 through 5 in
         appendix G of the BASIC Reference Manual.  Extended keystroke
         combinations have a zero in this column because they cannot be
         represented using standard ASCII codes.  Extended codes are
         explained and listed on pages 6 and 7 in appendix G of the Basic
         Reference Manual.
             The sixth column usually contains the scan code of the key
         pressed.  As usual, there are exceptions.  The keyboard has 83
         primary keys which have been assigned arbitray numbers.  The scan
         code is the arbitray number assigned to the key.  You don't need
         your PC to figure out that there are more than 83 valid keystroke
         combinations.  So, some of the extended codes have been assigned
         unique codes that cannot be easily mapped to the keyboard layout.
         Appendix K in the BASIC Reference Manual has a keyboard diagram
         and list of keyboard scan codes.
             The sixth column reveals a little more information.  You can
         press <CTRL> and a letter to generate certain codes.  Press <CTRL>
         <A> and you get the same character as CHR$(1).  Press <CTRL> <B>
         and you get the same character as CHR$(2), etc.  These are control
         codes, and there is a brief description of this procedure on page
         2-15 of the BASIC Reference Manual.  BUFFLOOK.EXE shows that codes
         entered using this technique have the typical ASCII code in the
         first byte, and the primary keyboard scan code in the second
         byte.
             However, there is another way to enter these codes which gives
         a different result.  You can press <ALT> and a series of numbers
         from the numeric keypad representing the ASCII code of a character
         you want to generate.  After you enter the last digit of the
         number and release the <ALT> key, you get the corresponding
         character.  This method works for ASCII values 1 through 255.
         Page 1 of Appendix G contains a description of the procedure.
         When entering characters using this keystroke sequence, you will
         notice that the scan code is always zero.  This bit of trivia
         might be of value to you if you wanted to determine in a program
         how a character was entered.
                                         Page 4

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
粉嫩嫩av羞羞动漫久久久| 午夜精品免费在线观看| 亚洲视频一二三| 成人午夜伦理影院| 久久久久久久久久久黄色| 日本不卡免费在线视频| 精品伦理精品一区| 国产99精品国产| 亚洲日本青草视频在线怡红院| 91免费观看在线| 日韩一区在线看| 国产欧美精品一区二区色综合朱莉| 亚洲综合丝袜美腿| 欧美成人精精品一区二区频| 国产91在线观看| 中文字幕亚洲欧美在线不卡| 欧美三级视频在线播放| 麻豆精品在线播放| 国产精品蜜臀av| 欧美日韩国产一区二区三区地区| 美女视频黄a大片欧美| 2021中文字幕一区亚洲| 99re成人在线| 日本中文在线一区| 国产精品午夜久久| 欧美一区二区三区播放老司机| 久久66热偷产精品| 亚洲欧美一区二区三区久本道91| 欧美一区二区三区电影| 91免费观看视频在线| 毛片av中文字幕一区二区| 国产精品久久国产精麻豆99网站 | 一区二区免费看| 51精品秘密在线观看| 国产成人精品亚洲777人妖 | 日日摸夜夜添夜夜添亚洲女人| 日韩一级大片在线观看| 99久久综合狠狠综合久久| 蜜臀精品一区二区三区在线观看| 亚洲欧洲精品天堂一级| 日韩精品综合一本久道在线视频| 91女人视频在线观看| 久久99国内精品| 亚洲高清免费观看| 中文一区二区在线观看| 日韩视频不卡中文| 欧美私人免费视频| 91视视频在线观看入口直接观看www | 亚洲午夜三级在线| 中文字幕第一区| 精品国产1区2区3区| 欧美日韩精品电影| 91在线你懂得| 岛国一区二区三区| 国产一区二区美女| 蜜桃精品在线观看| 亚洲成a天堂v人片| 亚洲欧美电影院| 国产精品久久毛片a| 精品成人一区二区三区| 欧美一区二区视频在线观看2020 | 亚洲不卡av一区二区三区| 综合分类小说区另类春色亚洲小说欧美| 欧美精品一区在线观看| 欧美一区二区精品| 欧美日韩电影一区| 欧美理论电影在线| 欧美日韩一区视频| 欧美日韩一区三区四区| 欧美日韩高清一区二区不卡| 欧美色精品在线视频| 欧美吞精做爰啪啪高潮| 欧美亚洲日本国产| 欧美日韩一二区| 欧美乱妇一区二区三区不卡视频| 欧美三区免费完整视频在线观看| 一本大道综合伊人精品热热| 91蜜桃婷婷狠狠久久综合9色| 色综合中文字幕| 91国产丝袜在线播放| 91官网在线观看| 欧美亚洲自拍偷拍| 7777精品伊人久久久大香线蕉经典版下载 | 久久电影网站中文字幕| 亚洲综合免费观看高清完整版在线| √…a在线天堂一区| 国产精品人人做人人爽人人添| 中文字幕av一区 二区| 国产精品乱人伦一区二区| 国产精品久久精品日日| 一二三四区精品视频| 亚欧色一区w666天堂| 亚洲va国产天堂va久久en| 激情成人综合网| 日韩精品亚洲专区| 视频一区欧美日韩| 久久综合综合久久综合| 国产真实精品久久二三区| 懂色av中文一区二区三区 | 日本一区二区三区四区在线视频 | 色88888久久久久久影院野外| 欧美视频在线一区二区三区| 91精品国产全国免费观看| 久久久久久久久久久久久夜| 亚洲人精品午夜| 日韩国产在线观看一区| 国产精品中文字幕一区二区三区| 不卡在线视频中文字幕| 欧美无乱码久久久免费午夜一区| 欧美一区欧美二区| 欧美激情一区不卡| 亚洲国产wwwccc36天堂| 韩国毛片一区二区三区| 99re这里都是精品| 日韩美女在线视频| 综合久久久久综合| 美女尤物国产一区| 91蝌蚪porny成人天涯| 日韩三级视频在线观看| 国产精品网站在线播放| 日日夜夜一区二区| a在线欧美一区| 日韩一区二区在线播放| 综合久久给合久久狠狠狠97色| 麻豆精品精品国产自在97香蕉| 91网站黄www| 久久久无码精品亚洲日韩按摩| 亚洲亚洲人成综合网络| 国产91露脸合集magnet | 欧美色电影在线| 国产女人18毛片水真多成人如厕 | 18涩涩午夜精品.www| 麻豆精品视频在线| 91麻豆.com| 国产女主播一区| 极品美女销魂一区二区三区免费| 在线视频一区二区三| 欧美韩国日本一区| 久热成人在线视频| 6080yy午夜一二三区久久| 亚洲欧洲中文日韩久久av乱码| 国内成人免费视频| 69久久夜色精品国产69蝌蚪网| 亚洲久草在线视频| 成人一区二区三区在线观看| 日韩欧美另类在线| 性欧美大战久久久久久久久| 色综合久久久久| 中文字幕一区二区三区视频| 国产福利一区二区| 亚洲精品一线二线三线无人区| 丝袜美腿亚洲色图| 欧美日韩黄色一区二区| 一二三区精品福利视频| 99精品视频一区| 亚洲日本欧美天堂| 一本高清dvd不卡在线观看| 国产精品对白交换视频| 成人夜色视频网站在线观看| 国产午夜精品久久久久久免费视 | 欧美日韩综合在线免费观看| 亚洲免费观看高清在线观看| 91香蕉视频污在线| 亚洲色大成网站www久久九九| av爱爱亚洲一区| 亚洲美女视频在线观看| 色综合天天综合色综合av| 亚洲男人天堂av网| 欧美性极品少妇| 性做久久久久久| 日韩免费观看高清完整版在线观看| 毛片不卡一区二区| 久久免费精品国产久精品久久久久| 久久er99精品| 久久精品人人做| 成人高清免费观看| 亚洲免费高清视频在线| 欧美日韩国产综合一区二区三区| 日韩精品一二三区| 久久日韩粉嫩一区二区三区| 国产精品1区二区.| 国产精品久久久久久久久免费相片| 成人免费视频一区二区| ...av二区三区久久精品| 欧洲生活片亚洲生活在线观看| 午夜视频在线观看一区二区三区| 91精品国产一区二区| 丰满岳乱妇一区二区三区| 亚洲丝袜精品丝袜在线| 欧美日韩精品专区| 狠狠色丁香久久婷婷综合_中| 久久综合色之久久综合| 成人ar影院免费观看视频| 亚洲午夜精品在线| 日韩精品一区在线| www.激情成人| 日韩中文字幕一区二区三区| 久久综合色播五月| 色国产精品一区在线观看| 日韩成人av影视|