some instructions have code and tests
This commit is contained in:
1 parent
9e0e8b5910
commit
d97774e97b
4 files changed
+188
-13
No files matched your search
@@ -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