JPH0321473A - Image output device - Google Patents
Image output deviceInfo
- Publication number
- JPH0321473A JPH0321473A JP1156491A JP15649189A JPH0321473A JP H0321473 A JPH0321473 A JP H0321473A JP 1156491 A JP1156491 A JP 1156491A JP 15649189 A JP15649189 A JP 15649189A JP H0321473 A JPH0321473 A JP H0321473A
- Authority
- JP
- Japan
- Prior art keywords
- area
- data
- vbb
- dram
- 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.)
- Granted
Links
Landscapes
- Record Information Processing For Printing (AREA)
- Image Generation (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、ビットマップデータを展開して出力すべき画
像メモリを有する画像出力装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an image output device having an image memory for expanding and outputting bitmap data.
従来の技術
画像出力装置のなかでも一般的である、レーザプリンタ
を例に従来の画像出カ装置を説明する。BACKGROUND OF THE INVENTION A conventional image output device will be described using a laser printer as an example, which is a common type of image output device.
第7図は従来のレーザプリンタのブロック図である。こ
こに示すようにレーザプリンタはインターフェース手段
2、ビデオデータ処理手段3、レーザスキャンユニット
部4(類下LSU部と略称する。)、エンジン制御手段
5エンジンメヵ部6がらなる5つのブロックで構威され
ている。FIG. 7 is a block diagram of a conventional laser printer. As shown here, the laser printer is composed of five blocks consisting of an interface means 2, a video data processing means 3, a laser scanning unit section 4 (abbreviated as LSU section), an engine control means 5 and an engine mechanical section 6. ing.
以下にこの構成によるレーザプリンタの概略を説明する
。ホストコンピュータ1と接続されたレーザプリンタは
ホストコンピュータ1がら送られてくるテキストデータ
をインターフェース手段2を介して受信し、ビデオデー
タ処理手段3内のメモリに記憶する。次にこのテキスト
データはビデオデータ処理手段3内でイメージデータで
あるビットマップデータに展開され、出力装置であるL
SU部4から送られる水平同期信号〈以下HSYNCと
略称する〉に同期をとって、シリアル出力であるビデオ
データ(以下VDOUTと略称する)としてLSU部に
送られる。また、ビデオデータ処理手段3ではVDOU
Tを出力するのに合わせて、紙送りやメインモータ駆動
などのエンジンメカ部6の制御をしているエンジン制御
手段5の管理を行なっている。このようにしてイメージ
データの画像形成を行なっている。The outline of the laser printer with this configuration will be explained below. A laser printer connected to a host computer 1 receives text data sent from the host computer 1 via an interface means 2 and stores it in a memory within a video data processing means 3. Next, this text data is developed into bitmap data, which is image data, in the video data processing means 3, and output device L
In synchronization with a horizontal synchronizing signal (hereinafter abbreviated as HSYNC) sent from the SU section 4, the data is sent to the LSU section as video data (hereinafter abbreviated as VDOUT) which is a serial output. In addition, the video data processing means 3 also outputs VDOU.
In conjunction with outputting T, the engine control means 5, which controls the engine mechanical section 6 such as paper feeding and main motor drive, is managed. In this way, image formation of image data is performed.
以上のように構成されるレーザプリンタにおいて、ビデ
オデータ処理手段3の従来の構成であるビデオデータ処
理部のブロック図を第8図に示す。In the laser printer configured as described above, a block diagram of a video data processing section, which is a conventional configuration of the video data processing means 3, is shown in FIG.
ここで7はMPU,8はDRAMを有しているDRAM
ブロック部.、9はVRAMブロック部を示している。Here, 7 is an MPU, and 8 is a DRAM that has a DRAM.
Block part. , 9 indicate a VRAM block section.
10はアドレスデコード手段であり、MPU7のアドレ
スバス(MPUA)を入力としアドレスのデコードを行
い、MPU7がDRAMブロック部8とVRAMブロッ
ク部9とのどちらのメモリとアクセスを要求しているの
かを識別し、後述DRAM調停千段12に対しDRAM
とのアクセス要求信号(DRAMRQ) 、或は後述V
RAM調停手段16に対してVRAM9とのアクセス要
求信号(VRAMRQ)を発生させる。11、15、は
それぞれDRAMブロック部8及びVRAMブロック部
9のリフレッシュ手段であり、DRAMブロック部8及
びVRAMブロック部9のリフレッシュを要求する手段
である。リフレッシュ手段11は後述のDRAM調停手
段12に対してリフレッシュ要求信号(DREFRQ)
を発生させ、リフレッシュ手段15は後述VRAM調停
手段16に対してリフレッシュ要求信号(VREFRQ
)を発生させる。12、16はそれぞれDRAMブロッ
ク部8及びVRAMブロック部9の調停手段であり、D
RAM調停千段l2はアクセス要求信号DRAMRQと
リフレッシュ要求信号DREFRQの調停をとり後述の
DRAMタイミング千段l3に対してどの調停をとった
がの状態を示すDRAMスタート命令信号郡(DSTC
OM)をVRAM調停手段16はアクセス要求信号VR
AMRQとリフレッシュ要求償号VREFRQの調停を
とり後述のVRAMタイミング千段17に対してどの調
停をとったがの状態を示すVRAMスタート命令信号郡
(VSTCOM)を送る。Reference numeral 10 denotes an address decoding means, which inputs the address bus (MPUA) of the MPU 7, decodes the address, and identifies which memory, the DRAM block section 8 or the VRAM block section 9, the MPU 7 requests access to. However, compared to the DRAM arbitration stage 12 described later, the DRAM
access request signal (DRAMRQ) with
A request signal (VRAMRQ) for accessing the VRAM 9 is generated for the RAM arbitration means 16. 11 and 15 are refresh means for the DRAM block section 8 and VRAM block section 9, respectively, and are means for requesting refresh of the DRAM block section 8 and VRAM block section 9. The refresh means 11 sends a refresh request signal (DREFRQ) to the DRAM arbitration means 12, which will be described later.
The refresh means 15 generates a refresh request signal (VREFRQ) to the VRAM arbitration means 16, which will be described later.
) occurs. 12 and 16 are arbitration means for the DRAM block unit 8 and VRAM block unit 9, respectively;
The RAM arbitration stage l2 arbitrates between the access request signal DRAMRQ and the refresh request signal DREFRQ, and outputs a DRAM start command signal group (DSTC) indicating which arbitration has been taken for the DRAM timing stage l3, which will be described later.
OM) and the VRAM arbitration means 16 receives the access request signal VR.
Arbitration is made between AMRQ and refresh request compensation signal VREFRQ, and a group of VRAM start command signals (VSTCOM) indicating which arbitration has been taken is sent to VRAM timing stage 17, which will be described later.
l4はアドレスバスMPUAを入力とし後述のDRAM
タイミング手段13に対してバンク切り換え状態信号群
(BANKST)を送るバンク切り換え手段である。こ
こでバンク切り換えはDRAMブロック部8内のテキス
トデータを記憶するユーザエリアが固定されており限り
があるため、メモリオーバーフローを起こさないように
ユーザーのテキストデータ量に応じてメモリを拡張する
必要があり、このDRAM拡張の際に使用する。13は
DRAMタイミング信号であり、DRAM調停手段12
から送られる信号群DSTCOMによってDRAMブロ
ック部8に対してDRAMアクセスのためのタイミング
信号群(DRAMT)を発生するとともに、バンク切り
換え千段14から送られる信号群BANKSTを入力し
DRAMブロック部8に対してバンク情報信号( B
A N K O〉を送る。第8図には図示していないが
、バンク情報信号BANKOに対するDRAMブロック
部8と同様にバンク情報信号BANKIおよびBANK
2に対する拡張DRAMブロック部が存在するものとす
る。このようにDRAMブロック部8にはアドレスバス
MPUA,バンク情報信号BANKO,タイミング信号
群DRAMT1データパスMPUDがつながれ、MPU
7からDRAMへのアクセスを可能としている。17は
VRAMタイミング手段であり、VRAM調停手段16
がら送られる信号群VSTCOMを入力しVRAMブロ
ック部9に対してVRAMアクセスのためのタイミング
信号群(VRAMT)を送る。VRAMブロック部9は
アドレスバスMPUA及びデータパスMPUDとに接続
され、信号群VRAMTを入力し後述のビデオ信号同期
手段18からビデオデータ(VDB)を通して送られる
クロツクに合わせてシリアル出力であるビデオデータを
ビデオ信号同期千段18に送っている。このようにデー
タパスVDBはクロック線とシリアルデータ線とシリア
ルデータ線で構戒されている。ここでVRAMブロック
部9のメモリバッファの容量は一般に限られているため
、このメモリバッファへのイメージデータの展開スピー
ドよりも同期信号HSYNCのシーケンシャル読み出し
スピードの方が速いときにはイメージデータ展開前のデ
ータの転送を行なうエラー状態(以下このエラー状態を
オーバーランという)が発生してしまう。このオーバー
ラン限界を広げるにはVRAMブロック部9のメモリバ
ッファの拡張が必要である。l8はビデオ信号同期手段
であり、LSU部(図示せず)から送られる同期信号H
SYNCと同期をとり、プランキング時間をカウントし
て有効印字領域にVRAMブロック部9か送られるビデ
オデータを出力するようにVRAMブロック部9に対し
クロックを発生し、シリアルビデオデータ出力VDOU
TとしてLSUに送っている。またMPU7は同期信号
HSYNCを検出し、出力データのラスク数をカウント
するとともに、VRAMブロック部9及びビデオ信号同
期手段18の制御、管理を行なっている。l4 inputs the address bus MPUA and connects it to the DRAM described later.
This is a bank switching means that sends a group of bank switching status signals (BANKST) to the timing means 13. Here, when switching banks, the user area for storing text data in the DRAM block section 8 is fixed and limited, so it is necessary to expand the memory according to the amount of user text data to prevent memory overflow. , used during this DRAM expansion. 13 is a DRAM timing signal, and DRAM arbitration means 12
A timing signal group (DRAMT) for DRAM access is generated for the DRAM block unit 8 by the signal group DSTCOM sent from Bank information signal (B
Send ANKO〉. Although not shown in FIG. 8, the bank information signals BANKI and BANK are connected similarly to the DRAM block unit 8 for the bank information signal BANKO.
It is assumed that an extended DRAM block section for 2 exists. In this way, the address bus MPUA, the bank information signal BANKO, the timing signal group DRAMT1, and the data path MPUD are connected to the DRAM block unit 8, and the MPU
7 can access the DRAM. 17 is a VRAM timing means, and VRAM arbitration means 16
The timing signal group VRAMT for VRAM access is input to the VRAM block unit 9. The VRAM block section 9 is connected to the address bus MPUA and the data path MPUD, receives a signal group VRAMT, and outputs video data as a serial output in accordance with a clock sent from a video signal synchronization means 18 (described later) through video data (VDB). The video signal is sent to the 18th stage synchronously. In this way, the data path VDB is composed of a clock line, a serial data line, and a serial data line. Here, since the capacity of the memory buffer of the VRAM block section 9 is generally limited, if the sequential reading speed of the synchronization signal HSYNC is faster than the speed of developing image data into this memory buffer, the data before image data is expanded. An error state (hereinafter, this error state will be referred to as an overrun) occurs during the transfer. In order to widen this overrun limit, it is necessary to expand the memory buffer of the VRAM block unit 9. 18 is a video signal synchronization means, which receives a synchronization signal H sent from the LSU section (not shown).
Synchronizes with SYNC, counts the blanking time, generates a clock for the VRAM block section 9 so as to output the video data sent from the VRAM block section 9 to the effective print area, and outputs serial video data VDOU.
He is being sent to LSU as a T. Furthermore, the MPU 7 detects the synchronization signal HSYNC, counts the number of rask of output data, and controls and manages the VRAM block section 9 and the video signal synchronization means 18.
以上のようにシステム及びユーザエリアをDRAMブロ
ック部8へ、イメージデータの展開はVRAMブロック
部9上へとメモリを分け独立させており、VRAMブロ
ック部9においてはデュアルポートであるためMPU7
からのアクセスとビデオ信号同期千段18からのクロッ
クによるアクセスが行い易いなど制御がしやすい構成で
あった。As described above, the system and user areas are stored in the DRAM block section 8, and the image data development is carried out on the VRAM block section 9.The memory is divided and made independent, and since the VRAM block section 9 is dual-ported, the MPU 7
The structure was easy to control, with easy access from the video signal synchronization stage 18 and clock access from the video signal synchronization stage 18.
反面、メモリ領域を広げるための各部方ボードがDRA
Mブロック部8とVRAMブロック部9に独立して必要
であるなどユーザーにとっては使い勝手が悪いシステム
構戒であった。On the other hand, each part board to expand the memory area is DRA.
The system structure was inconvenient for the user, as the M block unit 8 and the VRAM block unit 9 were required to be independent.
第9図に画像のイメージデータであるビットマップデー
タとして展開された文字を示す。例として文字Aと文字
Bの展開について説明を行なう。FIG. 9 shows characters developed as bitmap data, which is image data of an image. As an example, the development of characters A and B will be explained.
ここでは説明がしやすいように各文字が25×25のド
ットで構成され、1ドットを1ビット単位とし、黒く塗
った1ドットを1、空のドットをOとして考える。文字
フォントの中にはこの25×25の各ビット情報を1か
Oの符合で記憶している。DRAMに記憶してあるテキ
ストデータは、MPUを介して文字フォントを参照しな
がらVRAMのバッファへのビットマップデータとして
展開されていく。一般にこの展開は文字1つ1つを順次
展開しバッファに書き込んでいく。第9図においてはま
ず文字「A」を先にVRAMのバ・ソファにビットマッ
プ展開を行ない文字フォントの符合に合わせて各ビット
を書き込んでいく。次に文字「B」のビットマップ展開
を行なうわけであるが、ここで文字「A」と文字「B」
が重なっている場合には通常の書込動作を行なうと、文
字「B」の書込動作を行なう時点で25X25のビット
は文字rB」の情報で書き込まれてしまい、文字「A」
が部分的に消えてしまうことになる。これを防ぐために
、文字「A」を展開した後に文字「A」と文字「B」の
ビット単位での論理和を行い、バッファ上に重ねた情報
を書き込むことで第9図のような重ね文字を各ことがで
きる。この機能を以下重ね書きと称する。一般にVRA
Mは、この重ね書き機能を有しており、以後取り上げる
VRAMはこの機能を有しているものとして扱う。Here, for ease of explanation, each character is made up of 25 x 25 dots, each dot is defined as a 1-bit unit, a black dot is assumed to be 1, and an empty dot is assumed to be O. In the character font, each bit information of 25×25 is stored as a code of 1 or O. The text data stored in the DRAM is expanded as bitmap data into the VRAM buffer while referring to the character font via the MPU. Generally, this expansion involves sequentially expanding each character and writing them into a buffer. In FIG. 9, the character "A" is first developed into a bitmap in the VRAM, and each bit is written in accordance with the code of the character font. Next, we will perform bitmap expansion of the character "B", but here we will develop the character "A" and the character "B".
If the 25x25 bits are overlapped and a normal write operation is performed, the 25x25 bits will be written with the information of the character "rB" at the time of writing the character "B", and the information of the character "A" will be written.
will partially disappear. In order to prevent this, after expanding the character "A", perform a bitwise OR of the character "A" and the character "B", and write the overlapped information on the buffer, resulting in overlapping characters as shown in Figure 9. each can. This function is hereinafter referred to as overwriting. Generally VRA
M has this overwriting function, and the VRAMs discussed below are treated as having this function.
次に第10図のフローチャートを使って第9図のMPU
7が行なう制御を説明する。ここでHSYNC割り込み
ルーチンはHSYNCにパルスが入力される毎に、MP
U?へ割り込みが発生する、以下フローチャートについ
て説明する。まずメインルーチンではステップ(a)は
変数X1Yを初期化する。ここでXはMPU7がVRA
Mエリアへ書き込むラスタ一番号であり、YはHSYN
C毎の割り込み回数を示すカウンタ数である。ステップ
(b)ではNに印字すべきラスター数を設定する。ステ
ップ(c)ではHSYNC割り込みを許可する。ステッ
プ(d)はビデオ信号同期手段18に対してプランキン
グ時間などの設定を行い起動をかける。ステップ(e)
はVRAMブロック部9にビットマップデータを書き込
むための空ラスターがあるか否かを判断するため、Xと
Yとの大小比較を行なう。もし空ラスターがないときは
ステップ(e)に戻り、空ラスターがあるならばステッ
プ(f)へ行く。ステップ(f)ではビットマップデー
タを1ラスター分VRAMブロック部9へ書き込み、X
の値を+1加算する。ステップ(g)ではHSYNCカ
ウンタ数Yが印字すべきラスター数Nと等しいか否かを
判断し、もしXf.Yならばステップ(h)へ行く。ス
テップ(h)ではビデオ信号同期手段18を停止し、V
RAMブロック部9へのビットマップデータの書き込み
を終了する。次にHSYNC割り込みルーチンはステッ
プ(i)は出力ラスター数Yの値を+1加算する。ステ
ップ(j)では印字が終了か否かを判断するためYとN
とを比較して、もしY=Nならばステップ(k)へ、Y
≠Nならば終了する。ステップ(k)ではHSYNCの
割り込みを禁止する。Next, using the flowchart in Figure 10, the MPU in Figure 9
The control performed by 7 will be explained. Here, the HSYNC interrupt routine interrupts MP every time a pulse is input to HSYNC.
U? The flowchart in which an interrupt occurs will be described below. First, in the main routine, step (a) initializes the variable X1Y. Here, X is MPU7 is VRA
This is the raster number written to the M area, and Y is HSYN.
This is the number of counters indicating the number of interrupts for each C. In step (b), the number of rasters to be printed is set in N. In step (c), HSYNC interrupt is enabled. In step (d), the planking time and other settings are set for the video signal synchronization means 18 and the video signal synchronization means 18 is activated. Step (e)
compares X and Y in order to determine whether there is an empty raster in the VRAM block section 9 for writing bitmap data. If there is no empty raster, go back to step (e); if there is an empty raster, go to step (f). In step (f), bitmap data for one raster is written to the VRAM block section 9,
Add +1 to the value. In step (g), it is determined whether the HSYNC counter number Y is equal to the number N of rasters to be printed, and if Xf. If Y, go to step (h). In step (h), the video signal synchronization means 18 is stopped and V
The writing of bitmap data to the RAM block section 9 is completed. Next, in step (i) of the HSYNC interrupt routine, +1 is added to the value of the output raster number Y. In step (j), Y and N are used to determine whether printing is finished or not.
If Y=N, go to step (k), Y
If ≠N, the process ends. In step (k), HSYNC interrupts are prohibited.
発明が解決しようとする課題
しかしながらこの場合、ビットマップメモリとなるVR
AMブロック部の記憶容量は固定されており、DRAM
ブロック部とVRAMブロック部とが別・々のブロック
に分かれているため、記憶領域の増設が容易に行えなか
った。これを解決するためにDRAMブロック部とVR
AMブロック部とを1つの記憶手段内に設定することが
考えられるが、MPUがシステム領域として用いるDR
AMブロック部が脹らんだ場合、イメージ記憶領域とし
て設定しているVRAMブロック部、突然使用できなく
なることがあった。Problems to be Solved by the Invention However, in this case, VR as a bitmap memory
The memory capacity of the AM block section is fixed, and DRAM
Since the block section and the VRAM block section are separated into separate blocks, it is not easy to expand the storage area. To solve this problem, the DRAM block section and VR
It is conceivable to set the AM block part in one storage means, but the DR which the MPU uses as a system area
When the AM block section swells, the VRAM block section set as the image storage area may suddenly become unusable.
課題を解決するための手段
この課題を解決するために本発明は、システム記憶領域
を有する記憶手段に該システム記憶領域とは離れたアド
レス領域にイメージデータ記憶領域を設定するイメージ
領域設定手段を備える。Means for Solving the Problem In order to solve this problem, the present invention includes an image area setting means for setting an image data storage area in an address area separate from the system storage area in a storage means having a system storage area. .
作用
この構威によって、システム記憶領域とイメージ記憶領
域との間にアドレス空間が設けられることになる。Effect: This arrangement provides an address space between the system storage area and the image storage area.
実施例
以下、本発明の一実施例における画像出力装置について
説明をする。Embodiment An image output device according to an embodiment of the present invention will be described below.
先ず第1図は、本実施例の構威を示すブロック図である
。ここで、30は本画像出力装置を制御するためのマイ
クロプロセッサユニット(以下MPUと称する〉、31
はDRAMブロック部42が複数個ある場合にどのDR
AMブロック部をアクセスするかを決めるためのバンク
切り換え手段、32はMPU30から出力されたアドレ
スバスMPUAの値を変換するためのアドレス変換手段
、33はアドレスデコード手段、34はDRAMブロッ
ク部42の記憶領域の一部分であるビデオバンドバッフ
ァ(以下VBBと称する)の記憶容量を切り換えるため
のVBBモード切り換え手段、35はビデオデータ出力
信号VDOUTを出力するためのビデオデータ発生手段
(以下VDGと称する)、36はDRAMアドレス発生
手段であり、DRAMブロック部42へ出力するアドレ
スバスDRAMを生成する。37はDRAM用のリフレ
ッシュ手段であり、DRAMのリフレッシュサイクル時
間の周期でDRAMアクセス要求信号REFREQが出
力される。38はDRAM調停手段であり、DRAMブ
ロック部42への複数のアクセス要求信号の調停をとり
、どれか一つのアクセス要求のみアクセス許可する手段
である。39はDRAMタイミング手段であり、DRA
Mブロック部をアクセスするためのタイミング信号郡D
RAMT出力及びバンク信号BANKO,BANK1、
BANK2を出力する手段である。40はMPUのデー
タパスMPUDを電気的に接続するか否かを切り換える
ためのバス切り換え手段である。First, FIG. 1 is a block diagram showing the structure of this embodiment. Here, 30 is a microprocessor unit (hereinafter referred to as MPU) for controlling the present image output device;
Which DR is selected when there are multiple DRAM block units 42?
Bank switching means for determining whether to access the AM block section; 32, address conversion means for converting the value of the address bus MPUA output from the MPU 30; 33, address decoding means; 34, storage in the DRAM block section 42. VBB mode switching means for switching the storage capacity of a video band buffer (hereinafter referred to as VBB) which is a part of the area; 35, video data generation means (hereinafter referred to as VDG) for outputting a video data output signal VDOUT; 36; is a DRAM address generating means, which generates an address bus DRAM to be output to the DRAM block section 42. Reference numeral 37 denotes a DRAM refresh means, which outputs a DRAM access request signal REFREQ at the period of the DRAM refresh cycle time. Reference numeral 38 denotes DRAM arbitration means, which arbitrates among a plurality of access request signals to the DRAM block section 42 and permits access to only one of the access requests. 39 is a DRAM timing means;
Timing signal group D for accessing M block section
RAMT output and bank signals BANKO, BANK1,
This is means for outputting BANK2. 40 is a bus switching means for switching whether or not to electrically connect the data path MPUD of the MPU.
41は重ね書きパターン発生手段であり、重ね書きにつ
いては先に説明した機能である。42はDRAMブロッ
ク部である。Reference numeral 41 denotes an overwriting pattern generating means, and the overwriting is the function described above. 42 is a DRAM block section.
以上のように構成された本実施例の画像出力装置のビデ
オデータ処理部ブロックの構戒について以下にその動作
を説明する。本ビデオデータ処理部ブロック構戒でのデ
ータの処理の概要を先ず説明する。外部より印字すべき
データがDRAMブロック部42の一部であるユーザデ
ータエリアに格納されているので、本データをMPU3
0によりビットマップのデータに展開する。この際フォ
ントデータが必要な場合にはフォントメモリ(図示せず
〉を参照する等の処理を伴う。ビットマップデータは再
びDRAMブロック部42の一部であるVBBエリアに
格納される。本VBBエリアに格納されたデータをVD
G35を用いて読み出しを行い、本データをシリアルデ
ータに変換し、HSYNCの信号に同期させ前述したL
SUで送信する。以上のデータ処理を行うための構成を
以下に説明する。The operation of the video data processing unit block of the image output device of this embodiment configured as described above will be explained below. First, an overview of data processing in this video data processing block structure will be explained. Since the data to be printed from the outside is stored in the user data area which is a part of the DRAM block unit 42, this data is
0 is used to expand into bitmap data. At this time, if font data is required, processing such as referring to a font memory (not shown) is involved.The bitmap data is stored again in the VBB area, which is a part of the DRAM block unit 42.This VBB area data stored on the VD
Read the data using G35, convert this data to serial data, synchronize it with the HSYNC signal, and perform the above-mentioned L
Send as SU. The configuration for performing the above data processing will be described below.
DRAMブロック部42でのアクセス要求は全部で4つ
のモードがある。第lはMPUからのVBBエリアへの
アクセス要求である。第2はMPUからのVBBエリア
以外のエリアへのアクセス要求である。第3はVDG3
5がVBBエリアをアクセスするための要求である。第
4はDRAMブロック部42のDRAM上のデータを保
持するためのリフレッシュを行うためのリフレッシュア
クセス要求である。このようにDRAMブロック部42
へのアクセスは4つのモードがあり、最低2モード、多
いときは3モードが同時にアクセス要求を出すため、何
らかの調停が必要になる。これらの調停をとる手段が3
8に示すDRAM調停手段であり、MPUからのVBB
エリアへのアクセス要求信号VBBRQと、MPUから
(7)VBBエリア以外へのアクセス要求信号MPUR
Qと、リフレッシュ手段37からのアクセス要求信号R
EFRQの4信号を入力し、内部で調停をとり、そのう
ち1つのアクセス要求信号を許可し、スタート命令信号
群STCOMを出力することにより、何れのアクセス要
求を実行するのかをDRAMタイミング手段39へ知ら
せる。DRAMタイミング手段39は前述の信号群ST
COM及びDRAMブロック部42が複数個ある場合に
必要なバンク切り換えのためのバンク切り換え手段3l
の出力信号BANKSTを入力し、本手段でDRAMア
クセスのために必要なタイミング信号群DRAMTを発
生させると共にバンク切り換え信号BANoXBANK
I BANK2を発生させる。またDRAMアドレス発
生手段36はDRAM調停手段38でどのアクセス要求
を実行するかをDRAMタイミング手段39に知らせ、
そのタミングに応じてどのアドレスバスをDRAMブロ
ック部42へ送出すればよいかを決定する。従ってDR
AMアドレス発生手段36はDRAMタイミング千段3
9のアドレス切り換え制御出力信号群DAGCOMがD
RAMアドレス発生手段36へ入力されると、この信号
群DAGCOMに従って、VBBアドレスバスVBBA
,MPUアドレスバスMPUA,VDG7ドレスバスv
DGAのいずれかを選択しDRAMブロック部42へ送
出するアドレスバスDRAMAへ接続する機能を有して
いる。There are a total of four modes for access requests in the DRAM block section 42. The first request is an access request from the MPU to the VBB area. The second is a request from the MPU to access an area other than the VBB area. The third is VDG3
5 is a request to access the VBB area. The fourth request is a refresh access request for refreshing data on the DRAM of the DRAM block unit 42 . In this way, the DRAM block section 42
There are four access modes, and at least two modes, and sometimes three modes, issue access requests at the same time, so some kind of arbitration is required. There are 3 ways to mediate these
This is the DRAM arbitration means shown in 8, and the VBB from the MPU.
Area access request signal VBBRQ and (7) access request signal MPUR from the MPU to areas other than the VBB area.
Q and the access request signal R from the refresh means 37
Inputs four EFRQ signals, performs internal arbitration, permits one access request signal among them, and outputs a start command signal group STCOM to notify the DRAM timing means 39 which access request is to be executed. . The DRAM timing means 39 uses the aforementioned signal group ST.
Bank switching means 3l for bank switching necessary when there are a plurality of COM and DRAM block units 42
This means inputs the output signal BANKST of BANoXBANK and generates the timing signal group DRAMT necessary for accessing the DRAM as well as the bank switching signal BANoXBANK.
Generate I BANK2. Further, the DRAM address generation means 36 informs the DRAM timing means 39 which access request is to be executed by the DRAM arbitration means 38.
Depending on the timing, it is determined which address bus should be sent to the DRAM block section 42. Therefore, D.R.
AM address generation means 36 is DRAM timing 1,000 stages 3
9 address switching control output signal group DAGCOM is D
When input to the RAM address generation means 36, the VBB address bus VBBA is generated according to this signal group DAGCOM.
, MPU address bus MPUA, VDG7 address bus v
It has a function of connecting to the address bus DRAMA which selects one of the DGAs and sends it to the DRAM block unit 42.
次にVBBエリアにおける重ね書きの動作について説明
する。従来例で説明したようにVBBエリアでの重ね書
きが必要であるが、本発明におけるDRAMブロック部
42は従来例でのVRAMの付加機能を持たないため重
ね書きの手段が別途必要である。まず、MPU30から
VBBエリアへ書きこみデータがデータパスMPUDを
通して送出されるのでこのデータは重ね書きパターン発
生千段41のA部へ入力きれる。また一方DRAMタイ
ミング信号39よりDRAMブロック部42への読み出
しタイミングが実行されVBBエリアのデータがDRA
MデータパスDRAMDを通して重ね書きパターン発生
手段41のB部へ入力される。この部への入力データを
DRAMタイミング手段39の出力信号OvCによりラ
ッチし、A部へ入力されたデータと重ね合わせの演算を
実行し、最終VBBエリアへ書きこむデータとしてデー
タパスDRAMDへ出力する。このように■BBエリア
のデータを読み取りMPU30から送出されたデータと
重ね合わせの演算を行い、その結果をVBBエリアへ書
き込む。このような方法をリードモディファイライトと
いい、以下RMWと称する。以上のようにMPU30か
らみればVBBエリアへ書き込みサイクルが一回あるよ
うにしか認識できないが、実際のハードウエアではRM
Wサイクル自動的に作り出しているのである。Next, the overwriting operation in the VBB area will be explained. As explained in the conventional example, it is necessary to overwrite in the VBB area, but since the DRAM block section 42 of the present invention does not have the additional function of the VRAM in the conventional example, a separate means for overwriting is required. First, write data is sent from the MPU 30 to the VBB area through the data path MPUD, so that this data can be input to the section A of the overwrite pattern generation stage 41. On the other hand, the read timing to the DRAM block section 42 is executed from the DRAM timing signal 39, and the data in the VBB area is transferred to the DRAM block section 42.
The signal is input to part B of the overwriting pattern generating means 41 through the M data path DRAMD. The input data to this section is latched by the output signal OvC of the DRAM timing means 39, a computation of overlapping with the data input to the A section is executed, and the data is output to the data path DRAMD as data to be written to the final VBB area. In this way, the data in the BB area is read and superimposed on the data sent from the MPU 30, and the result is written to the VBB area. Such a method is called read-modify-write, and is hereinafter referred to as RMW. As mentioned above, from the MPU 30's perspective, it can only recognize that there is one write cycle to the VBB area, but in actual hardware, the RM
The W cycle is automatically generated.
これらのサイクルはDRAMタイミング手段39で全て
作られている。These cycles are all generated by the DRAM timing means 39.
次にVBBモード切り換え手段34について説明する。Next, the VBB mode switching means 34 will be explained.
VBBエリアは後で詳細に説明するがVBBエリアのメ
モリ容量を可変にしたり、またDRAMブロ:ソク部4
2のメモリ容量を増すために複数個のDRAMブロック
部へ拡張したときにVBBエリアのローテーションを変
更する必要がある。いま仮にVBBエリアのメモリ容量
を変化させたとする。このときの動作はMPU30から
VBBモード切り換え手段34ヘデータパスMPUDを
介してメモリ容量情報を入力する。VBBモード切り換
え手段34はVBBデータパスVBBDを介してメモリ
容量情報を各手段、即ちVDG35、アドレス変換手段
32、バンク切り換え手段31へ送出する。VDG35
は上記メモリ容量情報を入力して、メモリ容量情報に応
じてVDGアドレスバスVDGAへ発生させる信号パタ
ーンを切り換える。ま゜た後述するがVBBエリアはリ
ングバッファ方式を用いているため、実際にMPUから
出力されるアドレス情報をVBB上の物理アドレス情報
に変換する必要があるためメモリ容量情報に応じてアド
レス変換手段32を切り換えることが必要となる。また
バンク切り換え手段31はVBBエリアのロケーション
を変更するときに用いる手段である。The VBB area will be explained in detail later, but the memory capacity of the VBB area can be made variable, and the DRAM block 4
In order to increase the memory capacity of 2, it is necessary to change the rotation of the VBB area when expanding to a plurality of DRAM blocks. Now suppose that the memory capacity of the VBB area is changed. In this operation, memory capacity information is input from the MPU 30 to the VBB mode switching means 34 via the data path MPUD. The VBB mode switching means 34 sends memory capacity information to each means, ie, the VDG 35, the address conversion means 32, and the bank switching means 31, via the VBB data path VBBD. VDG35
inputs the above memory capacity information and switches the signal pattern generated to the VDG address bus VDGA according to the memory capacity information. As will be explained later, since the VBB area uses a ring buffer method, it is necessary to convert the address information actually output from the MPU into physical address information on the VBB, so an address conversion means is used according to the memory capacity information. It is necessary to switch 32. Further, the bank switching means 31 is a means used when changing the location of the VBB area.
次にVDG35についてさらに詳細に説明する。Next, the VDG 35 will be explained in more detail.
第2図はVDG35の内部ブロック図である。44はタ
イミング制御手段であり、VDG35の内部タイミング
を外部周期信号HSYNCと同期をとるためのものであ
る。45はアドレス発生用カウンタ手段であり、+1づ
つカウントアップするカウンタでありその出力をVBB
エリアをアクセスするためのアドレスバスとして用いる
。46はVBBメモリ容量選択手段であり、VBBエリ
アのメモリ容量情報をVBBバスVBBDより入力し、
実際にVBBエリアをアクセスするためのアドレスに変
換し、vDGアドレスバスVDGAへ出力するための手
段である。47はデータラッチ手段であり、vBBエリ
アのデータがDRAMデータバスDRAMDを介して入
力されるのでこれをラッチするための手段である。48
はパラレルーシリアル変換手段であり、vBBエリアの
データをデータバスVDQを介して入力し、本データを
パラレルデータからシリアルデータヘ変換し、ビデオデ
ータ出力信号VDOUTとして前述のLSUへ送出する
。49はVDG制御手段であり、ビデオデータ出力信号
VDOUTを何番目のラスターまで送出したかを知るた
めに外部同期信号HSYNCのパルス数をカウントしM
PU30へMP.UデータバスMPUDを介して送出す
る機能を有する。また、何番目のラスターまでビデオデ
ータ出力信号VDOUTを出力すべきかをMPU3から
MPUDを介して入力し、MPU3の指定するラスター
までVDOUTから出力データを送出すると、自動的に
VDG35がストツブするようにストップ信号STOP
をタイミング制御手段44へ送出する機能を持っている
。また、同様にスタート信号を介してスタート機能も有
している。FIG. 2 is an internal block diagram of the VDG 35. 44 is a timing control means for synchronizing the internal timing of the VDG 35 with the external periodic signal HSYNC. 45 is a counter means for generating an address, which is a counter that counts up by +1, and its output is VBB.
Used as an address bus for accessing areas. 46 is a VBB memory capacity selection means, which inputs memory capacity information of the VBB area from the VBB bus VBBD;
This is a means for converting an address for actually accessing the VBB area and outputting it to the vDG address bus VDGA. 47 is a data latch means, which is a means for latching the data of the vBB area as it is input via the DRAM data bus DRAMD. 48
is a parallel-to-serial conversion means, which inputs data in the vBB area via the data bus VDQ, converts this data from parallel data to serial data, and sends it to the aforementioned LSU as a video data output signal VDOUT. 49 is a VDG control means which counts the number of pulses of the external synchronization signal HSYNC in order to know which raster the video data output signal VDOUT has been sent out.
MP to PU30. It has a function of sending data via the U data bus MPUD. In addition, when the number of raster to which the video data output signal VDOUT should be output is input from MPU3 via MPUD, and the output data is sent from VDOUT to the raster specified by MPU3, VDG35 is automatically stopped. Signal STOP
It has a function of sending out to the timing control means 44. It also has a start function via a start signal.
次にVDG35の内部ブロックの動作を説明する。外部
同期信号HSYNCに同期したクロツクをタイミング制
御手段44で発生させ、本夕ロックを分周した信号PS
CLKSLD,VDGRQを作る。VDGRQはvDG
35からVBB.I.リアをアクセスするためにDRA
M調停手段38に送出される要求信号であり、このDR
AM調停手段38で許可されたときVDG35から出力
されるアドレスバスVDGAのアドレスが示すVBBエ
リアのデータをVDG35へ読みこむ。一方アドレス発
生用カウンタ手段45はタイミング制御千段44の出力
信号ACLKを人力することにより、カウンタを+1づ
つ増加させるものであり、この出力をバスQを介してV
BBメモリ容量選択手段16へ送る。VBBメモリ容量
選択手段46はVBBバスVBBDより入力されたVB
Bエリアのメモリ容量に応じてバスQからのデータを加
工し、実際のアドレス情報としてVDGAへ出力する。Next, the operation of the internal blocks of the VDG 35 will be explained. A clock synchronized with the external synchronization signal HSYNC is generated by the timing control means 44, and a signal PS obtained by dividing the main clock is generated.
Create CLKSLD and VDGRQ. VDGRQ is vDG
35 to VBB. I. DRA to access the rear
This is a request signal sent to the M arbitration means 38, and this DR
When permitted by the AM arbitration means 38, the data in the VBB area indicated by the address of the address bus VDGA output from the VDG 35 is read into the VDG 35. On the other hand, the address generation counter means 45 increments the counter by +1 by inputting the output signal ACLK of the timing control stage 44, and this output is sent to V via the bus Q.
It is sent to the BB memory capacity selection means 16. The VBB memory capacity selection means 46 receives the VB input from the VBB bus VBBD.
The data from the bus Q is processed according to the memory capacity of the B area and output to the VDGA as actual address information.
ここでどのような加工かを説明すると、例えばメモリ容
量が少ない状態のときバスQからのデータの上位ビット
を削除し、実際のアドレス空間に合うビット数のみをV
DGアドレスバスVDGAへ出力する等のことを意味す
る。このように出力されたアドレスが示すVBBエリア
のデータはDRAMデータパスDRAMDを介してデー
タラッチ千段47ヘラッチされる。このパラレルデータ
をパラレルーシリアル変換手段48を介してシリアルデ
ータヘ変換し、ビデオデータ出力信号としてVDGOU
Tから送出する。以上第1図、第2図を用いてビデオデ
ータ処理部の信号の流れを説明した。To explain the processing here, for example, when memory capacity is low, the upper bits of data from bus Q are deleted, and only the number of bits that fit the actual address space is stored in V.
This means outputting to the DG address bus VDGA, etc. The data in the VBB area indicated by the thus output address is latched into the data latch stage 47 via the DRAM data path DRAMD. This parallel data is converted into serial data via the parallel-to-serial conversion means 48, and VDGOU is output as a video data output signal.
Send from T. The signal flow of the video data processing section has been explained above using FIGS. 1 and 2.
次にVBBエリアの説明をする。vS3図にDRAMブ
ロック部42のメモリマップを示す。50はDRAMブ
ロック部42の実メモリ空間を示す。Next, I will explain the VBB area. The memory map of the DRAM block unit 42 is shown in FIG. vS3. Reference numeral 50 indicates a real memory space of the DRAM block section 42.
51はシステムが使用するエリア、52は画像形戒装置
にユーザが送出してきたデータを格納するユーザデータ
エイア、53はVBBエリアである。51 is an area used by the system, 52 is a user data area for storing data sent by the user to the image format control device, and 53 is a VBB area.
54はMPU30からみたVBBエリアの仮想メモリ空
間である。以上のようにマッピングされたメモリにおい
て仮想メモリ空間54は画像形成装置から出力される印
刷用紙の1ページ分のビットマップに展開されたデータ
を格納する場所である。54 is a virtual memory space of the VBB area seen from the MPU 30. In the memory mapped as described above, the virtual memory space 54 is a place to store data expanded into a bitmap for one page of printing paper output from the image forming apparatus.
いまMPU3が仮想メモリ空間54にアドレスAからB
へ順次ビットマップデータを書き込んだとき、実際には
実メモリ空間50のVBBエリア53のアドレスaから
bへ順に書き込まれる。このデータはVDG35を通し
てアドレスaからbの順に読み出され、シリアルデータ
に変換されLSUへ送出される。次に仮想メモリ空間5
4のアドレスCからdへ書き込まれたデータは同様に実
際にはVBBエリアのアドレスaからbへ書き込まれる
。以上のようになっているため、VBBエリア53はリ
ングバッファの構成をとっている。従ってVBBエリア
53のデータはVDG35を介してアドレスaからb
s aからb・・・と次々に読み出されLSUへ送出さ
れる。またMPU30から仮想メモリ空間54ヘアドレ
スAからB,CからD・・・とビットマップデータを書
き込んだとき、実際にはVBBリア53ヘアドレスaか
らbsaからbと書き込まれる。Now, the MPU 3 writes addresses A to B in the virtual memory space 54.
When bitmap data is sequentially written into the address area 50, it is actually written sequentially from addresses a to b in the VBB area 53 of the real memory space 50. This data is read out in the order of addresses a to b through the VDG 35, converted to serial data, and sent to the LSU. Next, virtual memory space 5
Similarly, the data written from addresses C to d in No. 4 is actually written from addresses a to b in the VBB area. As described above, the VBB area 53 has a ring buffer configuration. Therefore, the data in the VBB area 53 is transferred from address a to b via VDG35.
From s a to b . . . are read out one after another and sent to the LSU. Furthermore, when bit map data is written from the MPU 30 to the virtual memory space 54 from addresses A to B, from C to D, etc., it is actually written to the VBB rear 53 from addresses a to bsa to b.
次に本実施例におけるMPU30が行う制御を第4図の
フローチャートを用いて説明する。ここでHSYNC割
込ルーチンは、ハードウェア的には第1図の外部同期信
号HSYNCをMPU30の割り込み端子へ入力するこ
とにより、HSYNCにパルスが入力される毎に、MP
U30へ割り込みが発生する。このことは1ラスター毎
に割り込みが発生することを意味する。以下フローチャ
ートを説明する。まず、メインルーチンでは、ステップ
(イ)で変数X%Yを初期化する。XはMPU30がV
B B .r.リアへ書き込むラスタ一番号であり、
YはHSYNC毎の割り込み回数を示すカウンタ数であ
る。ステップ(口〉では印字をすべきラスター数NをV
DGに設定する。ステップ(ハ)においてHSYNC割
り込みを許可し、VDGに機動をかける。ステップ(二
)ではVBBにビットマップデータを書き込むための空
ラスターがあるか否かを調べるためXとYとを参照し判
断する。もし空ラスターがないならばステップ(二)へ
戻り、あるならばステップ(ホ)へ移行する。ステップ
(ホ)はビットマップデータを1ラスター文VBBへ書
込、Xの値に1を加算する。Next, the control performed by the MPU 30 in this embodiment will be explained using the flowchart shown in FIG. Here, in terms of hardware, the HSYNC interrupt routine inputs the external synchronization signal HSYNC shown in FIG. 1 to the interrupt terminal of the MPU 30.
An interrupt occurs to U30. This means that an interrupt occurs every raster. The flowchart will be explained below. First, in the main routine, the variable X%Y is initialized in step (a). X is MPU30 is V
BB. r. It is the raster number written to the rear,
Y is a counter number indicating the number of interrupts for each HSYNC. In the step (start), the number of rasters to be printed is set to V
Set to DG. In step (c), the HSYNC interrupt is enabled and the VDG is activated. In step (2), it is determined by referring to X and Y to check whether there is an empty raster for writing bitmap data in VBB. If there is no empty raster, return to step (2); if there is, proceed to step (e). Step (e) writes bitmap data into one raster sentence VBB and adds 1 to the value of X.
ステップ(へ〉ではHSYNCカウンタ数が印字すべき
ラスター数と等しいか否かを判断し、もしXf.Yのと
きステップ(二)へ戻り、X=YならばVBBへのビッ
トマップデータの書き込みを終了する。つぎにHSYN
Cカウンタ数をVDGから読み出して、Vへ格納する。In step (go), it is determined whether the HSYNC counter number is equal to the number of rasters to be printed, and if Xf.Y, return to step (2), and if X=Y, write bitmap data to VBB. Exit. Next, HSYN
Read the C counter number from VDG and store it in V.
ステップ〈チ〉は印字が終了するか否かを判断するため
YをNとを比較して、もしY=Nならばステップ(り)
へ移行し、Yv&Nならば終了する。ステップ(り〉に
おいてHSYNC割り込みを禁止する。以上第1図に示
すビデオデータ処理部ブロック構戒の動作説明を第2図
第3図及び第4図を用いて説明した。Step 〈C〉 compares Y with N to judge whether printing is finished or not, and if Y=N, step 〈〉
If Yv&N, the process ends. HSYNC interrupts are prohibited in step (ri).The operation of the video data processing unit block configuration shown in FIG. 1 has been described above with reference to FIGS. 2, 3, and 4.
次にVBBエリアを可変にする場合の説明を第5図を用
いて説明する。VBBリアが64KBのとき実メモリ空
間でのアドレスFFFFF (H)からFOOOO (
H)に対応する仮想メモリ空間のアドレスはバンク1が
OからFFFF (H)バンク2が10000 (H)
からIFFFF (H)、バンク3が20000 (H
)から2FFFF (H)・・・となるため、仮想メモ
リ空間のアドレス上位ビットを無視して16進数の下位
4桁のみを有効にすることにより簡単に実メモリ空間の
アドレスへ変換される。次にVBBエリアが48KBの
ときは実メモリ空間でのアドレスFFFFF (H)か
らF4000 (H)に対応する仮想メモリ空間のアド
レスはバンクlがOからBFF (H) 、バンク2が
COOO (H)から17FFF (H) 、バンク3
が18000 (H)から23FFF (H)となるた
め、上記64KB時のように簡単に仮想メモリから実メ
モリへのアドレス変換ができない。Next, the case where the VBB area is made variable will be explained using FIG. When VBB rear is 64KB, address FFFFF (H) to FOOOO (
H) The virtual memory space addresses corresponding to bank 1 are 0 to FFFF (H) bank 2 is 10000 (H)
to IFFFF (H), bank 3 is 20000 (H
) to 2FFFF (H) . . . Therefore, by ignoring the upper bits of the address in the virtual memory space and validating only the lower four digits of the hexadecimal number, it is easily converted to an address in the real memory space. Next, when the VBB area is 48KB, the virtual memory space addresses corresponding to addresses FFFFF (H) to F4000 (H) in the real memory space are O to BFF (H) for bank l and COOO (H) for bank 2. to 17FFF (H), bank 3
is from 18000 (H) to 23FFF (H), so it is not possible to easily convert the address from virtual memory to real memory as in the case of 64 KB.
一般に次のようになる。In general, it will look like this:
Ap=INV(A I−BpxINT(A I/Bp)
)・” ( 1 )但しApは実メモリ空間のアドレス
(物理アドレス〉、Alは仮想メモリ空間のアドレス(
論理アドレス)BpはVBBのメモリ容量を示し、IN
V(X)はXを2進数表示したとき、1とOとを逆にす
ることを意味する。またINT(X)はXの整数部分を
示す。式(1)に示すように論理アドレスへ変換する変
換手段は乗除算器と加減算器とがあれば一般に実現でき
る。また上記の64KB時のように2のn乗(nは整数
〉のVBBメモリ容量のときは上位ビットを無視し、必
要なビット数のみを利用すればよいので簡単に構成でき
る。Ap=INV(A I-BpxINT(A I/Bp)
)・” (1) However, Ap is the address of the real memory space (physical address), and Al is the address of the virtual memory space (
Logical address) Bp indicates the memory capacity of VBB, and IN
V(X) means that when X is expressed as a binary number, 1 and O are reversed. Further, INT(X) indicates the integer part of X. As shown in Equation (1), the conversion means for converting into a logical address can generally be realized by using a multiplier/divider and an adder/subtractor. Further, when the VBB memory capacity is 2 to the nth power (n is an integer) as in the case of 64 KB, the upper bits can be ignored and only the necessary number of bits can be used, making the configuration simple.
以上説明したようにVBBエリアを可変容量にするため
に第1図に示すアドレス変換手段32を用い、その内部
は式(1)の機能を満足するように構成されている。As explained above, in order to make the VBB area variable capacity, the address conversion means 32 shown in FIG. 1 is used, and its interior is configured to satisfy the function of equation (1).
次に第6図にDRAMブロック部を拡張する場合のメモ
リマップを示す。DRAMブロック部のみを別プリント
基板(以下拡張RAMボードと称する〉として、ユーザ
の希望に合わせメモリ容量を拡張できる構成をとった場
合の例である。第6図において左半分にVBBエリアが
64KBで拡張RAMボードがない場合と拡張RAMボ
ードを1枚増設した場合を示す。図においてアドレスe
からhが拡張された部分である。ここでもし拡張RAM
ボードを1枚増設したときのVBBエリアのマッピング
が固定であれば図のアドレスCからdに配置されるよう
になる。従ってユーザデータエリアがアドレスaからb
とeからhとに2分割されるため連続したユーザデータ
エリアが確保できなくなりデータ処理を行うときに煩雑
になる。Next, FIG. 6 shows a memory map when expanding the DRAM block section. This is an example of a configuration in which only the DRAM block section is a separate printed circuit board (hereinafter referred to as an expansion RAM board), and the memory capacity can be expanded according to the user's wishes.In the left half of Fig. 6, the VBB area is 64 KB. This shows the case where there is no expansion RAM board and the case where one expansion RAM board is added.In the figure, address e
to h is the expanded part. Expanded RAM here
If the VBB area mapping is fixed when one board is added, it will be placed at addresses C to d in the figure. Therefore, the user data area is from address a to b.
Since the data area is divided into two from e to h, a continuous user data area cannot be secured and data processing becomes complicated.
これを解消するためにVBBエリアをメモリの最後尾に
マッピングし、図に示すようにアドレスfからhとすれ
ばよい。一般にメモリ容量を拡張しても最後のアドレス
は有効ビット数全部が全て1となる場合が多いため第1
図に示すVDG35から発生されるアドレス生成のため
の手段は共用して仕様可能なためハードウエアは簡単に
実現できる。また一方ユーザデータエリアを連続して確
保するもう1つの方法はシステップムエリアに隣接して
VBBエリアをマッピングすればよいが、この場合シス
テップムの改訂に伴って、システムエリアの容量が変更
になったときV D G 3 5のハードウエアを変更
せざるを得ないため著しく不便である。以上の理由によ
り本実施例ではVBBエリアを実装メモリの最後尾にマ
ッピングしている。To solve this problem, the VBB area can be mapped to the end of the memory, and the addresses f to h can be assigned as shown in the figure. In general, even if the memory capacity is expanded, the number of effective bits at the last address is often all 1, so
Since the address generation means generated from the VDG 35 shown in the figure can be used in common, the hardware can be easily implemented. On the other hand, another method to secure a continuous user data area is to map the VBB area adjacent to the system area, but in this case, the capacity of the system area may change due to the revision of the system area. When this happens, the hardware of the VDG35 must be changed, which is extremely inconvenient. For the above reasons, in this embodiment, the VBB area is mapped to the end of the mounted memory.
次に第6図の右半分に拡張RAMボードが2枚増設され
てVBBエリアが64KBの場合と128KBの場合と
を示す。図に示すようにVBBエリアを可変にできるよ
うにしているためユーザデータエリアを連続して確保す
ることが容易に実現できかつユーザデータエリアの管理
も容易である。Next, the right half of FIG. 6 shows cases in which two expansion RAM boards are added and the VBB area is 64 KB and 128 KB. As shown in the figure, since the VBB area is made variable, it is easy to secure a continuous user data area, and the management of the user data area is also easy.
また、外部より人力されるユーザからのデータ量に応じ
てVBBエリア容量を最適化することが可能であり、従
来例で説明したオーバーランにも強いシステップムが構
戒できる。つまりユーザデータエリアに実際に格納され
ているユーザデータエリアに実際に格納されているユー
ザデータを除いた空エリアでVBBエリアとして最大メ
モリ容量が確保できるVBBメモリ容量を決定し、第1
図のVBBモード切り換え手段に設定すればよいことが
わかる。またVBBエリアが十分に確保できるか否かを
判別し、可能な場合には1ページ分のメモリ容量をVB
Bエリアとして固定することも可能であり、この場合に
はオーバーランは絶対に発生しない。また第6図におい
て拡張RAMボードが1枚、2枚、無しの3つの場合に
ついて示しているがVBBエリアのロケーションを最後
尾にもってくるためには第1図のバンク切り換え手段3
1に然るべき設定を行えばよい。以上VBBエリアを中
心に本発明の一実施例について説明した。In addition, it is possible to optimize the VBB area capacity according to the amount of data input from the user manually from the outside, and the system system can be made resistant to overruns as described in the conventional example. In other words, determine the VBB memory capacity that can secure the maximum memory capacity as the VBB area in the empty area excluding the user data actually stored in the user data area, and
It can be seen that it is sufficient to set it to the VBB mode switching means shown in the figure. It also determines whether or not the VBB area can be secured sufficiently, and if possible, the memory capacity for one page is allocated to the VBB area.
It is also possible to fix it as area B, and in this case overrun will never occur. In addition, although FIG. 6 shows three cases where there are one, two, and no expansion RAM boards, in order to bring the VBB area location to the end, bank switching means 3 in FIG.
All you have to do is make the appropriate settings for 1. An embodiment of the present invention has been described above, focusing on the VBB area.
発明の効果
以上のように本発明はシステム記憶領域を有する記憶手
段に、システム記憶領域とは離れたアドレス領域にイメ
ージ記憶領域を設定するようにしたので、システム記憶
領域とイメージ記憶領域とを1つの記憶手段内に設けた
場合にシステム記憶領域が急に脹らんでも、イメージ記
憶領域が使用出来なくなるということが防止できる。Effects of the Invention As described above, the present invention sets an image storage area in a storage means having a system storage area in an address area separate from the system storage area, so that the system storage area and the image storage area are combined into one. Even if the system storage area suddenly expands when provided in one storage means, it is possible to prevent the image storage area from becoming unusable.
第1図は本発明の一実施例におけるビデオデータ処理部
のブロック構戒図、第2図は同VDG内部のブロック図
、第3図は同仮想メモリ空間と実メモリ空間を示すメモ
リマップ図、第4図は同フローチャート、第5図は同V
BBエリアを可変にする場合のメモリマップ図、第6図
は同DRAMブロック部を拡張する場合のメモリマップ
図、第7図はレーザープリンタのブロック構成図、第8
図は従来のビデオデータ処理部のブロック構戒図、第9
図は重ね書きの説明のためのビットマップデータ展開図
、第10図は従来の制御手順を示すフローチャートであ
る。
5・・・エンジン制御手段、6・・・エンジンメカ部、
42・・・DRAMブロック部、9・・・VRAMブロ
ック部、12・・・DRAM調停手段FIG. 1 is a block diagram of a video data processing unit in an embodiment of the present invention, FIG. 2 is a block diagram of the inside of the VDG, and FIG. 3 is a memory map diagram showing the virtual memory space and real memory space. Figure 4 is the same flowchart, Figure 5 is the same V
Figure 6 is a memory map diagram when the BB area is made variable; Figure 6 is a memory map diagram when the DRAM block section is expanded; Figure 7 is a block diagram of the laser printer; Figure 8 is a diagram showing the block configuration of the laser printer.
The figure is a block diagram of a conventional video data processing unit.
The figure is a bitmap data development diagram for explaining overwriting, and FIG. 10 is a flowchart showing a conventional control procedure. 5... Engine control means, 6... Engine mechanical section,
42...DRAM block unit, 9...VRAM block unit, 12...DRAM arbitration means
Claims (1)
開して出力する画像出力装置であって、処理手段によっ
て用いられるシステム記憶領域を有する記憶手段と、 前記記憶手段に設定されたシステム記憶領域とは離れた
アドレス領域にビット展開されたイメージデータを記憶
するイメージ領域設定手段と、を有することを特徴とす
る画像出力装置。 2)前記イメージ領域設定手段は、イメージ記憶領域を
前記記憶手段の最後尾のアドレスから設定することを特
徴とする特許請求の範囲第1)項に記載の画像出力装置
。[Scope of Claims] 1) An image output device for bit-expanding and outputting image data processed by a processing means, comprising: a storage means having a system storage area used by the processing means; and a system storage area set in the storage means. An image output device comprising: image area setting means for storing bit-expanded image data in an address area separate from a system storage area. 2) The image output device according to claim 1, wherein the image area setting means sets the image storage area from the last address of the storage means.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1156491A JP2850371B2 (en) | 1989-06-19 | 1989-06-19 | Image output device |
| US08/371,612 US5526128A (en) | 1989-06-19 | 1995-01-12 | Image producing apparatus with memory unit having an image memory area of changeable storage capacity |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1156491A JP2850371B2 (en) | 1989-06-19 | 1989-06-19 | Image output device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0321473A true JPH0321473A (en) | 1991-01-30 |
| JP2850371B2 JP2850371B2 (en) | 1999-01-27 |
Family
ID=15628918
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1156491A Expired - Fee Related JP2850371B2 (en) | 1989-06-19 | 1989-06-19 | Image output device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2850371B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61187033A (en) * | 1985-02-15 | 1986-08-20 | Citizen Watch Co Ltd | Memory using system for printer |
| JPS63192856A (en) * | 1987-02-04 | 1988-08-10 | Mitsubishi Electric Corp | Production of yttrium oxide composition for vapor deposition and antireflection film |
| JPH02220864A (en) * | 1989-02-23 | 1990-09-04 | Minolta Camera Co Ltd | Printer |
-
1989
- 1989-06-19 JP JP1156491A patent/JP2850371B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61187033A (en) * | 1985-02-15 | 1986-08-20 | Citizen Watch Co Ltd | Memory using system for printer |
| JPS63192856A (en) * | 1987-02-04 | 1988-08-10 | Mitsubishi Electric Corp | Production of yttrium oxide composition for vapor deposition and antireflection film |
| JPH02220864A (en) * | 1989-02-23 | 1990-09-04 | Minolta Camera Co Ltd | Printer |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2850371B2 (en) | 1999-01-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5526128A (en) | Image producing apparatus with memory unit having an image memory area of changeable storage capacity | |
| JPH0535879B2 (en) | ||
| JP2502753B2 (en) | Image output device | |
| JPH01136770A (en) | Printer | |
| US4683552A (en) | System for on-line and off-line display | |
| JP2782798B2 (en) | Image output device | |
| JPH0321473A (en) | Image output device | |
| JPH0321474A (en) | Image output device | |
| JP2502753C (en) | ||
| JP3203660B2 (en) | Image recording device | |
| JP3304769B2 (en) | Address translation device | |
| JPS58151262A (en) | Font memory reading out system | |
| JP2001096854A (en) | Apparatus and method for printing processing | |
| JP2881948B2 (en) | Dot pattern generator | |
| JP3365068B2 (en) | Image processing device | |
| JPS583025A (en) | Character pattern generating and processing system | |
| JPH1093813A (en) | Recording device | |
| JPS63292766A (en) | Picture forming device | |
| JPS6349824A (en) | Printer control system | |
| JPS62217768A (en) | Memory control circuit | |
| JP2003091497A (en) | Data transfer device and data transfer method | |
| JP2002117397A (en) | Access method of color data to image memory | |
| JPS60140421A (en) | Output control device | |
| JPH0388022A (en) | Image display device | |
| JPH0467964A (en) | Page printer printing control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |