some cleaning up
This commit is contained in:
parent
9bacd1d28f
commit
86a72fc2ea
11
src/main.rs
11
src/main.rs
|
@ -54,16 +54,5 @@ fn main() -> std::io::Result<()> {
|
||||||
let mut outfile = File::create("./cozette.bin")?;
|
let mut outfile = File::create("./cozette.bin")?;
|
||||||
outfile.set_len(0xFFFF)?;
|
outfile.set_len(0xFFFF)?;
|
||||||
outfile.write_all(&reordered)?;
|
outfile.write_all(&reordered)?;
|
||||||
//for byte in reordered.iter() {
|
|
||||||
// for i in 0..8 {
|
|
||||||
// // character number + row offset & bitmask = pixel
|
|
||||||
// if byte & 0x80 >> i > 0 {
|
|
||||||
// print!("█");
|
|
||||||
// } else {
|
|
||||||
// print!(" ");
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// println!("");
|
|
||||||
//}
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue