1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-27 03:38:08 +11:00
collapseos/emul/z80/sms
Virgil Dupras efe4b13a4e Move /emul to /emul/z80
I'm planning on adding other subfolders. 8086 for example...
2020-10-24 16:50:22 -04:00
..
.gitignore Move /emul to /emul/z80 2020-10-24 16:50:22 -04:00
kbd.c Move /emul to /emul/z80 2020-10-24 16:50:22 -04:00
kbd.h Move /emul to /emul/z80 2020-10-24 16:50:22 -04:00
Makefile Move /emul to /emul/z80 2020-10-24 16:50:22 -04:00
pad.c Move /emul to /emul/z80 2020-10-24 16:50:22 -04:00
pad.h Move /emul to /emul/z80 2020-10-24 16:50:22 -04:00
port.c Move /emul to /emul/z80 2020-10-24 16:50:22 -04:00
port.h Move /emul to /emul/z80 2020-10-24 16:50:22 -04:00
README.md Move /emul to /emul/z80 2020-10-24 16:50:22 -04:00
sms.c Move /emul to /emul/z80 2020-10-24 16:50:22 -04:00
vdp.c Move /emul to /emul/z80 2020-10-24 16:50:22 -04:00
vdp.h Move /emul to /emul/z80 2020-10-24 16:50:22 -04: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:

  • 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.