CN1167941A - Apparatus and method of windowing VGA image - Google Patents

Apparatus and method of windowing VGA image Download PDF

Info

Publication number
CN1167941A
CN1167941A CN97104552A CN97104552A CN1167941A CN 1167941 A CN1167941 A CN 1167941A CN 97104552 A CN97104552 A CN 97104552A CN 97104552 A CN97104552 A CN 97104552A CN 1167941 A CN1167941 A CN 1167941A
Authority
CN
China
Prior art keywords
vga
display
memory
data
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN97104552A
Other languages
Chinese (zh)
Other versions
CN1114855C (en
Inventor
查勒斯·雷·约翰斯
格利·阿伦·尼尔
约翰·托马斯·罗伯森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Publication of CN1167941A publication Critical patent/CN1167941A/en
Application granted granted Critical
Publication of CN1114855C publication Critical patent/CN1114855C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/14Display of multiple viewports
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/12Frame memory handling
    • G09G2360/127Updating a frame memory using a transfer of data from a source area to a destination area
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/06Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed using colour palettes, e.g. look-up tables
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/363Graphics controllers

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an apparatus and method of windowing a VGA image on a screen. The apparatus is a graphics adapter that contains a VGA controller, a rasterizer engine and a frame buffer having a displayable and a non-displayable memory. The VGA controller stores, processes and retrieves VGA data from the non-displayable memory of the frame buffer and provides the data to the rasterizer engine for further processing such as to window the VGA image on a display screen. After processing, the accelerated graphics processor of the rasterizer engine stores the VGA data as well as other graphics data in the displayable memory of the frame buffer to be later displayed.

Description

The equipment of windowing VGA image and method
The present invention relates generally to the graphic presentation adapter, relate in particular to adapter with display video graphic array (VGA) function in window.
Accelerated graphics display adapter with higher functionality just is used widely in industry, and these adapters are replacing the VGA adapter gradually as industrial standard.The accelerated graphics adapter has special one's own processor, be used for picture information is sent into memory device, and VGA is to use the processor of system or main frame that picture information is sent into memory device.Just because of have own special-purpose processor, the accelerated graphics adapter is quicker than VGA, efficient is higher.
Yet, because the VGA application program that has existed continues supply VGA adapter and just becomes long-standing demand in the industry.For satisfying such demand, some display adapter manufacturers have designed the accelerated graphics display adapter with VGA function.Fig. 1 has described an accelerated graphics adapter 100 with this VGA function, and it comprises accelerated graphics controller 110 and a VGA port and an input port.Graphics controller 110 is linked a frame buffer zone 130, and frame buffer zone 130 is further linked random access memory digital to analog converter (RAMDAC) 150 again.RAMDAC150 has a display port, and being used for provides image to display monitor 160, also has a VGA port to be used to receive the VGA pictorial data simultaneously.Graphics adapter 100 also comprises a vga controller 120, is connected to the VGA port of accelerated graphics controller 110, the VGA port of RAMDAC150.An and dynamic RAM (DRAM) 140.
The accelerated graphics data that the input port of slave controller 110 receives are accelerated graphics controller 110 and handle and be stored in the frame buffer zone 130.When needs were shown, data were admitted to RAMDAC150, were used for finally showing on watch-dog 160.Be accelerated the VGA data that controller 110 receives, be admitted to vga controller 120 by the VGA port, and be stored among the DRAM140.When DSR shows, retrieved from DRAM140 by vga controller 120, send into RAMDAC150 by the VGA port of RAMDAC150 then.
As shown in Figure 1, for realizing the VGA compatibility, the accelerated graphics adapter uses two memory device-frame buffer zones 130 and DRAM140, and the use of these two memory devices constitutes whole expenses of adapter.
Many times owing to various reasons, the user may wish VGA Display image and acceleration image on screen simultaneously.In this case, every images is displayed in the window.Yet when the image of VGA generation was shown, graphics adapter shown in Figure 1 did not allow to use acceleration controller.More particularly, the use of vga controller has determined the operation of RAMDAC150, RAMDAC operation that VGA controlled and the RAMDAC operation of accelerated graphics control and incompatible.Therefore, simultaneously on a screen VGA Display image and accelerogram like impossible.
Therefore, need a kind of technology, be used to have the VGA function, only use a memory device to come the graphics image display adapter of (comprising the VGA image), show when allowing VGA and accelerated graphics image.
The present invention can satisfy this Technology Need.The invention provides the equipment and the method for windowing VGA image on display screen.Equipment is a graphics adapter, comprises a vga controller, but grating mechanism and one have display-memory and frame buffer zone that can not display-memory.Vga controller from frame buffer zone can not display-memory retrieval and storage VGA data, and these data are offered grating mechanism, be used for further processing, such as the image of the VGA on display screen windowization.After the processing, but the accelerated graphics processor of grating mechanism deposits VGA data and other graph data in the display-memory of frame buffer zone in demonstration after being used for.Every full screen through watch-dog shows that the VGA pictorial data all is refreshed.
Fig. 1 has described an accelerated graphics adapter with VGA function.
Fig. 2 is by the block diagram of the employed digital machine of the present invention's one preferred implementation.
Fig. 3 is the part block diagram of a graphics adapter.
Fig. 4 has described the detailed diagram that is used for showing the equipment of multiwindow on display monitor.
Fig. 2 is by the employed digital machine 200 of the preferred embodiment for the present invention.In the calculating machine frame 205 with input equipment 230 and output device 240, computing machine comprises primary processor 210 and the primary memory 220 that is attached thereto.Input equipment 230 can comprise keyboard, mouse, the input equipment of graphic tablet or other type.Output device 240 can comprise the text watch-dog, the output device of plotting apparatus or other type.Primary processor 210 can also link to each other with graphical output device 310, as the graphic alphanumeric display via graphics adapter 300.Graphics adapter 300 can be arranged in an adapter slot 260A, receives graphics command from primary processor 210 on bus 250.Modulator-demodular unit or other communication adapter 350 and a hard disk 355 also can be positioned on groove 260C and the 260D, and being used for provides and the communicating by letter of primary processor by bus 250.Modulator-demodular unit 350 can be communicated by letter with other data handling system 370 by order wire 360.Primary memory 220, hard disk 355 and floppy disk all are called storer.
The present invention realizes that in graphics adapter 300 Fig. 3 is the part block diagram as the above-mentioned graphics adapter of describing 300 in Fig. 2.These parts comprise and grating mechanism 420 address decoders 480 that link to each other with a vga controller 425 that vga controller 425 also links to each other with grating mechanism 420.Address decoder 480 is used for transmitting data to grating mechanism or vga controller.Address decoder is well-known in this area, and their realization has not just here illustrated.Grating mechanism is defined as producing a specific pictorial data, and which pixel need be updated, and how to upgrade pixel to produce visually demonstration accurately.The pictorial data that vga controller 425 usefulness obtain from processor 210 is upgraded the VGA storer.The part that also has in the graphics adapter 300 is a frame buffer zone 430, but it comprises that a display-memory 432 and one can not display-memories 434.Frame buffer zone 430 links to each other with grating mechanism 420.Vga controller 425 uses and can not store the VGA data by display-memory 434, but display-memory 432 also links to each other with RAMDAC440.
If graphics system is designed to show 1024 * 768 or the 768K byte data, frame buffer zone has the storage capacity of 1024K byte data usually, 768K byte wherein is used to hold the data that are shown the most at last, therefore be called display-memory, do not deposit must data presented for the 256K byte in addition, and therefore being called as can not display-memory.Usually this 256K byte in the storage capacity is not used, and therefore has been wasted.The present invention has used this storage capacity to store the VGA pictorial data effectively, no longer needs other memory device to store these data.Although the present invention uses one to be designed to show that the system of 768K byte data describes, use the system of the pictorial data of different sizes also can use.For example, be designed to show that the system of 1280K byte pictorial data uses the frame buffer zone that 2048 bytes store abilities are arranged, the 768 byte frame buffer zones that are not used are used as the VGA storer.
Traditional VGA memory device or DRAM are divided into 4 grades of maps usually, the different information that each grade map is used to save image.For example under Text Mode, first order map is preserved character code information, and second level map is preserved attribute information, and third level map is preserved font information, and fourth stage map only is used for graphic model usually.Equally, can not be divided into 4 grades of storage mappings by display-memory 434, be used to preserve the different information of VGA image.Although frame buffer zone can not may be divided into 4 grades of maps physically in the display part, it is divided into virtual image in this example.Just, vga controller use addressing mechanism effectively application memory as 4 grades of different maps.For transmitting effectively, the VGA map data combines with independent storer 434 accesses.
In operation, when host-processor 210 when graphics adapter 300 transmits data, decipher to determine that data are sent to grating mechanism 420 or vga controller 425 480 pairs of data addresses of address decoder.The data of importing vga controller 425 into are handled by vga controller, and being sent to then can not display-memory 434 storage.Equally, but the data of importing grating mechanism 420 into are sent to display-memory 432 storages after treatment.When the VGA data need be shown, vga controller 425 was handled to generate image data on request from retrieving data the display-memory 434, then it is sent into grating mechanism 420.But grating mechanism 420 is sent into display-memory 432 to the VGA data, with synthetic VGA image with by any image of grating mechanism 420 generations.Grating mechanism obtains the start address of VGA image window in the required composite image by the primary processor 210 among Fig. 2.But the VGA pictorial data is by map place by start address and the decision of VGA image size in the display-memory 432, and these information are defined by the VGA mode of operation.If desired, can also do transformation of scale, to be suitably for the final screen resolution that display 470 generates to the VGA image.But the data through these processing are admitted to display-memory 432 storages, and when needs were shown, data passed to display 470 by RAMDAC440.
But the pictorial data in the display-memory 432 is presented on the display monitor 470 in the mode of raster scanning.Just, Tu Xiang display mode is that the scanner by the whole display space of display monitor 470 scans line by line with a branch of adjustable electron beam.Accordingly, the pictorial data relevant with the upper left chitin of watch-dog at first provided, and the pictorial data relevant with lower right corner pixel provided at last.After arriving lower right corner pixel, the vertical blanking of electron beam or close is to prevent returning display element in the process in the watch-dog upper left corner at it.At vertical initial stage of blanking, vga controller 425 begins sense data from can not display-memory 434, it is offered grating mechanism 420 handle.But grating mechanism 420 deal with data also store it into display-memory 432.Therefore, before the raster scanning processing procedure of display 470 needed pictorial data, the VGA image in the storer 432 had generated.This just and be that display 470 generates the VGA image synchronously, when having avoided scanning when showing, the situation of image imperfect (part is newly visual, the old image of part) in the storer.Note, but the expedited data in the display-memory 432 all is refreshed when graphics adapter transmits the accelerated graphics data at each primary processor 210.
Fig. 4 has described the detailed diagram that is used for showing the equipment of multiwindow on display monitor.Equipment comprises 510, one window identifier (wid) 530 of graphic process unit and the RAMDAC540 that links to each other with frame buffer zone 520.RAMDAC540 also links to each other with wid530 and frame buffer zone 520.Graphic process unit 510 is included in the grating mechanism 420 of Fig. 3, and it is wanting data presented (VGA and accelerated graphics) to pass to frame buffer zone 520 by data bus 570.Graphic process unit 510 is also delivered to wid530 by address bus 580 transmitting several addressing informations.Palette among the LUT545 is upgraded by graphic process unit 510 by control bus 560.
But wid530 and display-memory 520 are shone upon in the same manner, and just, each position among the wid530 is corresponding to a pixel location in the storer 520.The code that wid530 produces is used for determining the attribute of corresponding pixel by RAMDAC540, as the color depth of pixel etc.RAMDAC540 uses these attributes to come for the correct interpretation of a certain certain window selection to data, as the figure place of each pixel, palette address etc.Like this, VGA pictorial data and accelerogram image data can be simultaneously displayed on the display monitor, respectively in separately pixel interpretation mode in window separately.For example, the VGA data of 8 of every pixels can together show with the acceleration image of 16 of every pixels.
Although described the present invention with reference to specific implementations, to those skilled in the art, clearly also have other embodiments.Therefore, as above explanation can not be considered as limitation of the scope of the invention, and scope of the present invention is determined by claims.

Claims (14)

  1. One kind can windowing VGA image the graphic presentation adapter comprise:
    A grating mechanism is used for handling and in display-memory graphics pictorial data, comprising the VGA pictorial data, and show a plurality of graphic images of being represented by described graphic image data simultaneously that on display monitor each pictorial data is in window separately.
  2. 2. it is characterized in that according to the graphic presentation adapter in the claim 1, but described display-memory comprises a display-memory part and a non-display-memory part.
  3. 3. it is characterized in that according to the graphic presentation adapter in the claim 2 that can not partly be divided into 4 grades of maps by display-memory, every grade of map is used to preserve the information data of VGA image.
  4. 4. it is characterized in that according to the graphic presentation adapter in the claim 3, also comprise a vga controller, described vga controller is used for storage, handles and can not partly retrieve the VGA pictorial data by display-memory from the described of described display-memory.
  5. 5. it is characterized in that according to the graphic presentation adapter in the claim 4, described retrieved VGA pictorial data is provided for described grating mechanism,, and make these data can be on described screen by windowization so that but these data are stored in the described display-memory of described frame buffer zone.
  6. 6. it is characterized in that according to the graphic presentation adapter in the claim 5 that after each full screen showed, the VGA pictorial data offered described grating mechanism by described vga controller.
  7. 7. it is characterized in that according to the graphic presentation adapter in the claim 6 that described grating mechanism is carried out transformation of scale to described VGA image, to be fit to final screen resolution.
  8. 8. the method for windowing VGA image data comprises the steps:
    Obtain and the processing graphics pictorial data, comprise the VGA pictorial data;
    Deposit described graphic image data in display-memory;
    Show a plurality of described graphic image datas on display monitor simultaneously, each pictorial data is in window separately.
  9. 9. the method in according to Claim 8 is characterized in that: but described display-memory comprises that a display-memory part and one can not the display-memory parts.
  10. 10. it is characterized in that according to the method in the claim 9 that describedly can not partly be divided into 4 grades of maps by display-memory, every grade of map is used for preserving the information data of VGA image.
  11. 11. it is characterized in that according to the method in the claim 10, also comprise a step, storage is handled and can not partly be retrieved the VGA pictorial data by display-memory by vga controller from the described of described display-memory.
  12. 12. it is characterized in that according to the method in the claim 11, described retrieved VGA pictorial data is provided for described grating mechanism, so that but these data are stored in the described display-memory part of described display-memory, and these data can be displayed in the window of described screen.
  13. 13. it is characterized in that according to the method in the claim 12 after each full screen showed, the VGA pictorial data offered described grating mechanism by described vga controller.
  14. 14. it is characterized in that according to the method in the claim 13 described grating mechanism is carried out transformation of scale to described VGA image, to be fit to final screen resolution.
CN97104552A 1996-04-22 1997-03-25 Apparatus and method of windowing VGA image Expired - Fee Related CN1114855C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US63609296A 1996-04-22 1996-04-22
US636,092 1996-04-22
US636092 1996-04-22

Publications (2)

Publication Number Publication Date
CN1167941A true CN1167941A (en) 1997-12-17
CN1114855C CN1114855C (en) 2003-07-16

Family

ID=24550396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN97104552A Expired - Fee Related CN1114855C (en) 1996-04-22 1997-03-25 Apparatus and method of windowing VGA image

Country Status (6)

Country Link
JP (1) JP3297344B2 (en)
KR (1) KR100288662B1 (en)
CN (1) CN1114855C (en)
GB (1) GB2312601B (en)
HK (1) HK1005387A1 (en)
TW (1) TW319866B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104040501A (en) * 2011-12-26 2014-09-10 英特尔公司 Display controller interrupt register

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100537884B1 (en) * 1998-01-21 2006-03-03 삼성전자주식회사 Dual Scan Graphics Card
CN102609231B (en) * 2012-02-22 2014-12-31 中国人民解放军国防科学技术大学 Multi-display output method based on Feiteng processor platform
DE202017100448U1 (en) 2017-01-27 2017-02-22 Sheng-Fa Chen Structure of a warning signal device for a vehicle

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6242277A (en) * 1985-08-19 1987-02-24 Fanuc Ltd Image processor
US5388200A (en) * 1990-12-21 1995-02-07 Sun Microsystems, Inc. Method and apparatus for writing directly to a frame buffer
KR0180577B1 (en) * 1993-12-16 1999-05-15 모리시다 요이치 Multi-window device
US5500654A (en) * 1993-12-27 1996-03-19 Kabushiki Kaisha Toshiba VGA hardware window control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104040501A (en) * 2011-12-26 2014-09-10 英特尔公司 Display controller interrupt register

Also Published As

Publication number Publication date
CN1114855C (en) 2003-07-16
HK1005387A1 (en) 1999-01-08
KR970071364A (en) 1997-11-07
GB9706595D0 (en) 1997-05-21
TW319866B (en) 1997-11-11
JPH1055160A (en) 1998-02-24
JP3297344B2 (en) 2002-07-02
GB2312601A (en) 1997-10-29
GB2312601B (en) 2000-11-29
KR100288662B1 (en) 2001-05-02

Similar Documents

Publication Publication Date Title
US5892521A (en) System and method for composing a display frame of multiple layered graphic sprites
AU612222B2 (en) Z-buffer allocated for window identification
US5241656A (en) Depth buffer clipping for window management
US5301272A (en) Method and apparatus for address space aliasing to identify pixel types
US5574836A (en) Interactive display apparatus and method with viewer position compensation
EP0329892B1 (en) Display system comprising a windowing mechanism
US5515494A (en) Graphics control planes for windowing and other display operations
US6734867B1 (en) Cache invalidation method and apparatus for a graphics processing system
US5640496A (en) Method and apparatus for management of image data by linked lists of pixel values
CA2011102A1 (en) Method and apparatus for detecting changes in raster data
US5696947A (en) Two dimensional frame buffer memory interface system and method of operation thereof
US4566000A (en) Image display apparatus and method having virtual cursor
JP3306746B2 (en) Display graphics adapter and method of storing pixel data in a window system handling different pixel sizes
US5448264A (en) Method and apparatus for separate window clipping and display mode planes in a graphics frame buffer
US6072506A (en) Method and apparatus for improved graphics picking using auxiliary buffer information
US5295234A (en) Apparatus for displaying a three dimensional object which appears substantially the same in different display directions by modifying stored image data by a scale factor
US5790125A (en) System and method for use in a computerized imaging system to efficiently transfer graphics information to a graphics subsystem employing masked span
EP0381892B1 (en) Computer display windowing systems
US4748442A (en) Visual displaying
CN1114855C (en) Apparatus and method of windowing VGA image
US6614443B1 (en) Method and system for addressing graphics data for efficient data access
US5777631A (en) Method and apparatus for displaying a video window in a computer graphics display
EP0803798A1 (en) System for use in a computerized imaging system to efficiently transfer graphics information to a graphics subsystem employing masked direct frame buffer access
US6822659B2 (en) Method and apparatus for increasing pixel interpretations by implementing a transparent overlay without requiring window identifier support
JPH0544063B2 (en)

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee