feat(bios): decode LZ77 streams through ARM instructions

Add byte and buffered-halfword output, overlapping references, argument diagnostics, and a reusable output routine.
This commit is contained in:
0xrsydn 2026-10-05 12:55:35 +07:00
commit 17e9351371
5 changed files with 531 additions and 0 deletions

View file

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