blob: 920a91494d9462f238e39bbd03b2b6ab077e87ed (
plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
bindings {
keys {
up gamepads.1.up
down gamepads.1.down
left gamepads.1.left
right gamepads.1.right
a gamepads.1.a
s gamepads.1.b
d gamepads.1.c
q gamepads.1.x
w gamepads.1.y
e gamepads.1.z
f gamepads.1.mode
enter gamepads.1.start
r ui.release_mouse
[ ui.vdp_debug_mode
] ui.vdp_debug_pal
u ui.enter_debugger
esc ui.exit
` ui.save_state
0 ui.set_speed.0
1 ui.set_speed.1
2 ui.set_speed.2
3 ui.set_speed.3
4 ui.set_speed.4
5 ui.set_speed.5
6 ui.set_speed.6
7 ui.set_speed.7
= ui.next_speed
- ui.prev_speed
}
pads {
0 {
dpads {
0 {
up gamepads.1.up
down gamepads.1.down
left gamepads.1.left
right gamepads.1.right
}
}
buttons {
0 gamepads.1.a
1 gamepads.1.b
2 gamepads.1.c
3 gamepads.1.x
4 gamepads.1.y
5 gamepads.1.z
6 gamepads.1.mode
7 gamepads.1.start
}
}
1 {
dpads {
0 {
up gamepads.2.up
down gamepads.2.down
left gamepads.2.left
right gamepads.2.right
}
}
buttons {
0 gamepads.2.a
1 gamepads.2.b
2 gamepads.2.c
3 gamepads.2.x
4 gamepads.2.y
5 gamepads.2.z
6 gamepads.2.mode
7 gamepads.2.start
}
}
}
mice {
0 {
motion mouse.1.motion
buttons {
1 mouse.1.left
2 mouse.1.middle
3 mouse.1.right
4 mouse.1.start
}
}
#having the second host mouse also mapped to the first emulated
#mouse is useful for laptop users with an external mouse
1 {
motion mouse.1.motion
buttons {
1 mouse.1.left
2 mouse.1.middle
3 mouse.1.right
4 mouse.1.start
}
}
}
}
io {
devices {
1 gamepad6.1
2 gamepad6.2
}
}
video {
width 640
vertex_shader default.v.glsl
fragment_shader default.f.glsl
scanlines off
vsync off
fullscreen off
ntsc {
overscan {
#these values will result in square pixels in H40 mode
top 2
bottom 1
#if you want to completely hide the border instead
#comment out those two lines and uncomment these
#top 11
#bottom 8
}
}
pal {
overscan {
#these values will produce the same size border in V30 mode
#as the default NTSC settings will produce in V24 mode
#this results in a slightly vertically squished picture
#which is probably approximately correct on a properly calibrated TV
top 21
bottom 17
#for square pixels and zero border in V30 mode
#coment out those two lines and uncomment these
#top 30
#bottom 24
}
}
}
audio {
rate 48000
buffer 512
lowpass_cutoff 3390
}
clocks {
m68k_divider 7
max_cycles 3420
speeds {
0 100
1 150
2 200
3 300
4 400
5 25
6 50
7 75
}
}
ui {
rom menu.bin
}
default_region U
|