Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0379733B2 - - Google Patents
[go: Go Back, main page]

JPH0379733B2 - - Google Patents

Info

Publication number
JPH0379733B2
JPH0379733B2 JP59097916A JP9791684A JPH0379733B2 JP H0379733 B2 JPH0379733 B2 JP H0379733B2 JP 59097916 A JP59097916 A JP 59097916A JP 9791684 A JP9791684 A JP 9791684A JP H0379733 B2 JPH0379733 B2 JP H0379733B2
Authority
JP
Japan
Prior art keywords
display
pattern
memory
display screen
address
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.)
Expired - Lifetime
Application number
JP59097916A
Other languages
Japanese (ja)
Other versions
JPS60241126A (en
Inventor
Haruki Ishimochi
Masato Yanai
Kazutoshi Hatano
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP59097916A priority Critical patent/JPS60241126A/en
Publication of JPS60241126A publication Critical patent/JPS60241126A/en
Publication of JPH0379733B2 publication Critical patent/JPH0379733B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 <技術分野> 本発明はコンピユータにおける任意パターンの
スクロール方式に関する。ここに、スルロールと
は、あるパターンを表示画面上で上下左右、斜め
方向等の移動を行わせることをいう。
DETAILED DESCRIPTION OF THE INVENTION <Technical Field> The present invention relates to an arbitrary pattern scrolling method in a computer. Here, the term "through roll" refers to moving a certain pattern vertically, horizontally, diagonally, etc. on the display screen.

<従来技術> 従来のスクロール方式では、パターンの形や大
きさは殆んど固定されていた。従つて、大きなパ
ターンをスクロール表示させるには、複数のパタ
ーンを使つて構成しなければならない上に、スク
ロール時のレジスタセツトも複数個行わねばなら
ないので非能率的であつた。
<Prior Art> In the conventional scrolling method, the shape and size of the pattern are almost fixed. Therefore, in order to display a large pattern by scrolling, it is necessary to use a plurality of patterns and also to set a plurality of registers at the time of scrolling, which is inefficient.

<発明の開示> 本発明は、表示画面上のパターン位置と、パタ
ーンの形や大きさを書き込むメモリのアドレスと
の関係を完全に分離して互に独立させることによ
り、任意の大きさのパターンを簡単な構成により
スクロール表示させると共に、パターン位置をド
ツト単位で任意方向、任意速度で変位させること
のできることに特徴がある。
<Disclosure of the Invention> The present invention enables the creation of patterns of any size by completely separating and making the relationship between the pattern position on the display screen and the address of the memory where the shape and size of the pattern are written independent of each other. It is characterized by being able to scroll and display the image using a simple structure, and to displace the pattern position dot by dot in any direction and at any speed.

また本発明は、コンピユータの使用者は、例え
ば一枚の白紙の画用紙に、任意の大きさ、形をも
つパターンを、画用紙に余白のある限り隅々まで
描くように、VRAM(ビデオ用ランダムアクセ
ス・メモリ)に表示したいパターン情報を書き込
むことのできることに特徴がある。
In addition, the present invention allows a computer user to draw a pattern of any size and shape on a piece of blank drawing paper as far as there is free space on the drawing paper.・The feature is that the pattern information that you want to display can be written in the memory.

<発明の原理> 第1図は本発明の原理説明図である。VRAM
1はl列m行のドツトマトリツクス構成の画面表
示用メモリであるが、ここで注目すべきことは表
示画面4の画素との表示位置の対応関係が全くな
いことである。このメモリ内に表示すべきパター
ン情報2が書き込まれ、また、アドレス演算部に
ヨコ長さ、タテ長さ及び基準点Pのアドレスがパ
ターン情報ごとに多数書き込まれている。一方、
表示手段3はヨコhドツト、タテvドツトの容量
をもち、原点Oからヨコ方向に走査される。ここ
で注目すべきことは、走査の初期に帰線期間(表
示されない)を設け、その後に表示期間を設けて
いることである。この表示期間の領域が表示画面
4であり、表示画面4の左上に帰線期間が位置し
ている。表示画面4の任意の点Qが指定される
と、この点Qを基準点とするパターン情報5が表
示される。この点Qの位置はHpos.Vpos.により
表わされる。
<Principle of the Invention> FIG. 1 is an explanatory diagram of the principle of the present invention. VRAM
Reference numeral 1 denotes a screen display memory having a dot matrix configuration with l columns and m rows, but what should be noted here is that there is no correspondence between the display position and the pixels on the display screen 4. Pattern information 2 to be displayed is written in this memory, and a large number of addresses of horizontal length, vertical length, and reference point P are written in the address calculation section for each piece of pattern information. on the other hand,
The display means 3 has a capacity of horizontal H dots and vertical V dots, and is scanned from the origin O in the horizontal direction. What should be noted here is that a blanking period (no display) is provided at the beginning of scanning, followed by a display period. The area of this display period is the display screen 4, and the flyback period is located at the upper left of the display screen 4. When an arbitrary point Q on the display screen 4 is specified, pattern information 5 with this point Q as a reference point is displayed. The position of this point Q is expressed by Hpos.Vpos.

コンピユータのメモリには、下記の各データを
収納するレジスタを備えている。
The computer memory is equipped with registers that store the following data.

表示パターンが格納されているVRAMの先
頭アドレス(スタートADR) 表示パターンの横サイズ(Hsize) 表示パターンの縦サイズ(Vsize) 表示画面の水平ポジシヨン(Hpos.) 表示画面の垂直ポジシヨン(Vpos.) この5つのデータをレジスタへ設定することに
より、所望の表示パターンがVRAMから読み出
されて表示手段に表示される。従つて、パターン
をスクロールさせるためにはのレジスタ内容
を変化させるだけでよい。表示画面の水平、垂直
位置はドツト単位でカウントされているので、表
示パターンをドツト単位で滑らかにスクロールさ
せることができる。
Start address of the VRAM where the display pattern is stored (Start ADR) Horizontal size of the display pattern (Hsize) Vertical size of the display pattern (Vsize) Horizontal position of the display screen (Hpos.) Vertical position of the display screen (Vpos.) This By setting the five data to the register, a desired display pattern is read from the VRAM and displayed on the display means. Therefore, in order to scroll the pattern, it is only necessary to change the contents of the register. Since the horizontal and vertical positions of the display screen are counted in units of dots, the display pattern can be smoothly scrolled in units of dots.

<実施例> 装置全体はコンピユータの中央処理部と、キー
ボードと、表示手段と、外部メモリである
VRAMにより構成される。
<Example> The entire device consists of a central processing unit of a computer, a keyboard, a display means, and an external memory.
Consists of VRAM.

第2図にVRAMのアドレス決定回路のブロツ
ク図を示し、第3図に第2図のVRAMアドレス
演算回路CCの具体的構成例を示す。表示画面の
走査と同期してクロツクパルスをカウントする水
平カウンタHD(0≦HD≦h−1)6と垂直カウ
ンタVD(0≦VD≦n−1)7が設けられ、一
方、キーボードから入力された表示位置データは
Hpos.レジスタ8及びVpos.レジスタ9に格納さ
れる。このカウンタHD6、VD7の値とレジス
タ8、レジスタ9の内容を比較することによりパ
ターンの表示開始位置を判断している。VD=
Vpos.かつHD=Hpos.になつた時はじめてそのパ
ターンはアクテイブになり、VRAMアドレスが
出力される。アクテイブになつた最初のアドレス
がスタートADRレジスタ10の値である。HD
6,VD7がカウントされるたびにVRAMアドレ
スも変つてゆくがその値は次式により演算され
る。
FIG. 2 shows a block diagram of a VRAM address determination circuit, and FIG. 3 shows a specific example of the configuration of the VRAM address calculation circuit CC shown in FIG. 2. A horizontal counter HD (0≦HD≦h-1) 6 and a vertical counter VD (0≦VD≦n-1) 7 that count clock pulses in synchronization with the scanning of the display screen are provided. The display position data is
It is stored in Hpos. register 8 and Vpos. register 9. By comparing the values of counters HD6 and VD7 with the contents of registers 8 and 9, the display start position of the pattern is determined. VD=
Only when Vpos. and HD = Hpos. does the pattern become active and the VRAM address is output. The first address that becomes active is the value of the start ADR register 10. HD
6. The VRAM address changes every time VD7 is counted, and its value is calculated by the following formula.

VRAMアドレス=(スタートADR) +(HD-Hpos.)+(VD-Vpos.)×l 第3図はこの演算を減算回路、乗算回路、加算
回路で実現した回路を示している。すなわち、減
算回路13が(HD−Hpos.)を実行し、減算回
路14が(VD−Vpos.)を実行し、乗算回路2
0がそれをl倍し、加算回路21が第1項と第2
項の加算を実行し、加算回路22の全項の加算を
実行している。
VRAM address = (Start ADR) + (HD-Hpos.) + (VD-Vpos.) x l Figure 3 shows a circuit that realizes this operation using a subtraction circuit, a multiplication circuit, and an addition circuit. That is, the subtraction circuit 13 executes (HD-Hpos.), the subtraction circuit 14 executes (VD-Vpos.), and the multiplication circuit 2
0 multiplies it by l, and the adder circuit 21 adds the first term and the second term.
Addition of terms is executed, and addition of all terms in the adder circuit 22 is executed.

また、差(HD−Hpos.)又は差(VD−
Vpos.)とHsizeレジスタ11又はVsizeレジスタ
12の内容を比較回路15又は16により比較
し、差(HD−Hpos.)が正で、かつその差が
Hsizeより小さければANDゲート17がこれを
検出し、また、差(VD−Vpos.)が正で、かつ
その差がVsizeより小さければANDゲート18
がこれを検出し、両ANDゲート17,18がと
もに検出信号を出力したことをANDゲート19
が検出してこのときアクテイブ信号を出力する。
Also, the difference (HD−Hpos.) or the difference (VD−
Vpos.) and the contents of the Hsize register 11 or Vsize register 12 are compared by the comparison circuit 15 or 16, and the difference (HD - Hpos.) is positive and the difference is
If it is smaller than Hsize, AND gate 17 detects this, and if the difference (VD - Vpos.) is positive and the difference is smaller than Vsize, AND gate 18
detects this, and AND gate 19 indicates that both AND gates 17 and 18 have output a detection signal.
is detected and outputs an active signal at this time.

表示優先順位決定回路23は、各パターンごと
に設けられたVRAMアドレス演算回路CC1…CCo
から出力されるアクテイブ信号を調べ、優先順位
の高いものからVRAM1へVRAMアドレスを出
力する。
The display priority determination circuit 23 includes a VRAM address calculation circuit CC 1 ... CC o provided for each pattern.
It examines the active signals output from , and outputs VRAM addresses to VRAM1 in descending order of priority.

<発明の効果> 本発明によれば、VRAMの最小単位のものか
ら表示画面以上の大きなパターンまで、任意の大
きさのパターンを表示することができる。しか
も、表示パターンデータはVRAM等の一つのメ
モリに記憶するだけでよく、表示画面に対応する
メモリは不要であつて、メモリは必要最小で済む
と同時に、パターンデータの転送を行うことな
く、表示位置を表すアドレスを変換するだけで任
意パターンを画面上の所望位置に表示することが
できる。また、前述したようにドツト単位での滑
らかなスクロールが可能となり、レジスタ設定が
少なくてわかりやすいのでソフトウエアのプログ
ラミングが容易になる。さらに、各パターンのス
タートADRを同一にしてHpos.、Vpos.を変える
ことにより、一つのパターンを複数個、画面の任
意位置へ表示させることが可能となる。また、従
来のように、表示画面に対応したドツトマトリツ
クスをもつメモリを備える必要がなく、任意の容
量のVRAMを使用することができる。
<Effects of the Invention> According to the present invention, a pattern of any size can be displayed, from the smallest unit of VRAM to a pattern larger than the display screen. Moreover, the display pattern data only needs to be stored in a single memory such as VRAM, and there is no need for memory corresponding to the display screen. Any pattern can be displayed at a desired position on the screen simply by converting the address representing the position. Furthermore, as described above, smooth scrolling is possible in dot units, and the number of register settings is small and easy to understand, making software programming easier. Furthermore, by making the start ADR of each pattern the same and changing Hpos. and Vpos., it is possible to display a plurality of one pattern at arbitrary positions on the screen. Further, there is no need to provide a memory with a dot matrix corresponding to the display screen as in the conventional case, and VRAM of any capacity can be used.

さらにまた、HD、VDのカウントが帰線期間
から始まる態様では、Hpos.、Vpos.の値を帰線
期間内に設定することにより、パターンを画面端
からスムーズに出現させ、画面端へスムーズに消
去することができる。
Furthermore, in a mode where HD and VD counts start from the retrace period, by setting the values of Hpos. and Vpos. within the retrace period, the pattern appears smoothly from the edge of the screen and moves smoothly to the edge of the screen. Can be erased.

また本発明によれば、リストや文字列をひとつ
のパターンとしてとらえることにより、これらの
ドツト・スクロールも容易に行うことができる。
Furthermore, according to the present invention, dot scrolling of lists and character strings can be easily performed by treating them as one pattern.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の原理説明図、第2図は本発明
のVRAMアドレス出力回路のブロツク図、第3
図は第2図のVRAMアドレス演算回路CCの具体
的構成例を示すブロツク図である。 1……メモリ、2……パターン情報、3……表
示手段、4……表示画面、5……表示されたパタ
ーン、8……Hpos.レジスタ、9……Vpos.レジ
スタ。
Figure 1 is a diagram explaining the principle of the present invention, Figure 2 is a block diagram of the VRAM address output circuit of the present invention, and Figure 3 is a diagram explaining the principle of the present invention.
This figure is a block diagram showing a specific example of the configuration of the VRAM address calculation circuit CC shown in FIG. 2. 1... Memory, 2... Pattern information, 3... Display means, 4... Display screen, 5... Displayed pattern, 8... Hpos. register, 9... Vpos. register.

Claims (1)

【特許請求の範囲】 1 表示パターンとその大きさを表す情報が書き
込まれたメモリと、 表示画面上における上記表示パターンの基準点
の座標を指定する表示位置指定手段とを有する、
コンピユータにおける任意パターンのスクロール
方式であつて、 表示画面上の走査と同期して作動するカウンタ
と、 上記座標を指定するレジスタと、 上記カウンタの値と上記レジスタの値とが一致
したとき上記メモリのアドレスを指定するアドレ
ス演算部と、 を備えたことを特徴とする、コンピユータにおけ
る任意パターンのスクロール方式。 2 上記メモリ内に書き込まれた複数個の表示パ
ターンに対応して上記アドレス演算部が複数個設
けられており、 該複数個のアドレス演算部からの出力を調べ、
優先順位の高いものから上記メモリにアドレスを
出力する表示優先決定回路を備えた、請求項1記
載のコンピユータにおける任意パターンのスクロ
ール方式。 3 上記表示画面の左上に画面走査の帰線期間が
位置するように構成された、請求項1記載のコン
ピユータにおける任意パターンのスクロール方
式。
[Scope of Claims] 1. A display device comprising: a memory in which information representing a display pattern and its size is written; and display position specifying means for specifying the coordinates of a reference point of the display pattern on a display screen;
A method of scrolling arbitrary patterns in a computer, which includes a counter that operates in synchronization with the scanning on the display screen, a register that specifies the above coordinates, and when the value of the above counter and the value of the above register match, the memory is An arbitrary pattern scrolling method in a computer, characterized by comprising an address calculation section for specifying an address, and the following. 2. A plurality of the address calculation sections are provided corresponding to the plurality of display patterns written in the memory, and the outputs from the plurality of address calculation sections are examined;
2. The arbitrary pattern scrolling method in a computer according to claim 1, further comprising a display priority determining circuit which outputs addresses to said memory in descending order of priority. 3. An arbitrary pattern scrolling method in a computer according to claim 1, wherein the blanking period for screen scanning is located at the upper left of the display screen.
JP59097916A 1984-05-15 1984-05-15 Scroll system for optional pattern of computer Granted JPS60241126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59097916A JPS60241126A (en) 1984-05-15 1984-05-15 Scroll system for optional pattern of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59097916A JPS60241126A (en) 1984-05-15 1984-05-15 Scroll system for optional pattern of computer

Publications (2)

Publication Number Publication Date
JPS60241126A JPS60241126A (en) 1985-11-30
JPH0379733B2 true JPH0379733B2 (en) 1991-12-19

Family

ID=14205023

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59097916A Granted JPS60241126A (en) 1984-05-15 1984-05-15 Scroll system for optional pattern of computer

Country Status (1)

Country Link
JP (1) JPS60241126A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6358575A (en) * 1986-08-29 1988-03-14 Kenwood Corp Plotting device backed up by computer
JPS6358576A (en) * 1986-08-29 1988-03-14 Kenwood Corp Plotting device backed up by computer
JP3477666B2 (en) * 1995-09-14 2003-12-10 株式会社リコー Image display control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60205580A (en) * 1984-03-30 1985-10-17 オークマ株式会社 Animation processing

Also Published As

Publication number Publication date
JPS60241126A (en) 1985-11-30

Similar Documents

Publication Publication Date Title
JPS62191918A (en) Data display method and data display controller
JPH04106593A (en) Still image display device
JPH0379733B2 (en)
JPH0426273B2 (en)
US5870074A (en) Image display control device, method and computer program product
JP2600904B2 (en) Image synthesizing method and apparatus
JPS6139677B2 (en)
JPS5835592A (en) display screen splitting device
JP2871164B2 (en) Image processing device
JP2833024B2 (en) Display screen synthesis device
JP2585842B2 (en) Animation display method
JPH10510634A (en) Circuit, system and method for controlling display of a block of data on a display screen
JP2609739B2 (en) LCD display system
JP2821121B2 (en) Display control device
JPS6219893A (en) Image scrolling method
JPH11161255A (en) Image display device
JP2512526B2 (en) Figure movement method
JPS5997184A (en) Image processor
JPH0443595B2 (en)
JP3264941B2 (en) Image display control method and apparatus
JPS6322593B2 (en)
JPS61284797A (en) display device
JPH01147593A (en) Automatic window area setting for information retrieving screen
JPS6364085A (en) Display controller
JPH05241562A (en) Figure display device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees