[Freemint-list] Broken udelay() for m68000

Miro Kropáček miro.kropacek at gmail.com
Sun Oct 15 14:31:55 MSD 2017


>
> Here is the thread with the discussion when the Coldfire code was
> added. just in case it helps:
>
> https://mikro.naprvyraz.sk/mint/201404/msg00044.html

Actually, is there any reason why we can't use your formula:

__delay((((usecs * HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6);

also for m68000 instead of the lame:

__delay(usecs);

?

-- 
MiKRO / Mystic Bytes
http://mikro.atari.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.atariforge.org/pipermail/freemint-list/attachments/20171015/50eb9883/attachment.html 


More information about the Freemint-list mailing list