Page 1 of 1

SGDK Sonic SAMPLE Warnings

Posted: Thu Jul 22, 2021 5:18 pm
by DavilaGames
I compiled Sonic Sample in Debug mode and got the following warnings, which also occur in my programs, does anyone know what it is and how can I fix them? Thanks! :wink:

Code: Select all

Message : DMA_queueDma(..) warning: transfer size limit raised on transfer #56, current size = 7296  max allowed = 7200
Message : Warning: frame missed detection on frame #53 - V-Counter = 197
Message : DMA_flushQueue(..) warning: transfer size is above 7200 bytes (8192).
Message : Warning: frame missed detection on frame #62 - V-Counter = 126
The "frame missed detection" occurs when FadeIn or FadeOut.

Re: SGDK Sonic SAMPLE Warnings

Posted: Fri Jul 23, 2021 7:51 am
by Stef
These are just warning and so not too harmful.. They mean you're exceeding DMA capacity on some frames.
If you're exceeding just a bit (as here) and only on some rare occasion, this is not really a problem.
If you really want to avoid it then you have to take care about the maximum data you're trying to transfer per frame but the PAL fade functions shouldn't put much data here, i believe the warning come from the initial MAP update instead.. not really a problem as it happen only at "load time".