| Electronic Components Datasheet Search |
|
Z80 Datasheet(PDF) 139 Page - Zilog, Inc. |
|
|
|||||||||||||||||||||||||||||
Z80 Datasheet(HTML) 139 Page - Zilog, Inc. |
|
139 / 330 page ![]() < %27 2GTKRJGTCNU 7UGT /CPWCN UM008101-0601 Direct Memory Access Address Loading Write starting addresses to the starting-address registers for each port using WR0 (Port A) and WR4 (Port B). They are loaded to the address counters by the LOAD command. The addresses must he written to the registers before they are loaded to the counters. New addresses may be written to the address registers at any time when the CPU is bus master, even between transfers and even when the DMA is oper- ating in the Auto Restart mode, for example, in Byte mode between byte transfers. With the exception of the Auto Restart mode, the new addresses must be reloaded before they are used. If a Forced-Ready condition is used, the LOAD command must precede the FORCE READY command. Fixed-Address Destination Ports A special circumstance arises when programming a destination port to have a fixed address. The load command in WR6 only loads a fixed address to a port selected as the source, not to a port selected as the destination. Therefore, a fixed-destination address must be loaded after temporarily declaring its port as a source port. The true source port is subsequently declared (making the other port a destination) and the true source address is then loaded. The following example describes the steps in this procedure, assuming that transfers are to occur from a variable-address source (Port A) to a fixed- address destination (Port B). 1. Write Port B (fixed destination) address to WR4. 2. Temporarily declare Port B as source in WR0 (bit 2 = 0). 3. Load Port B address with the LOAD command. 4. Write Port A (variable source) starting address to WR0. 5. Declare Port A as source in WR0 (bit 2 = 1). 6. Load Port A address with the LOAD command. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |