Sprite limit in NES core


Moderators: Mug UK, Zorro 2, spiny, Greenious, Moderator Team

Atari maniac
Atari maniac
Posts: 89
Joined: Sun Jul 09, 2017 1:43 pm

Sprite limit in NES core

Postby hyperterminal » Sun Dec 31, 2017 4:04 pm

The NES PPU has a sprite limit of 8. Some games, mostly unlicensed of homebrew games (such as Kart Fighter or this Donkey Kong port) utilize more than 8 sprites at the same time, causing sprite flickering. This can be fixed by increasing the sprite limit to 16. The RetroUSB AVS and Kevtris' Analogue Nt Mini/Hi-Def NES have such an option. I am not sure if such an option is necessary for compatibility reasons or if it is acceptable to permanently change the sprite limit from 8 to 16.

This file from the NES core would need to be changed: https://github.com/mist-devel/mist-boar ... /src/ppu.v

User avatar
Atari God
Atari God
Posts: 1221
Joined: Fri Sep 19, 2014 8:40 am

Re: Sprite limit in NES core

Postby Newsdee » Mon Jan 01, 2018 12:51 am

This also fixes flickering on some games such as the life bar in TMNT 1. Worth doing, albeit a very specific change so not sure how much work it would be.

Return to “MiST”

Who is online

Users browsing this forum: DrOG and 4 guests