-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchip8.6
39 lines (39 loc) · 886 Bytes
/
chip8.6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.Dd $Mdocdate$
.Dt CHIP8 6
.Os
.Sh NAME
.Nm chip8
.Nd a simple CHIP-8 system emulator
.Sh SYNOPSIS
.Nm chip8
.Ar game
.Sh DESCRIPTION
The game
.Nm
plays a CHIP-8 ROM. It will appear in its own window.
.Sh CONTROLS
CHIP-8 uses a 16 key keypad that does not correspond to the way a normal
keyboard is layed out. The keys are the hexedecimal digits (0-9, A-F), and
layed out as follows:
.Bl -column
.It C Ta D Ta E Ta F
.It 8 Ta 9 Ta A Ta B
.It 4 Ta 5 Ta 6 Ta 7
.It 0 Ta 1 Ta 2 Ta 3
.El
These are mapped to the rightmost 16 keys on the standard QWERTY keyboard:
.Bl -column
.It 1 Ta 2 Ta 3 Ta 4
.It Q Ta W Ta E Ta R
.It A Ta S Ta D Ta F
.It Z Ta X Ta C Ta V
.El
Unfortunately, this is hardcoded at compile time.
.Sh SEE ALSO
.Xr intro 6
.Sh AUTHORS
This
.Nm
emulator implementation was written by Dylan Katz.
.Sh CAVEATS
This does not ship with any binaries. One may find them on the web.