collapseos/emul/hw/sms
Virgil Dupras cc8068f8ab emul: don't hardcode X11 keycodes in key handling routines
I thought it wasn't possible with XCB to transform keycodes into
symbols for the current keyboard mapping, but I hadn't looked
hard enough.
2020-10-23 21:33:56 -04:00
..
.gitignore emul/hw/sms: WIP 2020-01-08 22:06:50 -05:00
Makefile Fix makefile build-from-clean-repo glitches 2020-06-30 10:24:12 -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 New kernel module: grid 2020-02-24 20:36:08 -05:00
sms.c emul: don't hardcode X11 keycodes in key handling routines 2020-10-23 21:33:56 -04:00
vdp.c emul/sms: don't hardcode name table offset 2020-10-12 21:11:46 -04: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:

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

Press ESC to quit.