DD132215B1 - MICROPROCESSOR-CONTROLLED PERIPHERAL CONNECTION WITH DIRECT MEMORY ACCESS - Google Patents

MICROPROCESSOR-CONTROLLED PERIPHERAL CONNECTION WITH DIRECT MEMORY ACCESS Download PDF

Info

Publication number
DD132215B1
DD132215B1 DD19975777A DD19975777A DD132215B1 DD 132215 B1 DD132215 B1 DD 132215B1 DD 19975777 A DD19975777 A DD 19975777A DD 19975777 A DD19975777 A DD 19975777A DD 132215 B1 DD132215 B1 DD 132215B1
Authority
DD
German Democratic Republic
Prior art keywords
data
microprocessor
input
address
direct memory
Prior art date
Application number
DD19975777A
Other languages
German (de)
Other versions
DD132215A1 (en
Inventor
Helmut Logisch
Original Assignee
Helmut Logisch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Helmut Logisch filed Critical Helmut Logisch
Priority to DD19975777A priority Critical patent/DD132215B1/en
Publication of DD132215A1 publication Critical patent/DD132215A1/en
Publication of DD132215B1 publication Critical patent/DD132215B1/en

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

Titel der ErfindungTitle of the invention

Mikroprozessorgesteuerter Peripherieanschluß mit direktem SpeicherzugriffMicroprocessor-controlled peripheral connection with direct memory access

Anwendungsgebiet der ErfindungField of application of the invention

Die Erfindung betrifft einen mikroprozessorgesteuerten Peripherieanschluß mit direktem Speicherzugriff zum Anschluß von peripheren Geräten mit hoher Datenübertragungsgeschwindigkeit, vorzugsweise Diskettenspeichern, an solche mikroprozessorgesteuerte Systeme, bei denen der Mikroprozessor auf Grund seiner Arbeitsgeschwindigkeit nicht in der Lage ist, den Datenaustausch zwischen peripherem Gerät und Arbeitsspeicher des Systems zu steuern, so daß der Datenverkehr durch einen unabhängig vom Mikroprozessor arbeitenden direkten Speicherzugriff erfolgen muß.The invention relates to a microprocessor-controlled peripheral access with direct memory access for connecting peripheral devices with high data transmission rate, preferably diskette memories, to such microprocessor-controlled systems in which the microprocessor is not able due to its operating speed, the data exchange between the peripheral device and memory of the system control, so that the data traffic must be done by a direct memory access operating independently of the microprocessor.

Charakteristik der bekannten technischen Lösungen Chara kterist ik the known technical solutions

Derartige direkte Speicherzugriffe (auch als DSK = Direkter Speicherkanal oder J)LIA = Direct i.Iemory Access bezeichnet) sind bekannt (radio fernsehen elektronik, Heft 6/77 Seite 197 - 198). Es ist ferner ein Llikrorechner mit DSK bekanntgeworden, dessen Struktur in 7ig, 9 dargestellt ist. Die DSK-Steuerung beruht darauf, daß der- Llikroprozessor (auch als ZVS = Zentrale Verarbeitungseinheit bezeichnet) zum Zeitpunkt des direkten Speicheraugriffs seitens des peripheren Gerätes übor einen Steueroin&ang (RjJADY) in den V/artezustandSuch direct memory accesses (also known as DSK = Direct Memory Channel or J) LIA = Direct i.Imory Access) are known (radio television electronics, Issue 6/77 pages 197-198). There is also a known Llikrorechner DSK, whose structure in 7ig, 9 is shown. The DSK control is based on that the Llikroprozessor (also referred to as ZVS = central processing unit) at the time of direct memory access by the peripheral device via a Steueroin ang (RjJADY) in the V / artezustand

- 199757- 199757

versetzt wird. Die Adressierung des Speichers durch den Mikroprozessor erfolgt über Adressenauffangregister, deren Ausgänge über Adressenmultiplexer mit den Ausgängen eines für die Speicheradressierung bei DSK-Betrieb vorgesehenen Adressenzählers zusammengeschaltet werden. Der Datenflußis offset. The memory is addressed by the microprocessor via address interception registers, the outputs of which are interconnected via address multiplexers to the outputs of an address counter provided for memory addressing in DSK operation. The data flow

* zum Arbeitsspeicher erfolgt über Datenmultiplexer entweder * to work memory via data multiplexer either

vom Mikroprozessor über die ZVE-Bustreiber oder vom peripheren Gerät aus über die externe Gerätesteuerung.from the microprocessor via the ZVE bus drivers or from the peripheral device via the external device control.

Außerdem sind Datenverstärker erforderlich, um die Datenausgänge des Speichers belastungsmäßig an den Eingangsraultiplexer zum ZVE-Datenbus und an die Dateneingänge der externen Gerätesteuerung anzupassen.In addition, data amplifiers are required to load-rate the data outputs of the memory to the input RIP to the CPU data bus and to the data inputs of the external device controller.

Nachteilig ist also, daß zur Realisierung des direkten Speicherzugriffs bei mikroprozessorgesteuerten Systemen ein hoher zusätzlicher Adressenzähler-, Multiplexer- und Verstärkeraufwand erforderlich ist.The disadvantage is therefore that a high additional address counter, multiplexer and amplifier effort is required to realize the direct memory access in microprocessor-controlled systems.

Ziel der ErfindungObject of the invention

Ziel der Erfindung ist es daher, den zusätzlichen Aufwand für den direkten Speicherzugriff auf ein Minimum zu reduzieren und dadurch die Ökonomie des Gesamtsystems wesentlich zu verbessern.The aim of the invention is therefore to reduce the additional effort for the direct memory access to a minimum, thereby significantly improving the economy of the overall system.

Darlegung des Wesens der Erfindung Technische Aufgabe Explanation of the essence of the invention Technical problem

Der Erfindung liegt die Aufgabe zugrunde, die Nachteile der bekannten technischen Lösungen zu beseitigen, die darin bestehen, daß die Speicheradressen bei Mikroprozessor- und DSK-Betrieb an unterschiedlichen Stellen (in den Adressen-Auffangregistern bzw. dem Adressenzähler) erzeugt und über Adressenmultiplexer ausgewählt werden müssen, daß die Daten vom Mikroprozessor bzw. vom peripheren Gerät über den Speichereingängen vorgeschaltete zusätzliche Datenmultiplexer zusammengeschaltet werden müssen und daß ferner die Speicherausgänge über zusätzliche Datenverstärker an die vergrößerteThe invention has for its object to eliminate the disadvantages of the known technical solutions, which consist in that the memory addresses in microprocessor and DSK operation at different locations (in the address latch registers or the address counter) are generated and selected via address multiplexer must be that the data from the microprocessor or the peripheral device via the memory inputs upstream additional data multiplexer must be interconnected and further that the memory outputs via additional data amplifiers to the enlarged

Belastung durch die Dateneingänge des peripheren Gerätes bei DSK-Betrieb angepaßt v/erden müssen,Load must be adapted by the data inputs of the peripheral device during DSK operation,

Merkmale der Erfindung 5Features of the invention 5

Erfindungsgemäß wird die Aufgabe dadurch gelöst, daß das vom Mikroprozessor zur Speicheradressierung benutzte Adressenauffangregister vollständig oder teilweise mit der zusätzlichen Funktion eines Adressenzählers ausgestattet v/ird. Dabei richtet es sich nach der in DSK-Betrieb maximal zu übertragenden BlocklÜnge, ob das gesamte Adressenauffangregister eine Zählfunktion bekommen muß oder ob nur der niederwertige Teil des Adressenauffangregisters als Zähler ausgebildet werden muß. Bei Diskettenspeichersteuerungen reicht im allgemeinen ein 8-3it-Zähler, wenn nur Blöcke bis max. 256 Byte übertragen werden nüssen. Die Voreinstellung des Adressenauffangregisters auf die Anfangsadresse des beim DSK-Betrieb zu adressierenden Speicherbereiches erfolgt durch einen Speicheradressierungsvorgang des Mikroprozessors, wie er bein Speicherie- sen abläuft. Mit den Einstelltakt für das 2, (höherwertige) Adreß-Byte v/ird gleichzeitig ein Flip-Flop gesetzt, das über einen Steuereingang den Mikroprozessor in den V/artesustand versetzt. Dieses Flip-Flop kann nur gesetzt werden, wenn ein weiteres, durch den Mikroprozessor voreinstellbares Vorbereitungs-Flip-Flop gesetzt war. Der Byte-Übertragungsvorgang im DSK-Betrieb läuft unter Shakehand-(RUF/ElTD-)Steuerung unabhängig von Mikroprozessor ab, wobei der Adressenzähler ebenso wie ein in jeder DSK-Steuerung zusätzlich vorhandener Bytezähler bei jedem übertragenen Byte weitergeschaitet werden, Der Bytesähler beendet bein ITulldurchgang den DSK-Betrieb, indem er die Steuer-Flip-Flops zurücksetzt.According to the invention the object is achieved in that the address latch used by the microprocessor for memory addressing fully or partially equipped with the additional function of an address counter v / ird. It depends on the maximum length to be transmitted in DSK operation Blocklungen, whether the entire address latch must receive a counting function or whether only the least significant part of the address latch must be formed as a counter. For diskette memory controllers, an 8-3 bit counter is generally sufficient if only blocks up to max. 256 bytes must be transferred. The default setting of the address latch register to the starting address of the memory area to be addressed occurs during the DSC operation by a memory addressing operation of the microprocessor as it runs including Speicherie- sen. The setting clock for the 2 (higher-order) address byte is used to set a flip-flop at the same time, which sets the microprocessor into the V / art state via a control input. This flip-flop can only be set if another, pre-settable by the microprocessor preparatory flip-flop was set. The byte transfer operation in the DSK mode is performed under shakehand (RUF / ElTD) control independent of the microprocessor, the address counter, as well as a byte counter additionally present in each DSK controller, being strobed on every byte transmitted. The byte counter terminates at ITull passage the DSK operation by resetting the control flip-flops.

Die im DSK-Betrieb von Speicher gelesenen Daten gelangen über den Eingangsmultiplexer und über den ZVE-Datenbus zur:: ZVE-Bustreiber. Von ZVE-Dustreiber können die Daten zur externen Gerätectouerung geleitet werden, Diese Datenleitung über den ZY^-Datenbus 1st no;;l:.cii, weil die ZVE-Datenausf'ünge sichThe data read from memory in DSK operation passes to the :: ZVE bus driver via the input multiplexer and via the ZVE data bus. From ZVE-Dustreiber the data can be sent to the external device clock, this data line over the ZY ^ -data bus 1st no ;; l: .cii, because the ZVE-Datenausf

-o--O-

im V/art ρ zustand der ZYE in hccholmigcn Zustand befinden und damit den ZvE-Da^епЪая nicht beeinflussen« Die in: D3K~3e ·;γ1 eb von pe?":ipjieren Gerät gelenenen Daten werdenin the V / art ρ state, the ZYE is in a high state and thus does not affect the ZvE-Da ^ епЪая The data passed in: D3K ~ 3e ·; γ1 eb from pe?

über einen zusätzlichen Eingang des bereits vorhandenen Eingangsmultiplexers auf den ZVE-Datenbus und über die ZVE-Bustreiber auf die Dateneingänge des Speichers geleitet. Die Benutzung des ZVE-Datenbus ist auch wieder möglich durch den hochohmigen Zustand der ZVE-Datenausgänge.via an additional input of the already existing input multiplexer to the ZVE data bus and via the ZVE bus driver to the data inputs of the memory. The use of the ZVE data bus is also possible again due to the high-impedance state of the ZVE data outputs.

Ausführungsbeispielembodiment

Die erfindungsgemäße Lösung soll nachstehend anhand eines Ausführungsbeispiels näher erläutert werden, das den Anschluß eines Diskettenspeichers ("Floppy Disk") an ein mikroprozessorgesteuertes System darstelltThe solution according to the invention will be explained in more detail below with reference to an exemplary embodiment which represents the connection of a floppy disk memory ("floppy disk") to a microprocessor-controlled system

Die zugehörigen Zeichnungen zeigen: The accompanying drawings show:

den Mikroprozessor mit Datenbus Pig. 2: das Blockschema der Steuerlogik des Mikroprozessors das Adressenauffangregister des Mikroprozessors das Speicherblockschaltbild die Steuerung des direkten Speicherzugriffs das Blockschaltbild der externen Gerätesteuerung am DSK (Diskettenspeicher-Steuereinheit) Taktdiagramm des Mikroprozessors Diagramm "Lesen eines Datenfeldes" Blockschaltbild des Gesamtsystems Blockschaltbild des Standes der Technik, von dem sich die Erfindung abgrenztthe microprocessor with data bus Pig. 2: the block diagram of the control logic of the microprocessor the address latch of the microprocessor the memory block diagram the control of the direct memory access the block diagram of the external device control at the DSK (floppy disk control unit) clock diagram of the microprocessor diagram "reading a data field" block diagram of the overall system block diagram of the prior art, from which delimits the invention

In Pig. S ist das die erfindungsgenäße Lösung enthaltende Gesamtsystem als Blockschaltbild dargestellt, das einen der Steuerung peripherer Geräte, vorzugsweise von Diskettenspeiehern, dienenden, mit einem Mikroprozessor 1 (z.B. 8008, U 808D) aufgebauten Mikrorechner mit direktem Speicherhanal (DSK) zeigt. Die Bestandteile der Pig. 8 sind in den Figuren 1-6 ausführlich dargestellt. Die Fig. 8 enthält nur die wesentlichsten Verbindungen zwischen den Punktionsgruppen, insbesondere die Adressen- und Datenverknüpfungen, die für die Darstellung der erfindungsgeraäßen Lösung am wichtigsten sindIn Pig. The overall system comprising the solution according to the invention is shown in block diagram form, showing a direct memory channel (DSK) microcomputer with microprocessor 1 (e.g., 8008, U 808D) peripheral equipment, preferably diskette-type controllers. The ingredients of Pig. 8 are shown in detail in FIGS. 1-6. Fig. 8 contains only the most essential connections between the puncture groups, in particular the address and data links, which are most important for the representation of the inventive solution

Dei* Mikroprozessor 1 (Fig. 1; 8; im folgenden mit ZVE be- Microprocessor 1 (FIGS. 1, 8, hereinafter referred to as ZVE)

Pig.Pig. 1:1: Pig.Pig. 2:2: Pig.Pig. 3:3: Pig.Pig. 4:4: Pig.Pig. 5:5: Pig.Pig. 6:6: Pig.Pig. 7a:7a: Pig.Pig. 7b:7b: Pig.Pig. 8:8th: Pig.Pig. 9:9:

zeichnet) benötigt zwei Takte C1 und C2, die gemeinsam mit den für die Diskettenspeicher-Steuereinheit 17 (Pig. 6; 8) benötigten Takten DTP und IiTP mit einer Frequenz von 500 IdIz durch den quarzgesteuerten Taktgenerator 2 erzeugt werden, Das Anlegen des Eingangssignals READY =0 an die ZVE1 erzeugt einen internen V/artezustand, der benutzt wird, um den direkten Speicherzugriff zu realisieren.requires) two clocks C1 and C2, which are generated together with the clocks DTP and IiTP required for the floppy disk controller 17 (Pig. 6; 8) at a frequency of 500 IdIz by the crystal controlled clock generator 2, apply the input signal READY = 0 to the ZVE1 generates an internal state of the state used to realize the direct memory access.

Der Steuereingang IUT der ZVS1 wird nur benötigt, um aus den nach dem Einschalten eingenommenen Stop-Zustand herauszukonmen; für die erfindungsgemäße Schaltung hat er keine Bedeutung, Die Ausgänge SYlT, ZUSO - ZUS2 geben den internen Zustand der ZVE1 an und werden in der Steuerlogik 8 (Pig. 2; 8) benötigt, die die Zusammenarbeit der ZVE1 insbesondere mit dem Adressenauffangregister 9;10 (Pig. 3; 8) und dem Speicher 11; 12 mit Chipselectdecoder 13 (Pig. 4; 8) steuert. Da es sich bei der Steuerlogik 8 um Standardschaltungen handelt, die durch die Struktur der ZVE1 zwangsläufig vorgegeben sind, ist auf eine exakte Darstellung in diesem Zusammenhang verzichtet worden. Die durch die Steuerlogik 8 erzeugten Signale (T1, T2, HUT, SLB, TTosS, USB) sind im Taktdiagramm (Pig. 7a) dargestellt« Die Ein- und Ausgänge D0-D7 stellen den byteorganisierten bidirektionalen ZVE-Datenbus dar, über den Daten, Adressen und Steuerinformationen ein- und ausgegeben werden. Der Zustand der Eingabe in die ZVE 1 ist gekennzeichnet durch das Signal 2ΊΊΤ = 0, wodurch die Open-Collector-Gatter 4 geöffnet und die Potentialwiderstände 5 zugeschaltet v/erden. Durch die Open-Ccllector-Gatter 3; 7 des Eingangsmuitiplexers wird gesteuert, welche Daten auf den Y/IRED-OPi-verknüpf ten Dateneingabebus ElEC - EI37 zugeschaltet v/erden.The control input IUT of the ZVS1 is only needed to remove from the stop state assumed after switching on; It has no significance for the circuit according to the invention. The outputs SYLT, ZUSO - ZUS2 indicate the internal state of the ZVE1 and are required in the control logic 8 (Pig. 2; 8), which requires the cooperation of the ZVE1, in particular with the address latch 9; (Pig. 3; 8) and the memory 11; 12 with Chipselectdecoder 13 (Pig 4, 8) controls. Since the control logic 8 is a standard circuit, which is inevitably predetermined by the structure of the ZVE1, an exact representation in this connection has been dispensed with. The signals generated by the control logic 8 (T1, T2, HUT, SLB, TTosS, USB) are shown in the timing diagram (Fig. 7a). "The inputs and outputs D0-D7 represent the byte-organized bidirectional CPU data bus, over which data , Addresses and control information are input and output. The state of the input in the ZVE 1 is characterized by the signal 2ΊΊΤ = 0, whereby the open-collector gate 4 is opened and the potential resistors 5 are switched on / ground. Through the Open Ccllector gates 3; 7 of the input multiplexer is controlled which data is switched on the Y / IRED-OPi-linked data input bus ElEC-EI37.

Bei der Steuerspannung SLB = 1 werden die an den Gattern 3 anliegenden Speicherausgängo zugeschaltet, bei der Steuerspamiung K 3CH · ILtRB = 1 die an den Gattern 7 anliegenden Ausgänge der Diskettenspeicher-Steuereinheit 17. V/eitere Eingänge dos Eingangsmultiplexers sind für die erfindungsgenäße Schaltung ohne Bedeutung und dashalb nicht mit dargestellt.In the case of the control voltage SLB = 1, the memory outputs applied to the gates 3 are switched on, the control outputs K 3CH * ILtRB = 1 the outputs of the diskette memory control unit 17 applied to the gates 7. V / other inputs of the input multiplexer are without for the circuit according to the invention Meaning and therefore not shown.

Bei dem Signal "IT = 1 kann die SYE 1 über den ZYE-Datenbus DO - D7 Daten ausgeben; aus Gründen der Belastbarkeit ist ate Entkopplung (ictj DatenauGgafcebue. D1ISO - ."OAB 7 über die ZVE-Bu.s-With the signal "IT = 1, the SYE 1 can output data via the ZYE data bus DO-D7, for reasons of the capacity ate decoupling (ictj DatenauGgafcebue. D 1 ISO -." OAB 7 via the ZVE-Bu.s-

treiber 6 nötig (Fig. 1; 8). Wichtig für die erfindungsgemäße Schaltung ist, daß bein Signal EIN = O die zur Eingabe in die ZVE 1 anstehenden Daten auch auf dem Datenausgabebus DAB0-DAB7 anliegen.driver 6 is necessary (Fig. 1, 8). Important for the circuit according to the invention is that bein signal ON = O pending for input to the data center 1 data also on the data output bus DAB0-DAB7 abut.

Die von der ZVE 1 zur Adressierung des Programmspeichers 11 (Pig, 4) (beim dargestellten Beispiel bestehend aus ROMs oder pROLIs 256 χ 8 Bit) oder des Datenspeichers (Arbeitsspeicher) 12 (Pig. 4) (RAIJs 256 χ 1 Bit) benutzten 14 Bit breiten Adressen werden in 2 Schritten mit den Takten H, T2 (Pig. 2) über den ZVE-Datenbus D0-D7 ausgegeben und müssen in dem Adressenauf fangregist er 9; 10 zwischengespeichert werden. Das Adressenauf fangregister 9; 10 wird erfindungsgemäß teilweise als Zähler ausgebildet. Beim dargestellten Beispiel sollen auf einem Diskettenspeicher maximal 131 Byte lange Blöcke abgespeichert werden; um 131 Byte adressieren zu können, ist ein mindestens 8-stelliger Adressenzähler 9 nötig. Die 14 Adressenleitungen (Fig. 3) sind mit AUB0-AUB7 (niederwertiger Adressenteil) und SAD3-SAD13 (höherwertiger Adressenteil) bezeichnet. Der niederwertige Teil 9 des Adressenauffangregisters 9;1O dient bei OUTPUT-Befehlen zur Aufnahme des Akkumulatorinhaltes, so daß die Adressenleitungen AUB0-AUB7 in diesem Palle die Bedeutung eines Ausgabebus für den Akkumulatorinhalt haben. Die Adresse des durch einen der OUTPUT-Befehle adressierten Ausgabetores wird durch die Adressenleitungen SAD9-SAD13 (Pig· 3) angegeben.The 14 used by the CPU 1 to address the program memory 11 (Pig, 4) (in the illustrated example consisting of ROMs or pROLIs 256 χ 8 bits) or the data memory (RAM) 12 (PIG 4) (RAIJs 256 χ 1 bit) Bit wide addresses are output in 2 steps with the clocks H, T2 (Pig. 2) via the CPU data bus D0-D7 and must be in the address strobe register 9; 10 cached. The address register 9; 10 is partially formed according to the invention as a counter. In the example shown, a maximum of 131 byte long blocks are to be stored on a diskette memory; to be able to address 131 bytes, an at least 8-digit address counter 9 is required. The 14 address lines (Figure 3) are labeled AUB0-AUB7 (low-order address part) and SAD3-SAD13 (high-order address part). The low-order part 9 of the address latch 9; 10 is used for receiving the Akkumulatorinhaltes OUTPUT commands, so that the address lines AUB0-AUB7 in this Palle have the meaning of an output bus for the accumulator content. The address of the output gate addressed by one of the OUTPUT instructions is indicated by address lines SAD9-SAD13 (Pig * 3).

Getaktet werden die Ausgabetore mit dem Übernahmetakt UEB. In Pig. 5 ist die Steuerung des direkten Speichersugriffs durch den Diskettenspeicher dargestellt. Vor Beginn einer Übertragung wird mit dem durch Gatter 15 decodierten OUTPUT-Befehl 0UT10 der als Rückwärtszähler ausgebildete Bytezähler 14 auf die Stellung "Anzahl der zu übertragenden Bytes - 1" voreingestellt. Perner wird durch den OUTPUT-Befehl OUT10 das Flip-Flop 16, das das Signal ICBER (Bereitschaft zum direkten Speicherbetrieb) abgibt, gesetzt.The delivery gates are timed with the acquisition cycle UEB. In Pig. 5, the direct memory access control by the disk memory is shown. Before the beginning of a transmission, the byte counter 14 designed as a down counter is preset to the position "number of bytes to be transmitted - 1" with the OUTPUT command 0UT10 decoded by gate 15. Perner is set by the OUTPUT command OUT10, the flip-flop 16, which outputs the signal ICBER (direct memory mode standby).

Nach Übertragung der vorgesehenen Byteanzahl wird durch den Überlauf des Bytezählers 14 das Plip-Plop 16 wieder zurückgesetzt. Bei der Voreinstellung des Bytezählers 14 gibt es fol- ' gende Möglichkeiten:After transmission of the intended number of bytes, the plip-plop 16 is reset by the overflow of the byte counter 14. When presetting the byte counter 14, there are the following possibilities:

Bein Standard-Speicherfonnat, das bei Diskettenspeichern verv/endet v/ird, werden auf einer Spur 26 Sektoren gespeichert. 1 Sektor enthält jeweils ein ID-PeId und ein Datenfeld, außerdem ist vor den 1. Sektor eine Indexmarke aufgezeichnet. Das ID-FeId enthält 7 Bytes: ID-Llarke, Spuradresse, 0, Sektoradresse, 0, 2 CRC-Bytes.Standard memory stored on floppy disk memories is stored on a track of 26 sectors. Each sector contains one ID-Peil and one data field. In addition, an index mark is recorded in front of the first sector. The ID field contains 7 bytes: ID-Llarke, lane address, 0, sector address, 0, 2 CRC-bytes.

Das Datenfeld enthält 131 Bytes: Datenadreßmarke, 128 Datenbytes, 2 CRC-BytesThe data field contains 131 bytes: data address tag, 128 data bytes, 2 CRC bytes

Zwischen ID-PeId und zugehörigen Datenfeld befindet sich eine Lücke, bestehend aus 17 Hullbytes, zwischen Datenfeld und folgenden ID-FeId eine solche aus 33 Iiullbytes.Between ID-PID and associated data field there is a gap, consisting of 17 Hullbytes, between data field and the following ID-FeId one of 33 Iiullbytes.

Bein Aufzeichnen eines Datenfeldes nüssen vor der Datenadreßmarke б Iiullbytes und nach den 2. CRC-Byte mindestens 1 HuIlbyte aufgezeichnet werden. Die Aufzeichnung der б ITullbytes vor den Datenfeld erfolgt genauso wie die Aufzeichnung der Hüllen in den Lücken beim Initialisieren der Diskette durch ein von der ZVS 1 einschaltbares, durch Aufzeichnen einer der Marken wieder abschaltbares Hullaufzeichnungs-Plip-Plop, das in der Diskettenspeicher-Steuereinheit 17 (Pig. 6) enthalten ist und das wie auch die anderen Elemente der Diskettenspeicher-Steuereinheit 17 für die Darstellung der erfindungsgenäßen Schaltungsanordnujag nicht wesentlich ist und daher nur im Blockschaltbild dargestellt wurdeThe recording of a data field must be preceded by the data address label б Iiullbytes and after the second CRC byte, at least 1 hIlbyte must be recorded. The recording of the б ITullbytes in front of the data field is carried out in the same way as the recording of the envelopes during initialization of the disk by a hull recording plip-plop that can be switched on by the ZVS 1 and recorded in the diskette memory control unit 17 (Pig. 6) is included and that as well as the other elements of the diskette memory controller 17 for the representation of the inventive Schaltungsanordnujag is not essential and therefore only in the block diagram was shown

Um bein Voreinstellen des Bytezählers 14 mit dem OUTPUT-Befehl OUT'10 mit möglichst wenig Leitungen des Ausgabebus AUBO-AUB7 für den Akkumulatorinhalt auszukommen, wurde folgende Lösung vorgesehen: Die Bits 0, 3, 4> 5, б werden 0 gesetzt, Bit 1 v/ird L gesetzt, und nur die Bits 2 und 7 sind über die Adressenleitungen AUB2 und AUB7 durch den Mikroprozessor 1 (ZVD 1) frei einstellbar. The following solution was provided in order to preselect the byte counter 14 with the OUTPUT command OUT'10 with as few lines of the output bus AUBO-AUB7 as possible for the accumulator contents: The bits 0, 3, 4> 5, б are set to 0, bit 1 v / ird L is set, and only the bits 2 and 7 are freely adjustable via the address lines AUB2 and AUB7 by the microprocessor 1 (ZVD 1).

Daraus ergibt sich folgendes Schema für die (einschließlich Initialisierung) notwendigen Lese- und Schreiboperationen beim Diske 11 ensp e icher:This results in the following scheme for the read and write operations (including initialization) necessary for the disk 11 ensp eer:

Bytezählereinstellung ВіѣByte counter setting Віѣ 4 5 6 74 5 6 7 Anzahl der ByteNumber of bytes Operationsurgery 0 12 30 12 3 0 0 0 00 0 0 0 Schreiben Indexmarke (+2 Nullen)Write index mark (+2 zeros) OLOOOLOO 0 0 0 00 0 0 0 3 ·3 · Schreiben ID-PeIdWrite ID-PeId OLLOOLLO 0 0 0 L0 0 0 L 77 Schreiben Datenfeld (+ 4 Nullen)Write data field (+ 4 zeros) OLLOOLLO 0 0 0 00 0 0 0 135135 Lesen Indexmarke (+ 2 Hüllen)Read index mark (+ 2 envelopes) OLOOOLOO 0 0 0 00 0 0 0 33 Lesen ID-PeIdRead ID-PeId OLLOOLLO 0 0 0 L0 0 0 L 77 Lesen DatenfeldReading data field OLOOOLOO 131131

Die Adressenleitungen AUBO, AUB1, AUB3 - AUB6 in Verbindung mit dem OUTPUT-Befehl 0UT10 sind frei verfügbar; ein Teil davon wird benötigt, um (in hier nicht ausführlich dargestellter V/eise) in der Diskettenspeicher-Steuereinheit 17 (Pig. 6) enthaltene, die Art der auszuführenden Operation festlegende Plip-Plops zu setzen. Beispielsweise wird, um ein Datenfeld zu lesen, nach dem Erkennen des zugeordneten ID-Peldes ein Flip-Flop (in Diskettenspeicher-Steuereinheit 17 enthalten) gesetzt, das ein Gatter, an dem das Signal MKF 3 ("Datenadreßmarke erkannt") anliegt, freigibt, so daß die nächstfolgende Datenadreßmarke ein Preigabe-Plip-Plop FRKAHM für den Übertragungsvorgang von der Diskette zum Arbeitsspeicher freigeben kann (Diagramm Fig. 7b). Weitere Steuer-Flip-Flops sind dem Lesen der Indexmarke, dem Lesen eines ID-Feldes, dem Schreiben der Indexmarke und dem Schreiben eines ID- oder Datenfeldes zugeordnet.The address lines AUBO, AUB1, AUB3 - AUB6 in connection with the OUTPUT command 0UT10 are freely available; some of this is needed to set plip-plops (which are not shown in detail here) contained in the disk storage controller 17 (FIG. 6) to determine the type of operation to be performed. For example, to read a data field, after detecting the associated ID field, a flip-flop (included in disk memory controller 17) is set which enables a gate to which the signal MKF 3 ("data address flag detected") is applied so that the next succeeding data address tag can release a pregip plip plop FRKAHM for the transfer operation from the floppy disk to the main memory (diagram Fig. 7b). Other control flip-flops are associated with reading the index mark, reading an ID field, writing the index mark, and writing an ID or data field.

Das Signal KSCH, das die Übertragungsrichtung angibt, wird in der Diskettenspeicher-Steuereinheit 17 durch die oben genannten Steuer-Flip-Flops erzeugt, und zwar hat das Signal KSCHThe signal KSCH indicating the transfer direction is generated in the floppy disk storage control unit 17 by the above-mentioned control flip-flops, namely, the signal KSCH

folgende Bedeutung:the following meaning:

KSCH = 0 bei Übertragung Speicher nach Diskette, KSCH = 1 bei Übertragung Diskette nach Speicher. Die Übertragung zwischen Diskette und Speicher wird, wie schon beschrieben, vorbereitet durch den OUTPUT-Befehl OUT1O, der u. a. Flip-Flop 16 setzt. Das durch Flip-Flop 16 erzeugte Signal KBER = 1 gibt das Gatter 18 frei, und der nachfolgende Befehl "Lesen Speicher" kann im Zyklus "Datenlesen" (PCR-Zyklus, gekennzeichnet durch die Spannungen JJJb1F 2 b = 1, DFF27 = 1) mit dem Takt T2 das als ITAlTD-Haltekreis ausgebildete Flip-Flop 19, das das Signal DSZ = 1 erzeugt, einschalten. Daneben hat der Befehl "Lesen Speicher" die Aufgabe, im Datenlesezykius die Anfangsadresse für den direkten Speicherbetrieb im Adressenauffangregister 9;10 einzustellen und den Datenbus D0-D7 der ZYE 1 im Wartezustand des Datenlesezyklus in den hochohmigen Zustand zu versetzen. Durch das Signal DSZ = 1 wird über das Open-Collector-Gatter 20 das Eingangssignal READY = 0, und dadurch tritt die ZYE 1 in den Wartezustand ein.KSCH = 0 when transferring storage to floppy disk, KSCH = 1 when transferring floppy disk to storage. The transfer between floppy disk and memory is, as already described, prepared by the OUTPUT command OUT1O, which sets, inter alia, flip-flop 16. The signal KBER = 1 generated by flip-flop 16 enables the gate 18, and the subsequent instruction "read memory" can be read in the cycle "data read" (PCR cycle, characterized by the voltages JJJb 1 F 2 b = 1, DFF27 = 1) with the clock T2 turn on the designed as ITAlTD latch flip-flop 19, which generates the signal DSZ = 1 turn on. In addition, the command "read memory" has the task in the data read cycle to set the starting address for the direct memory operation in the address latch 9, 10 and to put the data bus D0-D7 of the ZYE 1 in the waiting state of the data read cycle in the high-resistance state. By the signal DSZ = 1, the input signal READY = 0 via the open-collector gate 20, and thereby enters the ZYE 1 in the waiting state.

Die eigentliche Übertragung zum oder vom Speicher wird durch die Diskettenspeicher-Steuereinheit 17 (Fig. 6) eingeleitet, indem für Jedes angeforderte oder angebotene Byte ein Rufsignal КАІБІ ausgesandt wird. I.Iit Hilfe des D-?lip-Flops 21, das das Rückmeldesignal KARB erzeugt, wird ein sogenannter Shake-hand-Betrieb durchgeführt, wobei Flip-Flop 21 mit der durch das Signal DSZ = 1 freigegebenen Flanke des von der ZVE 1 erzeugten Synchronisationstaktes SYi1I in die durch das am D-Eingang anliegende Rufsignal IiAITIJ angegebene Lage schaltet.The actual transfer to or from the memory is initiated by the floppy disk controller 17 (Figure 6) by sending a ringing signal КАІБІ for each byte requested or offered. I. By means of the D flip-flop 21, which generates the feedback signal KARB, a so-called shake-hand operation is carried out, wherein flip-flop 21 with the signal DSZ = 1 enabled edge of the generated by the ZVE 1 Synchronization clock SYi 1 I switches to the position indicated by the call signal IiAITIJ present at the D input.

Y/enn das Rückneldesignal KARB = 1 ist, wird die Übertragung eines Bytes ζигл Speicher 12 oder zur Diskettenspeicher-Steuereinheit 17 abgewickelt. Bei Übertragung zum Speicher 12 wird durch die Gatter 22 ein Speicherschreibimpuls SSB erzeugt. Gleichzeitig werden durch die Steuerspannung KSCH · KARB = 1 an den Gattern 7 die Y/iedsrgabedaten ",7L)FO-7/DP7 von der Diskette in den Dateneingabebus ТГХЪи-ЕХВ'Т eingespeist und über den ZVE-Datenbuo und die ZYB-Buntreiber an dio Dateneingänge DABG-DAB7 das Speichers 12 angelegt. Die Gatter 3 sind dabei durch die SoGuerüpccuiiing 3LL' = 0, erzeugt durch die Steuer-If the return signal KARB = 1, the transfer of a byte ζigle memory 12 or to the disk storage control unit 17 is processed. When transferred to the memory 12, a memory write pulse SSB is generated by the gates 22. At the same time, the control voltage KSCH · KARB = 1 at the gates 7 feeds the Y / decision data ", 7L) FO-7 / DP7 from the floppy disk into the data input bus ТГХЪи-ЕХВ'Т and via the ZVE data buoys and the ZYB-type drivers at data inputs DABG-DAB7 the memory 12. The gates 3 are thereby by the SoGuerüpccuiiing 3LL '= 0, generated by the control

Spannung DSZ · KSCH in Schaltimg 23, gesperrt. Bei Übertragung von Speicher 12 zur Diskettenspeicher-Steuereinheit 17 werden die über den Eingangsmultiplexer 3-5 und die ZVE-Bustreiber 6 auf dem Datenausgabebus DAB0-DAB7 anliegenden Speicherdaten mit dem durch die Gatter 24 erzeugten Übernahmetakt KUEB übernommen. Alle Datenübertragungsvorgänge werden während des Rückmeldesignals KAEB = 1 abgewickelt. Die Rückflanke des neg. Rückmeldesignal "КШШ kann daher verwendet v/erden, um sowohl den Adressenzähler 9 als auch den Bytezähler 14 nach jeder Byte-Übertragung weiterzuschalten. · Nach Übertragung des letzten Bytes gibt der Bytezähler 14 einen "Übertrag Rückwärts"-Impuls ab, der auf den Takteingang des Flip-Flop 16 geleitet wird und das Signal KBER abschaltet. Durch das Signal ICBER = 0 wird das Signal DSZ = 0 und das Eingangssignal READY = 1, so daß die ZVE 1 den Wartezustand wieder verlassen kann.Voltage DSZ · KSCH in switching mode 23, locked. When transferring memory 12 to the diskette memory control unit 17, the memory data present on the data output bus DAB0-DAB7 via the input multiplexer 3-5 and the CPU bus drivers 6 are taken over by the takeover clock KUEB generated by the gate 24. All data transfer operations are handled during the acknowledgment signal KAEB = 1. The trailing edge of the negative feedback signal "ШШ" can therefore be used to advance both the address counter 9 and the byte counter 14 after each byte transmission. · After transmission of the last byte, the byte counter 14 outputs a "carry backward" pulse which is routed to the clock input of the flip-flop 16 and turns off the signal KBER The signal ICBER = 0, the signal DSZ = 0 and the input signal READY = 1, so that the CPU 1 can leave the waiting state again.

Claims (1)

Patentanspruchclaim Ivlikroprozessorgesteuerter Peripherieanschluß mit direktem Speicherzugriff zum Anschluß von peripheren Geräten mit hoher Datenübertragungsgeschwindigkeit, vorzugsweise Diskettenspeichern, mit einem durch den Mikroprozessor (ZVE) einstellbaren Adressenauffangregister, einem Eingangsmultiplexer für den bidirektionalen ZVE-Datenbus, daran angeschlossenen ZVE-Bustreibern sowie einem Bytezähler für den direkten Speicherzugriff, dadurch gekennzeichnet, daß das Adressenauffangregister (9; 10) vollständig oder - entsprechend der beim direktem Speicherzugriff maximal zu übertragenden Blocklänge teilweise als byteweise weiterschaltbarer Adressenzähler ausgebildet ist, dessen Ausgänge mit den Adreßeingängen des Datenspeichers und des zugehörigen Chipselectdecoders (12; 13) verbunden sind, daß ein durch den Mikroprozessor (1) gleichzeitig mit dem Bytezähler (14) voreinstellbares Flip-Flop (16), dessen Takteingang mit dem "Übertrag Rückwärts"-Ausgang des Bytezählers (14) verbunden ist, über ein ITAND-Gatter (IS), an dem außerdem die den Lesezyklus charakterisierenden Zyklussteuersignale DFF26 und DFF27 und der Einstelltakt T2 für das höherwertige Adressenauffangregister anliegen, mit dem Setseingang und direkt mit dem Rücksetzeingang eines weiteren Flip-Flops (19) verbunden ist, dessen Ausgang über ein Open-Collector-Gatter (20) am Eingang READY des Mikroprozessors (1) anliegt und daß die Dateneingänge der externen Gerätes feuerung (17) und des Speichers (12) direkt mit den Ausgängen (DAB0-DA37) der ZYE-Bustreiber (6) und die Datenausgänge (V/DF0-V/DF7) der externen GeratesteueruiigMicroprocessor-based direct memory access peripheral port for connecting high speed peripheral devices, preferably floppy disk memories, to a microprocessor (ZVE) settable address latch, an input multiplexer for the bi-directional CPU data bus, ZVE bus drivers connected thereto, and a direct memory access byte counter; characterized in that the address latch (9; 10) is formed completely or partially according to the block to be transmitted in the direct memory access block length as a bytewise weiterschaltbarer address counter whose outputs are connected to the address inputs of the data memory and the associated Chipselectdecoders (12; in that a flip-flop (16), which can be preselected by the microprocessor (1) simultaneously with the byte counter (14), whose clock input is connected to the "carry backward" output of the byte counter (14) anden, is connected to the set input and directly to the reset input of another flip-flop (19) via an ITAND gate (IS), which also applies the read cycle characterizing cycle control signals DFF26 and DFF27 and the higher clock latch set register clock T2 is, whose output via an open-collector gate (20) at the input READY of the microprocessor (1) is applied and that the data inputs of the external device firing (17) and the memory (12) directly to the outputs (DAB0-DA37) of the ZYE bus driver (6) and the data outputs (V / DF0-V / DF7) of the external device controller (17) über einen zusätzlichen Eingang (7) des Eingangsmultiplexers (3-5) mit dem ZVE-Datenbus verbunden sind, wobei sich die Datenausgänge (D0-D7) des Mikroprozessors (1) während des direkten Speicherzugriffs im hochohmigen Zustand befinden.(17) are connected via an additional input (7) of the input multiplexer (3-5) to the CPU data bus, wherein the data outputs (D0-D7) of the microprocessor (1) are in the high-resistance state during the direct memory access. Hierzu J? Seiten ZeichnuRqenFor this J? Pages Drawings
DD19975777A 1977-06-29 1977-06-29 MICROPROCESSOR-CONTROLLED PERIPHERAL CONNECTION WITH DIRECT MEMORY ACCESS DD132215B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DD19975777A DD132215B1 (en) 1977-06-29 1977-06-29 MICROPROCESSOR-CONTROLLED PERIPHERAL CONNECTION WITH DIRECT MEMORY ACCESS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DD19975777A DD132215B1 (en) 1977-06-29 1977-06-29 MICROPROCESSOR-CONTROLLED PERIPHERAL CONNECTION WITH DIRECT MEMORY ACCESS

Publications (2)

Publication Number Publication Date
DD132215A1 DD132215A1 (en) 1978-09-06
DD132215B1 true DD132215B1 (en) 1980-06-25

Family

ID=5508914

Family Applications (1)

Application Number Title Priority Date Filing Date
DD19975777A DD132215B1 (en) 1977-06-29 1977-06-29 MICROPROCESSOR-CONTROLLED PERIPHERAL CONNECTION WITH DIRECT MEMORY ACCESS

Country Status (1)

Country Link
DD (1) DD132215B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4276595A (en) * 1978-06-30 1981-06-30 International Business Machines Corporation Microinstruction storage units employing partial address generators
US4218742A (en) * 1978-06-30 1980-08-19 International Business Machines Corporation System for controlling a serial data channel with a microprocessor

Also Published As

Publication number Publication date
DD132215A1 (en) 1978-09-06

Similar Documents

Publication Publication Date Title
DE3909896C2 (en)
DE2533403A1 (en) DATA PROCESSING SYSTEM
DE10330812A1 (en) Semiconductor memory module
DE1499687A1 (en) Memory protection against unauthorized access
EP0500973B1 (en) EEPROM and method for altering a bootstrap routine in the EEPROM
AT389951B (en) DATA TRANSFER DEVICE
DE2719291C3 (en) Data storage system
DE2432608B2 (en) Storage arrangement for a data processing device
DE2363846A1 (en) PROCEDURE FOR CONTROLLING THE TRANSFER OF DATA BETWEEN A MEMORY AND ONE OR MORE PERIPHERAL DEVICES AND A DATA PROCESSING SYSTEM WORKING IN ACCORDANCE WITH THIS PROCESS
EP0892952B1 (en) Communications system with a master station and at least one slave station
DE1524773C3 (en) Addressing system for storage devices
DE3936339C2 (en) DMA controller
DE3911721A1 (en) CIRCUIT FOR THE DELAYED RELEASE OF A WRITING PROCESS INTO A STORAGE MEMORY FOR A DOUBLEBUS MICROCOMPUTER SYSTEM
DD132215B1 (en) MICROPROCESSOR-CONTROLLED PERIPHERAL CONNECTION WITH DIRECT MEMORY ACCESS
DE69924179T2 (en) Broadband memory arrangement with instruction stack and narrow input and output
DE2610428C3 (en) Arrangement for controlling the intermediate storage of data to be transmitted between two functional units in a buffer memory
DE102005040109B4 (en) Semiconductor memory chip
DE2404887C2 (en) Circuit arrangement for exchanging information with a computer
EP1548603B1 (en) Method and apparatus for controlling memory access
DE2242279B2 (en) Circuit arrangement for determining errors in a memory unit of a program-controlled data exchange system
DE2416268C3 (en) Data transmission device for a system with at least two central control units, peripheral control units and several groups of controlled units, for telecommunications, in particular telephone switching systems
DE19846914C2 (en) Data bus and method for communicating two modules using such a data bus
DE1449816C3 (en) Circuit arrangement for controlling access to a magnetic drum memory
DE3129560C2 (en) Control circuit for a printer
EP0214475B1 (en) Circuit arrangement for the transmission of data signals between control devices interconnected by a loop system