Read Nintendo checksum in cartridge header.
This first commit parses the ROM to extract the Nintendo Logo and display it on stdout.
This commit is contained in:
commit
09f1ffb488
7 changed files with 80 additions and 0 deletions
4
src/oboy.ml
Normal file
4
src/oboy.ml
Normal file
|
@ -0,0 +1,4 @@
|
|||
let () =
|
||||
if Array.length Sys.argv < 2
|
||||
then print_endline "Please specify a ROM."
|
||||
else Cartridge.read_cartridge Sys.argv.(1)
|
Loading…
Add table
Add a link
Reference in a new issue