collapseos/emul/sms
Virgil Dupras 329219fa89 emul: copy libz80 directly into tree, pre-generated
libz80 doesn't move much anymore, there not much advantage to the
git module indirection.
2020-10-24 15:42:08 -04:00
..
.gitignore emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
Makefile emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
README.md emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
kbd.c emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
kbd.h emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
pad.c emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
pad.h emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
port.c emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
port.h emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
sms.c emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
vdp.c emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
vdp.h emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00

README.md

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.