1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-17 13:18:05 +11:00
collapseos/emul/hw/sms
Virgil Dupras e1e0676191 emul/hw/sms: add A/B ports and a Genesis pad
This makes the emulator suitable to run the base SMS recipe.
2020-01-10 21:20:44 -05:00
..
.gitignore emul/hw/sms: WIP 2020-01-08 22:06:50 -05:00
Makefile emul/hw/sms: add A/B ports and a Genesis pad 2020-01-10 21:20:44 -05:00
pad.c emul/hw/sms: add A/B ports and a Genesis pad 2020-01-10 21:20:44 -05:00
pad.h emul/hw/sms: add A/B ports and a Genesis pad 2020-01-10 21:20:44 -05:00
port.c emul/hw/sms: add A/B ports and a Genesis pad 2020-01-10 21:20:44 -05:00
port.h emul/hw/sms: add A/B ports and a Genesis pad 2020-01-10 21:20:44 -05:00
README.md emul/hw/sms: add A/B ports and a Genesis pad 2020-01-10 21:20:44 -05:00
sms.c emul/hw/sms: add A/B ports and a Genesis pad 2020-01-10 21:20:44 -05:00
vdp.c emul/hw/sms: WIP 2020-01-08 22:06:50 -05:00
vdp.h emul/hw/sms: WIP 2020-01-08 22:06:50 -05:00

Sega Master System emulator

This emulates a Sega Master system with a monochrome screen and a Genesis pad hooked to port A.

Build

You need xcb and pkg-config to build this. If you have them, run make. You'll get a sms executable.

Usage

Launch the emulator with ./sms /path/to/rom (you can use the binary from the sms recipe.

This will show a window with the screen's content on it. The mappings to the pad are:

  • Arrows
  • Z --> A
  • X --> B
  • C --> C
  • S --> Start

Press ESC to quit.