aboutsummaryrefslogtreecommitdiff
path: root/scroll
Commit message (Collapse)AuthorAgeFilesLines
* Ensure background/sprite tiles are spread properlyMiquel Sabaté Solà2025-02-041-10/+7
| | | | | | | | 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-042-4/+538
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add a way to safely read from controllersMiquel Sabaté Solà2025-02-041-63/+0
| | | | | | | | | First of all, move some reading utilities into the new `shared` directory, so controllers can be read by more than one example. Second, even if we keep the example on `basics/input.s` simple, let's provide a safe alternative for the other examples. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Move assets into a global directoryMiquel Sabaté Solà2025-02-042-186/+0
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* scroll: Start with the scrolling examplesMiquel Sabaté Solà2025-02-0410-6/+459
| | | | | | | This is still work in progress but at least there's some basic structure to it. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Lay out a proper structure for the projectMiquel Sabaté Solà2025-02-044-0/+27
Let's divide things by topic instead of a broad "examples" directory. This will allow for simple files to co-exist together with full-blown projects. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>