/* f* bus_vcxk/vcxk_loadimage FUNCTION copies a binary image to display memory  */
void vcxk_loadimage(ulong source)
/* f* bus_vcxk/vcxk_loadimage FUNCTION copies a binary image to display memory  */
void vcxk_loadimage(ulong source)
{
	int cnt;
	vcxk_acknowledge_wait();
	if (VC4K16) {
		for (cnt = 0; cnt < (16384 / 4); cnt++) {
			VCXK_BWS_LONG(cnt, (*(ulong *) source));
			source = source + 4;
		}
	} else {
		for (cnt = 0; cnt < 16384; cnt++) {
			VCXK_BWS_LONG(cnt*2, (*(vu_char *) source));
			source++;
		}
	}
	vcxk_request();
}