some instructions have code and tests
This commit is contained in:
@@ -9,7 +9,7 @@ fn main() {
|
||||
let mut array: Box<[u8; SIZE_32KB]> = slice.try_into().expect("Unable to make rom in ram");
|
||||
|
||||
array[0] = 0xa9; // LDA #$ab
|
||||
array[1] = 0xab;
|
||||
array[1] = 0xab; // 1010 1011
|
||||
|
||||
// write the rom to disk
|
||||
fs::write("outputfile.bin", array.as_slice());
|
||||
|
||||
Reference in New Issue
Block a user