SGDK Sonic SAMPLE Warnings

SGDK only sub forum

Moderator: Stef

Post Reply
DavilaGames
Interested
Posts: 13
Joined: Thu Jul 04, 2019 4:25 am
Location: Juiz de Fora/MG, Brasil
Contact:

SGDK Sonic SAMPLE Warnings

Post by DavilaGames » Thu Jul 22, 2021 5:18 pm

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.
Yuri d´Ávila
DAVILA GAMES
https://www.davilagames.com.br

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Re: SGDK Sonic SAMPLE Warnings

Post by Stef » Fri Jul 23, 2021 7:51 am

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".

Post Reply