灰什么丧什么| 阴婚是什么意思| 大便出血吃什么药好得快| 梦见吃蜂蜜是什么预兆| 海参是补什么的| 为什么新疆人长得像外国人| 年薪10万算什么水平| 干什么| 下嘴唇发紫是什么原因| 下饭是什么意思| 缺什么补什么| 1952年属什么| 属相鸡与什么属相相合| 什么药治便秘效果最好最快| 清关什么意思| 欲钱看正月初一是什么生肖| 黑色记号笔用什么能擦掉| 空腹喝牛奶为什么会拉肚子| 显妣是什么意思| 皮下水肿是什么原因| 不怕流氓什么就怕流氓有文化| 屁多又臭是什么原因| 过房是什么意思| 血压高吃什么食物好| 大学211和985是什么意思| 胸膈痞闷是什么症状| 不孕不育的症状是什么| 房性早搏什么意思| 什么东西可以美白| 料油是什么油| 覅什么意思| 轮回是什么意思| 儿童过敏性咳嗽吃什么药| 黄花菜都凉了什么意思| 梦见母亲去世预示什么| 子宫大是什么原因| 专科考研需要什么条件| 手脚发麻吃什么药| 梦见大火烧房子是什么意思| 柔情似水是什么意思| 麝香是什么动物| 什么龙| 痛经喝什么能缓解| 吃什么养肝护肝效果最好| 三月十号是什么星座| 梦见爸爸去世预兆什么| 火碱是什么| pd医学上是什么意思| 男人为什么喜欢舔女人下面| 胎动频繁到什么程度说明缺氧| 情绪上来像发疯一般是什么病| 补肾最好的药是什么药| 灰水是什么| 梦见剪头发预示什么| 为什么来姨妈左侧输卵管会痛| 哑巴是什么原因造成的| 心脏早搏是什么症状| 带状疱疹是什么原因引起| 为什么手指会发麻| 月经发黑是什么原因| 长疱疹是什么原因| 跑步机cal是什么意思| 本科是什么意思| 高血压能吃什么水果| 丹毒不能吃什么| 小孩爱流鼻血是什么原因| 1962年属虎的是什么命| 安保是什么工作| 肺火大吃什么药| 心理咨询挂什么科| 神经疼是什么原因| 胳肢窝疼痛是什么原因| 斑驳是什么意思| 月经提前10天正常吗是什么原因| 又什么又什么的花| 孕妇吃维生素c有什么好处| e站是什么| 梨不能和什么一起吃| 对调什么意思| 血糖仪什么牌子好| 1995年五行属什么| 老人脚背肿是什么原因| 藏红花能治什么病| 利可君片是治什么病| 艺体生是什么意思| 八字刘海适合什么脸型| 油是什么意思| 太妹是什么意思| 半夜腿抽筋是什么原因| hla一b27阳性是什么意思| 不经历风雨怎能见彩虹是什么意思| 肝气不舒有什么症状| 子宫增厚是什么原因| 阿奇霉素是什么药| 什么叫包皮过长| 红色代表什么| 蕊五行属什么| 双喜临门指什么生肖| 鼻涕倒流到咽喉老吐痰吃什么药能根治| 后颈长痘痘是什么原因| 汾酒属于什么香型| 什么时间立秋| 趋光性是什么意思| 虾青素有什么作用| 产检是什么意思| 盆腔积液是什么意思啊| 苟不教的苟是什么意思| h家是什么牌子| 七月初七是什么节| 细胞器是什么| 右后背疼什么原因| 肉苁蓉与什么搭配好| 猫不能吃什么| 午时右眼跳是什么预兆| 黄痰吃什么中成药| 四什么八什么| 宫腔镜是什么手术| 处女膜破了什么症状| 婴儿什么时候可以睡枕头| 妈妈的奶奶叫什么| 小孩办身份证需要什么材料| 为什么头顶会痛| xo什么意思| 伽利略是什么学家| 乳酸偏高是什么意思| 电压高是什么原因造成| 阴虱是什么原因引起的| 脚指甲变白是什么原因| 老年人爱出汗是什么原因| 5月21日是什么星座| 唇炎去药店买什么药| 孕早期失眠是什么原因| homme是什么意思| 大便隐血阳性是什么意思| 下架是什么意思| 绝交是什么意思| 疝气长在什么位置图片| 无利不起早是什么意思| 牛仔布料是什么面料| 50岁今年属什么生肖| 什么春白雪| 薏米是什么米| 被隐翅虫咬了用什么药| 四周岁打什么疫苗| 车辙是什么意思| 贫血检查查什么项目| 血小板异常是什么原因| 猫咪的胡子有什么作用| 肩膀疼去医院挂什么科| 孕妇血糖高可以吃什么水果| 寻麻疹涂抹什么药膏| 如厕什么意思| 痔疮不能吃什么东西| 牙疼吃什么水果好| 什么的高楼| 什么牌子的空调好| 耐药是什么意思| 化橘红是什么东西| 亥和什么合| 烧心吃什么药| 吊龙是什么| 胸骨突出是什么原因| 腰闪了是什么症状| 黑匣子什么颜色| 自我感动是什么意思| 叛变是什么意思| 女人吃黄芪有什么好处| 手脱皮是缺什么维生素| 梦见跟别人打架是什么意思| 令瓦念什么| 今年阴历是什么年| 见字如面什么意思| 两个a型血的人生的孩子什么血型| 恒顺众生是什么意思| 79是什么意思| 异位性皮炎是什么意思| 吃紫菜有什么好处和坏处| 小孩睡觉流鼻血是什么原因引起的| 杜甫的诗被称为什么| 喝苦荞茶对身体有什么好处| dha中文叫什么| 脚干裂用什么药膏| 茉莉花茶有什么功效| 小孩指甲有白点是什么原因| 三楼属于五行属什么| 鹿米念什么| 手指脱皮是什么原因| 阴虱长什么样子图片| 眼珠子疼是什么原因| 外阴瘙痒抹什么药| 应接不暇的暇是什么意思| 正畸是什么意思| 膝盖咔咔响吃什么药| 昏睡是什么症状| 骨折吃什么| 支配是什么意思| 11月生日是什么星座| cc代表什么意思| 种植牙是什么| 百香果什么季节成熟| 吃番茄有什么好处| 白痰吃什么药| 鼻炎吃什么药最好| 超负荷是什么意思| 天天睡不着觉什么原因| 成吉思汗和忽必烈是什么关系| 张什么结什么| 公道自在人心是什么意思| cooc香水是什么牌子的| 舌系带长有什么影响吗| 什么水果榨汁好喝| 西凤酒是什么香型| 魈是什么意思| 怀孕肚子胀是什么原因| 清江鱼又叫什么鱼| 蓄谋已久什么意思| 喝隔夜茶有什么好处和坏处| 荨麻疹涂什么药膏| 冰箱底部漏水是什么原因| 现在是什么季节| 什么马奔腾| 什么是掌跖脓疱病| 女人为什么会叫床| 什么的夕阳| 薄荷泡水喝有什么功效| 5.8是什么星座| 鱼用什么游泳| 伤寒是什么病| 属牛的本命佛是什么佛| 邓超的老婆叫什么名字| blissful是什么意思| 吃什么会长胖| prada是什么品牌| 工作效率是什么意思| 飞蚊症用什么药| qid医学上是什么意思| 空调制热效果不好什么原因| 兵解是什么意思| 邮箱抄送是什么意思| 拉肚子出血是什么原因| 刚刚什么地方地震了| 得了梅毒会有什么症状| 足齐念什么| 什么鸡| 斜视是什么| 化验血能查出什么项目| 属牛的五行属性是什么| coco什么意思| 7月15日是什么节日| 漂洗什么意思| 痛风是什么症状| quake是什么意思| 黄瓜又什么又什么| 切忌什么意思| 鼻子痒用什么药好| 发烧惊厥是什么症状| 雪五行属什么| 艾灸起水泡是什么原因| 腐女是什么| 条件兵是什么意思| 你是电你是光是什么歌| 阴阳怪气什么意思| 健康证都查什么| 放屁多是什么原因引起的| 百度

[北京] 非常林奕华作品—舞台剧《红楼梦》北京站

百度 各级纪检监察机关要保持高度警惕,紧紧盯住作风领域出现的新变化新问题,对“四风”要露头就打,有苗就掐,死死摁住不松手,久久为功,锲而不舍抓监督检查,不放过任何一个关键节点,发现一起查处一起,释放“越往后执纪越严”的强烈信号,让纪律真正成为带电的高压线,一刻不停歇地推动作风建设向纵深发展。

Text mode is a computer display mode in which content is internally represented on a computer screen in terms of characters rather than individual pixels. Typically, the screen consists of a uniform rectangular grid of character cells, each of which contains one of the characters of a character set; at the same time, contrasted to graphics mode or other kinds of computer graphics modes.

Text mode applications communicate with the user by using command-line interfaces and text user interfaces. Many character sets used in text mode applications also contain a limited set of predefined semi-graphical characters usable for drawing boxes and other rudimentary graphics, which can be used to highlight the content or to simulate widget or control interface objects found in GUI programs. A typical example is the IBM code page 437 character set.

An important characteristic of text mode programs is that they assume monospaced fonts, where every character has the same width on screen, which allows them to easily maintain the vertical alignment when displaying semi-graphical characters. This was an analogy of early mechanical printers which had fixed pitch. This way, the output seen on the screen could be sent directly to the printer maintaining the same format.

Depending on the environment, the screen buffer can be directly addressable. Programs that display output on remote video terminals must issue special control sequences to manipulate the screen buffer. The most popular standards for such control sequences are ANSI and VT100.

Programs accessing the screen buffer through control sequences may lose synchronization with the actual display so that many text mode programs have a redisplay everything command, often associated with the Ctrl+L key combination.

History

edit

Text mode video rendering came to prominence in the early 1970s, when video-oriented text terminals started to replace teleprinters in the interactive use of computers.

Benefits

edit

The advantages of text modes as compared to graphics modes include lower memory consumption and faster screen manipulation.[1] At the time text terminals were beginning to replace teleprinters in the 1970s, the extremely high cost of random-access memory in that period made it exorbitantly expensive to install enough memory for a computer to simultaneously store the current value of every pixel on a screen, to form what would now be called a framebuffer. Early framebuffers were standalone devices which cost tens of thousands of dollars, in addition to the expense of the advanced high-resolution displays to which they were connected.[2] For applications that required simple line graphics but for which the expense of a framebuffer could not be justified, vector displays were a popular workaround. But there were many computer applications (e.g., data entry into a database) for which all that was required was the ability to render ordinary text in a quick and cost-effective fashion to a cathode-ray tube.

Text mode avoids the problem of expensive memory by having dedicated display hardware re-render each line of text from characters into pixels with each scan of the screen by the cathode ray. In turn, the display hardware needs only enough memory to store the pixels equivalent to one line of text (or even less) at a time. Thus, the computer's screen buffer only stores and knows about the underlying text characters (hence the name "text mode") and the only location where the actual pixels representing those characters exist as a single unified image is the screen itself, as viewed by the user (thanks to the phenomenon of persistence of vision).

For example, a screen buffer sufficient to hold a standard grid of 80 by 25 characters requires at least 2,000 bytes.[1] Assuming a monochrome display, 8 bits per byte, and a standard size of 8 times 8 bits for each character, a framebuffer large enough to hold every pixel on the resulting screen would require at least 128,000 bits, 16,000 bytes, or just under 16 kilobytes. By the standards of modern computers, these may seem like trivial amounts of memory, but to put them in context, the original Apple II was released in 1977 with only four kilobytes of memory and a price of $1,300 in U.S. dollars (at a time when the minimum wage in the United States was only $2.30 per hour). Furthermore, from a business perspective, the business case for text terminals made no sense unless they could be produced and operated more cheaply than the paper-hungry teleprinters they were supposed to replace.

Another advantage of text mode is that it has relatively low bandwidth requirements in remote terminal use. Thus, a text mode remote terminal can necessarily update the screen much faster than a graphics mode remote terminal linked to the same amount of bandwidth (and in turn will seem more responsive), since the remote server may only need to transmit a few dozen bytes for each screen update in text mode, as opposed to complex raster graphics remote procedure calls that may require the transmission and rendering of entire bitmaps.

User-defined characters

edit

The border between text mode and graphical programs can sometimes be fuzzy, especially on the PC's VGA hardware, because many later text mode programs tried to push the model to the extreme by playing with the video controller. For example, they redefined the character set in order to create custom semi-graphical characters, or even created the appearance of a graphical mouse pointer by redefining the appearance of the characters over which the mouse pointer was shown at a given time.

Text mode rendering with user-defined characters has also been useful for 2D computer and video games because the game screen can be manipulated much faster than with pixel-oriented rendering.

Technical basis

edit

A video controller implementing a text mode usually uses two distinct areas of memory. Character memory or a pattern table contains a raster font in use, where each character is represented by a dot matrix (a matrix of bits), so the character memory could be considered as a three-dimensional bit array. Display matrix (a text buffer, screen buffer, or nametable) tracks which character is in each cell. In the simple case the display matrix can be just a matrix of code points (so named character pointer table), but it usually stores for each character position not only a code, but also attributes.

C
L
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
1
1
0
0
1
0
0
0
0
1
0
1
0
0
1
1
0
0
0
1
1
1
00000000
11111111
00001111
00110011
01010101
11…
00…
00…
00…
01…
00000          
00001        
00010    
00011    
00100    
00101            
00110        
00111                
01000
01001
… … …
 
A sample of character box and corresponding electronic scheme. The glyph is 8×8 pixels, with 3-bit low parts of scan line and dot counter. The screen is between 20×18 and 32×32 character cells, with 5-bit indices.

In the case of raster scan output, which is the most common for computer monitors, the corresponding video signal is made by the character generator, a special electronic unit similar to devices with the same name used in video technology. The video controller has two registers: scan line counter and dot counter, serving as coordinates in the screen dot matrix. Each of them must be divided by corresponding glyph size to obtain an index in the display matrix; the remainder is an index in glyph matrix. If glyph size equals to 2n, then it is possible just to use n low bits of a binary register as an index in glyph matrix, and the rest of bits as an index in the display matrix — see the scheme.

The character memory resides in a read-only memory in some systems. Other systems allow the use of RAM for this purpose, making it possible to redefine the typeface and even the character set for application-specific purposes. The use of RAM-based characters also facilitates some special techniques, such as the implementation of a pixel-graphics frame buffer by reserving some characters for a bitmap and writing pixels directly to their corresponding character memory. In some historical graphics chips, including the TMS9918, the MOS Technology VIC, and the Game Boy graphics hardware, this was actually the canonical way of doing pixel graphics.

Text modes often assign attributes to the displayed characters. For example, the VT100 terminal allows each character to be underlined, brightened, blinking or inverse. Color-supporting devices usually allow the color of each character, and often the background color as well, to be selected from a limited palette of colors. These attributes can either coexist with the character indices or use a different memory area called color memory or attribute memory.[3]

Some text mode implementations also have the concept of line attributes. For example, the VT100-compatible line of text terminals supports the doubling of the width and height of the characters on individual text lines.

PC common text modes

edit

Depending on the graphics adapter used, a variety of text modes are available on IBM PC–compatible computers. They are listed on the table below:[4]

Text res. Char. size Graphics res. Colors Adapters
80×25 9×14 720×350 B&W Text MDA, Hercules
40×25 8×8 320×200 16 colors CGA, EGA
80×25 8×8 640×200 16 colors CGA, EGA
80×25 8×14 640×350 16 colors EGA
80×43 8×8 640×350 16 colors EGA
80×25 9×16 720×400 16 colors VGA
80×30 8×16 640×480 16 colors VGA
80×50 9×8 720×400 16 colors VGA
80×60 16 colors VESA-compatible Super VGA
132×25 16 colors VESA-compatible Super VGA
132×43 16 colors VESA-compatible Super VGA
132×50 16 colors VESA-compatible Super VGA
132×60 16 colors VESA-compatible Super VGA

MDA text could be emphasized with bright, underline, reverse and blinking attributes.

Video cards in general are backward compatible, i.e. EGA supports all MDA and CGA modes, VGA supports MDA, CGA and EGA modes.

By far the most common text mode used in DOS environments, and initial Windows consoles, is the default 80 columns by 25 rows, or 80×25, with 16 colors. This mode was available on practically all IBM and compatible personal computers. Several programs, such as terminal emulators, used only 80×24 for the main display and reserved the bottom row for a status bar.

Two other VGA text modes, 80×43 and 80×50, exist but were very rarely used. The 40-column text modes were never very popular outside games and other applications designed for compatibility with television monitors, and were used only for demonstration purposes or with very old hardware.

Character sizes and graphical resolutions for the extended VESA-compatible Super VGA text modes are manufacturer-dependent. Also on these display adapters, available colors can be halved from 16 to 8 when a second customized character set is employed (giving a total repertoire of 512 —instead the common 256— different graphic characters simultaneously displayed on the screen).

Some cards (e.g. S3) supported custom very large text modes, like 100×37 or even 160×120. In Linux systems, a program called SVGATextMode is often used with SVGA cards to set up very large console text modes, such as for use with split-screen terminal multiplexers.

Modern usage

edit

Many modern programs with a graphical interface simulate the display style of text mode programs, notably when it is important to preserve the vertical alignment of text, e.g., during computer programming. There exist also software components to emulate text mode, such as terminal emulators or command line consoles. In Microsoft Windows, the Win32 console usually opens in emulated, graphical window mode. It can be switched to full screen, true text mode and vice versa by pressing the Alt and Enter keys together.[5] This is no longer supported by the WDDM display drivers introduced with Windows Vista.[6]

Linux virtual consoles operate in text mode. Most Linux distributions support several virtual console screens, accessed by pressing Ctrl, Alt and a function key together.

The AAlib open source library provides programs and routines that specialize in translating standard image and video files, such as PNG and WMV, and displaying them as a collection of ASCII characters. This enables a rudimentary viewing of graphics files on text mode systems, and on text mode web browsers such as Lynx.

See also

edit

References

edit
  1. ^ a b Bosch, Winn L. (July 1992). "The Perfect PC". PC Magazine. 11 (13): 186. Retrieved 15 December 2015.
  2. ^ Smith, Alvy Ray (2021). A Biography of the Pixel. Cambridge: MIT Press. p. 363. ISBN 9780262365215. Retrieved 1 October 2022. In this book, Smith recalls that his first framebuffer at the New York Institute of Technology Computer Graphics Lab cost $80,000 in the mid-1970s. It could store a 512 x 512 array of pixels at 256 colors per pixel (that is, 8-bit color depth). Alexander Schure soon bought five more framebuffers for the Lab for $60,000 each. The Lab quickly combined its six framebuffers together, in two groups of three each, to create the first two true 24-bit RGB color framebuffers. Thus, the first had cost $200,000 and the second had cost $180,000; as Smith points out, adjusting for inflation, these numbers add up to roughly $1.7 million in 2021 dollars, which explains why the Lab's researchers were "thrilled" with Schure's generosity.
  3. ^ Text mode layout and palette
  4. ^ Text modes on Ralf Browns interrupt list
  5. ^ Windows uses Alt+Enter to make a terminal full screen
  6. ^ "Some 16-bit DOS-based Programs and the Command Prompt will not run in full-screen mode in Windows Vista and in Windows 7".
edit

Further reading

edit
红细胞偏低是什么意思 梦见梅花鹿是什么预兆 初心不改是什么意思 廉租房和公租房有什么区别 牙疼吃什么食物
紫罗兰是什么颜色 无什么无什么的成语 吃什么东西补血最快 不自主的摇头是什么病 什么是自锁
月经期间可以吃什么水果 先天性心脏病最怕什么 什么是招风耳图片 甲不开仓财物耗散是什么意思 火山飘雪是什么菜
什么是感统失调 面瘫是什么 早泄挂什么科 什么东西不导电 什么竹水果
网恋是什么意思hcv7jop9ns7r.cn 海参吃了有什么好处hcv9jop5ns5r.cn 大脑缺氧有什么症状hcv7jop6ns3r.cn 内分泌科看什么病hcv8jop9ns1r.cn 女性膀胱炎吃什么药hcv9jop7ns4r.cn
tm什么意思xscnpatent.com 为什么肚子上会长毛luyiluode.com 梦见一个人说明什么hcv9jop7ns2r.cn c3是什么驾驶证hcv9jop4ns4r.cn 玻色因是什么hcv8jop6ns1r.cn
田螺不能和什么一起吃shenchushe.com 头一直摇晃是什么病hcv8jop0ns6r.cn 尿血吃什么药最好hcv9jop6ns5r.cn 膝关节痛什么原因yanzhenzixun.com 阴虚吃什么食补最快hcv8jop8ns9r.cn
光敏树脂是什么材料hcv9jop1ns4r.cn 熊猫长什么样hcv9jop5ns8r.cn 势均力敌是什么意思hcv9jop3ns0r.cn 尿酸高要注意什么饮食hcv9jop2ns3r.cn 麦穗是什么牌子hcv8jop4ns5r.cn
百度