JP2605609B2 - Dot display processing device - Google Patents

Dot display processing device

Info

Publication number
JP2605609B2
JP2605609B2 JP5319275A JP31927593A JP2605609B2 JP 2605609 B2 JP2605609 B2 JP 2605609B2 JP 5319275 A JP5319275 A JP 5319275A JP 31927593 A JP31927593 A JP 31927593A JP 2605609 B2 JP2605609 B2 JP 2605609B2
Authority
JP
Japan
Prior art keywords
dot
bit
pattern
bits
video ram
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
JP5319275A
Other languages
Japanese (ja)
Other versions
JPH07152362A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5319275A priority Critical patent/JP2605609B2/en
Publication of JPH07152362A publication Critical patent/JPH07152362A/en
Application granted granted Critical
Publication of JP2605609B2 publication Critical patent/JP2605609B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Memory System (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、表示すべき図形のドッ
トパターンを一旦ビデオRAMに格納しておき、そのビ
デオRAMを読み出して表示装置に表示し、表示する1
ドットをビデオRAMの複数個のビットで表す場合、そ
の1ドットのデータをビデオRAMの複数個のビットに
書き込むためのドット表示処理装置に関するものであ
る。
The present invention relates to a method of temporarily storing a dot pattern of a graphic to be displayed in a video RAM, reading out the video RAM, displaying the video RAM on a display device, and displaying the data.
When a dot is represented by a plurality of bits of a video RAM, the present invention relates to a dot display processing device for writing data of one dot to a plurality of bits of a video RAM.

【0002】[0002]

【従来の技術】CRTや液晶表示装置に表示する場合、
表示すべき画像のドットパターンをビデオメモリに書き
込んでおいて、そのビデオメモリを高速に繰り返し読み
出すことにより表示を行っている。この場合表示の最少
単位である表示ドットが、ビデオメモリの複数のビット
によって表される場合がある。例えば、ビデオメモリの
3×3ビット(ビデオメモリのX軸方向に3ビットの幅
を持ちY軸方向に3ビットの幅を持つ1ドット)を1ド
ットとして表示を行う場合などである。この場合はビデ
オメモリの3×3=9個のビットに同一データを書き込
む必要がある。表示する1ドットがビデオメモリ内のど
この9個のビットに対応するかを決定し、この9個のビ
ットに同一データを書き込む処理は、従来はソフトウェ
アによって実行され、従って相当な時間を必要とすると
いう問題があった。
2. Description of the Related Art When displaying on a CRT or a liquid crystal display device,
The display is performed by writing a dot pattern of an image to be displayed in a video memory and repeatedly reading out the video memory at high speed. In this case, the display dot which is the minimum unit of display may be represented by a plurality of bits of the video memory. For example, there is a case in which display is performed with 3 × 3 bits (one dot having a width of 3 bits in the X-axis direction and a width of 3 bits in the Y-axis direction) of the video memory as one dot. In this case, it is necessary to write the same data to 3 × 3 = 9 bits of the video memory. The process of determining which nine bits in the video memory each dot to be displayed corresponds to and writing the same data to these nine bits is conventionally performed by software, and thus requires a considerable amount of time. There was a problem of doing.

【0003】本発明に類似した問題を解決するためにな
された先行技術として、特開昭61−107384号公
報「表示装置」に公開された発明がある。これは文字パ
ターンを表すフォントメモリのビットパターンに加工し
て、元のフォントメモリが表す文字パターンよりも線の
幅の広い(いわゆるボールドという形の)文字パターン
を表示するための発明であるが、この場合でもソフトウ
ェアによって処理されるため、処理時間が長くなるとい
う問題があった。
As a prior art for solving a problem similar to the present invention, there is an invention disclosed in Japanese Patent Application Laid-Open No. 61-107384, entitled "Display Device". This is an invention for processing a bit pattern of a font memory representing a character pattern to display a character pattern having a wider line width (so-called bold) than the character pattern represented by the original font memory. Even in this case, since the processing is performed by software, there is a problem in that the processing time becomes longer.

【0004】[0004]

【発明が解決しようとする課題】上記のように従来のド
ット表示処理装置は、複数個のビットで1個のドットを
表示しようとする場合、そのドット表示処理に多くの時
間を必要とする。また、1ドットの寸法が大きくなれば
なるほど、1ドットのデータを書き込むべきビデオメモ
リのビット数が多くなるので、書き込みに多くの時間を
必要とする等の問題点があった。
As described above, in the conventional dot display processing device, when one dot is to be displayed by a plurality of bits, the dot display process requires a lot of time. Also, as the size of one dot becomes larger, the number of bits of the video memory to which one dot data is to be written becomes larger, so that there is a problem that a longer time is required for writing.

【0005】本発明はかかる問題点を解決するためにな
されたものであり、ビデオメモリ内の複数個のビットで
表示の1ドットを表示する場合に、この表示の1ドット
に対応する複数個のビットをビデオメモリ内に高速に書
き込むことのできるドット表示処理装置を提供すること
を目的としている。
The present invention has been made to solve such a problem. When one dot of a display is displayed by a plurality of bits in a video memory, a plurality of bits corresponding to one dot of the display are displayed. It is an object of the present invention to provide a dot display processing device capable of writing bits into a video memory at high speed.

【0006】[0006]

【課題を解決するための手段】本発明に係わるドット表
示処理装置は、1ドットのX軸方向のビット数(n)ご
とにビットパターンテーブルを用意しておき、当該ドッ
トのX軸方向の位置によってこのテーブルから書き込み
ビットパターンを読み出して、一動作でビデオメモリに
書き込むようにした。すなわち詳細に言えば本発明は、
表示すべき表示用ドットの座標位置を決定する手段、こ
の座標位置がビデオRAMの1ライン上の第何番目の語
(第0番から数えて第j番とする)の第何番目(第0番
から数えて第k番とする)のビットに相当するかを決定
する手段、前記nの値毎に調製され、それぞれが、順に
開始位置がシフトされたnビットの長さの線パターンを
表す1又は2語長のi組のビットパターンを有するパタ
ーンテーブル、このパターンデータテーブルから、前記
nの値に対応するテーブルの、前記決定する手段で第k
番と決定された場合のkの値に対応する前記開始位置の
線パターンを表すビットパターンを読み出し、読出され
たビットパターンを、前記ビデオRAMの当該ラインか
ら始まるY軸方向のm本のラインのそれぞれの、前記決
定する手段で第j番目と決定された場合の第j語目に
き込む手段、を備えたことを特徴とする。
The dot display processing apparatus according to the present invention prepares a bit pattern table for each bit number (n) of one dot in the X-axis direction, and determines the position of the dot in the X-axis direction. Write from this table by
The bit pattern is read and written to the video memory in one operation. That is, in detail, the present invention
Means for determining the coordinate position of the display dot to be displayed, and the coordinate position of the word (the jth number from the 0th number) on one line of the video RAM Means for determining whether the bit corresponds to the k-th bit counting from the number), each of which is prepared for each value of n,
The n-bit long line pattern with the start position shifted
A pattern table having i sets of bit patterns having a length of 1 or 2 words, from the pattern data table ,
n of the table corresponding to the value of n
Of the start position corresponding to the value of k when the
Read the bit pattern representing the line pattern and read
The bit pattern of the video RAM
Each of the m lines in the Y-axis direction starting from
Means for writing to the j-th word when the j-th word is determined by the determining means.

【0007】[0007]

【実施例】以下、本発明の実施例を図面について説明す
る。図1は本発明の一実施例を示すブロック図であっ
て、CPU1はプログラムRAM6に内蔵されるプログ
ラムに従って各部を制御し、ワークRAM7を使用して
途中のデータを記憶する。図1に示す実施例は、手書き
の図形を手書きゆえに生ずる線の大きさの変動を除去し
て、1ドットの大きさを所定のビット数とするために、
本発明を利用する例で、タブレット2上に手書きされた
データを手書き入力制御部3からビデオRAM4に入力
して表示装置5に表示する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. A CPU 1 controls each unit according to a program stored in a program RAM 6 and stores data in the middle using a work RAM 7. The embodiment shown in FIG. 1 removes a variation in the size of a line caused by hand-drawing a hand-drawn figure and sets the size of one dot to a predetermined number of bits.
In an example utilizing the present invention, data handwritten on the tablet 2 is input from the handwriting input control unit 3 to the video RAM 4 and displayed on the display device 5.

【0008】図2は、図1の装置の動作を示すフローチ
ャートであって、図において、S1〜S4は各処理ステ
ップを示す。また、図3は表示するドットの一例を示
し、この例ではドットの大きさはX軸方向を3ビット、
Y軸方向を3ビットとしている。以下、図2により図3
に示す例について本発明の装置の動作を説明する。タブ
レット2上に手書きでドットを書いた場合、図3に示す
ように正確な正方形(図3のX軸方向とY軸方向の単位
寸法を同一にすれば図3の斜線を施した部分は正方形で
ある)を書くことは出来ない。然し手書きドットの座標
位置は、タブレット2により決定されて手書き入力制御
部3に送られる。
FIG. 2 is a flowchart showing the operation of the apparatus shown in FIG. 1. In FIG. 2, S1 to S4 indicate respective processing steps. FIG. 3 shows an example of a dot to be displayed. In this example, the dot size is 3 bits in the X-axis direction,
The Y-axis direction has three bits. Hereinafter, FIG.
The operation of the apparatus of the present invention will be described with respect to the example shown in FIG. When dots are written by hand on the tablet 2, an accurate square as shown in FIG. 3 (if the unit dimensions in the X-axis direction and the Y-axis direction in FIG. 3 are the same, the hatched portion in FIG. ) Cannot be written. However, the coordinate position of the handwritten dot is determined by the tablet 2 and sent to the handwriting input control unit 3.

【0009】手書き入力制御部3では、図2のステップ
S1の処理が行われ、タブレット2から送られた座標位
置をビデオRAM4のアドレスに変換する。図3に示す
例では、X=2,Y=0となる。X軸方向では、例えば
16ビットづつの語に分けられている場合では、X=2
はX軸方向で最初のアドレスの(j=0の)語の中の
番目(k=2)のビットを意味する。次にS2の処理に
移り、図4のn=3に対応するパターンデータテーブル
を参照し、k=2に相当する出力データ3800(H)
を得る。但し(H)は16進表示であることを表す。
In the handwriting input control unit 3, the processing of step S1 in FIG. 2 is performed, and the coordinate position sent from the tablet 2 is converted into an address of the video RAM 4. In the example shown in FIG. 3, X = 2 and Y = 0. The X-axis direction, in the case where divided into for example 16 bits each word is, X = 2
Is 3 in the word (j = 0) of the first address in the X-axis direction.
Means a bit of th (k = 2). Next, the process proceeds to S2, referring to the pattern data table corresponding to n = 3 in FIG. 4, and outputting data 3800 (H) corresponding to k = 2.
Get. However, (H) indicates that the display is in hexadecimal.

【0010】次にS3に移り、データ3800をビデオ
RAMのX=0,Y=0の位置に書き込む。また次のS
4では同一データをX=0,Y=1;X=0,Y=2の
各位置に書き込む。この書き込みの結果、ビデオRAM
4の内容は、 0011100・・・ 0011100・・・ 0011100・・・ 0000000・・・ ・・・・・・・・・・ のようになり、これを読み出して表示装置5に表示する
と、図3に示す表示が得られる。
Next, the flow shifts to S3, where data 3800 is written in the video RAM at the position of X = 0, Y = 0. The next S
In step 4, the same data is written at each position of X = 0, Y = 1; X = 0, Y = 2. As a result of this writing, the video RAM
4 is as follows: 0011100... 0011100... 0011100... 00000000...... The display shown is obtained.

【0011】図4に示すテーブルの構成は容易である。
すなわち、1ドットをX軸方向のnビットの幅(図4の
場合n=3)とすると、図4に示す通り16ビットの1
語を4ビットづつの4個のグループに分け、各グループ
のビットパターンを16進数で読めばよい。例えば、k
=5の場合、最初を0番にして5,6,7番のビットを
「1」にするので、16進数で読めば0700となる。
The structure of the table shown in FIG. 4 is easy.
That is, if one dot has a width of n bits in the X-axis direction (n = 3 in FIG. 4), as shown in FIG.
The words may be divided into four groups of four bits, and the bit pattern of each group may be read in hexadecimal. For example, k
In the case of = 5, the first bit is set to 0, and the fifth, sixth, and seventh bits are set to "1".

【0012】図4にはk=7までのテーブルの内容しか
表してないが、k=15まで存在する。但し、k=14
とk=15の場合は次の番地の語にも書き込まなければ
ならないので、そのデータをも記憶し、その書き込み処
理をも実行する必要がある。
FIG. 4 shows only the contents of the table up to k = 7, but up to k = 15. Where k = 14
If k and k = 15, it is necessary to write the word at the next address. Therefore, it is necessary to store the data and execute the writing process.

【0013】図5は、n=5に対応するパターンデータ
テーブルの内容を示し、図5もk=15までの表があ
り、k=12,k=13,k=14,k=15の場合に
は、次の番地の語にも書き込まなければならない。以上
は1、2の数値例について本発明を説明したが、本発明
はこれらの数値例に限定されるものではないことは明ら
かである。
FIG. 5 shows the contents of the pattern data table corresponding to n = 5. FIG. 5 also has a table up to k = 15, where k = 12, k = 13, k = 14, and k = 15. Must also be written in the word at the following address: Although the present invention has been described with reference to the numerical examples 1 and 2, it is apparent that the present invention is not limited to these numerical examples.

【0014】[0014]

【発明の効果】以上説明したように本発明によるドット
表示処理装置は、ビデオRAMの複数のビットに同一ド
ットのデータを書き込む際に、予め作成しておいたパタ
ーンデータテーブルを参照して書き込むことにしたの
で、書き込み時間を充分に短縮することができるという
効果がある。
As described above, the dot display processing device according to the present invention, when writing the same dot data to a plurality of bits of the video RAM, writes the data with reference to a previously created pattern data table. Therefore, there is an effect that the writing time can be sufficiently reduced.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】図1の装置の動作を示すフローチャートであ
る。
FIG. 2 is a flowchart showing the operation of the apparatus of FIG.

【図3】図1の装置の動作を説明するための図である。FIG. 3 is a diagram for explaining the operation of the device of FIG. 1;

【図4】パターンデータテーブルの一例を示す説明図で
ある。
FIG. 4 is an explanatory diagram showing an example of a pattern data table.

【図5】パターンデータテーブルの他の一例を示す説明
図である。
FIG. 5 is an explanatory diagram showing another example of the pattern data table.

【符号の説明】[Explanation of symbols]

1 CPU 2 タブレット 3 手書き入力制御部 4 ビデオRAM 5 表示装置 6 プログラムRAM 7 ワークRAM Reference Signs List 1 CPU 2 tablet 3 handwriting input control unit 4 video RAM 5 display device 6 program RAM 7 work RAM

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 図形(文字を含む)を表すドットパター
ンをビデオRAMに格納し、このビデオRAMを読み出
して図形表示を行う際、前記ビデオRAMのX軸方向の
n(nは任意の自然数)ビット,前記X軸に垂直なY軸
方向のm(mは任意の自然数)ビットを以て図形の1ド
ットを表示する場合に、ドットを表示するためのビット
パターンデータを1語iビット(iはnより大きい自然
数)からなる語単位でビデオRAMに書き込むドット表
示処理装置において、 表示すべき表示用ドットの座標位置を決定する手段、 この座標位置が前記ビデオRAMの1ライン上の第何番
目の語(第0番から数えて第j番とする)の第何番目
(第0番から数えて第k番とする)のビットに相当する
かを決定する手段、 前記nの値毎に調製され、それぞれが、順に開始位置が
シフトされたnビットの長さの線パターンを表す1又は
2語長のi組のビットパターンを有するパターンテーブ
ル、 このパターンデータテーブルから、前記nの値に対応す
るテーブルの、前記決定する手段で第k番と決定された
場合のkの値に対応する前記開始位置の線パターンを表
すビットパターンを読み出し、読出されたビットパター
ンを、前記ビデオRAMの当該ラインから始まるY軸方
向のm本のラインのそれぞれの、前記決定する手段で第
j番目と決定された場合の第j語目に書き込む手段、 を備えたことを特徴とするドット表示処理装置。
1. A storing graphic dot pattern representing a (including a character) to the video RAM, the reading out the video RAM when cormorants line graphic display, X-axis direction of the n (n is an arbitrary natural number of the video RAM ) bit, wherein when the vertical Y-axis direction of the m (m in the X-axis to display one dot shapes with a natural number) bits, bits for displaying a dot
When the pattern data is one word i bits (i is a natural
In dot display processing unit to be written into video RAM by the word unit consisting of a number), means for determining the coordinate position of the display dot to be displayed, the ordinal number of the word on one line of the coordinate position is the video RAM (first Means for deciding the number of a bit (counted from the 0th to jth) which corresponds to the jth bit (counted from the 0th to kth), each bit being adjusted for each value of n Start position
1 representing a shifted n-bit long line pattern or
A pattern table having i sets of bit patterns having a length of two words, and from the pattern data table ,
Table is determined to be k-th by the determining means.
The line pattern of the start position corresponding to the value of k in the case is displayed.
Read the bit pattern, and read the read bit pattern.
To the Y-axis starting from the line in the video RAM.
Each of the m lines in the direction
means for writing to the j-th word when determined to be the j-th, a dot display processing device.
【請求項2】 前記1語は16ビットからなり、n=3
に対応する前記パターンデータテーブルには、k=0、
1、2、3、4、5、6、7、・・・に対し、それぞれ
4桁の16進数、E000,7000,3800,1C
00,0E00,0700,0380,01C0,・・
が記憶されることを特徴とする請求項第1項記載のド
ット表示処理装置。
2. The method according to claim 1, wherein said one word comprises 16 bits and n = 3.
The said pattern data table corresponding to, k = 0,
For each of 1 , 2 , 3 , 4 , 5 , 6 , 7 ,... , Four hexadecimal digits, E000, 7000, 3800, 1C
00,0E00,0700,0380,01C0 , ...
2. The dot display processing device according to claim 1 , wherein? Is stored.
【請求項3】 前記1語は16ビットからなり、n=5
に対応する前記パターンデータテーブルには、k=0、
1、2、3、4、5、6、7に対し、それぞれ4桁の1
6進数、F800,7C00,3E00,1F00,0
F80,07C0,03E0,01F0,・・・が記憶
されることを特徴とする請求項第1項記載のドット表示
処理装置。
3. The one word is composed of 16 bits, and n = 5.
The said pattern data table corresponding to, k = 0,
For 1, 2, 3, 4, 5, 6, and 7, each of four digits 1
Hexadecimal, F800, 7C00, 3E00, 1F00, 0
2. The dot display processing device according to claim 1 , wherein F80 , 07C0 , 03E0 , 01F0 ,... Are stored.
JP5319275A 1993-11-26 1993-11-26 Dot display processing device Expired - Lifetime JP2605609B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5319275A JP2605609B2 (en) 1993-11-26 1993-11-26 Dot display processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5319275A JP2605609B2 (en) 1993-11-26 1993-11-26 Dot display processing device

Publications (2)

Publication Number Publication Date
JPH07152362A JPH07152362A (en) 1995-06-16
JP2605609B2 true JP2605609B2 (en) 1997-04-30

Family

ID=18108391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5319275A Expired - Lifetime JP2605609B2 (en) 1993-11-26 1993-11-26 Dot display processing device

Country Status (1)

Country Link
JP (1) JP2605609B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61107290A (en) * 1984-10-30 1986-05-26 株式会社東芝 Drawing controller
JPH02216593A (en) * 1989-02-17 1990-08-29 Ricoh Co Ltd Information processor provided with graphic generating function
JPH0368994A (en) * 1989-08-09 1991-03-25 Hitachi Ltd Display device
JP2770516B2 (en) * 1990-01-08 1998-07-02 日本電気株式会社 Drawing method
JPH04291684A (en) * 1991-03-20 1992-10-15 Matsushita Electric Ind Co Ltd Thick line plotter

Also Published As

Publication number Publication date
JPH07152362A (en) 1995-06-16

Similar Documents

Publication Publication Date Title
JPH0640259B2 (en) Data processing device
JP2605609B2 (en) Dot display processing device
JPH04291684A (en) Thick line plotter
JP2770582B2 (en) Figure filling device
US5428719A (en) Method and apparatus for generating high-quality pattern in accordance with an edge defining a character pattern
JPS6339947B2 (en)
JPH0256678B2 (en)
JP2630843B2 (en) Straight line drawing method and apparatus
JP3092154B2 (en) Digital drawing equipment
JP2727667B2 (en) Drawing equipment
JPH0449119B2 (en)
JPS63195696A (en) Fast lithography
JP2740197B2 (en) Bitmap drawing device
JPS6132676B2 (en)
JP2713219B2 (en) Graphic display device
JPS6244794A (en) Pointer display system for bit map display
JPH0596811A (en) Printing method
JPH064065A (en) Character enlargement display method
JPH0528397B2 (en)
JPS6283785A (en) Pattern reduction/expansion processing system
JPH05127662A (en) Display device of information equipment
JPH0352078B2 (en)
JPS6368985A (en) Face painting system
JPS63243990A (en) Character transmission system
JPS6165372A (en) Vector developing system