So C might not be your language, but the math would be familiar, if what you are talking about.
Filling the audio buffer at run time using 68000, and sending the buffer to Paula.
or computing the wave only once, and managing Agnus in a manner that repeatedly sends the buffer.
double theta = viewController->theta;
double theta_increment =
2.0 * M_PI * viewController->frequency / viewController->sampleRate;
// This is a mono tone generator so we only need the first buffer
const int channel = 0;
Float32 *buffer = (Float32 *)ioData->mBuffers[channel].mData;
// Generate the samples
for (UInt32 frame = 0; frame < inNumberFrames; frame++)
buffer[frame] = sin(theta) * amplitude;
theta += theta_increment;
if (theta > 2.0 * M_PI)
theta -= 2.0 * M_PI;