[go: up one dir, main page]

JPS61124982A - Pattern expansion - Google Patents

Pattern expansion

Info

Publication number
JPS61124982A
JPS61124982A JP59246129A JP24612984A JPS61124982A JP S61124982 A JPS61124982 A JP S61124982A JP 59246129 A JP59246129 A JP 59246129A JP 24612984 A JP24612984 A JP 24612984A JP S61124982 A JPS61124982 A JP S61124982A
Authority
JP
Japan
Prior art keywords
pattern
output
register
pattern information
data
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.)
Pending
Application number
JP59246129A
Other languages
Japanese (ja)
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP59246129A priority Critical patent/JPS61124982A/en
Publication of JPS61124982A publication Critical patent/JPS61124982A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [技術分野] 本発明は記憶手段に記憶されているパターン情報を拡大
して出力するためのパターン拡大方法に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a pattern enlarging method for enlarging and outputting pattern information stored in a storage means.

[従来技術] 従来、異なった文字パターンを表示又は印刷出力する場
合には、各文字種毎に所望の文字サイズのパターンをそ
れぞれ記憶しておき、必要に応じて、例えば見出し等の
場合には大きなパターンで表示又は記憶していた。この
ため多大なパターン格納領域を必要としていた。
[Prior Art] Conventionally, when displaying or printing out different character patterns, patterns of desired character sizes are stored for each character type, and as needed, for example, in the case of headings, large patterns are stored. It was displayed or memorized as a pattern. Therefore, a large pattern storage area was required.

[目的] 本発明は上述の従来技術の問題点に鑑みなされたもので
、単一の形状のパターンを記憶するのみで異なる大きさ
のパターン情報に拡大して出力することのできるパター
ン拡大方法を提案することを目的とする。
[Objective] The present invention has been made in view of the problems of the prior art described above, and provides a pattern enlarging method that can enlarge and output pattern information of different sizes by simply storing a pattern of a single shape. The purpose is to make suggestions.

し実施例] 以下、図面を参照して本発明の一実施例を説明する。Examples] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明に係る一実施例のブロック図であり、図
中1は全体の制御を司どるCPU、2は一頁分のパター
ン化された表示情報を記憶するページメモリ、3はペー
ジメモリ2より表示情報を読出しラッチレジスタ5にセ
ットするダイナミックメモリアクセスコントローラ(以
下DMACと称す)、5はページメモリ2よりの読出し
情報を保持するラッチレジスタ、6はラッチレジスタ5
よりの並列読出し情報をパラレルシリアル変換して出力
するP/Sレジスタ、7はP/Sレジスタ6よりの表示
情報の出力装置20での受取りタイミングを示す水平ク
ロック(H3YNC)信号12を出力する水平クロック
発生回路、8は水平クロック信号12を分周するN進カ
ウンタ、9はN進カウンタ8の分周率を保持し、N進カ
ウンタ8に出力するN進データレジスタ、10はP/S
レジスタ6のシフトクロックを出力するシフトクロック
出力部、11は出力装置20へ出力する画像信号14の
行変更タイミングを出力する垂直クロック発生回路であ
る。
FIG. 1 is a block diagram of an embodiment according to the present invention, in which 1 is a CPU that controls the entire control, 2 is a page memory that stores patterned display information for one page, and 3 is a page Dynamic memory access controller (hereinafter referred to as DMAC) reads display information from the memory 2 and sets it in the latch register 5; 5 is a latch register that holds information read from the page memory 2; 6 is a latch register 5;
A P/S register 7 converts the parallel read information from the P/S register 6 into parallel to serial and outputs it, and 7 a horizontal clock (H3YNC) signal 12 that outputs the horizontal clock (H3YNC) signal 12 indicating the timing at which the output device 20 receives the display information from the P/S register 6. A clock generation circuit, 8 is an N-ary counter that divides the horizontal clock signal 12, 9 is an N-ary data register that holds the frequency division rate of the N-ary counter 8 and outputs it to the N-ary counter 8, and 10 is a P/S.
A shift clock output section 11 outputs the shift clock of the register 6, and a vertical clock generation circuit 11 outputs the row change timing of the image signal 14 to be outputted to the output device 20.

以下、第2図のフローチャートを参照して本実施例の動
作を説明する。
The operation of this embodiment will be described below with reference to the flowchart in FIG.

以下の説明では出力装置としてCRT表示装置を用いて
おり、ラッチレジスタ5には1バイト分の表示データが
読み出され、セットされる。
In the following explanation, a CRT display device is used as an output device, and one byte of display data is read out and set in the latch register 5.

まずSlでCPUIはページメモリ2よりの先頭読み出
しアドレスをDMAC5にセットシ、続<32でパター
ンの拡大倍率nに従いこのnの1゛の補数を生成し、N
進データレジスタにセットする。これによりN進カウン
タ8は水平クロック信号12をn分の1の周期に分周し
、P/Sレジスタ6はこの分周されたクロックに従いセ
ットされたデータをシフトすることになり実質的に水平
クロック信号n個分毎に出力が変化することになり、こ
れはページメモリより読み出したパターン情報が実質的
に水平方向に1倍されたことになる。この拡大倍率の指
定は不図示の表示マツプレジスタ等に予め設定されてい
る指定値に従い行なわれる。
First, in Sl, the CPU sets the first read address from the page memory 2 to the DMAC 5, and then in <32, it generates the 1's complement of this n according to the pattern enlargement magnification n.
Set in the hexadecimal data register. As a result, the N-adary counter 8 divides the frequency of the horizontal clock signal 12 into a period of 1/n, and the P/S register 6 shifts the set data according to this frequency-divided clock, resulting in a substantially horizontal The output changes every n clock signals, which means that the pattern information read from the page memory is substantially multiplied by 1 in the horizontal direction. This enlargement magnification is specified according to a specified value preset in a display map register (not shown) or the like.

そしてDMAC5はS3で、CPUIで指定されたアド
レス値に従いページメモリ2より1バイト分のデータを
読出し、ラッチレジスタ5に格納する。そして続<S4
でP/Sレジスタ6内に出カデータがあるか否か調べ、
出力データのない時にはS5に進み、この′ラッチレジ
スタ5の格納データをP/Sレジスタ6にセットする。
Then, in S3, the DMAC 5 reads one byte of data from the page memory 2 according to the address value specified by the CPUI, and stores it in the latch register 5. And continuation<S4
Check whether there is output data in the P/S register 6 with
When there is no output data, the process advances to S5, and the data stored in the latch register 5 is set in the P/S register 6.

DMAC5はラッチレジスタ5内のデータがP/Sレジ
スタ6にセットされると1ライン分走査が終了し、垂直
クロック発生回路11よりの垂直クロック信号11の出
力がなければ(S6〜N)自動的にページメモリの次の
アドレスのパターンデータを読み出し、ラッチレジスタ
5に格納しくS3)、P/Sレジスタ6が空になるのを
待つ(S4)。
When the data in the latch register 5 is set in the P/S register 6, the DMAC 5 completes scanning for one line, and if the vertical clock signal 11 is not output from the vertical clock generation circuit 11 (S6 to N), the DMAC 5 automatically scans one line. Then, the pattern data at the next address of the page memory is read out and stored in the latch register 5 (S3), and waits until the P/S register 6 becomes empty (S4).

S4でP/Sレジスタ6にデータのある場合にはS7に
示す様にシフトクロック出力部10よりのシフトクロッ
クに従い画像情報を14を順次出力している状態である
If there is data in the P/S register 6 in S4, the image information 14 is sequentially output in accordance with the shift clock from the shift clock output section 10 as shown in S7.

またS6で1ラインの走査が終了した場合、即ち水平ク
ロック信号12が1ライン分出力されるとこれを垂直ク
ロック発生回路11で検出し、出力装置20に垂直クロ
ック信号(VSYNC)13を出力すると共にDMAC
5及びcptriに報知する。CPUIへの報知は割込
要求により行なわれ、CPUIはこの割込要求があると
310に進み、1頁分の出力が全て終了したか否かを調
べる。そして1頁分の出力が終了している時にはSlに
戻り再び同一頁の表示を繰り返す、出力装置がプリンタ
等の場合にはページメモリ2に次の頁の出力データの格
納されている場合には次頁の先頭アドレスより画像デー
タの出力を実行し1次の頁の出力データの格納されてい
ない場合には次の頁の出力データの格納されるのを待っ
てこの格納データの出力処理を実行すればよい。
Further, when scanning of one line is completed in S6, that is, when the horizontal clock signal 12 is outputted for one line, this is detected by the vertical clock generation circuit 11, and the vertical clock signal (VSYNC) 13 is outputted to the output device 20. with DMAC
5 and cptri. Notification to the CPUI is performed by an interrupt request, and upon receiving this interrupt request, the CPU advances to step 310 and checks whether or not all output for one page has been completed. When the output for one page has been completed, the process returns to Sl and repeats the display of the same page. If the output device is a printer or the like, and the output data for the next page is stored in the page memory 2, Execute output of image data from the first address of the next page. If the output data of the next page is not stored, wait for the output data of the next page to be stored and execute the output process of this stored data. do it.

510で1頁分の出力の終了していない場合にはSll
で拡大倍率数だけ同一ラインの画像データが出力された
か否かを調べ、拡大倍率数だけの同一ラインの出力のな
い場合には垂直方向に同一スキャンを繰り返すべく再び
DMAC5に同一ラインの先頭アドレスをセットしてS
3に戻る。
If the output for one page is not finished at 510, Sll
Check whether the same line of image data has been output for the number of enlargement factors or not, and if the image data for the same line has not been output for the number of enlargement factors, send the start address of the same line to the DMAC 5 again to repeat the same scan in the vertical direction. Set S
Return to 3.

ここで拡大倍率に応じた垂直方向への拡大が終了してい
るときにはS13に進み、次のラインの先頭アドレスを
DMAC5にセットし、続くS14でこのラインより拡
大倍率の変更があるか否かを調べ、倍率の変更があれば
S2に戻り、新たな拡大倍率に従った処理を実行する。
If the vertical enlargement according to the enlargement magnification has been completed, the process advances to S13, and the start address of the next line is set in DMAC5, and in the subsequent S14, it is determined whether or not there is a change in the enlargement magnification from this line. If there is a change in magnification, the process returns to S2 to execute processing according to the new magnification.

以上の説明では1ライン毎にしか拡大倍率を変更しない
例を説明したが、lラインの途中で拡大倍率を変更させ
る時にはCPUIがDMAC5にページメモリ2よりの
1ライン分のデータ読み出し処理を指示する場合に倍率
を変更すべき特定アドレス値を指定しておき、該アドレ
ス値のアクセス時にDMAC5よりCPUIに割込要求
を出力させ、この時点で拡大倍率変更処理を実行すれば
よい。
In the above explanation, an example was explained in which the magnification is changed only for each line, but when changing the magnification in the middle of one line, the CPU instructs the DMAC 5 to read data for one line from the page memory 2. In this case, a specific address value for which the magnification should be changed is specified, and when the address value is accessed, the DMAC 5 outputs an interrupt request to the CPUI, and the enlargement magnification changing process is executed at this point.

本実施例によるパターンの拡大例を第3図に示す。FIG. 3 shows an enlarged example of the pattern according to this embodiment.

第3図(A)は拡大処理実行前のページメモリ2への格
納パターンを示す、第3図(A)に示す“Z12”を水
平・垂直方向に各2倍に拡大した例を第3図CB)に、
水平・垂直方向各3倍に拡大した例を第3図(C)に示
す。
FIG. 3(A) shows the storage pattern in the page memory 2 before the enlargement process is executed. FIG. 3 shows an example in which "Z12" shown in FIG. CB),
An example enlarged three times in both the horizontal and vertical directions is shown in FIG. 3(C).

上記実施例において、水平クロック発生回路7よりN進
カウンタ8に出力されるクロック信号を水平クロック信
号12と同一とすると、拡大倍率は1の整数倍となるが
、N進カウンタ8へのクロック信号を水平クロック信号
12の2倍の周期とすることにより自動的に水平方向に
局の整数倍とすることができる。他の倍率についても同
様にクロック周期を変更することにより任意の倍率を設
定できる。
In the above embodiment, if the clock signal output from the horizontal clock generation circuit 7 to the N-ary counter 8 is the same as the horizontal clock signal 12, the enlargement factor will be an integral multiple of 1, but the clock signal to the N-ary counter 8 will be By setting the period to twice that of the horizontal clock signal 12, it is possible to automatically set the period to an integer multiple of the number of stations in the horizontal direction. For other magnifications, arbitrary magnifications can be set by similarly changing the clock cycle.

以上説明した様に本実施例によれば、ページメモリ2内
には拡大しない通常の画像パターンを格納しておくのみ
で、何ら特別のパターン格納メモリ等を増設することな
く、出力装置への出力段階で任意の倍率とすることがで
き、出力装置への出力倍率の変更などもN進カウンタ8
への設定値及び垂直方向への同一ライン走査数を変更す
るのみでページメモリ2等の記憶パターンを何ら変更す
ることなく行なうことができ、特に特定画像域の拡大等
において顕著な効果が得られる。
As explained above, according to this embodiment, only normal image patterns that are not enlarged are stored in the page memory 2, and the output to the output device is performed without adding any special pattern storage memory or the like. Any magnification can be set in stages, and the output magnification to the output device can also be changed using the N-ary counter 8.
This can be done without changing the storage pattern of page memory 2, etc. by simply changing the setting value for , and the number of scans of the same line in the vertical direction, and this can be particularly effective when enlarging a specific image area. .

[効果] 以上説明した様に本発明によれば、単一サイズのパター
ン情報を記憶手段に記憶するのみで、該記憶手段よりの
読み出し時に任意の大きさに拡大して出力することがで
き、また拡大倍率の変更も極めて容易に行なうことがで
きるパターン拡大方法が提供できる。
[Effects] As explained above, according to the present invention, by simply storing pattern information of a single size in the storage means, it is possible to enlarge the pattern information to an arbitrary size and output it when reading from the storage means, Furthermore, a pattern enlarging method can be provided in which the enlargement magnification can be changed extremely easily.

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

第1図は本発明に係る一実施例のブロック図、 第2図は本実施例の拡大処理を示すフローチャート、 第3図(A)は本実施例の拡大前の記憶パターンを示す
図、 第3図(、B)、(C)は本実施例の拡大処理されたパ
ターン例を示す図である。 図中、1・・・CPU、?・・・ページメモリ、3・・
・DMACl3・・・ラッチレジスタ、6・・・P/S
レジスタ、8・・・N進カウンタ、9・・・N進データ
レジスタ、20・・・出力装置である。 特許出願人   キャノン株式会社 第1図
FIG. 1 is a block diagram of an embodiment according to the present invention, FIG. 2 is a flowchart showing enlargement processing in this embodiment, FIG. 3(A) is a diagram showing a storage pattern before enlargement in this embodiment, FIGS. 3(B) and 3(C) are diagrams showing examples of enlarged patterns of this embodiment. In the diagram, 1...CPU, ? ...Page memory, 3...
・DMACl3...Latch register, 6...P/S
Register, 8... N-ary counter, 9... N-ary data register, 20... Output device. Patent applicant Canon Co., Ltd. Figure 1

Claims (2)

【特許請求の範囲】[Claims] (1)記憶手段に記憶されたパターン情報を1画素毎に
出力クロック信号に同期させて出力するパターン出力装
置におけるパターン拡大方法であつて、前記記憶手段よ
り読出したパターン情報の画素毎の出力の変更を拡大比
率に応じて前記出力クロック信号の所定数出力毎に行な
い、出力するパターン情報の拡大をすることを特徴とす
るパターン拡大方法。
(1) A pattern enlarging method in a pattern output device that outputs pattern information stored in a storage means pixel by pixel in synchronization with an output clock signal, the method comprising: outputting pattern information for each pixel read out from the storage means; A pattern enlarging method characterized in that the pattern information to be output is enlarged by making a change every predetermined number of outputs of the output clock signal according to an enlargement ratio.
(2)記憶手段より所定容量毎に読出されるパターン情
報を保持する保持手段よりの読出しタイミングを拡大比
率に対応した数の出力クロック信号出力毎に設定し、該
拡大比率に対応した数だけ前記保持手段より繰返し保持
パターン情報を出力することを特徴とする特許請求の範
囲第1項記載のパターン拡大方法。
(2) The readout timing from the holding means for holding the pattern information read out from the storage means for each predetermined capacity is set every time a number of output clock signals are output corresponding to the enlargement ratio, and the number of output clock signals corresponding to the enlargement ratio is 2. A pattern enlarging method according to claim 1, characterized in that the holding means repeatedly outputs the holding pattern information.
JP59246129A 1984-11-22 1984-11-22 Pattern expansion Pending JPS61124982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59246129A JPS61124982A (en) 1984-11-22 1984-11-22 Pattern expansion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59246129A JPS61124982A (en) 1984-11-22 1984-11-22 Pattern expansion

Publications (1)

Publication Number Publication Date
JPS61124982A true JPS61124982A (en) 1986-06-12

Family

ID=17143908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59246129A Pending JPS61124982A (en) 1984-11-22 1984-11-22 Pattern expansion

Country Status (1)

Country Link
JP (1) JPS61124982A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6436462A (en) * 1987-07-31 1989-02-07 Tokyo Electric Co Ltd Dot printer
JPH01195062A (en) * 1988-01-29 1989-08-04 Silver Seiko Ltd Printing method and apparatus, and bit data row take-out circuit used in said apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6436462A (en) * 1987-07-31 1989-02-07 Tokyo Electric Co Ltd Dot printer
JPH01195062A (en) * 1988-01-29 1989-08-04 Silver Seiko Ltd Printing method and apparatus, and bit data row take-out circuit used in said apparatus
JPH0533910B2 (en) * 1988-01-29 1993-05-20 Silver Seiko

Similar Documents

Publication Publication Date Title
EP0185294B1 (en) Display apparatus
CA1220293A (en) Raster scan digital display system
JPS6085680A (en) Picture processing device
JPS59160174A (en) Graphic display unit
US4626839A (en) Programmable video display generator
JPS61124982A (en) Pattern expansion
JP2827361B2 (en) Semiconductor memory device
US6006314A (en) Image processing system, storage device therefor and accessing method thereof
JP3223130B2 (en) Sprite image display control device
JPS607478A (en) Image display
JPH10162131A (en) Image processor
JPH08314424A (en) Circuit for writing video signal to frame memory
JP3373993B2 (en) Character read control circuit
JPS6261156B2 (en)
JPH075857A (en) Data display
JPS5883884A (en) Dot pattern generation
JPH01112284A (en) Data processing
JPS6360915B2 (en)
JPH0795227B2 (en) Display control device and method
JPS60128490A (en) Display system
JPH02254549A (en) Data automatic reading system and automatic writing system
JPS59178486A (en) Display control method
JPH03115979A (en) Brightness interpolation type waveform display device
JPH02154296A (en) Video image scrolling system
JPH0638643B2 (en) Image memory address correction circuit