JPH0812545B2 - Pattern data output controller - Google Patents
Pattern data output controllerInfo
- Publication number
- JPH0812545B2 JPH0812545B2 JP60057032A JP5703285A JPH0812545B2 JP H0812545 B2 JPH0812545 B2 JP H0812545B2 JP 60057032 A JP60057032 A JP 60057032A JP 5703285 A JP5703285 A JP 5703285A JP H0812545 B2 JPH0812545 B2 JP H0812545B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- counter
- bit
- speed buffer
- 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
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 〔発明の利用分野〕 本発明は、電子計算機の可視出力手段に用いられる表
示装置や印刷装置などにおいて、1画面(1頁)全体の
文字や図形等の可視出力データのパターンデータを左あ
るいは右に90゜回転して出力するパターンデータ出力制
御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Use of the Invention] The present invention relates to a visible output data such as a character or a figure of a whole one screen (one page) in a display device or a printing device used as a visible output means of an electronic computer. Pattern data output control device for rotating the pattern data of 90 ° to the left or right and outputting the pattern data.
従来の文字パターン回転方式は、例えば特開昭55−12
3788号公報に示されているように、文字や図形等のパタ
ーンを左あるいは右に回転する場合、文字毎に回転させ
るか、あるいは1頁を複数のブロックに区切り、該ブロ
ック毎に回転させており、回転処理に長時間を要すると
いう欠点があった。A conventional character pattern rotation method is disclosed in, for example, Japanese Patent Laid-Open No. 55-12.
As shown in Japanese Patent No. 3788, when a pattern such as a character or a figure is rotated left or right, it is rotated for each character, or one page is divided into a plurality of blocks and the blocks are rotated for each block. However, there is a drawback that the rotation process requires a long time.
本発明の目的は、表示装置や印刷装置等の可視出力手
段に1頁分の文字や図形等の可視出力データのパターン
データを90゜回転して出力する際、従来に比べて回転処
理にかかる時間を大幅に短縮することにある。An object of the present invention is to perform rotation processing in comparison with a conventional method when outputting pattern data of visible output data such as characters and figures for one page by 90 ° to a visible output means such as a display device or a printing device, as compared with the conventional case. It is to save a lot of time.
本発明は、1頁分の可視出力データのパターンデータ
を正立にドット展開したフルドットメモリから、該1頁
分のパターンデータを可視出力手段の出力走査方向と直
角方向にワード単位に読み出して一度高速バッファメモ
リに順次書き込み、該高速バッファメモリから同様に前
記可視出力手段の出力走査方向と直角方向にビット単位
に順次読み出して可視出力手段に出力することで、1頁
分のパターンデータを一括して回転する。さらに、本発
明は高速バッファメモリを2面構成として、一方の面か
らパターンデータをビット単位で読み出している間に、
他方の面にフルドットメモリからの次のワード単位毎の
パターンデータを書き込むようにする。According to the present invention, pattern data for one page is read out in word units in a direction perpendicular to the output scanning direction of the visible output means from a full dot memory in which pattern data of visible output data for one page is vertically expanded. Once the pattern data for one page is collectively written by sequentially writing to the high-speed buffer memory, sequentially reading from the high-speed buffer memory bit by bit in the direction perpendicular to the output scanning direction of the visible output means, and outputting to the visible output means. And then rotate. Further, according to the present invention, the high-speed buffer memory has a two-sided structure, and while the pattern data is read out in bit units from one side,
The pattern data for each next word unit from the full dot memory is written on the other surface.
第2図および第3図はページ文字パターンの回転を説
明する図であり、第2図は回転をしないで出力するとき
のフルドットメモリと出力結果の関係、第3図は回転し
て出力するときのフルドットメモリと出力結果の関係を
示す。パターンの回転は、フルドットメモリ上にはあく
までも正立状態でデータをドット展開し、プリンタや表
示装置に送り出す際に回転を加える。以後、フルドット
メモリの1ワードは16ビットで構成され、該フルドット
メモリにドット展開されているデータをそのまゝ又は回
転してプリントアウトする場合について説明する。2 and 3 are diagrams for explaining the rotation of the page character pattern. FIG. 2 shows the relationship between the full dot memory and the output result when outputting without rotation, and FIG. 3 shows the output after rotating. The relationship between the full dot memory and the output result is shown below. As for the rotation of the pattern, the data is dot-developed in the upright state on the full-dot memory to the last, and the rotation is added when sending the data to the printer or the display device. Hereinafter, one word of the full dot memory is composed of 16 bits, and a case will be described in which the data dot-developed in the full dot memory is printed as it is or rotated.
第2図に示すように、通常はフルドットメモリ201に
正立状態で展開されたデータ208を、そのまゝ正立状態
で印字するため、フルドットメモリ201の1ワード202は
横方向に16ビット、縦方向に1ビットの構成になってい
る。印字データはフルドットメモリ201から読み出し、
シリアル化してプリンタ204に送り出すため、プリンタ2
04のレーザビーム等走査線の走行方向205とフルドット
メモリ201のメモリ読み出し203は同一方向である。つま
り、フルドットメモリ201のメモリ読み出し順203は左か
ら右に1行読み出して終ったら、その下の1行を左から
右に読み出す。この時、1ワード202が横方向に16ビッ
トあるため、プリンタ204が16ビット印字を行っている
間に、次のデータをメモリから読み出せばよい。よっ
て、印字データはこの読み出しデータからセレクタで1
ビットづつ選択してプリンタに送り出せる。これによ
り、用紙206上には、紙送り方向207に対し正立した状態
で印字パターン209が印字される。As shown in FIG. 2, normally, the data 208 expanded in the upright state in the full dot memory 201 is printed in the upright state. Therefore, one word 202 of the full dot memory 201 is printed in 16 horizontal directions. Bits, 1 bit in the vertical direction. Print data is read from the full dot memory 201,
Since it is serialized and sent to the printer 204, the printer 2
The traveling direction 205 of the scanning line such as the laser beam of 04 and the memory reading 203 of the full dot memory 201 are in the same direction. That is, in the memory reading order 203 of the full-dot memory 201, one line is read from left to right, and when it is completed, the lower line is read from left to right. At this time, since one word 202 has 16 bits in the horizontal direction, the next data may be read from the memory while the printer 204 is performing 16-bit printing. Therefore, the print data is 1 from the read data by the selector.
You can select each bit and send it to the printer. As a result, the print pattern 209 is printed on the paper 206 in an upright state with respect to the paper feeding direction 207.
第3図はフルドットメモリ301に正立状態でドット展
開したデータ308を、フルドットメモリ301から90゜回転
して用紙306上に印字する状態の説明である。本図では
左90゜回転を例として説明するが、右90゜回転でも同じ
である。FIG. 3 is an illustration of a state in which the dot-developed data 308 in the upright state in the full dot memory 301 is rotated 90 ° from the full dot memory 301 and printed on the paper 306. In this figure, 90 ° counterclockwise rotation is described as an example, but the same applies to 90 ° clockwise rotation.
フルドットメモリ301上には、第2図で説明した、回
転しない場合と同じように、正立状態で印字データ308
がドット展開されている、これに対し印字パターン309
を左90゜回転して出力するためには、メモリの読み出し
順303がレーザビーム等の走査線の走行方向305と同じで
なければならない。つまり、第3図に示すように、上か
ら下に1列読み出し、次にその左側の1列を読み出す必
要がある。このようにすれば、プリンタ304で用紙306上
に、紙送り方向307に対し左90゜回転した印字パターン3
09を印字できる。In the full dot memory 301, the print data 308 in the upright state is displayed in the same manner as in the case of not rotating as described in FIG.
The dots are expanded, whereas the print pattern 309
In order to output the image rotated by 90 ° to the left, the reading order 303 of the memory must be the same as the traveling direction 305 of the scanning line such as the laser beam. That is, as shown in FIG. 3, it is necessary to read one column from top to bottom and then read one column on the left side. In this way, the printer 304 prints on the paper 306 a print pattern 3 rotated 90 ° to the left with respect to the paper feeding direction 307.
Can print 09.
こゝで、問題となるのは、フルドットメモリ301の1
ワード302が縦方向には1ビットしかないため、1回の
メモリアクセスで印字ドットとして有効なビットは1ビ
ットしかないことである。この点について、本発明は以
下のようにして解決するものである。Here, the problem is 1 of full dot memory 301
Since the word 302 has only one bit in the vertical direction, there is only one bit effective as a print dot in one memory access. The present invention solves this point as follows.
第1図は本発明の原理構成を示したものである。 FIG. 1 shows the principle configuration of the present invention.
第1図(a)はページパターンデータを回転しない
で、フルドットメモリ101に展開された状態のまゝ印字
する場合である。即ち、フルドットメモリ101に格納さ
れたデータは、プリンタの印字用レーザビーム等の走査
線の走行方向105と同じ方向に、1ワード102単位に順次
横方向に読み出される。読み出されたデータはレジスタ
103に格納され、セレクタ104で1ビットに絞られてプリ
ンタに送出される。FIG. 1 (a) shows a case where the page pattern data is not rotated but is printed in the state of being developed in the full dot memory 101. That is, the data stored in the full dot memory 101 is sequentially read in the horizontal direction in units of one word 102 in the same direction as the running direction 105 of the scanning line such as the printing laser beam of the printer. The read data is a register
The data is stored in 103, narrowed down to 1 bit by the selector 104, and sent to the printer.
これに対して、第1図(b)はページパターンデータ
を回転して印字する場合であり、フルドットメモリ101
からは、プリンタの印字用レーザビーム等の走査線の走
行方向109と同じく、縦方向に上から下にデータを1ワ
ード(16ドット)ずつ読み出して行く。これを一度レジ
スタ103で受け、次の16ビットを読み出すまでの間に2
ドットずつセレクタ104でセレクトし、高速バッファメ
モリ105,106に書き込んでゆく。バッファ105,106は各々
1ビット幅のメモリであり、両方を合せた容量はフルド
ットメモリ101の2列分より等しいか大きくする。この
バッファ105,106をそれぞれ0面と1面の2面を用意
し、一方の面に書き込んでいる間、他方の面は読み出し
専用とし、16ラスタ走査線が走査し終ったら、書き込み
用と読み出し用の面を交換する。この0面と1面は、高
速バッファメモリ105,106のアドレス最上位ビットで切
り換える。つまり、第1図(b)の線108が0面,1面の
境界線となる。0面に書き込まれている間は1面が読み
出し用になるが、1面には既に16ラスタ分のデータが書
き込まれている。1面からは一度に2ドットづつ読み出
され、これがセレクタ107で1ドットに絞られてプリン
タに送出される。On the other hand, FIG. 1B shows a case where the page pattern data is rotated and printed, and the full dot memory 101
In the same manner as in the traveling direction 109 of the scanning line such as the printing laser beam of the printer, one word (16 dots) of data is read vertically from top to bottom. This is received by the register 103 once, and it is 2 before the next 16 bits are read.
Dots are selected dot by dot by the selector 104 and written in the high speed buffer memories 105 and 106. The buffers 105 and 106 are memories each having a 1-bit width, and the combined capacity of the two is equal to or larger than the two columns of the full dot memory 101. Two buffers 105 and 106 are prepared, one for the 0th surface and the other for the 1st surface. While writing on one surface, the other surface is read-only, and when 16 raster scanning lines have finished scanning, the buffers for writing and reading Swap the faces. The 0th surface and the 1st surface are switched by the most significant address bits of the high speed buffer memories 105 and 106. That is, the line 108 in FIG. 1 (b) is a boundary line between the 0th surface and the 1st surface. While the data is written on the 0th surface, the 1st surface is for reading, but 16 rasters of data has already been written on the 1st surface. Two dots are read from one surface at a time, and the dots are narrowed down to one dot by the selector 107 and sent to the printer.
第1図(b)の構成で回転を行っていくための高速バ
ッファメモリ105,106への印字ドットの格納の仕方及び
読み出しの仕方を示したのが第4図である。FIG. 4 shows how to store and read the print dots in the high-speed buffer memories 105 and 106 for rotating in the configuration of FIG. 1 (b).
第4図において、フルドットメモリ101内には、1ワ
ードが102のように配列されている。このビットの位置
を左から順番に00,01,02,03,……0E,0Fとして、その下
にある1ワードのビット位置を10,11,12,13……1E,1Fと
すると、高速バッファメモリ105,106に書き込むときに
は、まずフルドットメモリ101から読み出した00,01,…
…0Fのうちの偶数ビットを105へ、奇数ビットを106に書
き込む。この際、406に示す点線の中の2ビットが、高
速バッファメモリ105,106に一度に書き込まれるビット
である。次にフルドットメモリ101より読み出した1ワ
ード10,11,12,……1Fを高速バッファメモリ105,106に書
き込む時は、直前の1ワードとは逆に、偶数ビットを10
6、奇数ビットを105に書き込む。この書き込みビットを
逆にする作業は第1図(b)のセレクタ104により行わ
れる。フルドットメモリ101の次の1ワードは、直前の
1ワードとは逆に偶数ビットが105、奇数ビットが106に
書き込まれる。In FIG. 4, one word is arranged as 102 in the full dot memory 101. If the bit positions are 00,01,02,03, ... 0E, 0F in order from the left, and the bit position of one word underneath is 10,11,12,13 …… 1E, 1F, high speed When writing to the buffer memories 105 and 106, first, 00, 01, ...
… Write the even bits of 0F to 105 and the odd bits to 106. At this time, 2 bits in the dotted line indicated by 406 are bits which are written in the high speed buffer memories 105 and 106 at one time. Next, when writing 1 word 10, 11, 12, ... 1F read from the full dot memory 101 to the high speed buffer memory 105, 106, contrary to the immediately preceding 1 word, an even number of bits is 10
6. Write odd bits to 105. The operation of reversing the write bit is performed by the selector 104 in FIG. 1 (b). In the next 1 word of the full dot memory 101, the even bits are written in 105 and the odd bits are written in 106, contrary to the previous 1 word.
高速バッファメモリ105,106からの読み出しは次のよ
うに行う。例えば、1ワード内の1番右側の1列を順次
読み出す場合、つまり0F,1F,2F,3F,……の順で読み出す
場合、点線407に示すように、0Fと1Fを同時に読み出
し、第1図(b)のセレクタ107で1ドットずつ選んで
やれば、0F,1Fの順にプリンタに送り出すことができ
る。その次は点線408に示すように読み出せばよいので
あるが、このように読み出すためには、高速バッファメ
モリ105,106のアドレス8個を1つのブロックと考え
(第4図の405がブロックの境界を示す)、アドレスの
下3桁を固定し、下から4桁めはバッファ105の反転し
たものをバッファ106のアドレスとすればよい。そうし
ておいて、下から5桁目以上のビットを順次1つずつ加
算していけば、点線407の次は点線408の2ビットが読み
出されて来る。Reading from the high speed buffer memories 105 and 106 is performed as follows. For example, when sequentially reading the rightmost one column in one word, that is, in the order of 0F, 1F, 2F, 3F, ..., As shown by the dotted line 407, 0F and 1F are read simultaneously, and the first By selecting one dot at a time with the selector 107 in FIG. 9B, the dots can be sent to the printer in the order of 0F and 1F. Next, it is sufficient to read out as shown by the dotted line 408, but in order to read out in this way, 8 addresses of the high speed buffer memories 105 and 106 are considered as one block (405 in FIG. 4 indicates a block boundary). (Shown), the last three digits of the address may be fixed, and the inverted fourth of the buffer 105 may be used as the address of the buffer 106 for the fourth digit from the bottom. Then, if the bits of the fifth digit or more from the bottom are sequentially added one by one, two bits of the dotted line 408 are read after the dotted line 407.
以上のようにして、1ワード内の右端の1列を読み出
し終ったら、次は(前記高速バッファメモリのアドレス
の)下から4桁めのビットを反転し、また、5桁目以上
をリセットした上、順次1ずつ加算していく。こうする
と、0E,1E,2E,3Eと読み出され、フルドットメモリ101の
1ワード内の右から2番目の列が読み出されていること
になる。このようにして2列の読み出しが終ったら、固
定しておいたブロック内アドレス、つまり高速バッファ
メモリ105,106のアドレスの下3桁を1減算する。この
状態で、また同じように読み出しを繰り返していけば、
フルドットメモリ101を1列ずつ順番に読み出していく
ことになる。After reading the rightmost column in one word as described above, the bit in the fourth digit from the bottom (of the address of the high-speed buffer memory) is inverted, and the fifth digit or more is reset. Above, add one by one. As a result, 0E, 1E, 2E, 3E are read, and the second column from the right in one word of the full dot memory 101 is read. When the reading of the two columns is completed in this manner, the fixed intra-block address, that is, the lower three digits of the addresses of the high-speed buffer memories 105 and 106 are subtracted by one. In this state, if you repeat reading in the same way,
The full dot memory 101 is sequentially read out one column at a time.
次に以上述べてきたフルドットメモリからの読み出
し、高速バッファメモリへの書き込み、読み出しを実現
するための実施例について説明する。Next, an embodiment for realizing reading from the full dot memory, writing into the high speed buffer memory, and reading as described above will be described.
第5図にフルドットメモリ101からデータを読み出す
ためのアドレスカウンタの構成を示す。制御装置は走査
線(以後これをラスタと呼ぶ)上のどの位置にレーザビ
ーム等があるかを知るためにカウンタを持ち、時間監視
をしている。これをHカウンタとBカウンタと呼ぶ。B
カウンタは4ビットで構成され、印字1ドットを打つの
と同じクロックで1加算される。Hカウンタは8ビット
で構成され、Bカウンタが桁あふれすると1加算され
る。Hカウンタ,Bカウンタは毎ラスタの初めにリセット
される。Vカウンタはラスタが1頁内のどの位置にいる
かを監視するものであり、頁の初めにリセットされ、毎
ラスタ開始時に1加算される。Jカウンタは12ビットで
構成され頁の初めにリセットされ、印字16ビット毎に1
加算される。16ラスタの間上記のように加算され、17ラ
スタ目の初めにリセットされる。VRカウンタは12ビット
で構成され、Vカウンタと同じタイミングで動くが1ず
つ減算される。VRカウンタの初期値は頁の初めにロード
され、その値はフルドットメモリ101の右端の1列を選
択する値である。上記のようにVカウンタとVRカウンタ
は同じタイミングで動くものであり、回転しないときに
加算動作、回転のときに減算動作をするようなものであ
れば、1つのハードウェアで共用できる。FIG. 5 shows the configuration of an address counter for reading data from the full dot memory 101. The control device has a counter in order to know at which position on the scan line (hereinafter referred to as a raster) the laser beam or the like is provided, and the time is monitored. This is called an H counter and a B counter. B
The counter is composed of 4 bits, and 1 is added at the same clock as when one dot of printing is printed. The H counter is composed of 8 bits, and 1 is added when the B counter overflows. The H counter and B counter are reset at the beginning of every raster. The V counter monitors the position of the raster within one page, is reset at the beginning of the page, and is incremented by 1 at the start of each raster. The J counter consists of 12 bits, is reset at the beginning of the page, and is 1 every 16 bits for printing.
Is added. It is added as above for 16 rasters and reset at the beginning of the 17th raster. The VR counter is made up of 12 bits and moves at the same timing as the V counter, but is decremented by one. The initial value of the VR counter is loaded at the beginning of the page, and the value is a value for selecting the rightmost column of the full dot memory 101. As described above, the V counter and the VR counter move at the same timing, and one hardware can be commonly used as long as the addition operation is performed when the rotation is not performed and the subtraction operation is performed when the rotation is performed.
第5図(a)は回転しないときのフルドットメモリ10
1のアドレス構成を示すものである。Hカウンタは上述
のように16ドットごとに1加算され、これがフルドット
メモリ101の横方向のワードアドレスとなる。これに対
し、Vカウンタはフルドットメモリ101の縦方向のアド
レスとなるものである。これによりフルドットメモリ10
1は印字16ドット毎に左から右へ読み出され、1ラスタ
終了すると、その下の行に移り、また左から右へ読み出
される。Fig. 5 (a) shows full dot memory 10 when it is not rotated.
1 shows an address configuration of 1. As described above, the H counter is incremented by 1 every 16 dots, and this becomes the horizontal word address of the full dot memory 101. On the other hand, the V counter serves as a vertical address of the full dot memory 101. This allows full dot memory 10
1 is read from left to right for every 16 dots printed, and when one raster is completed, it moves to the line below it and is read from left to right.
第5図(b)は回転を行うときのフルドットメモリ10
1のアドレス構成を示すものである。フルドットメモリ1
01の横方向アドレスはVRカウンタによる。たゞし、横方
向アドレスとしてVRカウンタの上位8ビットを使用す
る。これにより、横方向のアドレスは16ラスタ毎に1減
算されることになる。フルドットメモリ101の縦方向ア
ドレスはJカウンタによる。Jカウンタは16ドット毎に
1加算される。これにより、フルドットメモリ101は、
まず右端の1列を16ドット毎に上から下へ読まれ、16ラ
スタ目で1番下にたどりつく。そして、17ラスタ目は1
つ左の列をまた一番上から読み出していく。FIG. 5B shows the full dot memory 10 when rotating.
1 shows an address configuration of 1. Full dot memory 1
The horizontal address of 01 depends on the VR counter. However, the upper 8 bits of the VR counter are used as the horizontal address. As a result, the horizontal address is decremented by 1 every 16 rasters. The vertical address of the full dot memory 101 depends on the J counter. The J counter is incremented by 1 every 16 dots. As a result, the full dot memory 101 is
First, the rightmost column is read every 16 dots from top to bottom, and it reaches the bottom at the 16th raster. And the 17th raster is 1
The column on the left is read again from the top.
以上のようにして、フルドットメモリから読み出した
データを第4図に示すような配列で高速バッファメモリ
に書き込み、それを読み出して1ビットにシリアル化
し、プリンタに送り出す様子を説明したのが第6図であ
る。As described above, the manner in which the data read from the full-dot memory is written in the high-speed buffer memory in the arrangement as shown in FIG. 4, the data is read, serialized into 1 bit, and sent to the printer is explained. It is a figure.
フルドットメモリ101から読み出されたデータは一度
レジスタ801(第1図の103に対応する)に格納される。
レジスタ801は2つのセレクタ804,805につながっている
が、レジスタ801の偶数ビットはセレクタ804へ、奇数ビ
ットはセレクタ805へ入る。図中の802はバイトを、803
はビットを示している。セレクタ804,805は、Bカウン
タの上位3ビットにより各々1ビットをセレクトする。
つまりBカウンタ(0,1,2)ビットが0のとき左端のビ
ットを選び、1増える毎に右に移っていく。セレクタ80
4,805で選び出されたビットはセレクタ806に入る。セレ
クタ806はJカウンタの最下位ビット(B)が0のと
き、高速バッファメモリ807(第1図の105に対する)の
入力がセレクタ804の出力に、高速バッファメモリ808
(第1図の106に対応する)の入力がセレクタ805の出力
になり、Jカウンタの最下位ビット(B)が1のとき80
7の入力が805の出力に、808の入力が804の出力になるよ
うに選択する。高速バッファメモリ807,808は各々1ワ
ード1ビットで、807,808を合せた総ビット数はフルド
ットメモリ101を2列分縦方向に読み出したビット数よ
り多ければよい。本実施例では、高速バッファメモリ80
7,808は各々64Kビットとしてある。The data read from the full dot memory 101 is once stored in the register 801 (corresponding to 103 in FIG. 1).
Although the register 801 is connected to the two selectors 804 and 805, the even bit of the register 801 enters the selector 804 and the odd bit of the register 801 enters the selector 805. 802 in the figure is a byte, 803
Indicates a bit. Selectors 804 and 805 select 1 bit each from the upper 3 bits of the B counter.
In other words, when the B counter (0,1,2) bit is 0, the leftmost bit is selected, and the value is incremented by 1 and moved to the right. Selector 80
The bits selected by 4,805 enter the selector 806. When the least significant bit (B) of the J counter is 0, the selector 806 outputs the input of the high speed buffer memory 807 (to 105 in FIG. 1) to the output of the selector 804 and the high speed buffer memory 808.
80 when the input (corresponding to 106 in FIG. 1) becomes the output of the selector 805 and the least significant bit (B) of the J counter is 1.
Select 7 inputs to be 805 outputs and 808 inputs to be 804 outputs. Each of the high-speed buffer memories 807 and 808 is 1 bit per word, and the total number of bits of 807 and 808 may be larger than the number of bits of the full dot memory 101 read vertically for two columns. In this embodiment, the high speed buffer memory 80
Each of 7,808 has 64K bits.
高速バッファメモリ807,808は各々最上位アドレスで
2つに分けられ、前半を0面、後半を1面として呼ぶ。
フルドットメモリ101からの読み出しデータを0面に書
き込んでいる間は、1面から読み出してデータをプリン
タに送る。0面、1面の役割は16ラスタ毎に交代する。The high-speed buffer memories 807 and 808 are each divided into two by the highest address, and the first half is called the 0th surface and the latter half is called the 1st surface.
While the read data from the full dot memory 101 is being written on the 0th surface, the 1st surface is read and the data is sent to the printer. The roles of plane 0 and plane 1 alternate every 16 rasters.
高速バッファメモリ807,808の書込み/読出しは書き
込み用アドレスレジスタ809と読み出し用アドレスレジ
スタ810による。書き込み用アドレス809の構成は、最上
位ビットが前述の0面と1面の切り換えビットであり、
VRカウンタの(7)ビットを使う。最下位の3ビットは
Bカウンタの上位3ビット(0,1,2)であり、2ドット
毎に1加算される。残りはJDレジスタと呼ばれるもの
で、本レジスタはJカウンタが1加算されるとき、Jカ
ウンタの加算直前の値をロードするJカウンタのディレ
イレジスタである。JDレジスタは16ドット印字される時
間一定である。このとき並行してJカウンタは次のデー
タをフルドットメモリより読み出す動作を行っている。
高速バッファメモリ807,808の読み出しアドレスレジス
タ810の構成は、最上位ビットがVRカウンタの(7)ビ
ットを反転したもので、次の8ビットがHカウンタ、そ
の次の3ビットがBカウンタの上位3ビット(0,1,2)
である。このHとBの上位3ビッと2ビット毎に1加算
される。次の1ビットは高速バッファメモリ807に対し
てはVRカウンタの最下位(B)ビットであり、高速バッ
ファメモリ808に対しては反転器813によりアドレス中該
ビットのみ反転され、VRカウンタの(B)の反転したも
のがアドレスとなる。最下位の3ビットはVRカウンタの
(8,9,A)ビットである。VRカウンタは前述のように1
ラスタ毎に減算されるので、読み出しアドレス810は全
体として第4図で説明したようにビットを選択すること
ができる。Writing / reading of the high speed buffer memories 807 and 808 is performed by the write address register 809 and the read address register 810. In the configuration of the write address 809, the most significant bit is the above-mentioned 0-side and 1-side switching bit,
Use (7) bit of VR counter. The lowest 3 bits are the upper 3 bits (0, 1, 2) of the B counter, and 1 is added for every 2 dots. The rest is called the JD register. This register is a delay register of the J counter that loads the value immediately before the addition of the J counter when the J counter is incremented by 1. The JD register is constant for printing 16 dots. At this time, the J counter is concurrently operating to read the next data from the full dot memory.
The configuration of the read address register 810 of the high-speed buffer memories 807 and 808 is such that the most significant bit is the inverted (7) bit of the VR counter, the next 8 bits are the H counter, and the next 3 bits are the upper 3 bits of the B counter. (0,1,2)
Is. One is added for every 2 bits of the higher 3 bits of H and B. The next 1 bit is the least significant (B) bit of the VR counter for the high speed buffer memory 807, and for the high speed buffer memory 808, only that bit is inverted in the address by the inverter 813, and the ) Becomes the address. The lowest 3 bits are (8,9, A) bits of the VR counter. VR counter is 1 as described above
Since it is subtracted for each raster, the read address 810 can select bits as a whole as described in FIG.
セレクタ811,812は書き込みアドレスレジスタ809と読
み出しアドレスレジスタ810を選択するもので、Bカウ
ンタの最下位ビット(3)が0のとき読み出しアドレス
レジスタ810を、1のとき書き込みアドレスレジスタ809
を選ぶようにしておけばよい。The selectors 811 and 812 select the write address register 809 and the read address register 810. When the least significant bit (3) of the B counter is 0, the read address register 810 is set, and when it is 1, the write address register 809 is set.
You should choose.
レジスタ814は、高速バッファメモリ807,808から読み
出したデータを一時格納する各々1ビットのレジスタで
あり、2ビット印字する時間、読み出しデータを保持し
ている。セレクタ815はレジスタ814,817から1ビット選
択するもので、VRカウンタの(B)ビットが0のとき
は、Bカウンタの(3)ビットが0であれば814を、1
であれば817を選び、VRカウンタの(B)ビットが1の
ときは、Bカウンタの(3)ビットが0であれば817
を、1であれば814を選ぶ。これにより、印字する順番
にデータをプリンタに送り出すことができる。セレクタ
815はまた回転しないときには別のビットを選択する。
つまり、回転しない場合で、Bカウンタの(3)ビット
が0のときはセレクタ804を、1のときはセレクタ805を
選ぶ。これにより、フルドットメモリ101の出力を回転
しないでプリンタに送り出せる。レジスタ816はセレク
タ815より選択された1ビットの印字データを1ドット
の時間保持し、出力をプリンタに送り出す。The register 814 is a 1-bit register that temporarily stores the data read from the high-speed buffer memories 807 and 808, and holds the read data for the time of 2-bit printing. The selector 815 selects one bit from the registers 814 and 817. When the (B) bit of the VR counter is 0, the 814 is set to 1 if the (3) bit of the B counter is 0.
If the (B) bit of the VR counter is 1, then 817 is selected if the (3) bit of the B counter is 0.
If 1, select 814. As a result, the data can be sent to the printer in the order of printing. selector
The 815 also selects another bit when it does not rotate.
That is, in the case of no rotation, the selector 804 is selected when the (3) bit of the B counter is 0, and the selector 805 is selected when the B counter is 1. As a result, the output of the full dot memory 101 can be sent to the printer without rotating. The register 816 holds the 1-bit print data selected by the selector 815 for 1 dot, and sends the output to the printer.
本発明によれば、1頁分の可視出力データのパターン
データを正立にドット展開したフルドットメモリと表示
装置や印刷装置等の可視出力手段との間に高速バッファ
メモリを配置し、1頁分のパターンデータを一括して90
゜回転処理することにより、従来の文字毎の回転やブロ
ック毎の回転に比べて1頁全体の回転に要する処理時間
を大幅に短縮することができる。さらに、本発明では高
速バッファメモリを2面構成として、一方の面からパタ
ーンデータをビット単位で読み出している間に、他方の
面にフルドットメモリからの次のワード単位毎のパター
ンデータを書き込むことにより、パターンデータのさら
なる高速回転が可能になる。また、本発明においては、
回転処理が頁単位であるため、文字以外の図形データな
どの回転処理が容易に達成できる。According to the present invention, a high-speed buffer memory is arranged between a full dot memory in which pattern data of visible output data for one page is vertically expanded and visible output means such as a display device or a printing device. 90 minutes pattern data at once
By performing the rotation processing by °, it is possible to significantly reduce the processing time required to rotate the entire page, as compared with the conventional rotation for each character or block. Further, in the present invention, the high-speed buffer memory has a two-sided structure, and while the pattern data is read from one side in bit units, the pattern data in the next word unit from the full dot memory is written to the other side. Thus, the pattern data can be rotated at a higher speed. Further, in the present invention,
Since the rotation process is performed in page units, the rotation process of graphic data other than characters can be easily achieved.
第1図は本発明の原理構成を示す図、第2図及び第3図
はパターンの回転を説明する図、第4図は本発明による
高速バッファメモリに対する書込み/読出しの原則を説
明する図、第5図はフルドットメモリのアドレス構成を
示す図、第6図は本発明の一実施例を示す図である。 101……フルドットメモリ、103……レジスタ、104,107
……セレクタ、105,106……高速バッファメモリ。FIG. 1 is a diagram showing the principle configuration of the present invention, FIGS. 2 and 3 are diagrams for explaining pattern rotation, and FIG. 4 is a diagram for explaining the principle of writing / reading to / from a high-speed buffer memory according to the present invention. FIG. 5 is a diagram showing the address configuration of the full dot memory, and FIG. 6 is a diagram showing an embodiment of the present invention. 101 …… Full dot memory, 103 …… Register, 104,107
...... Selector, 105,106 …… High-speed buffer memory.
Claims (1)
力すべき1頁分の可視出力データのパターンデータをn
ビットのワード単位に、前記可視出力手段の出力走査方
向順に格納するフルドットメモリを有し、該フルドット
メモリから前記1頁分のパターンメモリデータを、前記
可視出力手段の出力走査方向と同一方向にワード単位に
読み出して前記可視出力手段へ非回転で送出するパター
ンデータ出力制御装置において、 前記可視出力手段へ回転されたパターンデータを送出す
るために、 一方の面に書き込みを行っている間に他方の面からの読
み出しが可能な2面構成の高速バッファメモリと、 前記フルドットメモリから前記1頁分のパターンデータ
を、前記可視出力手段の出力走査方向と直角方向にワー
ド単位に読み出して前記高速バッファメモリの一方の面
へ書き込む手段と、 前記高速バッファメモリの一方の面へ書き込みを行って
いる間に、該高速バッファメモリの他方の面から、前記
可視出力手段の出力走査方向と直角方向にビット単位に
出力する手段と、 前記高速バッファメモリの書き込みを行う面と読み出し
を行う面を、前記可視出力手段の出力走査に対応して少
なくともn走査毎に交互に選択する手段と、を設けたこ
とを特徴とするパターンデータ出力制御装置。1. The pattern data of visible output data for one page to be output to a visible output means such as a display device or a printing device is n.
A full dot memory for storing in order the output scanning direction of the visible output means in word units of bits, and the pattern memory data for one page from the full dot memory is in the same direction as the output scanning direction of the visible output means. In the pattern data output control device which reads out in word units and sends it to the visible output means in a non-rotating manner, while writing on one surface in order to send the rotated pattern data to the visible output means, A two-sided high-speed buffer memory capable of reading from the other side, and the one-page pattern data from the full-dot memory are read word by word in a direction perpendicular to the output scanning direction of the visible output means. Means for writing on one side of the high speed buffer memory, and while writing on one side of the high speed buffer memory, From the other surface of the high-speed buffer memory, a means for outputting in a bit unit in a direction perpendicular to the output scanning direction of the visible output means, a writing surface and a reading surface of the high-speed buffer memory are the visible output means. And a means for alternately selecting at least every n scans corresponding to the output scan of 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60057032A JPH0812545B2 (en) | 1985-03-20 | 1985-03-20 | Pattern data output controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60057032A JPH0812545B2 (en) | 1985-03-20 | 1985-03-20 | Pattern data output controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61215583A JPS61215583A (en) | 1986-09-25 |
| JPH0812545B2 true JPH0812545B2 (en) | 1996-02-07 |
Family
ID=13044096
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60057032A Expired - Lifetime JPH0812545B2 (en) | 1985-03-20 | 1985-03-20 | Pattern data output controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0812545B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5614285A (en) * | 1979-07-17 | 1981-02-12 | Ricoh Kk | Data converter |
| JPS5617489A (en) * | 1979-07-20 | 1981-02-19 | Fujitsu Ltd | Character display processing system |
| JPS57100581A (en) * | 1980-12-13 | 1982-06-22 | Usac Electronics Ind Co Ltd | Print control system |
-
1985
- 1985-03-20 JP JP60057032A patent/JPH0812545B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61215583A (en) | 1986-09-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0137147B1 (en) | Pattern processing system | |
| JPH0141994B2 (en) | ||
| US5381163A (en) | Image processing apparatus | |
| US4935897A (en) | Semiconductor memory device suitable for use as a dot image buffer for a printer | |
| JPH0812545B2 (en) | Pattern data output controller | |
| JPH11306343A (en) | 2D data rotation processor | |
| JP2846357B2 (en) | Font memory device | |
| JPH0241267A (en) | Image forming device | |
| JPS597115B2 (en) | How to create an address | |
| US6014225A (en) | Frame buffer control method and circuit | |
| JP2546247B2 (en) | Character scaling circuit | |
| JP2753349B2 (en) | Arbitrary angle rotation image data input / output method, input / output circuit thereof, and electronic file device using the same | |
| JPH0316037B2 (en) | ||
| EP0397415A2 (en) | Raster scan type printer | |
| JP2748004B2 (en) | Rotation processing method of character pattern group | |
| JPH024915B2 (en) | ||
| JPH0426137B2 (en) | ||
| JPS584187A (en) | Character rotation method | |
| JPS6031178A (en) | Display controller | |
| JPH0226234B2 (en) | ||
| JPS6183048A (en) | Image data rotation device | |
| JPH07210666A (en) | Image forming device | |
| JPS62269993A (en) | Information output unit | |
| JPH07320053A (en) | Image rotation processor | |
| JPS61140986A (en) | Character rotation apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |