gbdev / gbdev/rgbds

rgblink scramble could be even more scrambled to expose more mistakes

Open
#1,149 6 comments 1 reaction 0 assignees View on GitHub
enhancement rgblink
Dominant language
C++
Stars
1.6k
Forks
193
Avg merge
1d 33m
Merged PRs (30d)
23

Description

while the scramble flag does serve its purpose of showing when you forget to bankswitch, it introduces two new issues:

1. it hides alignment mistakes, as sections generally get placed at `$4000`
1. it hides mistakes where data is read out of bounds, since all data past a section is usually $ff

possible solutions for each issue:

1. try to put sections at the end of a bank, or avoid putting sections at `$4000` (the former is probably better)
1. allow for randomising section banks instead of putting each section in its own bank

the second one probably isnt as much of an issue as the first, as its _me_ not testing the non-scrambled build..

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.