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:
parent
096bcfe314
commit
17e9351371
5 changed files with 531 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue