#pragma codeseg SHARED
#include "master.hpp"
#include "th02/hardware/frmdelay.h"
void pascal far frame_delay_2(int frames)
{
vsync_reset1();
while(vsync_Count1 < frames) {}
}