DMA channel collision on N64 games
#5
Ok so, according to the following issue raised on juj's repository, N64 games only work with DMA disabled.
https://github.com/juj/fbcp-ili9341/issues/17

I went ahead and compiled a version without DMA channels by setting DUSE_DMA_TRANSFERS to OFF, and commenting out the following constants (as explained here https://forum.freeplaytech.com/showthread.php?tid=4989):

SAVE_BATTERY_BY_PREDICTING_FRAME_ARRIVAL_TIMES //to comment, framerate drop fix
DISPLAY_FLIP_ORIENTATION_IN_SOFTWARE //to comment, I don't remember why
SAVE_BATTERY_BY_SLEEPING_WHEN_IDLE //to comment, good catch kmacmart@darkcloud.ca

This gave me a driver that runs N64 games at an amazing performance with clock divisor of 6!

Other emulators looked a bit choppy so I went ahead and added an option to the "Freeplay Change Display Driver" so that I can manually change them when I want to play N64 games.

Thank you for building this magnificent machine!

PS: This process left me with N64 games with no sound, I just set mupen64plus_audio to "0" in /opt/retropie/configs/all/autoconf.cfg and got audio out of the internal speaker.
Reply


Messages In This Thread
DMA channel collision on N64 games - by smoscar01 - 03-27-2020, 10:26 AM
RE: DMA channel collision on N64 games - by smoscar01 - 03-30-2020, 06:43 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)