AV_SCRATCH_D
error_count = amvdec_read_dos(core, AV_SCRATCH_D);
amvdec_write_dos(core, AV_SCRATCH_D, 0);
#define MREG_FRAME_OFFSET AV_SCRATCH_D