This example uses the 40 character by 24-line display list given on page II.24. This display list is 32 bytes long so display list DMA takes 32 machine cycles. It takes 960 cycles to DMA the characters and 8*960 to DMA the character data. The refresh DMA takes 9 cycles for each of 262 lines, except for the 24 lines where the characters are read, where only 1 refresh cycle occurs.
DMA description | Machine cycles | ||
display list | 32 | ||
characters | 40x24 = | 960 | |
character data | 960x8 = | 7680 | |
refresh | 262x9-24x8 = | 2166 | |
total | 10838 |
Thus the total DMA per frame is 10838 machine cycles. One frame is 262 lines with 114 machine cycles per line for a total of 29868 machine cycles per frame. Thus 36% of each frame is required for DMA in OS graphics mode 0.