scrollingControl Driver

Last updated: · Active Development — Hardware-Tested Prototype
Stage 4 · Banked map reader and driver integration
Stage 4 will connect the banked map reader to the scrolling driver. For a tile lookup the machine-code reader must save the current MMU mapping, map the required part of its allocated bank, read the tile and restore the caller’s mapping. The driver must keep ownership for as long as the map is live and release it on exit or error.
Compare the integrated reader against the fixed-map reference. Exercise both sides of the bank boundary, all four world corners and repeated loads and exits. Measure scrolling with all camera modes at 50 Hz and 60 Hz before drawing conclusions about performance.
Preserve the B4C4A reference
Keep the accepted engine, map packs and expected results available while investigating memory changes. Repeat the 100×100, 80×64 and 64×48 tests, edge and corner traversal, diagonal input, all camera modes and normal exit to catch regressions.
Finalise the interface and recovery paths
Define the public NextBASIC API, resource ownership, error reporting and deliberate cleanup. Strengthen unexpected-interruption recovery without silently changing CPU speed or damaging unrelated driver state.
Verify cooperation before widening the feature set
Test alongside playerControl, shipControl and other resident drivers as suitable implementations become available. Retain the tested 50/60 Hz behaviour and expand hardware coverage before release.
Build terrain and environmental features in stages
Add configurable geometry, slopes, environmental effects and optional parallax as independently testable work. Keep the same world-coordinate model and the division between world information, entity movement and BASIC game rules.
Not yet started: final release preparation
Final V1.0 packaging and publication of the driver tutorial and release documentation have not started. A final public API, broader coexistence checks, interruption recovery and comprehensive release-level hardware testing must precede release. Existing prototype tests do not replace that acceptance work.