Update README.
This commit is contained in:
parent
b611dfdd49
commit
5d2d1ca2da
14
README.md
14
README.md
|
@ -2,12 +2,16 @@
|
||||||
|
|
||||||
OBoy is a Game Boy emulator written in OCaml.
|
OBoy is a Game Boy emulator written in OCaml.
|
||||||
|
|
||||||
This project explores the internals of the Game Boy, documenting it along the
|
This project explores the internals of the Game Boy, documenting it along the way.
|
||||||
way.
|
|
||||||
It is also an experiment of writing a low-level program in functional language.
|
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/)
|
||||||
|
|
|
@ -32,7 +32,7 @@ let get_mem_bank mem addr =
|
||||||
| x when x < 0xFF80 -> mem.io, x - 0xFF00
|
| x when x < 0xFF80 -> mem.io, x - 0xFF00
|
||||||
| x when x < 0xFFFF -> mem.hram, x - 0xFF80
|
| x when x < 0xFFFF -> mem.hram, x - 0xFF80
|
||||||
| 0xFFFF -> mem.interrupt, 0
|
| 0xFFFF -> mem.interrupt, 0
|
||||||
| x -> eprintf "Memory access 0x%08X\n" x;
|
| x -> eprintf "Memory access 0x%06X\n" x;
|
||||||
failwith "Invalid memory range."
|
failwith "Invalid memory range."
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue