JPH01260559A - Microcomputer system - Google Patents
Microcomputer systemInfo
- Publication number
- JPH01260559A JPH01260559A JP8958488A JP8958488A JPH01260559A JP H01260559 A JPH01260559 A JP H01260559A JP 8958488 A JP8958488 A JP 8958488A JP 8958488 A JP8958488 A JP 8958488A JP H01260559 A JPH01260559 A JP H01260559A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- cpu
- transfer
- address
- dma
- 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
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、マイクロコンピュータシステムのデータ転送
に係わり、CPU (中央演算処理装置)と、メモリ−
メモリ転送が可能なりMA (直接メモリアクセス)コ
ントローラと、CPUから直接にアクセスできるアドレ
スを有するメモリと、CPUから直接にはアクセスでき
ないアドレスを有するメモリとからなるマイクロコンピ
ュータシステムに関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to data transfer in a microcomputer system, and relates to data transfer between a CPU (central processing unit) and a memory.
The present invention relates to a microcomputer system comprising an MA (direct memory access) controller capable of memory transfer, a memory having an address that can be directly accessed by a CPU, and a memory having an address that cannot be directly accessed by the CPU.
従来、この種のマイクロコンピュータシステムは、第4
図に示すようにCPUIにDMAコントローラ2、メモ
リ4.5がアドレスバス3によって接続されている。こ
れと共にDMAコントローラ2、メモリ4.′5とCP
UIとの相互間がデータバス6によって接続されている
。これは、CPU1とメモリ4,5間とでのデータ転送
を行なうと共に、DMAコントローラ2を用いることに
よりメモリの所定範囲のデータを他の範囲にCPU1を
介さず高速に転送を行なうことができるものである。従
って、通常CPUIからアクセスできない範囲にあるメ
モリ4,5の内容を直接アクセスできる範囲に転送する
ことができる。 ・このようなりMAコントローラ2
を用いたマイクロコンピュータシステムは、例えばフロ
ッピーディスク、ハードティスフ等を用いて通常マイク
ロコンピュータでアクセスしきれない程、大容量のメモ
リを拡張し、CP [11を介在さ−Uすに高速のテー
ク転送を行なうものに適用できる。Conventionally, this type of microcomputer system has a fourth
As shown in the figure, a DMA controller 2 and a memory 4.5 are connected to the CPU via an address bus 3. Along with this, a DMA controller 2, a memory 4. '5 and CP
The data bus 6 is connected to the UI. This is a device that not only transfers data between the CPU 1 and memories 4 and 5, but also uses the DMA controller 2 to transfer data in a predetermined range of memory to another range at high speed without going through the CPU 1. It is. Therefore, the contents of the memories 4 and 5, which are normally inaccessible from the CPU, can be transferred to a range that can be directly accessed.・MA controller 2 like this
A microcomputer system using a CP uses a floppy disk, hard disk, etc. to expand a large capacity memory that cannot normally be accessed by a microcomputer, and uses a CP [11] to provide extremely high-speed take transfer. It can be applied to whatever you do.
しかしながら、従来は、拡張メモリのテークを読出した
いときには、そのたび、I) MΔコントローラ2のレ
ジストをセノトシなければならず面倒であった。又、テ
ーク転送先のメモリの場所、転送ハイI−数等を自分で
逐一管理しなければならなかった。従って、新たにハー
ドウェアを((加してメモリの拡張を行な・うに当り、
プ1コクラミンクか面倒であるという問題点があった。However, conventionally, each time it was desired to read a take from the extended memory, the register of the MΔ controller 2 had to be changed, which was troublesome. In addition, the user had to manage the memory location of the take transfer destination, the transfer high I-number, etc. one by one. Therefore, when adding new hardware ((() and expanding memory),
There was a problem in that it was troublesome to use.
本発明は、上記問題点に鑑のなされたものであり、管理
上の煩わしさをなくしプロクラム開発を効率よくするこ
とができるマイクロコンピュータシステムを提供するこ
とを目的とする。The present invention has been made in consideration of the above-mentioned problems, and an object of the present invention is to provide a microcomputer system that can eliminate administrative hassles and make program development more efficient.
〔課題を解決するだめの手段]
本発明における上記目的を達成させるための手段は、C
I) Uと、メモリ−メモリ転送が可能なりMΔコン1
−ローラと、MiJ記CP Uから直接にアクセスてき
ろアI・レスを有するメモリと、前記CF)Uから直接
にはアクセスできないアl−レスを有するメモリからな
るマイクロコンピュータシステムにおいて、前記CPU
から直接アクセスできないアドレスを有するメモリから
前記直接アクセスできるアドレスを有するメモリにデー
タ転送を可能にしたDMA転送用付加回路を設けてなる
ことを特徴とするマイクロコンピュータシステムに係る
ものである。[Means for solving the problem] Means for achieving the above object of the present invention are C
I) With U, memory-memory transfer is possible and MΔcon 1
- a microcomputer system consisting of a memory having an address which can be accessed directly from the MiJ CPU, and a memory having an address which cannot be directly accessed from the CF)U;
The present invention relates to a microcomputer system characterized in that it is provided with an additional circuit for DMA transfer that enables data transfer from a memory having an address that cannot be directly accessed to the memory having an address that can be directly accessed.
」−記構成において、DMA転送用((l加回路を設B
〕ることによりCPUから直接にはアクセスできないア
ドレスを有するメモリから直接アクセスできるアドレス
を有するメモリにデータ転送を可能とし、CP Uから
のデータの直接的なアクセスを図っている。” - In the configuration described above, for DMA transfer ((l adder circuit is installed B
] This makes it possible to transfer data from a memory having an address that cannot be directly accessed by the CPU to a memory having an address that can be directly accessed, thereby allowing direct access of data from the CPU.
(実施例]
以下、本発明の一実施例を第1同7第2図に基ついて説
明するが、従来と同一部分は同一符号をイt Lでその
説明を省略する。(Embodiment) Hereinafter, an embodiment of the present invention will be described with reference to FIGS. 1, 7, and 2. Parts that are the same as those in the prior art are denoted by the same reference numerals, and the explanation thereof will be omitted.
7ば、DMA転送用イ」力0回路であって、アドレスバ
ス3、データバス6等を介してCPUIとDMAコンI
・ローラ2との間に接続されている。7 is a DMA transfer input circuit, which connects the CPUI and DMA controller via address bus 3, data bus 6, etc.
- Connected between roller 2.
8は主メーしり、9は拡張メモリてあり、これらはアド
レスバス3、データバス6を介してCPUI、DMAコ
ントローラ2、DMA転送用付加回路7に接続されてい
る。DMA転送用イ」加回路7は、CPUIから直接ア
クセスできないアドレスを有する拡張メモリ9の範囲9
aから直接アクセスできる主メモリ8の予め確保しであ
る範囲8aにデータバス6を介してデータ転送が可能に
なっている。8 is a main memory, and 9 is an expansion memory, which are connected via an address bus 3 and a data bus 6 to a CPU I, a DMA controller 2, and an additional circuit 7 for DMA transfer. The DMA transfer adder circuit 7 uses a range 9 of the extended memory 9 that has addresses that cannot be accessed directly from the CPUI.
It is possible to transfer data via the data bus 6 to a pre-secured range 8a of the main memory 8 that can be accessed directly from the main memory 8a.
第2図によって、DMA転送用付加回路■の構成及びC
I) tJ 1、DMAコントローラ2との接続関係を
詳しく説明する。DMA転送用付加回路7は、ボート7
1、書込みモジュール72、ラッチ73からなる。CP
UIとボート71、ボート71と書込みモジュール72
、書込みモジュール72とDMAコントローラ2が夫々
アドレスバス3によって接続されている。ランチ73は
CPUIとDMAコン1川コーラ2とにデータバス6で
接続されている。10は書込みモジブー−ルア2とCP
U Iとの制御1信号の論理積をとってDMAコン1〜
ローラ2の書込み制御をするだめのアンド回路である。According to Fig. 2, the configuration of the additional circuit for DMA transfer and C
I) The connection relationship between tJ 1 and DMA controller 2 will be explained in detail. The additional circuit 7 for DMA transfer is connected to the boat 7.
1, a write module 72, and a latch 73. C.P.
UI and boat 71, boat 71 and writing module 72
, the write module 72 and the DMA controller 2 are connected by an address bus 3, respectively. The launch 73 is connected to the CPUI and the DMA controller 1 and 2 via the data bus 6. 10 is write module 2 and CP
Take the AND of the control 1 signal with U
This is an AND circuit for controlling the writing of roller 2.
次に、以上の構成における実施例の動作を第3図のタイ
ムチャーI・と共に説明する。Next, the operation of the embodiment with the above configuration will be explained with reference to the time chart I in FIG.
拡張メモリ9から主メモリ8へのデータ転送に当り、ま
ずモード■において、CPUIからボート71に読出し
たい拡張メモリ9上のアドレスを出力する。Aばこのボ
ート7】に割当てたアドレスである。ボー1−71の@
ll ’+MUによりう・ンチ73はデータをランチす
る。次にモード■でラッチ73てラッチされたデータは
DMAコントローラ2のDMAアドレスレジスタに書込
まれる。BはDMAコントローラ2のアドレスレジスタ
である。この書込み後、ラッチ73の出力はハイインピ
ーダンスになる。モード■でDMAソフトウェア開始レ
ジスタにDMA開始用のデータが書込まれる。To transfer data from the extended memory 9 to the main memory 8, first, in mode (2), the address on the extended memory 9 to be read is output from the CPUI to the boat 71. This is the address assigned to A tobacco boat 7]. Beau 1-71 @
With ll'+MU, Uchi 73 launches the data. Next, the data latched by the latch 73 in mode (2) is written to the DMA address register of the DMA controller 2. B is an address register of the DMA controller 2. After this writing, the output of latch 73 becomes high impedance. In mode ■, data for starting DMA is written to the DMA software start register.
Cは拡張メモリ9上のアドレス、DはDMAコンl−ロ
ーラ2のラフ1−ウェアD M A開始レソスタ、Eは
ラフl−ウェアDMA開始データである。そして、DM
Δコン1−ローラ2の能力により、拡張メモリ9の例え
ば範囲9aから主メモリ8の範囲8aへのデータ転送が
データバス6を介してなされる。このとき、主メモリ8
のどの範囲にデータ転送をすべきかを示すアドレスは、
はじめにDMAコントローラ2のレシスクに夫々書込ん
でおく。C is an address on the extended memory 9, D is a rough 1-ware DMA start register of the DMA controller 2, and E is rough 1-ware DMA start data. And DM
Due to the capabilities of the Δ controller 1-roller 2, a data transfer from, for example, range 9a of extended memory 9 to range 8a of main memory 8 is effected via data bus 6. At this time, main memory 8
The address indicating which range of data should be transferred is
First, write each to the register of DMA controller 2.
ただし、1回書込んだら変更する必要はない。DMA転
送(直接メモリアクセス転送)が終了すると、DMAコ
ントローラ2からインクラブ1−(INT)信号が発生
し、CPUIが再び通常の制御を行なうようになる。こ
のようにして、DMA転送用付加回路7は、CPUIの
制御6ごよって拡張メモリ9の読出したい範囲9aのデ
ータをそっくり、主メモリ8の予め確保した範囲8aに
転送する。従って、CPUIから範囲8aに転送された
データを直接読出すことができる。このように拡張メモ
リ9の読出したいデータのアドレスを指定するには、−
文を入れるだけでアクセスできる。However, once written, there is no need to change it. When the DMA transfer (direct memory access transfer) is completed, the DMA controller 2 generates an incrab 1-(INT) signal, and the CPU resumes normal control. In this way, the DMA transfer additional circuit 7 transfers the entire data in the range 9a to be read from the extended memory 9 to the pre-secured range 8a in the main memory 8 under the control 6 of the CPUI. Therefore, the data transferred to range 8a can be directly read from the CPUI. In this way, to specify the address of the data you want to read from the extended memory 9, -
You can access it just by entering the text.
以」−のように、本発明によればハードウェアを考慮せ
ずに、簡単なプログラミングによってCPUから直接に
はアクセスできないアドレスを有する拡張されたメモリ
からのアクセスを可能としたマイクロコンピュータシス
テムを提供することができる。As described above, the present invention provides a microcomputer system that allows access from an expanded memory having addresses that cannot be accessed directly from a CPU by simple programming without considering hardware. can do.
第1図は本発明の一実施例を示すマイクロコンピュータ
システムのブロック図、第2図は第1図におLJるDM
A転送用付加回路7を詳しく示すブロック図、第3図は
本発明の一実施例におりる動作を説明するためのクイム
チャ−1・、第4Vは従来のマ・イクロコンピュータシ
ステムのフロック図である。FIG. 1 is a block diagram of a microcomputer system showing one embodiment of the present invention, and FIG. 2 is a DM shown in FIG.
FIG. 3 is a block diagram showing in detail the additional circuit 7 for A transfer, and FIG. 3 is a block diagram of a conventional microcomputer system. be.
Claims (1)
ーラと、前記CPUから直接にアクセスできるアドレス
を有するメモリと、前記CPUから直接にはアクセスで
きないアドレスを有するメモリからなるマイクロコンピ
ュータシステムにおいて、前記CPUから直接アクセス
できないアドレスを有するメモリから前記直接アクセス
できるアドレスを有するメモリにデータ転送を可能にし
たDMA転送用付加回路を設けてなることを特徴とする
マイクロコンピュータシステム。In a microcomputer system comprising a CPU, a DMA controller capable of memory-to-memory transfer, a memory having an address directly accessible from the CPU, and a memory having an address not directly accessible from the CPU, 1. A microcomputer system comprising an additional circuit for DMA transfer that enables data transfer from a memory having an address that cannot be accessed to a memory having an address that can be directly accessed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8958488A JPH01260559A (en) | 1988-04-12 | 1988-04-12 | Microcomputer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8958488A JPH01260559A (en) | 1988-04-12 | 1988-04-12 | Microcomputer system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01260559A true JPH01260559A (en) | 1989-10-17 |
Family
ID=13974833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP8958488A Pending JPH01260559A (en) | 1988-04-12 | 1988-04-12 | Microcomputer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01260559A (en) |
-
1988
- 1988-04-12 JP JP8958488A patent/JPH01260559A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2001524247A (en) | Method and system for storing and processing multiple memory addresses | |
JPH0395650A (en) | Cache inoperative address random access memory | |
JPH0221616B2 (en) | ||
JPS60189561A (en) | Memory access control system | |
JPH01260559A (en) | Microcomputer system | |
JP3114870B2 (en) | Microprogram loading method, loading control device, information processing device, and information processing system | |
JPH08255034A (en) | Low power consumption data processor | |
JPH10187119A (en) | Display control device | |
JPS607529A (en) | Buffer memory device | |
JPH09311812A (en) | Microcomputer | |
JP2968636B2 (en) | Microcomputer | |
JP3318125B2 (en) | DRAM control circuit | |
JP2591785B2 (en) | Computer equipment | |
JPH0561769A (en) | Memory access method | |
JP2002318779A (en) | Device, and access method for its register | |
JPH04116750A (en) | Dma memory transfer device | |
JPH02189627A (en) | Access circuit for data memory | |
JPH02123450A (en) | Information processing system | |
JPH039453A (en) | Data transfer controller | |
JP2000259492A (en) | Data transfer system | |
JPS60124139A (en) | Buffer memory communication method | |
JPH06103148A (en) | Write buffer | |
JPH0236443A (en) | System for controlling expansion storage | |
JPH0566992A (en) | Data access system for eeprom | |
JPH0675905A (en) | Bus conversion system |