An emulator, assembler, and disassembler for the Sega Game Gear
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.4 KiB

10 years ago
10 years ago
10 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. crater
  2. ======
  3. **crater** is an emulator for the [Sega Game Gear][game gear], written in C.
  4. [game gear]: https://en.wikipedia.org/wiki/Sega_Game_Gear
  5. Why?
  6. ----
  7. While the internet is full of emulators for retro game systems, writing one is
  8. nevertheless a fun learning project.
  9. Crater is named after [31 Crateris][crateris], a star that was – for a short
  10. time in 1974 – misidentified as [a moon of Mercury][moon]. Mercury was Sega's
  11. codename for the Game Gear during development.
  12. [crateris]: http://www.astrostudio.org/xhip.php?hip=58587
  13. [moon]: https://en.wikipedia.org/wiki/Mercury%27s_moon
  14. Installing
  15. ----------
  16. Only OS X and Linux are tested. You'll need a decent compiler that supports C11
  17. (gcc, clang) and SDL 2. Using Homebrew, you can `brew install sdl2`; using apt,
  18. you can `apt-get install libsdl2-dev`.
  19. Run `make` to create `./crater`. To build the development version with debug
  20. symbols (they can exist simultaneously), run `make DEBUG=1`, which creates
  21. `./crater-dev`.
  22. Usage
  23. -----
  24. Running `./crater` without arguments will display a list of ROM images located
  25. in the `roms/` directory, and then ask the user to pick one, or enter their own
  26. ROM path. You can provide a path directly with `./crater path/to/rom`.
  27. Add or symlink ROMs to `roms/` at your leisure. Note that they should end in
  28. `.gg` or `.bin`.
  29. `./crater -h` gives (fairly basic) command-line usage, and `./crater -v` gives
  30. the current version.