collapseos/emul/hw/sms
2020-10-24 11:18:48 -04:00
..
.gitignore
kbd.c emul/sms: add PS/2 keyboard emulation 2020-10-24 11:18:48 -04:00
kbd.h emul/sms: add PS/2 keyboard emulation 2020-10-24 11:18:48 -04:00
Makefile emul/sms: add PS/2 keyboard emulation 2020-10-24 11:18:48 -04: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/sms: add PS/2 keyboard emulation 2020-10-24 11:18:48 -04:00
sms.c emul/sms: add PS/2 keyboard emulation 2020-10-24 11:18:48 -04:00
vdp.c emul/sms: don't hardcode name table offset 2020-10-12 21:11:46 -04:00
vdp.h

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:

  • W --> Up
  • A --> Left
  • S --> Down
  • D --> Right
  • H --> A
  • J --> B
  • K --> C
  • L --> Start

If your ROM is configured with PS/2 keyboard input, run this emulator with the -k flag to replace SMS pad emulation with keyboard emulation.

In both cases (pad or keyboard), only port A emulation is supported.

Press ESC to quit.