JPS60178074A - Electronic appliance - Google Patents

Electronic appliance

Info

Publication number
JPS60178074A
JPS60178074A JP59033618A JP3361884A JPS60178074A JP S60178074 A JPS60178074 A JP S60178074A JP 59033618 A JP59033618 A JP 59033618A JP 3361884 A JP3361884 A JP 3361884A JP S60178074 A JPS60178074 A JP S60178074A
Authority
JP
Japan
Prior art keywords
data
ram
signal
cpu
written
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
JP59033618A
Other languages
Japanese (ja)
Other versions
JPH0630909B2 (en
Inventor
Shigeru Ueda
茂 上田
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 JP59033618A priority Critical patent/JPH0630909B2/en
Priority to FR8502588A priority patent/FR2560412B1/en
Priority to GB08504824A priority patent/GB2156558B/en
Priority to DE3506592A priority patent/DE3506592C2/en
Publication of JPS60178074A publication Critical patent/JPS60178074A/en
Priority to US07/218,485 priority patent/US5010513A/en
Publication of JPH0630909B2 publication Critical patent/JPH0630909B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Abstract

PURPOSE:To enable a higher speed of the data processing with an effective use of a large-capacity RAM by setting the inside of the same RAM into a data convertible and writable area and a data non-convertible and non-writable area freely. CONSTITUTION:A RAM106 outputs a signal 107 indicating whether data conversion is performed to a data writing unit 103 from address information 102. Data from a bidirectional data bus 101 of a CPU is processed with the data writing unit 103 according to the signal 107 and written into a data conversion area as a buffer for a dot data of a RAM104 or a data non-conversion area to be used for a stack or flag of the CPU based on address information 102. The data written is outputted into an output equipment 999 such as ink-jet printer. This reduces the burden on the CPU to achieve a higher speed of data processing.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、データの高速処理が可能な電子機器に関する
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to electronic equipment capable of high-speed data processing.

〔従来技術〕[Prior art]

近年、様々な電子機器にL81が搭載され、多機能化が
進んでいる。そして、RAMの容量が増大し、それにつ
れて1a類のRAMの内容をデータバッファやスタック
、フラグ領域というように分割して使用する事が一般的
になってきている。
In recent years, L81 has been installed in various electronic devices, and they are becoming increasingly multifunctional. As the capacity of RAM increases, it has become common to use the contents of class 1a RAM divided into data buffers, stacks, and flag areas.

しかしながら、ホストコンピュータ等から送られて来る
コードデータ等の文章情報を内部のランダムアクセスメ
モリ上にビットイメージとして展開し、然る後、これを
読み出して出力する機器、例えばレーザビームプリンタ
においては、高速処理の必要上からデータバッファに対
してビットイメージをシフトし表のフォーマット子デー
タの様に重ね書きするよ5なデータ変換書き込み装置を
設ける事が有効であると考えられる。
However, devices such as laser beam printers that develop textual information such as code data sent from a host computer as a bit image on an internal random access memory, and then read and output this information at high speeds. Due to processing requirements, it is considered effective to provide a data converting and writing device that shifts the bit image to the data buffer and overwrites it like the format child data of a table.

しかしながら同一のRAMをフラグやスタックとして使
用する場合、データ変換書き込み装置が働(とフラグや
スタックの内容が変わってしまい、該電子機器は、所望
の機能を果せないという欠点があった。
However, when the same RAM is used as a flag or a stack, the data conversion/writing device operates (and the contents of the flag or stack change, resulting in the electronic device not being able to perform the desired function).

〔目 的〕〔the purpose〕

以上の点に鑑み、本願発明社、上記欠点を除去し、適切
に、高速にデータ処理が可能な電子機器を提供すること
にある。
In view of the above points, it is the object of the present invention to eliminate the above-mentioned drawbacks and provide an electronic device that can appropriately process data at high speed.

〔実施例〕〔Example〕

以下に図面を参照し本願発明について詳細に説明する。 The present invention will be described in detail below with reference to the drawings.

第1図は本発明適用のレーザビームプリンタであるペー
ジプリンタの外観図である。1はプリンタ本体で、例え
ばレーザビームプリンタ(LBP)である。2は操作表
示部、6は電源スィッチである。又、4は排紙部である
。5は伝送ケーブルで、ホストに接続されている。なお
プリンタ1はネットワークにおける端末やFaxであっ
てもよい。インタフェースとしては、セントロニクス社
のインタフェース方式、R8252−C方式、又はビデ
オ信号を入力するようにしてもよい。
FIG. 1 is an external view of a page printer which is a laser beam printer to which the present invention is applied. 1 is a printer body, for example a laser beam printer (LBP). 2 is an operation display section, and 6 is a power switch. Further, 4 is a paper discharge section. 5 is a transmission cable connected to the host. Note that the printer 1 may be a terminal in a network or a fax machine. As the interface, Centronics' interface method, R8252-C method, or a video signal may be input.

又、操作表示部2はホストからデータが伝送されること
を示す[ON LINEJキー、エラーをスキップさせ
るための[ERROR5KIPJキー、その他自己診断
、手差し用のキーやページ毎のプリントではなく伝送さ
れた所までのデータを出カスるためのキー等を有してい
る。6はROfV1カートリッジで、アルファベットや
漢字等の文字7オントやプログラムが格納されている。
In addition, the operation display section 2 displays the ON LINEJ key to indicate that data is being transmitted from the host, the ERROR5KIPJ key to skip errors, and other self-diagnosis, manual feeding keys, and the ON LINEJ key to indicate that data is being transmitted instead of printing each page. It has keys etc. to extract the data up to that point. 6 is the ROofV1 cartridge, which stores 7 characters such as the alphabet and kanji characters, as well as programs.

第2図は本発明適用の実施例を示すブロック図で、第1
図に示したプリンタ本体1におけるホストから伝送され
て(るデータを受信するインターフェースを示している
FIG. 2 is a block diagram showing an embodiment to which the present invention is applied.
This figure shows an interface for receiving data transmitted from a host in the printer body 1 shown in the figure.

第2図において101は8ビツトで構成されるCPUの
双方向データバスであり、1o2は同じくCPUの16
ピツトのアドレスバスの下12ビットのアドレス情報、
106はデータ書きこみ装置、104はランダムアクセ
スメモリ(以下工(・AMと称す)で、前記データ10
1がデータ書きこみ装置106を通り、データ105と
してRAM104 (128Kbyte)に書きこまれ
るものである。
In Fig. 2, 101 is the CPU's bidirectional data bus consisting of 8 bits, and 1o2 is also the CPU's 16-bit data bus.
The address information of the lower 12 bits of the Pitt address bus,
106 is a data writing device, 104 is a random access memory (hereinafter referred to as AM), and the data 10 is
1 passes through the data writing device 106 and is written into the RAM 104 (128 Kbytes) as data 105.

また、106は本発明に直接間わるところの、アドレス
情報102からデータ書きこみ装置103に対してデー
タ変換を行なつ(1)か否(0)かの信号107を送る
RAMである。ン°よお、lもAM106は、マイクロ
プロセッサのような演算装置′Cあってもよい。
Further, 106 is a RAM that directly relates to the present invention and sends a signal 107 indicating whether data is converted (1) or not (0) from the address information 102 to the data writing device 103. In addition, the AM 106 may also be a computing device such as a microprocessor.

なおltAM104に書きこまれたデータはインクジェ
ットプリンタ、LEDプリンタやLBPプリンタ等の各
種出力機器999に出力される。
Note that the data written in the ltAM 104 is output to various output devices 999 such as an inkjet printer, an LED printer, and an LBP printer.

更に詳細に記述したブロック図である。FIG. 3 is a block diagram describing the same in more detail.

201は読み出し専用メモリ(以下ROMと称す)、2
02はレジスタ、206はアンドゲート、204はRA
M104からのり一ドデータ108をラッチするための
レジスタ、205はOFLゲート、206は加算器、2
07は主制御装置である。208は、RAM104のブ
ータラ(alビットシフトするかを示すシフト情報であ
る。又、209はRAM104のアドレスを1つ増加す
るか(1)、そのままのアドレス(0)にするかを示す
信号である。
201 is a read-only memory (hereinafter referred to as ROM);
02 is a register, 206 is an AND gate, 204 is an RA
A register for latching the fixed data 108 from M104, 205 is an OFL gate, 206 is an adder, 2
07 is a main control device. 208 is shift information indicating whether to shift the booter (al bit) of the RAM 104. Also, 209 is a signal indicating whether to increase the address of the RAM 104 by one (1) or leave the address unchanged (0). .

WJ4図はRAM104及びRA M 106の16ビ
ツトアドレスマツダ上の占めるアドレス領域を示した例
でおる。
Figure WJ4 is an example showing the address areas occupied by the 16-bit addresses of RAM 104 and RAM 106.

第4図においてlLAM104の領域とRAM106の
領域とは1対1に対応する0いま、第4図におけるRA
M104の領域の内601をドツトデータのバッファと
してデータ変換を行な5領域、302をCPUのスタッ
クやフラグに使用するため、データ変換を行なわない領
域とする。
In FIG. 4, the area of the LAM 104 and the area of the RAM 106 have a one-to-one correspondence.
Of the areas M104, 601 is used as a buffer for dot data and data conversion is performed in area 5, and 302 is used for the CPU stack and flags, so it is an area where no data conversion is performed.

第2図及び第6図に示した如く下12ビットをそれぞれ
のRAMのアドレス入力102とした場合、RAM10
6にはあらかじめ図示しないCPUからの書きこみ信号
(第2図110)により領域303に「1」が、604
に「0」が書きこまれる0すなわち、第4図において領
域601にアクセスした時は、RAM106の出力であ
るデータ変換を行5か否かを示す信号107は「1」で
ありデータ信号つまり「0」となる。
As shown in FIGS. 2 and 6, when the lower 12 bits are used as the address input 102 of each RAM, the RAM 10
6, "1" is written in the area 303 by a write signal (110 in FIG. 2) from the CPU (not shown), and "1" is written in the area 604.
In other words, when the area 601 in FIG. 0".

まず領域601にアクセスした場合について述べる。First, the case where area 601 is accessed will be described.

データバス101にはホストコンピュータからのコード
情報をもとに図示しないドツトデータ発生回路からCP
Uによって読み出されたデータが送りこまれる。なお、
データ変換、書きこみ装置103#iデ〜タバス101
からの情報を第5図(5ビツトシフトした例を示す)の
如(シフトした後、第3図に示すようにROM 201
を介して連続するRAMのアドレスに、そのRAMのり
−ドデータ108とOR205をとって書きこむための
ものである。
The data bus 101 receives a CP signal from a dot data generation circuit (not shown) based on code information from the host computer.
The data read by U is sent. In addition,
Data conversion and writing device 103#i data bus 101
The information from the ROM 201 is transferred to the ROM 201 as shown in FIG.
This is for writing the RAM read data 108 and the OR 205 to successive RAM addresses via the RAM address.

次に、データのシフトについて説明する。Next, data shifting will be explained.

第6図においてレジスタ202はCPUによってデータ
101を何ビットシフトするかという情報があらかじめ
書きこまれている。
In FIG. 6, information on how many bits of data 101 to shift is written in register 202 by the CPU in advance.

例えば第5図のよ5にデータ101を5ビツトシフトし
て書きこむ場合はレジスタ202には2進法こまれてい
る。例えばデータ101が「171als141s1g
ltloJ 、データ208が「101」、信号209
が「0」の時は、ROM 201の出力215はRAM
1)1elsJであり信号209が「1」の時は、同様
に出力215は几AM104の次のアドレスを指定され
ているので、前のアドレスから次のアドレスにはみ出し
た5ビツトを含めた8ピツト、つまり「141slzl
iLo000 Jを出力すル。イマ信号107が「1」
の場合っまり、データ変換(シフト)をする場合を考え
ているので、アンドゲート2o6は開いているため、デ
ータ208の内容はレジスタ202の内容(シフト情報
)と同一である。CPUからはRAM104へ書きこむ
ためのデータ101とアドレス情報102が出力され、
同時に主制御装置207へ書きこみ命令210が出力さ
れる。又、データ101はROM 201によってシフ
トされデータ215として出力される。
For example, when data 101 is shifted by 5 bits and written to 5 as shown in FIG. 5, the register 202 contains a binary value. For example, data 101 is “171als141s1g
ltloJ, data 208 is "101", signal 209
When is "0", the output 215 of ROM 201 is RAM
1) When it is 1elsJ and the signal 209 is "1", the output 215 is similarly specified to the next address of the AM 104, so 8 pits including the 5 bits overflowing from the previous address to the next address are output. , that is, "141slzl
iLo000 Outputs J. Now signal 107 is “1”
In this case, since we are considering the case of data conversion (shift), the AND gate 2o6 is open, so the contents of the data 208 are the same as the contents (shift information) of the register 202. The CPU outputs data 101 and address information 102 to be written to the RAM 104,
At the same time, a write command 210 is output to the main controller 207. Further, data 101 is shifted by ROM 201 and output as data 215.

一方RA M 104からは所定のアクセスタイムを経
た後データ108が出力され、主制御装置207からの
ラッチ信号211によシレジスタ204にラッチされる
On the other hand, data 108 is output from RAM 104 after a predetermined access time, and is latched into register 204 by latch signal 211 from main controller 207 .

信号209は最初は「0」でおり、アドレス情報に1を
加算しないことを示しており、アドレス情報109は、
アドレス情報102の内容と同一である〇又、データ2
15とデータ212は5 rcゲート2o5によって0
几され、主制御装置207からのRAM書きこみ信号2
13により、RAM104に書きこまれる。
The signal 209 is initially "0", indicating that 1 is not added to the address information, and the address information 109 is
Same as the content of address information 102〇Also, data 2
15 and data 212 are set to 0 by 5 rc gate 2o5
RAM write signal 2 from main controller 207
13, it is written into the RAM 104.

なお信号214は、CPUがRAM104のデータを読
み出す時にのみ「0」となる信号でスリーステートゲー
ト216を開く。
Note that the signal 214 is a signal that becomes "0" only when the CPU reads data from the RAM 104, and opens the three-state gate 216.

次に主制御装置207はデータ101をROM 201
によりシフトした際、次のアドレスに祉み出た部分のデ
ータを前記RAM104に書きこむため、アドレス情報
に1を加算するために信号209を「0」から「1」に
する。それによってROM 201の出力215は、デ
ータ101の次のアドレスにはみ出た部分のデータ(第
6図における209が1の場合)になり、また加算器2
06の出力109は、アドレス情報102に1と加算し
た値となる。同様にして主制御装置207からRA M
 書きこみ信号213が出力され、RAM104にはは
み出た部分のデータが次のアドレスに書きこまれる。
Next, the main controller 207 stores the data 101 in the ROM 201.
When shifted by , in order to write the data at the next address into the RAM 104, the signal 209 is changed from "0" to "1" in order to add 1 to the address information. As a result, the output 215 of the ROM 201 becomes the data of the part of the data 101 that extends to the next address (if 209 in FIG. 6 is 1), and the output 215 of the ROM 201 becomes
The output 109 of 06 is the value obtained by adding 1 to the address information 102. Similarly, from the main controller 207
A write signal 213 is output, and the overflowing data in the RAM 104 is written to the next address.

次にCPUがム!4図における凡人M104の602の
領域にアクセスI、た場合について述べ乙、、この時、
第2図の几AM106の出力107はデータ変換を行わ
ないことを示す「0」である。出力107が「0」の時
第3図においてANDゲート203が閉じ、データのシ
フト情報を表わすデータ「208 Jが「000」とな
るので、ROM 201の出力215社、データ101
を0ビツトシフトした値、すなわちデータ101と出力
215は同一となる。また出力107が「0」の時、レ
ジスタ204はクリアされるため、データ105社デー
タ101及びデータ215と同一となる。
Next, the CPU is MU! Let's talk about the case where the ordinary person M104 accesses the area 602 in Figure 4.
The output 107 of the AM 106 in FIG. 2 is "0" indicating that data conversion is not performed. When the output 107 is "0", the AND gate 203 closes in FIG.
The value obtained by shifting 0 bits, that is, the data 101 and the output 215 are the same. Further, when the output 107 is "0", the register 204 is cleared, so the data 105 becomes the same as the company data 101 and the data 215.

またこの時はデータ101はシフトされず、従ってRA
 Mの次のアドレスにはみ出るデータが無いため、主制
御装置207は、書きこみ信号213を1度しか出力し
ない。
Also, at this time, data 101 is not shifted, so RA
Since there is no data protruding to the next address of M, the main controller 207 outputs the write signal 213 only once.

にい、。Nice.

以上の如(信号107が1の時データ101はデータ変
換されてRAM104に書き込まれ信号107がOの時
データ101は変換処理されずにRAM104に書きこ
まれる。
As described above (when the signal 107 is 1, the data 101 is converted and written to the RAM 104; when the signal 107 is 0, the data 101 is written to the RAM 104 without being converted).

〔効 果〕〔effect〕

以上、説明したように、本願発明によりデータの高速処
理が可能な電子機器を提供することができた。
As described above, the present invention has provided an electronic device capable of high-speed data processing.

又、本願発明により、同一のRAMの内部を自由にデー
タの変換、書きこみ可能な領域とデータ変換の書きこみ
できない領域に設定できるため、大容量のI(、A M
を有効に使用できるばかりでな(、CPUがそれを意識
する必要がないため、データ処理の高速化が計れ、また
CPUの負担も軽くなるという効果がある。
Furthermore, according to the present invention, the inside of the same RAM can be freely set as an area where data can be converted and written, and an area where data conversion cannot be written.
Not only can it be used effectively (but the CPU does not need to be aware of it, it has the effect of speeding up data processing and reducing the burden on the CPU.

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

第1図は、本願発明適用のページプリンタ外観図である
。 第2図は、本発明の実施例を示すブロック図である。 第6図は、データ変換、書きこみ装置の説明ブロック図
である。 第4図は、アドレス領域を示す図である0第5図は、デ
ータを5ピツトシフトした場合の説明図である。 第6図は、ROM201に格納されている情報の説明図
である。 104・・・B A M 201・・、ROM1060
・データ変換、書きこみ装置 出願人 キャノン株式会社 n@″I!−n+j@i亡
FIG. 1 is an external view of a page printer to which the present invention is applied. FIG. 2 is a block diagram showing an embodiment of the invention. FIG. 6 is an explanatory block diagram of the data conversion and writing device. FIG. 4 is a diagram showing the address area. FIG. 5 is an explanatory diagram when data is shifted by 5 pits. FIG. 6 is an explanatory diagram of information stored in the ROM 201. 104...B A M 201..., ROM1060
・Data conversion and writing device applicant: Canon Co., Ltd. n@"I!-n+j@i deceased

Claims (1)

【特許請求の範囲】 画像情報をビットイメージとして格納するメモリ手段、
前記メモリ手段に格納されたビットイメージを出力する
出力手段1 前記メそり手段に格納されるデータの変換及び/又は書
き込みを行う処理手段、 を有し、前記メモリ手段において前記処理手段によるデ
ータの変換書き込みが可能な領域と不可能な領域とを有
したことを特徴とする電子機器。
[Claims] Memory means for storing image information as a bit image;
Output means 1 for outputting the bit image stored in the memory means; Processing means for converting and/or writing data stored in the memory means; wherein the data is converted by the processing means in the memory means. An electronic device characterized by having a writable area and a writable area.
JP59033618A 1984-02-24 1984-02-24 Printer controller Expired - Lifetime JPH0630909B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP59033618A JPH0630909B2 (en) 1984-02-24 1984-02-24 Printer controller
FR8502588A FR2560412B1 (en) 1984-02-24 1985-02-22 DATA PROCESSING APPARATUS
GB08504824A GB2156558B (en) 1984-02-24 1985-02-25 Data processing apparatus
DE3506592A DE3506592C2 (en) 1984-02-24 1985-02-25 Recorder
US07/218,485 US5010513A (en) 1984-02-24 1988-07-06 Data processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59033618A JPH0630909B2 (en) 1984-02-24 1984-02-24 Printer controller

Publications (2)

Publication Number Publication Date
JPS60178074A true JPS60178074A (en) 1985-09-12
JPH0630909B2 JPH0630909B2 (en) 1994-04-27

Family

ID=12391438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59033618A Expired - Lifetime JPH0630909B2 (en) 1984-02-24 1984-02-24 Printer controller

Country Status (1)

Country Link
JP (1) JPH0630909B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0321475A (en) * 1989-06-19 1991-01-30 Matsushita Electric Ind Co Ltd Image output device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5397933U (en) * 1977-01-12 1978-08-09
JPS545330A (en) * 1977-06-15 1979-01-16 Hitachi Ltd Memory protect circuit
JPS5778253A (en) * 1980-10-31 1982-05-15 Canon Inc Picture processing device
JPS595496A (en) * 1982-06-30 1984-01-12 Fujitsu Ltd Memory protect system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5397933U (en) * 1977-01-12 1978-08-09
JPS545330A (en) * 1977-06-15 1979-01-16 Hitachi Ltd Memory protect circuit
JPS5778253A (en) * 1980-10-31 1982-05-15 Canon Inc Picture processing device
JPS595496A (en) * 1982-06-30 1984-01-12 Fujitsu Ltd Memory protect system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0321475A (en) * 1989-06-19 1991-01-30 Matsushita Electric Ind Co Ltd Image output device

Also Published As

Publication number Publication date
JPH0630909B2 (en) 1994-04-27

Similar Documents

Publication Publication Date Title
US5010513A (en) Data processing apparatus
JPH0630910B2 (en) Printing method
JPH0583451A (en) Laser facsimile system
JPS60178074A (en) Electronic appliance
JP2782798B2 (en) Image output device
JPS6330256A (en) Printer
KR950000124Y1 (en) Image buffer expansion device in printer
KR940010469B1 (en) Letter generating method for fax
JPS60218962A (en) Facsimile equipment
JPS6349236B2 (en)
JPH0569232B2 (en)
JPH02178826A (en) Page printer
JPS60178073A (en) Electronic appliance
JP2674887B2 (en) Word processor
JPS61264384A (en) Image processing circuit
JPH02144659A (en) Character processor
JP2001018463A (en) Dma controller and dma controlling method
JPS5936314B2 (en) Display device control method
JPH02188063A (en) Data transfer device for character code
JPS58192139A (en) Image memory controlling device
JPH04158394A (en) Character generator
JPS61186989A (en) Data processor
JPS6113365A (en) Electronic apparatus
JPH03180378A (en) Printer controller
JPS60178072A (en) Electronic appliance

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term