User's Manual

PMAC Dual-Ported RAM User Manual
10 Dual-Ported RAM Communications
while (peek (0xD400, 0x0801) == 1); /* wait until position received */
*x = X;
*y = Y;
*z = Z;
poke (0xD400, 0x0801,1); /*send position flag
}