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:
Fabien Freling 2015-02-21 17:11:18 +01:00
commit 09f1ffb488
7 changed files with 80 additions and 0 deletions

4
src/oboy.ml Normal file
View 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)