aboutsummaryrefslogtreecommitdiff
path: root/fx/blink.s
Commit message (Collapse)AuthorAgeFilesLines
* Bring code style to better standardsMiquel Sabaté Solà2025-03-101-15/+18
| | | | | | | | Be more careful on everything and try to follow along style.nes from my repository. This might change in the future, but it's in a much better state now. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* shared: Add utilities for clearing screensMiquel Sabaté Solà2025-03-071-0/+3
| | | | | | | | | | | | | These are quite mindless, but they are rather useful on simple examples in which we don't care about performance and we just want to show something on the screen. For now this didn't matter much, but on real hardware I was able to reproduce the same glitches as with emulators which randomized memory on both the CPU memory and on the PPU. Hence, just allow some examples to manually reset these regions and avoid silly graphical glitches. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Ensure background/sprite tiles are spread properlyMiquel Sabaté Solà2025-02-041-15/+41
| | | | | | | | At least on the MMC3 chip, it's important to have background tiles on the first pattern table and then sprite tiles on the second pattern table. This avoids a hardware bug on scanline IRQs. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* scroll: Implement a roulette-like gameMiquel Sabaté Solà2025-02-041-5/+6
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* fx: Provide an example of PPU bank switchingMiquel Sabaté Solà2025-02-041-0/+395
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>