2.2 Display-list DMA The description of the television picture is raster-oriented. The picture is composed in real time (except for one scanline of buffering) on a scanline-by-scanline basis. Contiguous scanlines ; (usually 8 or 16) are grouped into zones which have a common pictoral structure, or display-list, The current item (object) in a display-list is pointed to by the DISPLAY-LIST POINTER (Maria register pair DPH/L). DMA operation is used to read the display-list once for each scaniine in the zone. The display list has been previously created by the microprocessor program — in response to user inputs. The DMA processor halts the microprocessor to read display-list items. Each item in the display-list describes an object, and contains the WIDTH in bytes, ition (initial INPUT address), PALETTE, and base address PIXEL-POINTER of the graphics data (Maria register pair PPH/L). An OFFSET is added to that base address. OFFSET is set to one less than the zone size at the beginning of each zone, and decremented at the start of each new scanline. Using OFFSET and display-lists means minimal RAM space for image composition: The top-level structure of the picture remains the same over several scanlines — while the detailed graphics is different on each scanline. After reading an object description, the graphics bytes (4 PIXELS each) pointed to are read, decrementing WIDTH and incrementing INPUT position until WIDTH is zero. For text there is an alternative to fetching graphics directly. Some items in a display-list may use a character map which points to character graphics (usually in ROM), by setting their indirect (IND) bits. In this case the CHARBASE register (previously set up by the microprocessor) is concatenated with the character map byte and OFFSET is added, to form the pointer to the character graphics. To compose a full screen image, display-lists are grouped into a list of zones. The current zone in the zone-list is pointed to by the ZONE-POINTER, which is also a Maria register pair (ZPH/L). Each zone-list item contains the DP, initial OFFSET and "holy DMA” and DLlen mode bit information for the zone. The zone-list items are read sequentially, one for each zone. The next zone-list item will be read immediately after completion of the last display-list in the current zone (i.e. after OFFSET decrements to zero). The sum of zonesizes (initial OFFSETs) of the zone-ist items must add to the number of active scanlines (242 for NTSC or 292 for PAL). Setting the"holy DMA” bits A12ENable or A11ENable enables checking for "invalid" graphic addresses: Detection of PP + OFFSET addresses with A12 or A11 = 1 results in aborting the object that requested the address. This feature is used to save the DMA time that would be used by that are "invisible" in a zone, without actually deleting those objects from the list. It also saves ROM space: No "blank" graphics data is necessary. Setting the DLlen bit causes the Maria chip to generate an INT- to the microprocessor at the completion of the zone DMA. This allows real-time re-programming. There is no fixed limit on the number or size of the objects that can be displayed. There is a time limit (somewhat less than one scanline - 64 us) before DMA is automatically terminated, however. Thus the upper bound on screen complexity is set by the amount of DMA time available. The only restriction is that the size and number of objects be such that they can be completed in the time available). The formats for display-lists and zone-lists is shown in Figure 4 on page 11. General Computer -6- October, 1984