Hardware Bugs & Warnings Page 3 i> There is a bug in the divider of the GPU and DSP. If you try to do two consecutive divides without there being at least 1 clock cycle of idle time between them, then the result of the second divide will be wrong. This will only occur when the two divides are separated by less than 16 clock cycles, and the second divide as the quotient of the first divide as one of its register operands, and there is no score- board dependency on the quotient of the first one prior to the second. The work-around should be to either make sure that more than 16 clock cycles occur between divide instructions, or make sure that an instruction which is dependent on the quotient of the first divide occurs before the second divide. Example #1: div Be a moveq ae div xr5,rl should be like this: div xr0,rl moveq #3,r5 or rl,rl div r5,rl Example #2: div r0,ri moveq 43,x5 div ae should be like this: div ee moveq a or r1,rl div r5,rl 10) DSP matrix multiplies only work in the lower 4K of DSP RAM. The DSP matrix register can only point to memory locations in the first 4K of DSP RAM. Only address lines 2-11 are program- mable; the rest of the matrix address is hard-wired to $FIBxxx. 11) When you write a value to the G_FLAGS or D_FLAGS registers, it may not appear to have changed in the following two instructions because of pipe-lining effects. If you are going to use the flags set by a STORE instruction, or are changing cone of the other bits such as the register bank, then ensure that there are two NOP instructions after the STORE to either of these registers. © 1994 Atari Corp. Confidential Information ‘FER Property of Atari Corporation 26 April, 1995