Update README.

master
Fabien Freling 2015-03-24 11:27:25 +01:00
parent b611dfdd49
commit 5d2d1ca2da
2 changed files with 10 additions and 6 deletions

View File

@ -2,12 +2,16 @@
OBoy is a Game Boy emulator written in OCaml.
This project explores the internals of the Game Boy, documenting it along the
way.
This project explores the internals of the Game Boy, documenting it along the way.
It is also an experiment of writing a low-level program in functional language.
# References
You can find more information on [](http://www.ffreling.com/projects/oboy/)
The main reference so far is the Pan Docs.
## References
+ [PanDocs (self-hosted copy)](http://www.ffreling.com/projects/oboy/pandocs.html)
+ [GameBoy Emulation in JavaScript](http://imrannazar.com/GameBoy-Emulation-in-JavaScript:-The-CPU)
+ [Opcode Map for the Gameboy-Z80](http://imrannazar.com/GameBoy-Z80-Opcode-Map)
You can find a copy here: [http://bgb.bircd.org/pandocs.htm](http://bgb.bircd.org/pandocs.htm)
## Acknowledgements
+ Pan/ATX, nocash et al for the PanDocs
+ [Imran Nazar](http://imrannazar.com/)

View File

@ -32,7 +32,7 @@ let get_mem_bank mem addr =
| x when x < 0xFF80 -> mem.io, x - 0xFF00
| x when x < 0xFFFF -> mem.hram, x - 0xFF80
| 0xFFFF -> mem.interrupt, 0
| x -> eprintf "Memory access 0x%08X\n" x;
| x -> eprintf "Memory access 0x%06X\n" x;
failwith "Invalid memory range."