feat(bios): decode run-length streams through ARM instructions

Add RLUnCompWram and RLUnCompVram with block bounds, word-independent buffering, and device-progress tests.
This commit is contained in:
0xrsydn 2026-10-05 12:55:35 +07:00
commit 5984551784
4 changed files with 466 additions and 0 deletions

View file

@ -16,6 +16,8 @@ const ROM_DATA: u32 = ROM_START + 13 * 4;
mod arithmetic;
#[path = "bios/lz77.rs"]
mod lz77;
#[path = "bios/run_length.rs"]
mod run_length;
fn words(code: &[u32]) -> Vec<u8> {
code.iter().flat_map(|word| word.to_le_bytes()).collect()