JPH03180956A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPH03180956A JPH03180956A JP31884089A JP31884089A JPH03180956A JP H03180956 A JPH03180956 A JP H03180956A JP 31884089 A JP31884089 A JP 31884089A JP 31884089 A JP31884089 A JP 31884089A JP H03180956 A JPH03180956 A JP H03180956A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- output
- data
- low
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Bus Control (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、システムバスに接続されたCPUとダイレ
クトメモリアクセスコントローラとのバス権を調整しな
がら各デバイスのデータ処理を実行する情報処理装置に
関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an information processing apparatus that executes data processing of each device while adjusting bus rights between a CPU and a direct memory access controller connected to a system bus. It is something.
従来、この種の装置においてDMA制御を行う場合には
、データ、アドレスの各バスをCPUとDMA転送用ハ
ードウェアが共有して使用するため、そのバス権の調整
が必要となり、大別して下記(1) 、 (2)の転
送方式が採用されている。Conventionally, when performing DMA control in this type of device, the data and address buses are shared between the CPU and the DMA transfer hardware, so it is necessary to adjust the bus ownership. The transfer methods 1) and (2) are adopted.
(1)CPUがバスをアクセスしていない時を利用して
転送を行う方式(サイクル・スヂール方式)。(1) A method of transferring data using the time when the CPU is not accessing the bus (cycle cycle method).
(2)DMA制御回路が優先となり、CPUを止めて転
送を行う方式。(2) A method in which the DMA control circuit has priority and the CPU is stopped for transfer.
このうち、(2)の方式は、さらに細分化すると、転送
データを1バイト毎にCPUに制御を返す方式(バイト
・モード)、I10装置からデータ要求がある間D M
A !IJ御側が権利を持ち続ける方式(連続モード
)、さらに、必要なバイト数の転送が終了するまでDM
A側が権利を持つ方式(バーストモード)等に分かれる
。Of these, method (2) can be further subdivided into a method in which control is returned to the CPU for each byte of transferred data (byte mode), and a method in which control is returned to the CPU for each byte of transfer data (byte mode).
A! A method in which the IJ side retains the rights (continuous mode), and DM until the required number of bytes have been transferred.
It is divided into methods such as a method in which the A side has the rights (burst mode), etc.
ところで、この種の情報処理装置には、デュアルポート
メモリがブロック配列されて、シリアルボーとを介して
デイスプレィ相当とのデータ処理をランダムポートとは
独立して処理できるように構成されている。Incidentally, this type of information processing apparatus is configured such that dual port memories are arranged in blocks so that data processing corresponding to a display via a serial baud can be processed independently of a random port.
そして、デュアルポートメモリを使用する際には、ラン
ダムポートなCPUに接続し、シリアルポートにCRT
デイスプレィを接続する構成となっている場合が多い。When using dual port memory, connect it to a random port CPU and connect the CRT to the serial port.
It is often configured to connect a display.
ところが、スキャナ、プリンタ等を使用する場合には、
ランダムポートを使用するしかなく、CPUと同時に動
作する状態が発生した場合には、各々の処理が著しく遅
くなる等の重大な問題点があった。However, when using scanners, printers, etc.
There is no choice but to use a random port, and if a situation occurs where the system operates simultaneously with the CPU, there is a serious problem that each process becomes extremely slow.
この発明は、上記の問題点を解決するためになされたも
ので、1デユアルポートメモリのシリアルポートによる
データ読出し/書込みアクセスに際して所定の擬似書込
み転送サイクルを実行することにより、書込み転送サイ
クル有無をデュアルポートメモリが確実に識別できる情
報処理装置を得ることを目的とする。The present invention was made to solve the above problems, and by executing a predetermined pseudo write transfer cycle when data is read/write accessed by the serial port of a dual port memory, the presence or absence of a write transfer cycle is dual-controlled. An object of the present invention is to obtain an information processing device in which a port memory can be reliably identified.
この発明に係る情報処理装置は、各イメージメモリブロ
ックに対するデータ書込みサイクルに先立ち各イメージ
メモリブロックに所定の擬似書込み転送サイクルを実行
する擬似サイクル実行手段を設けたものである。The information processing apparatus according to the present invention is provided with pseudo cycle execution means for executing a predetermined pseudo write transfer cycle on each image memory block prior to a data write cycle on each image memory block.
〔作用)
この発明においては、各イメージメモリブロックに対す
るデータ書込みサイクルが要求されると、擬似サイクル
実行手段が各イメージメモリブロックに対するデータ書
込みサイクルに先立ち各イメージメモリブロックに所定
の擬似書込み転送サイクルを実行し、読出し/書込みモ
ードの別を識別可能とする。[Operation] In the present invention, when a data write cycle to each image memory block is requested, the pseudo cycle execution means executes a predetermined pseudo write transfer cycle to each image memory block prior to the data write cycle to each image memory block. This makes it possible to distinguish between read and write modes.
(実施例)
第1図はこの発明の一実施例を示す情報処理装置の構成
を説明するシステムブロック図であり、1はスキャナで
、静止画像を人力する。2はプリンタで、印刷結果を出
力する。3はSC5Iコントローラて、スキャナ1およ
びプリンタ2とのブタの入出力を行う。4は高精細型の
CRTデイスプレィ、5はインタフェース、6はポイン
ティングデバイスで、2キーを指示して座標情報、アイ
コン指示等を行う。7はインタフェース(1/F)で、
ポインティングデバイス6からの座標情報等を処理する
。8はメモリ(スタティックRAM)で、サブCPU9
のプログラムデータを格納する。10はデュアルポート
メモリ(デュアルホトRAM)11のシリアルポート側
でデータの入出力を行うシリアルインタフェースで、ポ
インティングデバイス6の状態を定期的に参照するため
のタイマを内蔵している。11はランダムポートとシリ
アルポートを有するスキャナ、プリンタ用のデュアルポ
ートメモリ、12は前記CRTデイスプレィ4用のデュ
アルポートメモリ、13はメモリコントローラ(DMA
C)で、デュアルホトメモリ11.12のリフレッシュ
、シリアル読出し、シリアル書込み、疑似書込み転送タ
イ主ング、CPUアクセスおよび二次元DMAを行う。(Embodiment) FIG. 1 is a system block diagram illustrating the configuration of an information processing apparatus showing an embodiment of the present invention. Reference numeral 1 denotes a scanner that manually scans still images. 2 is a printer that outputs the print result. 3 is an SC5I controller that performs input/output between the scanner 1 and the printer 2; 4 is a high-definition CRT display, 5 is an interface, and 6 is a pointing device for specifying coordinate information, icons, etc. by specifying 2 keys. 7 is the interface (1/F),
Processes coordinate information etc. from the pointing device 6. 8 is memory (static RAM), sub CPU 9
Stores program data. A serial interface 10 inputs and outputs data on the serial port side of a dual port memory (dual photo RAM) 11, and has a built-in timer for periodically referencing the state of the pointing device 6. 11 is a dual port memory for a scanner and printer having a random port and a serial port; 12 is a dual port memory for the CRT display 4; 13 is a memory controller (DMA
In C), refreshing of the dual photomemories 11 and 12, serial reading, serial writing, pseudo write transfer timing, CPU access, and two-dimensional DMA are performed.
14はアービタ(illil停器)で、サブCPU9、
メインCPU33.DMAコントローラ(DMAC)1
3のバス権の調整を制御するとともに、サブCPU9.
メインCPU33の割込みハントシェークを行う。15
は画像圧縮伸張デバイスで、イメージデータを圧縮・伸
張する。16はバス幅調整デバイスで、画像圧縮伸張デ
バイス15の圧縮コードをバス44のバス幅に合せてデ
ータを人出力する。17はデバイスで、イメージデータ
をXY変換する。18はデバイスで、イメージデータの
間引・補間を処理する。19〜21はバッファで、バス
を駆動する。14 is an arbiter (illil stopper), sub CPU9,
Main CPU33. DMA controller (DMAC) 1
In addition to controlling the adjustment of the bus right of sub-CPU 9.
Interrupt hunt shake of the main CPU 33 is performed. 15
is an image compression/decompression device that compresses and decompresses image data. Reference numeral 16 denotes a bus width adjustment device that adjusts the compression code of the image compression/decompression device 15 to the bus width of the bus 44 and outputs data. A device 17 performs XY conversion on the image data. A device 18 processes thinning and interpolation of image data. Buffers 19 to 21 drive the bus.
22はFROMで、電源ON時のブートプログラムや割
込みベクタを格納する。23は立上げ時に使用するスタ
ティックRAM、24はデバイスで、時間を管理したり
システムの管理情報を電源OFF時も記憶している。2
5はカウンタで、プロセスの切換えや時間測定を行う。22 is FROM, which stores a boot program and interrupt vectors when the power is turned on. 23 is a static RAM used at startup, and 24 is a device that manages time and stores system management information even when the power is turned off. 2
5 is a counter for switching processes and measuring time.
26は割込みコントローラで、割込みが発生したときに
ベクタを出力する。27はインタフェースで、シリアル
通信をサポートする。28は公衆回線に接続されるモデ
ム、29はインタフェースで、キーボード30からのキ
ー人力をインタフェースする。31はダイナくツクRA
M (DRAM)で、システム側のプログラムデータを
格納する。32はメモリコントローラ(DMAコントロ
ーラ)で、DRAM31のリフレッシュおよびメモリと
各デバイスとのDMAをコントロールする。33はメイ
ンCPU、34はデバイスで、アドレスデコード、割込
みコントロール、各制御線のコントロールを行う。35
は各種書体のフォントや仮名漢字変換の辞書等を内蔵し
たポート、36はインタフェースで、IEEE802.
3の108ASE5(いわゆるETHRNET)をサポ
ートする。37はこの発明に係るバス幅調整手段を構成
するデバイスで、8ビツト入出力の5csrインタフエ
ース3B(ダイレクトメモリアクセスデバイスを構成す
る)と32ビツトのデータ幅のデータバス45とのイン
タフェースを行う。39は5CSII/F付きのハード
ディスク、40はバス幅調整デバイス、41はインタフ
ェースデバイスで、フロッピーディスクコントローラと
バス45とのインタフェースを行う。42は3.5イン
チのフロッピディスクドライブ、43は16ビツトのデ
ータ幅を有するバス、44.45は32ビツトのブタ幅
を有するバス、46は16ビツトのデータ幅を有するバ
ス、47は前記サブCPU9のみからアクセスできる1
6ビツトのデータ幅を有するバスであり、このアドレス
線の最上位ビットの極性をサブcpu9から出るアドレ
ス線の極性に対して反転させることができるように構成
されている。26 is an interrupt controller that outputs a vector when an interrupt occurs. 27 is an interface that supports serial communication. 28 is a modem connected to a public line, and 29 is an interface for inputting keys from a keyboard 30. 31 is Dynaku Tsuku RA
M (DRAM) stores program data on the system side. A memory controller (DMA controller) 32 controls refresh of the DRAM 31 and DMA between the memory and each device. 33 is a main CPU, and 34 is a device which performs address decoding, interrupt control, and control of each control line. 35
36 is a port that has built-in fonts of various typefaces and dictionaries for kana-kanji conversion, etc., and 36 is an interface that supports IEEE802.
3 108ASE5 (so-called ETHRNET) is supported. Reference numeral 37 denotes a device constituting the bus width adjusting means according to the present invention, which interfaces the 8-bit input/output 5CSR interface 3B (constituting a direct memory access device) with the data bus 45 having a 32-bit data width. 39 is a hard disk with 5CSII/F, 40 is a bus width adjustment device, and 41 is an interface device that interfaces between the floppy disk controller and the bus 45. 42 is a 3.5-inch floppy disk drive, 43 is a bus with a data width of 16 bits, 44.45 is a bus with a pig width of 32 bits, 46 is a bus with a data width of 16 bits, and 47 is a bus with a data width of 16 bits. 1 that can be accessed only from CPU9
This bus has a data width of 6 bits, and is configured so that the polarity of the most significant bit of this address line can be inverted with respect to the polarity of the address line coming out from the sub CPU 9.
このように構成された情報処理装置において、各イメー
ジメモリブロック(この実施例ではデュアルポートメモ
リ11等)に対するデータ書込みサイクルが5C3Iコ
ントローラ3等から要求されると、擬似サイクル実行手
段(この実施例ではメモリコントローラ13)がデュア
ルポートメモリ11の各イメージメモリブロックに対す
るブタ書込みサイクルに先立ち各イメージメモリブロッ
クに所定の擬似書込み転送サイクル(詳細は後述する)
を実行し、読出し/書込みモードの別を識別可能とする
。In the information processing device configured as described above, when a data write cycle for each image memory block (in this embodiment, the dual port memory 11, etc.) is requested from the 5C3I controller 3, etc., the pseudo cycle execution means (in this embodiment, the The memory controller 13) performs a predetermined pseudo write transfer cycle (details will be described later) to each image memory block prior to a pig write cycle to each image memory block of the dual port memory 11.
The read/write mode can be identified.
第2図は、第1図に示したサブCPU9のアドレス線の
最上位ビットの極性反転処理の一例を示す回路ブロック
図であり、102はSRフリップフロップで、人力され
る最上位ビット反転信号に基づいて排他的論理和回路(
EX−OR回路)101にQ出力を送出する。FIG. 2 is a circuit block diagram showing an example of polarity inversion processing of the most significant bit of the address line of the sub CPU 9 shown in FIG. Based on exclusive OR circuit (
The Q output is sent to EX-OR circuit) 101.
第3図(a)〜(h)は、第1図に示したアービタ14
の構成を説明する詳細ブロック図であり、同図中の同一
符号は同一部分を示し、■〜■はその接続先を示す。FIGS. 3(a) to 3(h) show the arbiter 14 shown in FIG.
FIG. 1 is a detailed block diagram illustrating the configuration of FIG.
これらの図において、201〜205はEXOR回路、
206はインバータ、207〜211はEX−OR回路
、212はインバータ、213.214はNAN’D回
路、215はインバタ、216はAND回路、217は
NAND回路、218はAND回路、219はNAND
回路、220はAND回路、221〜223はリセット
端子付きJKフィリップフロップ(JKFF)、224
はNOR回路、225はインバタ、226.227はN
OR回路、228はインバータ、229〜232はNO
R回路、233はOR回路、234.235はDフリッ
プフロップ(DFF)、236,237はインバータ、
238はNOR回路、239はDFF、240はJKF
F、241はインバータ、242はNAND回路、24
3はAND回路、244はインバータ、245〜247
はOFF、24BはNAND回路、249はAND回路
、250はJKFF、251.252はDFF、253
はAND回路、254はインバータ、255〜257は
DFF。In these figures, 201 to 205 are EXOR circuits,
206 is an inverter, 207 to 211 are EX-OR circuits, 212 is an inverter, 213 and 214 are NAN'D circuits, 215 is an inverter, 216 is an AND circuit, 217 is a NAND circuit, 218 is an AND circuit, 219 is a NAND
Circuit, 220 is an AND circuit, 221 to 223 are JK Philip flops (JKFF) with reset terminal, 224
is a NOR circuit, 225 is an inverter, and 226.227 is an NOR circuit.
OR circuit, 228 is an inverter, 229 to 232 are NO
R circuit, 233 is an OR circuit, 234 and 235 are D flip-flops (DFF), 236 and 237 are inverters,
238 is NOR circuit, 239 is DFF, 240 is JKF
F, 241 is an inverter, 242 is a NAND circuit, 24
3 is an AND circuit, 244 is an inverter, 245 to 247
is OFF, 24B is NAND circuit, 249 is AND circuit, 250 is JKFF, 251.252 is DFF, 253
is an AND circuit, 254 is an inverter, and 255 to 257 are DFFs.
258はNAND回路、259はAND回路、260は
JKFF、261.262はDFF。258 is a NAND circuit, 259 is an AND circuit, 260 is a JKFF, and 261.262 is a DFF.
263.264はDFF、265〜267はNAND回
路、268はインバータ、269.270はNAND回
路、271はインバータ、272273はNAND回路
、274はインバータ、275.276はDFF、27
7〜279はNAN0回路、280はインバータ、28
4.282はAND回路、283はNOR回路、284
は3ステートバツフア、285はインバータ、286は
NOR回路、286はNOR回路、287はインバータ
、288はNOR回路、289はインバタ、290.2
91はNOR回路、292は3ステートバツフア、29
3はインバータ、294はNOR回路、295はインバ
ータ、296はN。263.264 is a DFF, 265 to 267 are NAND circuits, 268 is an inverter, 269.270 is a NAND circuit, 271 is an inverter, 272273 is a NAND circuit, 274 is an inverter, 275.276 is a DFF, 27
7 to 279 are NAN0 circuits, 280 is an inverter, 28
4.282 is an AND circuit, 283 is a NOR circuit, 284
is a 3-state buffer, 285 is an inverter, 286 is a NOR circuit, 286 is a NOR circuit, 287 is an inverter, 288 is a NOR circuit, 289 is an inverter, 290.2
91 is a NOR circuit, 292 is a 3-state buffer, 29
3 is an inverter, 294 is a NOR circuit, 295 is an inverter, and 296 is an N.
R回路、297はインバータ、298はNOR回路、2
99はインバータ、300はNOR回路、301はイン
バータ、302はNOR回路、303はNOR回路、3
04は3ステートバツフア、305.306はインバー
タ、3.07〜310はNOR回路、311はAND回
路、312.313はNOR回路、314は3ステート
バツフア、315〜326はOR回路、327はAND
回路、328は5RFF、329はNANDAND回路
0はOR回路、331はNANDAND回路2はOR回
路、333,334はNANDAND回路5.336は
AND回路、337.338は5RFFである。R circuit, 297 is an inverter, 298 is a NOR circuit, 2
99 is an inverter, 300 is a NOR circuit, 301 is an inverter, 302 is a NOR circuit, 303 is a NOR circuit, 3
04 is a 3-state buffer, 305.306 is an inverter, 3.07-310 is a NOR circuit, 311 is an AND circuit, 312.313 is a NOR circuit, 314 is a 3-state buffer, 315-326 is an OR circuit, and 327 is a AND
328 is a 5RFF, 329 is a NANDAND circuit 0 is an OR circuit, 331 is a NANDAND circuit 2 is an OR circuit, 333 and 334 are NAND circuits, 5.336 is an AND circuit, and 337.338 is a 5RFF.
第4図は、第1図に示したアービタ14の周辺回路構成
を説明するブロック図であり、350は3ステートバツ
フア、351は3ステートパストランシーバ、352は
3ステートバツフア、353は3ステートパストランシ
ーバである。FIG. 4 is a block diagram illustrating the peripheral circuit configuration of the arbiter 14 shown in FIG. It is a path transceiver.
次に、第5図、第6図を参照しながら第1図に示したサ
ブCPU9等の立ち上げ処理動作について説明する。Next, the start-up processing operation of the sub CPU 9 etc. shown in FIG. 1 will be described with reference to FIGS. 5 and 6.
第5図、第6図は、第1図に示したサブcpu9の立ち
上げ処理手順の一例を説明するフローチャートである。FIGS. 5 and 6 are flowcharts illustrating an example of a procedure for starting up the sub CPU 9 shown in FIG. 1.
なお、(1)〜(9) 、 (11)〜(25)は各
ステップを示す。Note that (1) to (9) and (11) to (25) indicate each step.
電源が投入されると、先ずメインCPO33が立ち上が
り、FROM22からリセット時のスタックポインタと
プログラムカウンタの値を人力し、立ち上げ処理を行う
。When the power is turned on, the main CPO 33 first starts up, inputs the values of the stack pointer and program counter at the time of reset from the FROM 22, and performs startup processing.
この際、サブCPU9が行うことは、ボンディングデバ
イス6からの信号を基にデュアルポートRAM11にカ
ーソルを表示すること、5CS1コントローラ3を制御
してスキャナ1.プリンタ2と画像信号の転送を行うこ
と、アービタ14を介してメインCPU33と割込みハ
ントシェークを行うこと等であるか、先ずステップ(1
)において、プログラムが全部含まれたサイズを調べ、
転送ワード数を設定する。次いて、デュアルポートメモ
リ12のメインCPU33からみたときの転送開始アド
レスをセットする(2)。At this time, the sub CPU 9 displays a cursor on the dual port RAM 11 based on the signal from the bonding device 6, controls the 5CS1 controller 3, and controls the scanner 1. Step (1)
), check the size that includes the entire program,
Set the number of words to transfer. Next, the transfer start address as seen from the main CPU 33 of the dual port memory 12 is set (2).
次いて、FROM22またはDRAM31からプログラ
ム等を含むデータをデュアルポートメモリ12に転送す
る(3)。続いて、データの値をあるレジスタまたはメ
モリに加算するデータサムを行い(4)、転送が終了し
たかどうかを、すなわち転送数が残り「0」かどうかを
判断しく5)、N。Next, data including programs and the like is transferred from the FROM 22 or DRAM 31 to the dual port memory 12 (3). Next, a data sum is performed to add the data value to a certain register or memory (4), and it is determined whether the transfer is completed, that is, whether the number of transfers remains is "0" (5), and N.
ならばステップ(3)に戻り、YESならば加算された
データの値(チエツクサム)を転送する(6)。If so, return to step (3), and if YES, transfer the added data value (checksum) (6).
次いで、アービタ14にJSTART信号を与え、今ま
でリセット信号がかかつていたサブCPU9がスタート
する(7)。Next, the JSTART signal is given to the arbiter 14, and the sub CPU 9 to which the reset signal has been applied until now starts (7).
次いで、サブCPU9は、デュアルポートメモリ12か
らスタックポインタとプログラムカウンタを人力し、以
下、第6図に示すフローに従って、デュアルポートメモ
リ12にロードされているプログラムをスタティックR
AM8にロードし、サブCPU9の割込みベクタがスタ
ティックRAM (SRAM>8に切り換わるようにア
ドレスの最上位ビットを反転する。Next, the sub CPU 9 inputs the stack pointer and program counter from the dual port memory 12, and statically reads the program loaded in the dual port memory 12 according to the flow shown in FIG.
Load it into AM8 and invert the most significant bit of the address so that the interrupt vector of sub CPU9 is switched to static RAM (SRAM>8).
次いて、ACK割込みが発生するのを待機しく8)、割
込みがかかったら、IBMレジスタに割込み応答コマン
ドJ I QACKを書き込み(9)、処理を終了し、
サブCPU9による処理に移る。Next, wait for the ACK interrupt to occur (8), and when the interrupt occurs, write the interrupt response command J I QACK to the IBM register (9), and end the process.
The process moves on to processing by the sub CPU 9.
プログラムが全部含まれたサイズを調べ、転送ワード数
を設定する(11)。次いて、デュアルホトメモリ12
のメインCPU33からみたときの転送開始アドレスを
セットする(12)。The size including the entire program is checked and the number of words to be transferred is set (11). Next, dual photo memory 12
The transfer start address as seen from the main CPU 33 is set (12).
次いで、FROM22またはDRAM31からプログラ
ム等を含むデータをデュアルポートメモリ12に転送す
る(13)。続いて、データの値をあるレジスタまたは
メモリに加算するデータサムを行い(10、転送か終了
したかどうかを、すなわち転送数か残り「0」かどうか
を判断しく15)、N。Next, data including programs and the like is transferred from the FROM 22 or DRAM 31 to the dual port memory 12 (13). Next, a data sum is performed to add the data value to a certain register or memory (10), and it is determined whether the transfer is completed, that is, whether the number of transfers is "0" or not (15), and N.
ならばステップ(13)に戻り、YESならばチエツク
サムがOKかどうかを判断しく】6)、Noならばステ
ップ(23)以降に進み、YESならば反転レジスタに
データ書き込みを行い(17)、SRAM8のチエツク
サムがOKかどうかを判断しく[1)、N。If so, return to step (13), if YES, determine whether the checksum is OK] 6), if no, proceed to step (23) or later; if YES, write data to the inversion register (17), and write the data to the SRAM8. To determine whether the checksum is OK [1], N.
ならばステップ(23)以降に進み、YESならばVR
AMバッファに正常ステータスを書き込み(19)、1
8Mレジスタに割込みコマンドKIQACKを書き込み
(20)。ACK割込みが発生するのを待機しく21)
、割込みが発生したら、18Mレジスタに割込みクリア
コマンドKIQCLRを書き込み(22)、処理を終了
する。If so, proceed to step (23) or later, if YES, VR
Write normal status to AM buffer (19), 1
Write interrupt command KIQACK to 8M register (20). Wait for the ACK interrupt to occur21)
When an interrupt occurs, an interrupt clear command KIQCLR is written to the 18M register (22), and the process ends.
一方、ステップ(16)、 (18)でNOの場合は
、VRAMバッファにエラーステータスを書き込み(2
3)、18Mレジスタに割込みコマンドKIQACKを
書き込み(24)。ACK割込みが発生ずるのを待機し
く25)、割込みが発生したら、18Mレジスタに割込
みクリアコマンドKIQCLRを書き込み(26)、処
理を終了する。On the other hand, if NO in steps (16) and (18), write the error status to the VRAM buffer (2)
3), Write the interrupt command KIQACK to the 18M register (24). It waits for an ACK interrupt to occur (25), and when the interrupt occurs, it writes an interrupt clear command KIQCLR to the 18M register (26) and ends the process.
具体的には第2図に示したEX−OR回路1゜1の一方
にアドレスの最上位ビット、もう一方にフリップフロッ
プ102の出力を人力しておき、フリップフロップ10
2の出力を反転させることにより、アドレスの最上位ビ
ットの極性を切り換える。次いで、プログラムの転送が
終了したことをデュアルポートメモリ12に設けたメイ
ンCPU33とのコミュニケーションバッファに書き、
アービタ14にKrAcK信号を与え、メインCPU3
3に割込み信号をかけることで行う。メインCPIJ3
3はアービタ14からの割込み信号を受けてJIACK
をアービタ14に送りサブCPU9に割込みをかける。Specifically, the most significant bit of the address is input to one side of the EX-OR circuit 1゜1 shown in FIG. 2, and the output of the flip-flop 102 is input to the other side.
By inverting the output of 2, the polarity of the most significant bit of the address is switched. Next, a message indicating that the program transfer has been completed is written to the communication buffer with the main CPU 33 provided in the dual port memory 12, and
The KrAcK signal is given to the arbiter 14, and the main CPU 3
This is done by applying an interrupt signal to 3. Main CPIJ3
3 receives the interrupt signal from the arbiter 14 and JIACKs
is sent to the arbiter 14 and interrupts the sub CPU 9.
サブCPU9はアービタ14に割込みクリア信号として
KIQCLR信号を送出し、サブCPU9の初期動作は
終了する。The sub CPU 9 sends the KIQCLR signal to the arbiter 14 as an interrupt clear signal, and the initial operation of the sub CPU 9 ends.
次いで、デュアルポートメモリ12にビットマツプデー
タを転送すればインタフェース5を通してCRTデイス
プレィ4にビットマツプイメージを表示することができ
る。Next, by transferring the bitmap data to the dual port memory 12, the bitmap image can be displayed on the CRT display 4 through the interface 5.
次に、O8(オペレーティングシステム)やアプリケー
ションプログラム(AP)をハードディスク39からダ
イナミックRAM31に転送するが、このシステムでは
DMAコントローラ(DMAC)32とバス幅調整デバ
イス37は通常はメインcpu33とSC3Iコントロ
ーラ38の間で8ヒツト幅のデータ転送を行っているが
、DMA転送命令が発行され、リクエスト要求が5cs
Iコントローラ38から出力され、バス幅調整用のデバ
イス37に人力されると、バス幅調整デバイス37はD
MA転送モードになり、ダイナミックRAM3+のデー
タをハードディスク39に書き込む場合は、バス幅調整
デバイス37がDMAリクエストをDMAコントローラ
32に出力する。Next, the O8 (operating system) and application program (AP) are transferred from the hard disk 39 to the dynamic RAM 31, but in this system, the DMA controller (DMAC) 32 and bus width adjustment device 37 are normally connected to the main CPU 33 and the SC3I controller 38. 8-hit width data transfer is being performed between
When outputted from the I controller 38 and inputted manually to the bus width adjustment device 37, the bus width adjustment device 37
When entering the MA transfer mode and writing data in the dynamic RAM 3+ to the hard disk 39, the bus width adjustment device 37 outputs a DMA request to the DMA controller 32.
DMAコントローラ32は、メインCPU33に対しバ
ス権を要求し、メインCPU33がバスを解放すると、
DMAコントローラ32はバス権を握り、バス幅調整デ
バイス37に32ビット幅のデータを書き込む。バス幅
調整デバイス37はDMAリクエストを取り下げ、それ
によりDMAコントローラ32もバスを解放し、メイン
cPU33か再びバス件を握る。The DMA controller 32 requests bus ownership from the main CPU 33, and when the main CPU 33 releases the bus,
The DMA controller 32 takes control of the bus and writes 32-bit width data to the bus width adjustment device 37. The bus width adjustment device 37 cancels the DMA request, thereby also releasing the DMA controller 32 and the main cPU 33 taking control of the bus again.
一方、バス幅調整デバイス37はSCS Iコントロー
ラ38に対し、32ビット幅のデータを8ビット幅のデ
ータに分解し、リクエスト要求が出力されているときに
データを書き込む。4回の書き込みを終了すると、バス
幅調整デバイス37内にはデータがなくなるので、再び
バス幅調整デバイス37はDMAリクエストをDMAコ
ントローラ32に出力し上記の動作を繰り返す。5cs
rコントローラ38は、SC3Iの規格にそってハトデ
ィスク39にデータを転送する。一連の作業は、一定の
ブロック長のデータを転送終了するまで行われる。バス
幅調整デバイス37は、DMAコントローラ32からD
MA転送終了信号り。On the other hand, the bus width adjustment device 37 decomposes 32-bit width data into 8-bit width data and writes the data to the SCSI controller 38 when a request is being output. When the four writes are completed, there is no data in the bus width adjustment device 37, so the bus width adjustment device 37 outputs a DMA request to the DMA controller 32 again and repeats the above operation. 5cs
The r controller 38 transfers data to the pigeon disk 39 in accordance with the SC3I standard. A series of operations are performed until data of a fixed block length is transferred. The bus width adjustment device 37 is connected to the D
MA transfer end signal.
NEかまたはSCS Iコントローラ38から転送終了
信号が発生すると自動的にDMA転送モードを終了し、
通常モードになってSC3Iコントワラ38とメインC
PU33の通信を行うことができるようになる。また、
ハードディスク39のデータをダイナ稟ツタRAM3+
に書き込む場合ハ、ハス幅調整デバイス37にSC5I
コントローラ38のデータを4回書き込んでからバス幅
調整デバイス37がDMAリクエストをDMAコントロ
ーラ32に出力することとデータの転送方向が反対にな
っていることが異なるだけで、その他の動作はディスク
に書き込む動作と同様となる。When a transfer end signal is generated from the NE or SCS I controller 38, the DMA transfer mode is automatically terminated.
In normal mode, SC3I controller 38 and main C
The PU 33 can now communicate. Also,
Data on hard disk 39 is transferred to Dyna Ritsuta RAM 3+
When writing to C, SC5I to the lotus width adjustment device 37.
The only difference is that the bus width adjustment device 37 outputs a DMA request to the DMA controller 32 after writing the data in the controller 38 four times, and that the data transfer direction is reversed.The other operations are to write to the disk. The operation will be the same.
このように、バス幅調整デバイス37を設けることによ
り、DMA転送中のデバイスがあってもメインCPU3
3は、DMAコントローラ32に常にバスを握られるこ
となく、転送の合間にバス権を握ってプログラムを実行
することができる。In this way, by providing the bus width adjustment device 37, even if there is a device in progress of DMA transfer, the main CPU 3
3 can execute a program by taking control of the bus between transfers without having the DMA controller 32 take control of the bus all the time.
ところが、DMAl10デバイス、この実施例では5C
SIコントローラ38は、読み出し信号と書き込み信号
をCPUとバス幅調整デバイス37の2つからの単純な
OR演算処理では不具合が発生する。バス幅調整デバイ
ス37から出力される読み出し信号と書き込み信号はD
MA中にしか発生しないが、CPLIから出力される読
出し信号と書込み信号は、DMA中においても、CPU
がバス権を握っているときには、他のIloのために出
力される。当然、これはハス幅調整デバイス37から発
生する読み出し信号、書込み信号とタイミングが異なる
ため、scs rコントローラ38が誤動作する可能性
がある。これを防ぐには、DMA中を示す信号を設け、
バス幅調整デバイス37とCPUとの信号を切り換える
方式と、CPUからSCS Iコントローラ3日に対し
てアクセスがある(チップセレクト中〉ときだけCPU
からの読出し/書込み信号を入れる方式があるが、タイ
ミングを満足させるには、後者の方式が最適となる。However, the DMA10 device, in this example 5C
In the SI controller 38, a problem occurs when the read signal and the write signal are processed by a simple OR operation from the CPU and the bus width adjustment device 37. The read signal and write signal output from the bus width adjustment device 37 are D
Although they only occur during MA, the read and write signals output from the CPLI are transmitted to the CPU even during DMA.
is output for other Ilo when it has the bus right. Naturally, this timing is different from the read signal and write signal generated from the lotus width adjustment device 37, so there is a possibility that the SCSR controller 38 will malfunction. To prevent this, provide a signal indicating that DMA is in progress,
The method of switching the signal between the bus width adjustment device 37 and the CPU, and the method of switching the signals between the bus width adjustment device 37 and the CPU, and the method that allows the CPU to access the SCSI controller only when the CPU is accessing the SCSI controller (during chip selection).
Although there is a method of inputting read/write signals from the memory, the latter method is optimal in order to satisfy the timing.
第7図はバス幅調整デバイスとDMAl10デバイスと
の接続関係を説明するブロック図であり、401はバス
幅調整デバイス、402はDMAl10デバイス、40
3,404はORゲト、405.406はANDゲート
である。FIG. 7 is a block diagram illustrating the connection relationship between the bus width adjustment device and the DMA110 device, where 401 is the bus width adjustment device, 402 is the DMA110 device, and 40
3,404 is an OR gate, and 405,406 is an AND gate.
DMAl10デバイス402とバス幅調整デバイス40
1のDMA転送は、REQ信号、ACK信号で行われる
。通常CPUアクセス′、マチツブセレクト信号、読出
し信号、書込み信号y、< D M A I10デバイ
ス402.バス幅調整デバイス401双方に人力されて
おり、DMAl10デバイス402への読出し、書込み
は8ビツトでアクセスされる。DMAコマンドが発行さ
れてDMAl10デバイス402からREQ信号が出力
されると、バス幅調整デバイス401はDMA転送モー
ドとなり、システムバスとは32ビツトでデータを転送
する。バス幅調整デバイス401は、REQ信号を受け
ると、ACK信号を返すが同時に転送方向によりDMA
RD信号またはDMAWR信号をLOWレベルにしてA
NDゲート405406を介してDMAl10デバイス
402にRDB信号、WRB信号を送る。CPUはDM
ACによりシステムバスを占有されていなければ各I1
0のために読出し信号、書込み信号を出すこともあり、
読出し信号、書込み信号を単純にANDゲト405,4
01でORしてDMAl10デバイス402のRDB信
号、WRB信号に入力すると、DMA転送が正常に行わ
れない場合がある。DMA10 device 402 and bus width adjustment device 40
1 DMA transfer is performed using a REQ signal and an ACK signal. Normal CPU access', machitube select signal, read signal, write signal y, < DMA I10 device 402. Both bus width adjustment devices 401 are manually operated, and reading and writing to the DMA110 device 402 is accessed in 8 bits. When a DMA command is issued and a REQ signal is output from the DMA110 device 402, the bus width adjustment device 401 enters the DMA transfer mode and transfers data to and from the system bus in 32 bits. When the bus width adjustment device 401 receives the REQ signal, it returns an ACK signal, but at the same time, depending on the transfer direction, the bus width adjustment device 401
A by setting the RD signal or DMAWR signal to LOW level.
The RDB signal and WRB signal are sent to the DMA110 device 402 via the ND gate 405406. CPU is DM
If the system bus is not occupied by AC, each I1
A read signal and a write signal may be issued for 0,
Simply AND gate the read signal and write signal 405, 4.
If this is ORed with 01 and input to the RDB signal and WRB signal of the DMA110 device 402, the DMA transfer may not be performed normally.
そのため、チップセレクト信号と読出し信号、書込み信
号をORゲート403,404でANDLでからAND
ゲート405,406でORすると誤動作することはな
い。もちろん、これらの各ゲートをバス幅調整デバイス
37に内蔵することもできる。Therefore, the chip select signal, read signal, and write signal are ANDLed by OR gates 403 and 404, and then
If the gates 405 and 406 are ORed, no malfunction will occur. Of course, each of these gates can also be built into the bus width adjustment device 37.
また、バス幅調整デバイス40.フロッピーディスクコ
ントローラ41,3.5インチフロッピーディスクドラ
イブの組の動作も略同様である。Also, the bus width adjustment device 40. The operations of the floppy disk controller 41 and 3.5 inch floppy disk drive are substantially similar.
DMAコントローラ32のDMAチャンネルは3組あり
、ハードディスクとフロッピーディスクの並列転送も可
能である。また、メインCPU33とサブCPU9は同
時にデュアルポートメモリ11.12にアクセス制御す
るアービタ14の動作について第3図(a)を参照しな
がら説明する。The DMA controller 32 has three sets of DMA channels, and parallel transfer between a hard disk and a floppy disk is also possible. Further, the operation of the arbiter 14, which controls the access of the main CPU 33 and the sub CPU 9 to the dual port memory 11.12 at the same time, will be explained with reference to FIG. 3(a).
EX−OR回路201〜205はサブCPU9からみた
ときのデュアルポートメモリ11.12のアドレス選択
に、また、EX−OR回路207〜211はメインcp
u33からみたときのデュアルポートメモリ11.12
のアドレス選択に使用される。必要のないゲートは出力
がHIGHとなるように接続されている。EX-OR circuits 201 to 205 are used for address selection of the dual port memory 11.12 when viewed from the sub CPU 9, and EX-OR circuits 207 to 211 are used for main cp
Dual port memory 11.12 when viewed from u33
used for address selection. Unnecessary gates are connected so that the output is HIGH.
EX−OR回路201〜205のポートKLVL1〜5
およびEX−OR回路207〜211のポートJLVL
I〜5には選択されるべきアドレスの極性の逆極性のレ
ヘルを人力し、ポートKAA1〜5およびJAA 1〜
5には選択されるべきアドレスを決定するビットが接続
されている。これにより、サブCPU9からデュアルポ
ートメモリ11.12のアドレスが出力されると、EX
−OR回路201〜205の出力がすべてHIGHにな
り、また、アドレスストローブ信号KASBがLOWと
なるので、インバータ206の出力がHIGHとなり、
NAND回路213の出力がLOWになる。その結果、
NOR回路217の出力がHIGHになり、CLK信号
の立ち上がりでJKFF222のQ出力がHIGH,反
転Q出力がLOWになる。NOR回路217はまたメモ
リコントローラ13を選択する信号K L CS B
h< L 0WになってもHIGH出力になる。同様に
、メインcpU33からデュアルポートメモリ1112
のアドレスが出力されると、EX−OR回路207〜2
11の出力が全てHIGHになり、また、アドレススト
ローブ信号JASBがLOWとなるので、インバータ2
12の出力がHIGHになり、NAND回路219の出
力がLOWになる。その結果、NAND回路219の出
力がHIGHになり、CLK信号の立ち上がりでJKF
F223のQ出力がHI GH,反転Q出力がLOWな
る。NAND回路219はまたメモリコントロラ13を
選択する信号JLCSBがLOWになってもHIGH出
力になる。Ports KLVL1 to 5 of EX-OR circuits 201 to 205
and ports JLVL of EX-OR circuits 207 to 211
For I~5, enter the polarity level opposite to that of the address to be selected, and for ports KAA1~5 and JAA1~
A bit is connected to 5 to determine the address to be selected. As a result, when the sub CPU 9 outputs the address of the dual port memory 11.12, the EX
-The outputs of the OR circuits 201 to 205 all become HIGH, and the address strobe signal KASB becomes LOW, so the output of the inverter 206 becomes HIGH.
The output of the NAND circuit 213 becomes LOW. the result,
The output of the NOR circuit 217 becomes HIGH, and at the rising edge of the CLK signal, the Q output of the JKFF 222 becomes HIGH and the inverted Q output becomes LOW. The NOR circuit 217 also selects the memory controller 13 with a signal K L CS B
Even if h<L 0W, the output becomes HIGH. Similarly, from the main CPU 33 to the dual port memory 1112
When the address is output, EX-OR circuits 207 to 2
Since all the outputs of inverter 11 become HIGH and the address strobe signal JASB becomes LOW, inverter 2
The output of NAND circuit 219 becomes HIGH, and the output of NAND circuit 219 becomes LOW. As a result, the output of the NAND circuit 219 becomes HIGH, and at the rising edge of the CLK signal, the JKF
The Q output of F223 becomes HIGH, and the inverted Q output becomes LOW. The NAND circuit 219 also outputs HIGH even when the signal JLCSB for selecting the memory controller 13 becomes LOW.
また、メモリコントローラ13がDMA転送を行うため
にLBRB信号をLOWにした場合は、インバータ21
5がHIGHになり、CLK信号の立ち上がりでJKF
F221のQ出力がHIGH1反転Q出力がLOWにな
る。このように、JKFF221〜223の反転Q出力
S3,56311が同時にLOWになった場合には、N
OR4
回路227.232の出力S8と出力■がHIGHにな
り、その結果NOR回路224の出力■がLOW、NO
R回路229の出力■がLOWとなる。Furthermore, when the memory controller 13 sets the LBRB signal to LOW to perform DMA transfer, the inverter 21
5 becomes HIGH, and JKF at the rising edge of the CLK signal.
The Q output of F221 becomes HIGH1 and the inverted Q output becomes LOW. In this way, when the inverted Q outputs S3 and 56311 of JKFF221 to 223 become LOW at the same time, N
The output S8 and the output ■ of the OR4 circuits 227 and 232 become HIGH, and as a result, the output ■ of the NOR circuit 224 becomes LOW and NO.
The output (2) of the R circuit 229 becomes LOW.
つまり、出力■だけHIGHとなり、出力■。In other words, only the output ■ becomes HIGH, and the output ■ becomes HIGH.
出力@がLOWとなる。同様に、出力S3.S6がLO
W、出力SllかHIGHの場合は、出力出力■だけH
IGHとなり、出力■、出力■がLOWとなる。Output @ becomes LOW. Similarly, output S3. S6 is LO
W, if the output is Sll or HIGH, only the output ■ is H
The output becomes IGH, and the output ■ and the output ■ become LOW.
同様に、出力S3.SllがLOW、出力S6がHIG
Hの場合は、出力■だけHIGHとなり、出力■、出力
■がLOWとなる。Similarly, output S3. Sll is LOW, output S6 is HIG
In the case of H, only output ■ becomes HIGH, and outputs ■ and output ■ become LOW.
同様に、出力S6.SllがLOW、出力S3がHIG
Hの場合は、出力■だけHIGHとなり、出力■、出力
■がLOWとなる。また、−出力S3が単独でLOWの
ときは、出力S6が単独でLOWの時、出力■だけLO
Wとなり、出力S11が単独でLOWのとき、出力■だ
けLOWとなる。Similarly, output S6. Sll is LOW, output S3 is HIG
In the case of H, only output ■ becomes HIGH, and outputs ■ and output ■ become LOW. Also, when -output S3 is LOW alone, when output S6 is LOW alone, only output ■ is LOW.
W, and when the output S11 is LOW alone, only the output ■ becomes LOW.
つまり、アービタ14は、優先順位が固定されており、
出力Sll>S6>33のように規定されている。この
ように、出力■3■、■のいずれかの出力がHIGHに
なると、OR回路233の出力S14もHIGHとなり
、CLK信号の立ち下がりてインバータ236によりD
FF234が出力S14をラッチしQ出力となる出力S
15がHIGHになる。反転Q出力はLOWとなり、こ
れがDFF235の反転S人力に接続されているため、
DFF235の反転Q出力となるS16は直ちにLOW
となる。これにより、NOR回路226の出力S7は出
力■と同じレベルになり、もし出力■がHIGHになっ
ている時は、出力S7もHIGHで、出力S6がLOW
になってもNOR回路227の出力S8が)TIGHに
ならないようになる。すなわち、出力■がHIGHにな
ってDFF235の反転Q出力S16がLOWになると
、出力S6がLOWになってもNOR回路224により
出力■をLOWにすることがない。これにより、安定し
たアクセスができる。同様に、NOR回路231の出力
S13はNOR回路230により、出力■、出力■の何
れかがHIGHの場合、HIGHとなり、出力S11が
LOWになってもNOR回路232の出力■がHI G
Hll:ならないようになる。すなわち、出力■、出力
■がHIGHになってDFF235の反転Q出力となる
出力S16がLOWになると、出力SllかLOWにな
ってもNOR回路224.229により出力■、出力■
をLOWにすることかない。このように、低い優先順位
の実行サイクルか一旦開始されると、この実行サイクル
が終了するまでは高い優先順位の入力で中断されること
がない。JKFF223の反転Q出力となる出力Sit
がLOWで出力■がHIGHになり、DFF235の反
転Q出力となる出、力S16がLOWになり、実行サイ
クルが始まると、第3図(b)のインバータ254によ
りLJB出力もLOWとなる。LJB出力には、メイン
CPU33のアドレスバッファ352のトライステート
人力とデータバッファ353のトライステート入力に接
続されており、これにより、バス43のバス権はメイン
CPU33に握られる。メモリコントローラ13はアド
レスに従いデュアルポートメモリ11.12をアクセス
し、データアクノリッジ信号L D T K、Bをアー
ビタ14に返ず。アービタ14では第3図(c)に示し
たインバータ271.NAND回路269270を通し
てJDTAK信号として出力される。この信号はメイン
CPU33に返り、メインCPU33はJASB信号を
HIGHとしてサイクルは終了する。これにより、第3
図(a)のAND回路220の出力SIOがHIGHに
なり、NOR回路23日の出力S17がLOWとなり、
DFF234のQ出力S15がLOW、反転QがHIG
Hとなる。In other words, the arbiter 14 has a fixed priority order,
The output is defined as Sll>S6>33. In this way, when either of the outputs ■3■ and ■ becomes HIGH, the output S14 of the OR circuit 233 also becomes HIGH, and when the CLK signal falls, the inverter 236 outputs
FF234 latches output S14 and output S becomes Q output
15 becomes HIGH. The inverted Q output becomes LOW, and since this is connected to the inverted S output of DFF235,
S16, which is the inverted Q output of DFF235, immediately goes LOW.
becomes. As a result, the output S7 of the NOR circuit 226 becomes the same level as the output ■, and if the output ■ is HIGH, the output S7 is also HIGH, and the output S6 is LOW.
The output S8 of the NOR circuit 227 will not become TIGH even if That is, when the output ■ becomes HIGH and the inverted Q output S16 of the DFF 235 becomes LOW, the NOR circuit 224 does not cause the output ■ to become LOW even if the output S6 becomes LOW. This allows stable access. Similarly, the output S13 of the NOR circuit 231 becomes HIGH due to the NOR circuit 230 when either the output ■ or the output ■ is HIGH, and even if the output S11 becomes LOW, the output ■ of the NOR circuit 232 becomes HIGH.
Hll: It will not happen. That is, when the outputs ■ and output ■ become HIGH and the output S16, which is the inverted Q output of the DFF 235, becomes LOW, even if the output Sll becomes LOW, the NOR circuits 224 and 229 cause the outputs ■ and output ■ to become LOW.
There is no way to set it to LOW. In this way, once a lower priority run cycle is started, it cannot be interrupted by higher priority inputs until the run cycle is finished. Output Sit which becomes the inverted Q output of JKFF223
is LOW and the output 2 becomes HIGH, and the output S16, which is the inverted Q output of the DFF 235, becomes LOW. When the execution cycle begins, the LJB output also becomes LOW by the inverter 254 in FIG. 3(b). The LJB output is connected to the tri-state input of the address buffer 352 and the tri-state input of the data buffer 353 of the main CPU 33, so that the main CPU 33 has bus ownership of the bus 43. The memory controller 13 accesses the dual port memory 11.12 according to the address and returns data acknowledge signals LDTK, B to the arbiter 14. In the arbiter 14, the inverter 271. shown in FIG. 3(c). It is output as a JDTAK signal through a NAND circuit 269270. This signal is returned to the main CPU 33, and the main CPU 33 sets the JASB signal to HIGH, thereby completing the cycle. This allows the third
The output SIO of the AND circuit 220 in figure (a) becomes HIGH, the output S17 of the NOR circuit 23 becomes LOW,
Q output S15 of DFF234 is LOW, inverted Q is HIGH
It becomes H.
ここで、CLK信号がLOWからHIGHになると、J
KFF223の反転Q出力となる出力S11がHIG!
(となり、NOR回路232の出力■がLOW、第3図
(b)に示すAND回路259の出力LJASもLOW
となり、イメージバスのバス権はメインCPU33から
解放される。CLK信号の立ち上がりではJKFF22
3と同時 8
にDFF235の反転Q出力となる出力316もHIG
Hとなり、出力S3.S6.Sl 1(7)各信号の調
整サイクルに入る。Here, when the CLK signal goes from LOW to HIGH, J
Output S11, which is the inverted Q output of KFF223, is HIGH!
(Then, the output ■ of the NOR circuit 232 is LOW, and the output LJAS of the AND circuit 259 shown in FIG. 3(b) is also LOW.
As a result, bus ownership of the image bus is released from the main CPU 33. At the rising edge of the CLK signal, JKFF22
At the same time as 3 and 8, output 316, which becomes the inverted Q output of DFF 235, also goes high.
H, and the output S3. S6. Sl 1 (7) Enter adjustment cycle for each signal.
ここで、出力S6のみまたは出力S3.S6がLOWな
らば前述のようにサブCPU9がバス権を握り、メモリ
コントローラ13のデータアクノリッジ信号LDTKB
により同様にバスサイクルを終了させる。Here, output S6 only or output S3. If S6 is LOW, the sub CPU 9 takes control of the bus as described above, and the data acknowledge signal LDTKB of the memory controller 13 is activated.
similarly ends the bus cycle.
方、アービタ14中には、第3図(b)のDFF251
.252.261.262があり、メインCPU33と
サブCPU9のアクセスが近接していた場合には、LA
SB信号、LDTKB信号が遅延時間等でメモリコント
ローラ13や各cPU9.33に影響を与えないように
、DFF251.252,261.262によりLJA
S信号、LKAS信号が近接しないように分離している
。出力■がLOWになりすぐ出力■がHIGHになって
もLKAS信号は、DFF261のQ出力がLOWにな
り、DFF262の反転Q出力かHIGHになり始めて
LKAS信号がHIGHになる。LJAS信号も同様で
ある。なお、第3図(d)〜(f)に示したLASB信
号、LUDSB信号、LLDSB信号、LRW信号、L
CSB信号の各信号と第3図(C)に示したJ DTA
K信号、KDTAK信号、JBER信号、KBER信号
の各信号は全てLJAS信号、LKAS信号のいずれか
がHIGHになっていなりねば有効にならない。これに
より、メインCPU33とサブCPU9の単独のアクセ
スのときは高速に、また近接したアクセスは安全に行う
ことができる。On the other hand, in the arbiter 14, there is a DFF 251 shown in FIG. 3(b).
.. 252.261.262, and if the main CPU 33 and sub CPU 9 access is close, LA
In order to prevent the SB signal and LDTKB signal from affecting the memory controller 13 and each cPU9.33 due to delay time, etc., the LJA signal is
The S signal and LKAS signal are separated so that they do not come close to each other. Even if the output ■ becomes LOW and immediately the output ■ becomes HIGH, the Q output of the DFF 261 becomes LOW, the inverted Q output of the DFF 262 starts to become HIGH, and the LKAS signal becomes HIGH. The same applies to the LJAS signal. Note that the LASB signal, LUDSB signal, LLDSB signal, LRW signal, L
Each signal of the CSB signal and the JDTA shown in Figure 3(C)
The K signal, KDTAK signal, JBER signal, and KBER signal all become valid unless either the LJAS signal or the LKAS signal becomes HIGH. Thereby, independent access between the main CPU 33 and sub CPU 9 can be performed at high speed, and access between the main CPU 33 and the sub CPU 9 can be performed safely.
ところで、イメージバス上のDMAコントローラ13か
らのバス権要求信号LBRB信号によりJKFF221
の反転Q出力となる出力S3がLOWになって出力■が
HIGHとなった場合、第3図(b)に示すようにJD
TAK信号、KDTAK信号、JBER(g号、KBE
R信号の各信号は全てLJAS信号とLKAS信号のど
ちらかがHIGHになっていなければ有効にならない。By the way, the JKFF221 is activated by the bus request signal LBRB from the DMA controller 13 on the image bus.
When the output S3, which is the inverted Q output of
TAK signal, KDTAK signal, JBER (g, KBE
All of the R signals are not valid unless either the LJAS signal or the LKAS signal is HIGH.
これにより、メインcpu33とサブCPU9の単独の
アクセスは高速にまたは近接したアクセスは安全に行う
ことができる。Thereby, individual access between the main CPU 33 and sub CPU 9 can be performed at high speed, or close access can be performed safely.
ところで、イメージバス上のDMAコントロラ13から
のバス権要求となるLBRB信号によりJKFF22
+の反転Q出力となる出力S3かしOWになって出力■
がHIGHとなっに場合、第3図(b)に示すように、
DFF239の反転Q出力がCLK信号の立ち上がりで
HIGHとなり、NAND回路242の出力となるLB
GB信号がLOWになる。これは、DMAコントローラ
13にバス権かわたったことを示し、DMAコントロー
ラ13はLBGAKB信号をLOWとし、LBRB信号
をHIGHとする。これにより、インバータ241の出
力はHIGHとなり、JKFF240のQ出力はLOW
となる。これにより、LBGB信号はHIGHとなる。By the way, the JKFF 22
Output S3 becomes the inverted Q output of + or becomes OW and output ■
When is HIGH, as shown in Figure 3(b),
The inverted Q output of the DFF 239 becomes HIGH at the rising edge of the CLK signal, and the LB becomes the output of the NAND circuit 242.
GB signal becomes LOW. This indicates that the bus right has been transferred to the DMA controller 13, and the DMA controller 13 sets the LBGAKB signal to LOW and the LBRB signal to HIGH. As a result, the output of the inverter 241 becomes HIGH, and the Q output of JKFF240 becomes LOW.
becomes. As a result, the LBGB signal becomes HIGH.
DMAコントロラ13はデータ転送を開始し、データ転
送を終了するまで、LBGAK信号をLOWに保持する
。データ転送が終了し、LBGAK信号をHIGHにす
ると、第3図(a)に示したAND回路216の出力S
2がHIGHとなり、NOR回路238の出力S17が
LOWとなり、DFF234のQ出力となる出力S15
をLOWとする。The DMA controller 13 starts data transfer and holds the LBGAK signal LOW until the data transfer is completed. When the data transfer is completed and the LBGAK signal is set to HIGH, the output S of the AND circuit 216 shown in FIG.
2 becomes HIGH, the output S17 of the NOR circuit 238 becomes LOW, and the output S15 becomes the Q output of the DFF 234.
is set to LOW.
CLK信号の立ち上がりでJKFF221の反転O出力
となる出力S3かHIGHとなり、同時に0FF235
の反転Q出力となる出力S16もHIGHとなり、出力
■がLOWとなり、再びアビトレージョンサイクルに入
る。メインCPU33のアクセスは通常のサイクルでは
JASB信号がLOWになっていることで示されるがメ
インCPU33とサブCPU9のソフトウェアの同期の
ため、分割してはならない読み出しと書き込みサイクル
、いわゆるリードモディファイライトサイクルがある。At the rising edge of the CLK signal, output S3, which is the inverted O output of JKFF221, becomes HIGH, and at the same time, 0FF235
The output S16, which is the inverted Q output, also becomes HIGH, and the output (2) becomes LOW, entering the abitration cycle again. Access to the main CPU 33 is indicated by the JASB signal being LOW in a normal cycle, but in order to synchronize the software of the main CPU 33 and sub CPU 9, a read and write cycle that must not be divided, a so-called read-modify-write cycle, is performed. be.
その際、メインCPU33からJRMCB信号がLOW
になることで、このサイクルであることを認知する。At that time, the JRMCB signal from the main CPU 33 is LOW.
By becoming aware of this cycle.
このJRMCB信号は第3図(a)に示したANDゲー
トに入力されており、JAS B信号がHIGHになり
、通常のサイクルでは出力10がHIGHになってサイ
クルを終了させるが、JRMCB信号がLOWの場合に
はサイクルを終了させないようにしてリードモディファ
イライトサイクルをサポートしている。一方、サブcp
u9側はKKRMCB信号を持たず、以下のような処理
をサポートしている。This JRMCB signal is input to the AND gate shown in Fig. 3(a), and the JAS B signal becomes HIGH. In a normal cycle, output 10 becomes HIGH and the cycle ends, but when the JRMCB signal becomes LOW In this case, the read-modify-write cycle is supported by not terminating the cycle. On the other hand, sub-cp
The u9 side does not have a KKRMCB signal and supports the following processing.
KRW信号がHIGHlすなわち読出しサイクルてKA
SB信号がLOWになり、その後KUDSB信号または
KLDSB信号かLOWになり、デュアルポートメモリ
11またはデュアルポートメモリ12を読み出し、メモ
リコントローラ13はL D T A K B信号をL
OWにし、アービタ14からはKDTAK信号として出
力される。これにより、KUDSB信号またはKLD
S B信号がHIGHとなり、KASB信号がLOWの
ままてKRW信号がLOWになり、再びKUDSB信号
またはKLDSBがHIGHとなり、デュアルホトメモ
リ11またはデュアルポートメモリ12に書き込む。メ
モリコントローラ13は再びLDTAKB信号をLOW
とする。これにより、今度はKASB信号も含めてKU
DSB信号またはKLDSB信号がHIGHとなり、サ
イクルが終了する。The KRW signal is HIGH1, that is, the read cycle is KA.
The SB signal becomes LOW, then the KUDSB signal or KLDSB signal becomes LOW, the dual port memory 11 or the dual port memory 12 is read, and the memory controller 13 sets the L DTA K B signal to LOW.
OW, and the arbiter 14 outputs the KDTAK signal. This allows the KUDSB signal or KLD
The SB signal becomes HIGH, the KASB signal remains LOW, the KRW signal becomes LOW, and the KUDSB signal or KLDSB becomes HIGH again to write to the dual photo memory 11 or dual port memory 12. The memory controller 13 turns the LDTAKB signal LOW again.
shall be. As a result, the KU including the KASB signal is now
The DSB signal or KLDSB signal goes HIGH and the cycle ends.
方、メモリコントローラ13は、サイクルを全てLAS
B信号がLOWの期間とし、メモリコントローラ13自
体かり−トモディファイライトサイクルをサポートして
はいない。このため、DFF245〜247.JKFF
250.NAND回路24Bにより、1回LDTAKB
信号がLOWになり、KRW信号がHIGHからLOW
に切り換わると、LKAS信号が1回LOW、すなわち
LASB信号が1回HIGHに設定する。On the other hand, the memory controller 13 uses LAS for all cycles.
This is a period in which the B signal is LOW, and the memory controller 13 itself does not support a to-modify write cycle. For this reason, DFF245-247. JKFF
250. LDTAKB once by NAND circuit 24B
The signal goes LOW, and the KRW signal goes from HIGH to LOW.
When switching to , the LKAS signal is set to LOW once, that is, the LASB signal is set to HIGH once.
LDTAKB信号がLOWになると、第3図(c)に示
したインバータ271のインバータ出力LDTがHIG
Hとなり、JKFF250のQ出力がHIGHとなる。When the LDTAKB signal becomes LOW, the inverter output LDT of the inverter 271 shown in FIG. 3(c) becomes HIGH.
becomes H, and the Q output of JKFF250 becomes HIGH.
KRWがHIGHからLOWになると、DFF246,
247のQ出力がHIGHで、DFF245の反転Q出
力がHIGHとなるため、CLK信号の立ち上がりが2
回の間、LKAS信号がLOW、LASB信号がHIG
Hとなる。アービタ14は、このように2f重類のリー
ドモディファイライトサイクルをサポートし、この間イ
メージバスの権利を変更しない%Jlしている。また、
LASB信号は必ず2回LOWとなる。When KRW goes from HIGH to LOW, DFF246,
Since the Q output of DFF247 is HIGH and the inverted Q output of DFF245 is HIGH, the rise of the CLK signal is 2.
During this period, the LKAS signal is LOW and the LASB signal is HIGH.
It becomes H. The arbiter 14 thus supports read-modify-write cycles of 2f class, and does not change the rights to the image bus during this time. Also,
The LASB signal always goes LOW twice.
アービタ14はメインCPU33とサブcpu9の割込
みハンドシェークもサポートしており、メインCPU3
3が第3図(g)に示した信号JD1をLOWとして信
号JRW、JCSBをLOWとすると、第3図(c)に
示した0FF263.264とNAND回路265によ
りCLK信号の立ち上がりから次の立ち上がりの間、J
JB信号がLOWとなり、第3図(g)のOR回路32
4.315によりJ I QACK信号かLOWとなる
。その結果、OR回路330の出力がLOWとなり、N
A ND回路331の出力が)(IGHとなり、NA
ND回路329の出力となるKINTB信号がLOWと
なり、この信号がサブCPU9への割込み信号となる。The arbiter 14 also supports interrupt handshaking between the main CPU 33 and sub CPU 9, and
3, when the signal JD1 shown in FIG. 3(g) is set to LOW and the signals JRW and JCSB are set to LOW, the 0FF263.264 and the NAND circuit 265 shown in FIG. Between, J
The JB signal becomes LOW, and the OR circuit 32 in FIG. 3(g)
4.315 causes the J I QACK signal to go LOW. As a result, the output of the OR circuit 330 becomes LOW, and N
The output of the AND circuit 331 becomes )(IGH, and NA
The KINTB signal output from the ND circuit 329 becomes LOW, and this signal becomes an interrupt signal to the sub CPU 9.
サブCPU9は第3図(g)に示したKDI信号をLO
WとしてKRW信号、KCSB信号をLOWとすると、
第3図(C)に示したDFF275.276とNAND
回路279によりCLK信号の立ち上がりから次の立ち
上がりの間、KKB信号がLOWとなり、第3図(h)
のOR回路326,322により、K I QACK信
号がLOWとなる。この結果、OR回路332の出力が
LOWとなり、NAND回路333の出力がHIGHと
なり、NAND回路334の出力となるJINTB信号
がLOWとなり、とのJ I NTB信号がメインcp
U33への割込み信号となり、同時にNAND回路32
9の出力となるKINTB信号をHIGHに戻し、割込
み信号をクリアする。相手のCPUに割込みをかけず、
自分の割込み信号のみをクリアするには、メインCPU
33がJDI信号の代わりにJD2信号をLOW、サブ
CPU9はKDI信号の代わりにKD2信号をLOWと
すれば、JIQCLR信号、KIQCLR信号がLOW
となり、割込みをクリアする。また、割込みを発生させ
ないように信号JD3.信号KD3をLOWとして、J
RW信号、JC3B信号をLOW、KPW信号、KC3
B信号をLOWとすると、JMSKS5
T信号、KMSKST信号がLOWとなり、5RFF3
28,337のQ出力がHIGHとなり、OR回路33
0,332の出力がLOWになることがなくなり、割込
み信号が発生しなくなる。JD4信号、KD4信号をL
OWとして、JRW信号、JCSB信号をLOWとし、
KRW信号、KCC3B信号をLOWとすれば、割込み
を解除することもできる。また、メインCPU33から
はJD5信号、JRW信号、JC3B信号をLOWとす
れば、KRESB信号をHIGHにすることができ、こ
れをサブCPU9のリセット信号とすればメインcpU
33からサブCPU9の起動を行うことがてきる。JD
6信号、JRW(i号、JC3B信号をLOWとすれば
(第8図参照〉、再びサブCPU9のリセットを行うこ
とができる。The sub CPU 9 LOs the KDI signal shown in FIG. 3(g).
When KRW signal and KCSB signal are LOW as W,
DFF275.276 and NAND shown in Figure 3(C)
The circuit 279 causes the KKB signal to be LOW from one rising edge of the CLK signal to the next rising edge, as shown in FIG. 3(h).
The OR circuits 326 and 322 turn the K I QACK signal LOW. As a result, the output of the OR circuit 332 becomes LOW, the output of the NAND circuit 333 becomes HIGH, and the JINTB signal, which is the output of the NAND circuit 334, becomes LOW.
It becomes an interrupt signal to U33, and at the same time the NAND circuit 32
The KINTB signal, which is the output of 9, is returned to HIGH and the interrupt signal is cleared. Do not interrupt the other party's CPU,
To clear only your own interrupt signal, use the main CPU
33 makes the JD2 signal LOW instead of the JDI signal, and the sub CPU 9 makes the KD2 signal LOW instead of the KDI signal, the JIQCLR signal and KIQCLR signal become LOW.
and clears the interrupt. Also, the signal JD3. With signal KD3 LOW, J
RW signal, JC3B signal LOW, KPW signal, KC3
When the B signal is LOW, the JMSKS5 T signal and KMSKST signal are LOW, and the 5RFF3
The Q outputs of 28 and 337 become HIGH, and the OR circuit 33
The output of 0,332 will no longer go LOW, and no interrupt signal will be generated. JD4 signal, KD4 signal L
As OW, set the JRW signal and JCSB signal to LOW,
The interrupt can also be canceled by setting the KRW signal and KCC3B signal to LOW. Also, if the JD5 signal, JRW signal, and JC3B signal are set to LOW from the main CPU 33, the KRESB signal can be set to HIGH, and if this is used as a reset signal for the sub CPU 9, the main CPU
The sub CPU 9 can be started from 33. J.D.
6 signal, JRW (i number), and JC3B signal are set to LOW (see FIG. 8), the sub CPU 9 can be reset again.
以下、デュアルポートメモリ12を使用してCRTデイ
スプレィ4にウィンドやカーソルを表示する場合を例と
してデータ転送処理について具体的に説明する。The data transfer process will be specifically explained below, taking as an example a case where a window and a cursor are displayed on the CRT display 4 using the dual port memory 12.
デュアルポートメモリ12は全ての領域を表示6
に使用するわけではなく、一部類域は完全な自由なRA
Mとして使用可能となっている。このデュアルポートメ
モリ12はメインCPU33とサブCPU9の両方から
アクセスできるため通信用のバッファとして最適である
。アービタ14を使用して相手に割込みをかけ、そのと
きの命令(コマンド)または応答の状態をこのデュアル
ポートメモリ12の空き領域の通信バッファでやり取り
を行う。Not all areas of the dual port memory 12 are used for display 6, and some areas are completely free for RA.
It can be used as M. This dual port memory 12 can be accessed from both the main CPU 33 and the sub CPU 9, and is therefore ideal as a communication buffer. An arbiter 14 is used to interrupt the other party, and the state of the command or response at that time is exchanged in the communication buffer in the free area of the dual port memory 12.
このシステムではカーソルの表示はサブCPU9て行い
、ウィンドの作成やウィンドの内容の書き換えはメイン
CPU33が行うようにしている。そのため、メインC
PU33がVRAMを使用する時は、通信バッファ内に
ウィンド書き換えの要求命令とウィンドの座標を書いて
アービタ14に対してJ I QACK信号の命令を発
行し、サブCPU9に割込みをかける。サブCPU9は
割込み信号となるKINTB信号により通信バッファか
らウィンド書き換え要求命令を受は取り、ビジーフラグ
をONとする。次に、ウィンドの4隅の座標を受は取り
、カーソルを表示しているウィンドでクリッピング演算
を行う。その結果、カソルとメインCPI333が書き
換えようとしているウィンドに重なりかあるときは、サ
ブCPU9はカーソルを消し、その部分にもとの画像を
戻しておく。そして、アービタ14に対してKIQAC
K信号を発行し、メインCPU33に割込み信号となる
JINTB信号を発生させる。メインcpu33は、こ
のウィンド書き換えコマンドの応答の割込みを受けてウ
ィンドを書き換える。もし、カーソルとウィンドとに重
なりがないときはカーソルを消さずに、KIQACK信
号を発行する。メインCPU33がウィンド書き換えを
終了すると、通信バッファ内に終了書き換えコマンドを
書き、JIQACK信号をアービタ14に対してJ I
QACK信号を発行して、サブCPU9に割込み信号
となるKINTB信号を発生させる。In this system, the sub CPU 9 displays the cursor, and the main CPU 33 creates windows and rewrites the contents of the windows. Therefore, main C
When the PU 33 uses the VRAM, it writes a window rewriting request command and window coordinates in the communication buffer, issues a J I QACK signal command to the arbiter 14, and interrupts the sub CPU 9. The sub CPU 9 receives the window rewrite request command from the communication buffer using the KINTB signal, which is an interrupt signal, and turns on the busy flag. Next, the coordinates of the four corners of the window are taken, and a clipping operation is performed on the window where the cursor is displayed. As a result, if the cursor and the main CPI 333 overlap with the window to be rewritten, the sub CPU 9 erases the cursor and restores the original image to that area. Then, KIQAC for arbiter 14
A K signal is issued to cause the main CPU 33 to generate a JINTB signal as an interrupt signal. The main CPU 33 rewrites the window in response to the interruption in response to the window rewrite command. If the cursor and window do not overlap, the KIQACK signal is issued without erasing the cursor. When the main CPU 33 finishes window rewriting, it writes an end rewriting command in the communication buffer and sends a JIQACK signal to the arbiter 14.
A QACK signal is issued to cause the sub CPU 9 to generate a KINTB signal as an interrupt signal.
サブCPtJ9は、これにより、ビジーフラグを0FF
L/、アービタ14にKIQACK信号を発行し、発生
したJ I NTB信号の割込みを、メインCPUは終
了コマンドに対する応答として受は取る。サブCPU9
は割込み処理だけでなく、別ルーチンでカーソル表示を
行っており、インタフェース10で発生するタイマ割込
み毎にポインティングデバイスの座標値を読み取り、前
回と差があると、その座標値を保存し、先の割込みルー
チンでONeOF Fするビジーフラグをみて、ONな
らば書き換えウィンドをカーソルウィンドでクリッピン
グし、もし重なりがある時はカーソル表示せず、重なり
がない時と、ビジーフラグがOFFのときはカーソルを
表示する。カーソル表示とは、カーソルウィンド内の画
像を退避し、矢印等のカーソルを表示し、別の場所にカ
ーソルを移動する時は、退避した画像を戻し、移動した
位置で再び画像を退避して行う。Sub CPtJ9 thereby sets the busy flag to 0FF.
The main CPU issues a KIQACK signal to the L/arbiter 14, and receives the generated JINTB signal interrupt as a response to the termination command. Sub CPU9
In addition to handling interrupts, the cursor is displayed in a separate routine, and the coordinate values of the pointing device are read every time a timer interrupt occurs in the interface 10, and if there is a difference from the previous one, the coordinate values are saved and used for the next one. Check the busy flag that turns ONeOFF in the interrupt routine, and if it is ON, clip the rewrite window with the cursor window, if there is an overlap, do not display the cursor, and if there is no overlap or the busy flag is OFF, display the cursor. Cursor display is to save the image in the cursor window, display a cursor such as an arrow, and when moving the cursor to another location, return the saved image and save the image again at the moved position. .
次に、第9図(a)〜(e)を参照しながらこの発明に
係る情報処理装置におけるカーソル/ウィンド処理動作
について説明する。Next, the cursor/window processing operation in the information processing apparatus according to the present invention will be explained with reference to FIGS. 9(a) to 9(e).
第9図(a)〜(e)はこの発明に係る情報処理装置に
おけるカーソル/ウィンド処理手順の一例を説明するフ
ローチャートである。なお、(1)〜(9) 、 (
11)〜(19)、 (21)〜(26)は各ステッ
プを示す。以下、同図(a)の処理から順次説明する。FIGS. 9(a) to 9(e) are flowcharts illustrating an example of a cursor/window processing procedure in the information processing apparatus according to the present invention. In addition, (1) to (9), (
11) to (19) and (21) to (26) indicate each step. Hereinafter, the process will be explained sequentially starting from the process shown in FIG.
サブCPU9はタイマ割込み処理が発生すると(1)、
ポインティングデバイス6からの座標値を読み取り(2
)、前回の座標値とに差があるかどうかを判断しく3)
、NOならばステップ(1)に戻り、YESならば現在
の座標値を保存する(4)。When the timer interrupt processing occurs, the sub CPU 9 (1)
Read the coordinate values from the pointing device 6 (2
), determine whether there is a difference from the previous coordinate values 3)
, if NO, return to step (1); if YES, save the current coordinate values (4).
次いで、ビジーフラグがONかどうかを判断しく5)、
NOならばステップ(9)以降に進み、YESならば書
換えウィンドの4隅の座標を受は取る(6)。次いで、
カーソルウィンドでクリッピングしく7)、重なりがあ
るかどうかを判断しく8)、YESならばステップ(1
〉 に戻り、Noならばカーソルを表示しく9)、ステ
ップ(1)に戻る。Next, determine whether the busy flag is ON or not 5).
If NO, the process proceeds to step (9) and subsequent steps; if YES, the receiver obtains the coordinates of the four corners of the rewrite window (6). Then,
Try clipping in the cursor window 7), judge whether there is overlap 8), and if YES step (1)
> If the answer is No, display the cursor (9) and return to step (1).
一方、通信割込みプロセスは、同図(b)に示すように
、ウィンド書換え要求が発生しているかどうかを判断し
く11)、YESならばビジーフラグをON L (1
2)、書換えウィンドの4隅の座標を受け取る(13)
。次いで、カーソルウィンドでクリッピングしく14)
、重なりがあるかどうかを判断しく15)、Noならば
ステップ(17)以降に進み、YESならばカーソルを
消去しく16)、応答コマンドを発行しく17)、処理
を終了する。On the other hand, the communication interrupt process determines whether a window rewrite request has occurred, as shown in FIG.
2) Receive the coordinates of the four corners of the rewrite window (13)
. Next, try clipping in the cursor window 14)
, it is determined whether or not there is an overlap (15), and if No, the process proceeds to step (17) and subsequent steps; if YES, the cursor is deleted (16), a response command is issued (17), and the process ends.
方、ステップ(11)の判断において、Noの場合はビ
ジーフラグをOF F L、 (18)、応答コマンド
を発行しく19)、処理を終了する。On the other hand, if the determination in step (11) is No, the busy flag is turned off (18), a response command is issued (19), and the process is terminated.
方、メインCPU33は、同図(c)に示すように、書
換えウィンドの4@の座標を通信バッファに送り(21
)、ウィンド書換え要求コマンドを発行しく22)、サ
ブCPU9等からのコマンド応答が発生するのを待機し
く23)、応答がなされたら、ウィンドを書き換え(2
4)、ウィンド書換えを終了するコマンドを発行する(
25)。次いで、サブCPU9等からのコマンド応答が
発生するのを待機しく26)、処理を終了する。On the other hand, the main CPU 33 sends the coordinates of 4@ of the rewrite window to the communication buffer (21
), issue a window rewrite request command 22), wait for a command response from the sub CPU 9, etc. 23), and when a response is received, rewrite the window (2
4) Issue a command to end window rewriting (
25). Next, the process waits for a command response from the sub CPU 9 or the like (26), and ends the process.
次に、第10図(a)、(b)を参照しながらサブCP
U9とメインCPU33によるドラッギングIA理につ
いて説明する。Next, while referring to FIGS. 10(a) and (b), the sub-CP
The dragging IA process performed by U9 and the main CPU 33 will be explained.
第10図(a)、(b)はこの発明に係る情報処理装置
に係るサブCPU9とメインCPU33によるドラッギ
ング処理手順の一例を説明するフローチャートである。FIGS. 10(a) and 10(b) are flowcharts illustrating an example of a dragging process procedure performed by the sub CPU 9 and the main CPU 33 in the information processing apparatus according to the present invention.
なお、(1)〜(18)、 (21)〜(29)は各
ステップを示す。Note that (1) to (18) and (21) to (29) indicate each step.
サブCPU9は、カーソル位置を通信バッファに送り(
1)、左キーONを示す割込みを発行しく2)、コマン
ド応答を待機する(3)。The sub CPU 9 sends the cursor position to the communication buffer (
1) Issue an interrupt indicating that the left key is ON 2) Wait for a command response (3).
次いて、ドラッギング命令かどうかを判断しく4)、N
oならば別処理を行い、YESならばウィンド枠サイズ
位置を受は取り(5)、矢印カーソルをOFFしく6)
、ウィンド枠の反転表示を行う(7)。次いで、タイマ
割込みが発生するの待機しく8)、割込みがかかったら
ポインティングデバイス6の座標値を読み取り(9)、
前回の座標値と差があるかどうかを判断しく10)、N
oならばステップ(8)に戻り、YESならば座標値を
保存しく11)、ウィンド枠位置変更する(I2)。次
いで、ウィンド枠を表示しく13)、キーOFF状態か
どうかを判断しく14)、NOならばステップ(8)に
戻り、3
YESならばウィンド枠サイズ位置を転送しく15)、
左キーOFFを示す割込みを発行しく16)、コマンド
応答が発生するのを待機する(17)。次いで、コマン
ド応答を発行しく18) 、処理を終了する。Next, determine whether it is a dragging command or not 4), N
If o, perform another process, if YES, take the window frame size position (5) and turn off the arrow cursor (6)
, the window frame is displayed in reverse (7). Next, wait for a timer interrupt to occur (8), and when the interrupt occurs, read the coordinate values of the pointing device 6 (9),
To judge whether there is a difference from the previous coordinate value 10), N
If YES, the process returns to step (8), and if YES, the coordinate values are saved (11) and the window frame position is changed (I2). Next, display the window frame 13), determine whether the key is in the OFF state 14), if NO, return to step (8); 3) If YES, transfer the window frame size position 15),
It issues an interrupt indicating that the left key is OFF (16) and waits for a command response to occur (17). Next, a command response is issued (18), and the process ends.
方、メインCPU33は第10図(b)に示すように、
上記ステップ(2)で割込みが発行されると、カーソル
位置のウィンドを調べ(21)、 ドラッギング領域
かどうかを判断しく22)、ウィンド枠サイズ、位置等
を通信バッファに送り(23)、ドラッギングコマンド
を発行する(24)。次いで、コマンド応答があったか
どうかを判断しく25)、YESならばウィンド枠サイ
ズ、位置を受は取る(26)。On the other hand, as shown in FIG. 10(b), the main CPU 33
When an interrupt is issued in step (2) above, the window at the cursor position is checked (21), it is determined whether it is a dragging area or not (22), the window frame size, position, etc. are sent to the communication buffer (23), and a dragging command is issued. (24). Next, it is determined whether there is a command response (25), and if YES, the window frame size and position are taken (26).
次いで、ウィンドを書き換え(27)、ウィンド書換え
終了コマンドを発行する(28)。次いで、コマンド応
答がなされるのを待機しく29)、コマンド応答がなさ
れたら、処理を終了する。Next, the window is rewritten (27) and a window rewriting end command is issued (28). Next, it waits for a command response (29), and when the command response is issued, the process ends.
次に、第11図(a)、(b)を参照しながらこの発明
にかかる情報処理装置にかかるポツプアップメニュー表
示処理動作について説明する。Next, the pop-up menu display processing operation of the information processing apparatus according to the present invention will be explained with reference to FIGS. 11(a) and 11(b).
第11図(a)、(b)はこの発明にかかる情報処理装
置にかかるポツプアップメニュー表示処理手順の一例を
説明するフローチャートである。FIGS. 11(a) and 11(b) are flowcharts illustrating an example of a pop-up menu display processing procedure performed by the information processing apparatus according to the present invention.
なお、(1)〜(29)、 (31)〜(48)は各
ステップを示す。Note that (1) to (29) and (31) to (48) indicate each step.
先ず、サブCPU9は、カーソル位置を通信バッファに
送り(1)、右キーONを示す割込みを発行する(2)
。次いで、コマンド応答がなされるのを待機しく3)、
YESならばポツプアップメニュ命令かどうかを判断し
く、l)、YESならばポツプアップウィンド列を読み
出しく5)、矢印カーソルをOFFする(6)。次いで
、応答コマンドを発行しく7)、コマンド応答がなされ
るのを待機しく8)、YESならば矢印カーソルをo
N シ(9)、右キーOFFかどうかを判断しく10)
、YESならばステップ(24)以降に進み、矢印カー
ソルをOFFし、セレクト領域かどうかを判断しく25
)、YESならば右キーを0FFL/、実行割込みを発
行する(26)。次いで、コマンド応答がなされるのを
待機しく28)、YESならば矢印カーソルをONL。First, the sub CPU 9 sends the cursor position to the communication buffer (1) and issues an interrupt indicating that the right key is ON (2).
. Then, wait for a command response 3),
If YES, it is determined whether it is a pop-up menu command (1), if YES, the pop-up window row is read out (5), and the arrow cursor is turned off (6). Next, issue a response command 7) and wait for a command response 8). If YES, move the arrow cursor to o.
N (9), please judge whether the right key is OFF or not (10)
, if YES, proceed to step (24) and later, turn off the arrow cursor, and judge whether it is the selection area or not.25
), if YES, press the right key to 0FFL/ and issue an execution interrupt (26). Next, wait for a command response (28), and if YES, turn the arrow cursor ONL.
(29)、処理を終了する。(29), the process ends.
方、ステップ(25)の判断でNoの場合は、右キーを
OFFし、不実行割込みを発行しく27Lステツプ(2
8)に進む。On the other hand, if the judgment in step (25) is No, turn off the right key and issue a non-execution interrupt.
Proceed to 8).
方、ステップ(10)の判断で、NOの場合はタイマ割
込みがかかるのを待機しく11)、YESならばポイン
ティングデバイス座標値を読み取り(12)、前回の座
標値と差があるかどうかを判断しく13)、Noならば
ステップ(10)に戻り、YESならば座標値を保存し
く14)、カーソルを表示する(15)。On the other hand, if the judgment in step (10) is NO, wait for a timer interrupt (11), and if YES, read the pointing device coordinate value (12) and judge whether there is a difference from the previous coordinate value. 13), if No, return to step (10); if YES, save the coordinate values 14), and display the cursor (15).
次いで、セレクト領域かどうかを判断しく16)、YE
Sならばステップ(19)以降に進み、Noならばサブ
ウィンド作成領域かどうかを判断しく17)、Noなら
ばステップ(lO)に戻り、YESならばサブウィンド
を割り込ませ(18)、ステップ(3)に戻る。Next, determine whether it is a select area 16), YE
If S, proceed to step (19) and later; if No, determine whether it is a subwindow creation area (17); if No, return to step (lO); if YES, insert the subwindow (18), then step (17). Return to 3).
方、ステップ(16)の判断で、YESの場合は別メニ
ューかどうかを判断しく19)、Noならばステップ(
lO)に戻り、YESならば矢印カーソルをOF F
シ(20)、セレクト変更割込みを発行しく21)、コ
マンド応答を待機しく22)、YESならば矢印カーソ
ルを○N L (23)、ステップ(10)に戻る。On the other hand, if the judgment in step (16) is YES, judge whether it is a separate menu or not (19), and if No, in step (19),
Return to lO), and if YES, turn the arrow cursor OFF
(20), issue a select change interrupt (21), wait for a command response (22); if YES, move the arrow cursor to N L (23) and return to step (10).
方、メインCPU33は、第11図(b)に示すように
、カーソル位置のウィンドを調べ(31)、ウィンドが
あるかどうかを判断しく32)、NOならば別処理を実
行し、ポツプウィンド列を作成しく33)、YESなら
ばポツプアップメニューコマンド1を発行しく34)、
コマンド応答を待機する(35)。YESならばポツプ
アップウィンドを作成しく36)、ポツプアップメニュ
ーコマンド2を発行する(37)。次いで、セレクト変
更割込みがかかるのを待機しく38)、Noならばステ
ップ(41)以降に進み、YESならば色変更を実行し
く39)、応答コマンドを発行しく40)、ステップ(
38)に戻る。On the other hand, as shown in FIG. 11(b), the main CPU 33 checks the window at the cursor position (31) and determines whether there is a window (32). If NO, executes another process and displays the pop window row. If YES, issue pop-up menu command 134).
Waits for a command response (35). If YES, a pop-up window is created (36) and pop-up menu command 2 is issued (37). Next, wait for a select change interrupt (38), if No, proceed to step (41) and after, if YES, execute color change (39), issue a response command (40), and step (41).
Return to 38).
方、ステップ(38)の判断でNoの場合は、サブウィ
ンド割込みが発生したかどうかを判断しく41)、YE
Sならばステップ(33)ニ戻り、Noならば右キーO
FFを示す実行割込みかどうかを判断しく42)、YE
Sならばポツプアップウィンドを消去しく44)、応答
コマンドを発行しく45)、コマンドを実行しく46)
、処理を終了する。On the other hand, if the judgment in step (38) is No, it is necessary to judge whether a subwindow interrupt has occurred (41), YE.
If S, return to step (33); if No, right key O
Please judge whether it is an execution interrupt indicating FF42), YE
If S, delete the pop-up window44), issue a response command45), and execute the command46)
, ends the process.
方、ステップ(42)の判断で、Noの場合は右キーO
FFを示す不実行割込みかどうかを判断しく43)、N
Oならば別処理に移行し、YESならばポツプアップウ
ィンドを消去しく47)、応答コマンドを発行しく48
)、処理を終了する。However, if the judgment in step (42) is No, press the right key O.
43), N
If YES, proceed to another process; if YES, delete the popup window 47) and issue a response command 48
), the process ends.
次に、5C5Iコントローラ3とデュアルポートメモリ
11のシリアルインタフェース10の処理動作について
説明する。Next, processing operations of the 5C5I controller 3 and the serial interface 10 of the dual port memory 11 will be explained.
デュアルポートメモリ11はプリンタ2.スキャナ1用
のためCRTデイスプレィ4用のデュアルポートメモリ
12に比べ格段に容量が大きくなっており、A4サイズ
1枚を出力するために1インチ当たり400ドツトのピ
クセルサイズで出力すると、約2Mバイトの容量が必要
となる。このため、現状では1Mビットのチップを用い
て16個のデュアルポートメモリが必要となる。256
にバイ1×4構戊でバス幅を16ビツトとすれば 8
同時にアクセスすることのない4個のメモリブロックで
構成される。このため、B4サイズだと6個、A3サイ
ズたと8個のメモリブロックが必要となる。プリンタに
出力する際、SC3Iコントローラ3が先ず、データ要
求をシリアルインタフェース10に対して行う。シリア
ルインタフェース10はまだデータがないためメモリコ
ントロラ13に読出し転送サイクルをするように要求す
る。メモリコントローラ13はメモリリフレッシュ、c
puアクセス等の間で読出し転送サイクルを行い、応答
信号をシリアルインタフェース10に返イ言する。デュ
アルポートメモリ11のシリアルポートにはデータが既
に存在しているため、シリアルインタフェース10はシ
リアルクロックとデータイネーブル信号を出力し、デュ
アルポートメモリ11のシリアルポートからデータを読
み出して蓄える。読み出したデータは16ビツトのため
、SCS Iコントローラ38には8ビツトずつデータ
を分割して転送する。このようにしてデータを読み出し
ていくと同時に、いくつ読み出した 9
かをシリアルインタフェース10はカウントしていてデ
ュアルポートメモリ11のシリアルポートのデータをす
べて読み出したと同時に、メモリコントローラ13に対
して次のアドレスのデータをシリアルポートに転送する
ように読み出し転送サイクル要求を行う。メモリコント
ローラ13はシリアルバッファの数だけずらしてデュア
ルポートメモリ11に対し読み出し転送サイクルを行う
。The dual port memory 11 is connected to the printer 2. Because it is used for scanner 1, the capacity is much larger than the dual port memory 12 for CRT display 4, and when outputting one A4 size sheet at a pixel size of 400 dots per inch, it takes approximately 2M bytes. Capacity is required. Therefore, at present, 16 dual port memories using 1M bit chips are required. 256
If we assume a bus width of 16 bits in a 1x4 configuration, we will have 8 memory blocks that cannot be accessed simultaneously. Therefore, six memory blocks are required for B4 size and eight memory blocks for A3 size. When outputting to a printer, the SC3I controller 3 first requests data to the serial interface 10. Since there is no data yet, the serial interface 10 requests the memory controller 13 to perform a read transfer cycle. The memory controller 13 performs memory refresh, c
A read transfer cycle is performed during pu access, etc., and a response signal is sent back to the serial interface 10. Since data already exists in the serial port of the dual port memory 11, the serial interface 10 outputs a serial clock and a data enable signal to read and store data from the serial port of the dual port memory 11. Since the read data is 16 bits, the data is divided into 8 bits and transferred to the SCSI controller 38. As the data is read out in this way, the serial interface 10 counts how many data have been read out, and at the same time it reads out all the data from the serial port of the dual port memory 11, it sends the next address to the memory controller 13. A read transfer cycle request is made to transfer the data to the serial port. The memory controller 13 performs a read transfer cycle to the dual port memory 11 with a shift of the number of serial buffers.
もし、1つのメモリブロックの範囲を越えれば次のメモ
リブロックに対して読み出し転送サイクルを行う。また
、スキャナ1からデータを書き込む際は、先ず、5cs
rコントローラ3.シリアルインタフェース10.デュ
アルポートメモリ11とデータが流れるが、何もしない
と最初の1ライン目のバッファへの書き込みは読み出し
モードか書き込みモードか分からないため、すべての書
き込みの前にメモリブロック毎に擬似書込み転送サイク
ルをメモリコントローラ13が行う。これは、ローアド
レスストローブ信号(RAS信号)の立ち下がりで書込
みイネーブル信号(WE信号)をLOW、DT倍信号S
E信号をHIGHにして行う。通常の書込み転送サイク
ルはSE信号はLOWに設定する。また、読み出し転送
サイクルでは、ローアドレスストローブ信号(RAS信
号)をLOW、書込みイネーブル信号(WE倍信号をL
OW、DT倍信号LOWとする。こうして、デュアルポ
ートメモリ11の準備ができてからデータ転送を行い、
シリアルポートのバッファがいっばいになったことをシ
リアルインタフェース10がカウントしていてメモリコ
ントローラ13に通常の書込み転送サイクルを要求する
。メモリコントローラ13は書込み転送サイクルを行い
、その後、次の書込み転送サイクルのアドレスを決め、
もしメモリブロックの範囲を越えていれば次のメモリブ
ロックを先にイネーブルにしておく。こうして、複数の
メモリブロックに画像データが読み込まれる。If the range of one memory block is exceeded, a read transfer cycle is performed to the next memory block. Also, when writing data from scanner 1, first 5cs
r controller 3. Serial interface 10. Data flows to the dual port memory 11, but if nothing is done, it is not known whether writing to the first line buffer is in read mode or write mode, so a pseudo write transfer cycle is performed for each memory block before every write. The memory controller 13 performs this. This causes the write enable signal (WE signal) to go LOW at the fall of the row address strobe signal (RAS signal), and the DT double signal S
Set the E signal to HIGH. In a normal write transfer cycle, the SE signal is set to LOW. In the read transfer cycle, the row address strobe signal (RAS signal) is set to LOW, and the write enable signal (WE times signal is set to LOW).
OW, DT double signal LOW. In this way, data transfer is performed after the dual port memory 11 is ready,
The serial interface 10 counts when the serial port buffer is full and requests a normal write transfer cycle from the memory controller 13. The memory controller 13 performs a write transfer cycle, then determines the address of the next write transfer cycle, and
If it exceeds the range of a memory block, enable the next memory block first. In this way, image data is read into a plurality of memory blocks.
次に、第1図に示した画像圧縮伸張デバイス15の動作
について説明する。Next, the operation of the image compression/expansion device 15 shown in FIG. 1 will be explained.
メモリコントローラ13は一方がメモリコント0−ラ1
3に接続され、他方がバス幅調整デバイス16に接続さ
れている。One side of the memory controller 13 is memory controller 0-1.
3, and the other end is connected to the bus width adjustment device 16.
メモリコントローラ13は、画像ビッヂ、主走査数、副
走査数、左オフセット、転送開始アドレス、転送方向を
決定するレジスタを有し、メモリに対し主走査方向に1
ワードずつ順次データを読み書きしていく。画像はビッ
トイメージのため左端と右端では不必要なデータが発生
する場合がある。デュアルポートメモリ11への書込み
ではライトバービットの機能を用いてRAS信号の立ち
下がり時にマスクすべきデータビットをLOWにするこ
とで行う。左端のマスクデータは左オフセットレジスタ
で決定するが、右端のマスクデータは左オフセットレジ
スタと主走査数レジスタより脅威する。画像の読書きが
右端に到達すると、自動的に次のラインの左端になるよ
うにする。また、デュアルポートメモリ11に対するア
ドレス系を8ビツトデータ毎に2系統もっており、偶数
バイトのアドレスは転送アドレスが奇数の時、奇数バイ
トのアドレスより「1」多くなるようになっており、ま
た、その際、データも奇数バイトと偶数バイトが反転す
るようになっていて転送開始アドレスやピッチが奇数バ
イトであっても1回の転送で1ワード16ビツトのデー
タを転送できるようになっている。このように、画像圧
縮伸張デバイス15がメモリコントローラ13とデータ
をやり取りするが画像圧縮伸張デバイス15内には主走
査数、副走査数、左オフセット数、圧縮または伸張を決
めるコマンドのレジスタ等がある。こうして、圧縮した
データはバス幅調整デバイス16に渡し、16ビツトデ
ータを32ビツトデータにしてDMAコントローラ付き
のメモリコントローラ32のDMA処理でDRAM31
に圧縮データを転送し、伸張の場合は逆方向でデュアル
ホトメモリ11に展開された画像データが書き込まれる
。また、デュアルポートメモリ11として演算機能付き
のものを使用すれば、RAS信号の立ち下がり時にカラ
ムアドレスストローブ信号(CAS侶号)、WE倍信号
LOWとし、演算モードをアドレス線で設定すれば、書
き込まれたデータ3
に対し、AND、OR,EXCLUSIVE OR等
の演算処理を行うことが可能となっている。The memory controller 13 has registers that determine image bits, number of main scans, number of sub-scans, left offset, transfer start address, and transfer direction.
Data is read and written sequentially word by word. Since the image is a bit image, unnecessary data may be generated at the left and right edges. Writing to the dual port memory 11 is performed by using the write bar bit function to set the data bit to be masked to LOW when the RAS signal falls. The leftmost mask data is determined by the left offset register, but the rightmost mask data is more threatening than the left offset register and the main scanning number register. When the image reaches the right edge, it automatically moves to the left edge of the next line. In addition, there are two address systems for the dual port memory 11 for each 8-bit data, and when the transfer address is an odd number, the address of an even number byte is "1" more than the address of an odd number byte. At this time, the odd and even bytes of the data are inverted, so that even if the transfer start address or pitch is an odd number of bytes, one word of 16 bits of data can be transferred in one transfer. In this way, the image compression/expansion device 15 exchanges data with the memory controller 13, and the image compression/expansion device 15 includes registers for commands that determine the number of main scans, the number of sub-scans, the left offset number, compression or expansion, etc. . In this way, the compressed data is passed to the bus width adjustment device 16, and the 16-bit data is converted into 32-bit data and is transferred to the DRAM 31 through DMA processing by the memory controller 32 equipped with a DMA controller.
In the case of expansion, the expanded image data is written to the dual photo memory 11 in the opposite direction. In addition, if a dual port memory 11 with an arithmetic function is used, the column address strobe signal (CAS signal) and WE double signal are set to LOW when the RAS signal falls, and the arithmetic mode is set using the address line. It is possible to perform arithmetic processing such as AND, OR, EXCLUSIVE OR, etc. on the obtained data 3.
以上説明したように、この発明は各イメージメモリブロ
ックに対するデータ書込みサイクルに先立ち各イメージ
メモリブロックに所定の擬似書込み転送サイクルを実行
する擬似サイクル実行手段を設けたので、デュアルポー
トメモリのシリアルポートなメモリコントローラが管理
可能となり、ビジュアルデータを処理するデバイスがC
PUの管理とは独立してデュアルポートメモリにアクセ
スできる。従って、従来のビジュアル処理可能な情報I
A理装置におけるイメージデータ転送処理を格段に向上
できる優れた効果を奏する。As explained above, the present invention is provided with a pseudo cycle execution means for executing a predetermined pseudo write transfer cycle for each image memory block prior to a data write cycle for each image memory block. Controllers can now be managed and devices that process visual data can be
Dual port memory can be accessed independently of PU management. Therefore, conventional visually processable information I
This has an excellent effect of significantly improving the image data transfer processing in the A-processing device.
第1図はこの発明の一実施例を示す情報処理装置の構成
を説明するシステムブロック図、第2図は、第1図に示
したサブCPHのアドレス線の最上位ビットの反転処理
の一例を示す回路ブロック図、第3図(a)〜(h)は
、第1図に示したアヒタの構成を説明する詳細ブロック
図、第4図は、第1図に示したアービタの周辺回路構成
を説明するブロック図、第5図、第6図は、第1図に示
したサブCPUの立ち上げ処理手順の一例を説明するフ
ローチャート、第7図はハス幅調整デバイスとDMAl
10デバイスとの接続関係を説明するブロック図、第8
図は、第3図(a)〜(h)の動作を説明するタイミン
グチャート、第9図(a)〜(C)はこの発明に係る情
報処理装置におけるカーソル/ウィンド処理手順の一例
を説明するフローチャート、第10図(a)、(b)は
この発明に係る情報処理装置におけるサブCPUとメイ
ンCPUによるドラッギング処理手順の一例を説明する
フローチャート、第11図(a)、(b)はこの発明に
係る情報処理装置におけるポツプアップメニュー表示処
理手順の一例を説明するフローチャートである。
図中、9はサブCPU、13はメモリコントローラ、1
4はアービタ、16,37.40はバス幅調整デバイス
、31はDRAM、32はDMA1
33はメインcpu、
38はSCS Iインク
フェースである。
(a)
第
図
(b)
セス
(C)
メインCPU
ウィンドウ ttXえプロセス
(a)
第
0
図
(b)FIG. 1 is a system block diagram illustrating the configuration of an information processing device showing an embodiment of the present invention, and FIG. 2 shows an example of inversion processing of the most significant bit of the address line of the sub-CPH shown in FIG. 3(a) to 3(h) are detailed block diagrams explaining the configuration of the arbiter shown in FIG. 1, and FIG. 4 shows the peripheral circuit configuration of the arbiter shown in FIG. The block diagrams to be explained, FIGS. 5 and 6 are flowcharts to explain an example of the startup processing procedure of the sub CPU shown in FIG. 1, and FIG.
Block diagram explaining connection relationship with 10 devices, No. 8
The figure is a timing chart explaining the operation of FIGS. 3(a) to (h), and FIGS. 9(a) to (C) illustrate an example of the cursor/window processing procedure in the information processing apparatus according to the present invention. Flowcharts, FIGS. 10(a) and (b) are flowcharts illustrating an example of the dragging processing procedure by the sub CPU and main CPU in the information processing apparatus according to the present invention, and FIGS. 3 is a flowchart illustrating an example of a pop-up menu display processing procedure in the information processing apparatus according to the present invention. In the figure, 9 is a sub CPU, 13 is a memory controller, 1
4 is an arbiter, 16, 37.40 are bus width adjustment devices, 31 is a DRAM, 32 is a DMA1, 33 is a main CPU, and 38 is an SCS I ink face. (a) Figure (b) Process (C) Main CPU window ttXe process (a) Figure 0 (b)
Claims (1)
ポートから独立してアクセス可能なデュアルポートメモ
リが配列されたイメージメモリブロックを複数備え、シ
ステムバスに接続されたメモリコントローラが前記イメ
ージメモリブロックへのアクセスを制御する情報処理装
置において、前記各イメージメモリブロックに対するデ
ータ書込みサイクルに先立ち前記各イメージメモリブロ
ックに所定の擬似書込み転送サイクルを実行する擬似サ
イクル実行手段を具備したことを特徴とする情報処理装
置。A plurality of image memory blocks each having a serial port and a random port and dual port memories that can be accessed independently from both ports are arranged, and a memory controller connected to a system bus controls access to the image memory blocks. What is claimed is: 1. An information processing device to be controlled, comprising pseudo cycle execution means for executing a predetermined pseudo write transfer cycle on each of the image memory blocks prior to a data write cycle on each of the image memory blocks.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31884089A JPH03180956A (en) | 1989-12-11 | 1989-12-11 | Information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31884089A JPH03180956A (en) | 1989-12-11 | 1989-12-11 | Information processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03180956A true JPH03180956A (en) | 1991-08-06 |
Family
ID=18103544
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP31884089A Pending JPH03180956A (en) | 1989-12-11 | 1989-12-11 | Information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03180956A (en) |
-
1989
- 1989-12-11 JP JP31884089A patent/JPH03180956A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6247084B1 (en) | Integrated circuit with unified memory system and dual bus architecture | |
| TW310410B (en) | ||
| US5845327A (en) | Cache coherency where multiple processors may access the same data over independent access paths | |
| US7016984B2 (en) | System controller using plural CPU's | |
| US6134625A (en) | Method and apparatus for providing arbitration between multiple data streams | |
| US20200219430A1 (en) | Interrupt-free multiple buffering methods and systems | |
| US5396597A (en) | System for transferring data between processors via dual buffers within system memory with first and second processors accessing system memory directly and indirectly | |
| JP2004503859A (en) | Memory controller hub | |
| US6272583B1 (en) | Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths | |
| KR940003631B1 (en) | System with control | |
| JPH0792962A (en) | Port-address input / output priority architecture | |
| US6373493B1 (en) | Hardware graphics accelerator having access to multiple types of memory including cached memory | |
| JPH06214945A (en) | Computer system and high-speed information transfer method | |
| JP3683657B2 (en) | Graphics display device and graphics processor | |
| JP2005165592A (en) | Data transfer device | |
| JP2665836B2 (en) | Liquid crystal display controller | |
| JPH03180955A (en) | Information processor | |
| JPH03180958A (en) | Information processor | |
| JPH03180957A (en) | information processing equipment | |
| JPH08180012A (en) | Computer system | |
| KR20010050234A (en) | Addressing of a memory | |
| JPH03138771A (en) | information processing equipment | |
| JPH036762A (en) | Image memory direct access method | |
| JP3204297B2 (en) | DMA transfer control device | |
| JPH0612368A (en) | High-definition image processing device |