A500 PLUS SERVICE MANUAL
8375 AGNUS (Continued)
DMA CHANNEL FUNCTIONS (Continued)
D-Audio (four (4) channels)
There are four (4) audio channels, all of which are located outside of the audio DMA Controller section of Agnus.
Each controller is independent and uses one DMA channel from the DMA Controller and fetches its data during a
dedicated timing slot within horizontal blanking. This is accomplished by acontroller asserting the DMAL input on
the DMA Controller.
E-Sprites (eight (8) channels)
There are eight (8) independent Sprite controllers, each with its own DMA channel and its own dedicated time slot
for DMA data transfer. Sprites are line buffered objects that can move very fast because their positions are controlled
hardware registers and comparators.
Each sprite has two (2) sixteen bit data registers that define a16 pixel wide Sprite with 4colors. Each has ahorizontal
position register, avertical start position register and avertical stop position register. This allows variable vertical
size sprites.
The Sprite DMA controller fetches image and position data automatically from anywhere in 2Megabytes of memory
depending on device pin configuration.
Sprites can be run automatically in DMA mode or they can be loaded and controlled by the microprocessor.
Each Sprite can be re-used vertically as often as desired. Horizontal re-using is also allowed with microprocessor control.
F-Disk (one (I) channel)
The disk controller, which is located outside of the DMA, uses asingle DMA channel from the device. The controller
uses the DMA time slot for data transfer and can read or write ablock of data up to 128K anywhere in 2Megabytes
of memory depending on device pin configuration.
G-Memory Refresh (one (I) channel)
The refresh controller uses asingle DMA channel with its own time slots. It places RAS addresses on the memory
address bus (MA) during these slots, in order to refresh the dynamic RAM. Memory is refreshed on every raster line.
During the DMA no data transfer actually takes place. The register address bus (RGA) is used to supply video syn-
chronizing codes. At this time RAS1* and RAS are low. CASU* and CASL* are inactive during this cycle.
RAM AND REGISTER ADDRESSING
The device generates RAM addresses from two sources, the processor or the device performing DMA cycles. The pro-
cessor accesses RAM whenever AS* and RAMEN* are both low. At this time, the device also multiplexes the pro-
cessor address (A1-A20) onto the MA bus. During row address time A9-A17 and A19 are placed onto MA0-MA8,
MA9, respectively; during column address time A1-A8, A18 and A20 are placed onto MA0-MA7, MA8 and MA9,
respectively. In the 1meg configuration, A19 is still used to determine the RAS line to be asserted. If A19 is low
RASO* is active and if high RAS1* is active. In the 2meg option RAS will always be active on aRAM access. The
IC will assert CASL* if LDS* is low or CASU* if UDS* is low.
When the device needs to do aDMA cycle, the device disables the processor from accessing RAM by asserting the
Data Bus Request Line (DBR*). At this time, the device multiplexes its generated RAM address onto the MA lines
and will activate RAS and the proper RASO* or RAS1* line unless it is arefresh cycle where all RAS lines are active.
During aDMA cycle, the IC device will also assert both CASU* and CASL*, unless it is arefresh cycle where they
both remain inactive.
The device also generates RGA addresses from either the processor or device DMAs, each of which is selected by
an internal multiplexer. This multiplexer allows the processor to perform aregister read/write access when AS* and
RGEN* are both low. The device then takes the low order byte of the processor address Al to A8 and reflects its
value on the RGA output bus RGA1 to RGA8. The device will reflect the status of PRW input on the RRW output
line, to indicate amemory read or write operation.
During adevice DMA cycle, the device prevents the processor from doing aregister access by asserting the DBR*
line. The device will then place the contents of its register address encoder onto the RGA bus.
2-9