Skip to content

update bg2 fix. - #402

Merged
blkerby merged 1 commit into
blkerby:mainfrom
nn357:bg_2_fix_2_typewrite_backup
Nov 4, 2026
Merged

blkerby merged 1 commit into
blkerby:mainfrom
nn357:bg_2_fix_2_typewrite_backup

Conversation

@nn357

@nn357 nn357 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

The typewriter text is written to BG2 VRAM directly.

The previous patch did away with the BG2 backup / restore completely to maximise free ram and save a 100 bytes in bank 82.

Instead we only backup / restore the rows affected by the typewriter text during pause / unpause.

This works with all variants of the escape text and the BG2 backup / restore is substantially smaller at 194 bytes, leaving the remaining 3.8k of ram free and unused.

@blkerby
blkerby merged commit 3bc6901 into blkerby:main Nov 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants