annotate default.cfg @ 1202:a6ae693974e0

Allow toggling full screen mode at runtime. Allow resizing the window in windowed mode. Allow specifying the aspect ratio in the config file.
author Michael Pavone <pavone@retrodev.com>
date Thu, 26 Jan 2017 00:55:02 -0800
parents 6a4503fad67e
children d7be5b6e0a8d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
1
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
2 bindings {
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
3 keys {
431
440efd7d27a9 Read key bindings from config file
Mike Pavone <pavone@retrodev.com>
parents: 430
diff changeset
4 up gamepads.1.up
440efd7d27a9 Read key bindings from config file
Mike Pavone <pavone@retrodev.com>
parents: 430
diff changeset
5 down gamepads.1.down
440efd7d27a9 Read key bindings from config file
Mike Pavone <pavone@retrodev.com>
parents: 430
diff changeset
6 left gamepads.1.left
440efd7d27a9 Read key bindings from config file
Mike Pavone <pavone@retrodev.com>
parents: 430
diff changeset
7 right gamepads.1.right
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
8 a gamepads.1.a
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
9 s gamepads.1.b
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
10 d gamepads.1.c
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
11 q gamepads.1.x
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
12 w gamepads.1.y
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
13 e gamepads.1.z
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
14 f gamepads.1.mode
431
440efd7d27a9 Read key bindings from config file
Mike Pavone <pavone@retrodev.com>
parents: 430
diff changeset
15 enter gamepads.1.start
451
b7c3b2d22858 Added support for saving savestates. Added gst savestate format test harness
Mike Pavone <pavone@retrodev.com>
parents: 445
diff changeset
16
916
20c464dbae8f Finished implementation of mouse capture mode
Michael Pavone <pavone@retrodev.com>
parents: 907
diff changeset
17 r ui.release_mouse
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
18 [ ui.vdp_debug_mode
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
19 ] ui.vdp_debug_pal
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
20 u ui.enter_debugger
444
cc754a309ead Add fullscreen support and add a keybinding for exiting the emulator
Mike Pavone <pavone@retrodev.com>
parents: 431
diff changeset
21 esc ui.exit
468
949c7d875693 Added README file
Mike Pavone <pavone@retrodev.com>
parents: 451
diff changeset
22 ` ui.save_state
483
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
23 0 ui.set_speed.0
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
24 1 ui.set_speed.1
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
25 2 ui.set_speed.2
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
26 3 ui.set_speed.3
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
27 4 ui.set_speed.4
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
28 5 ui.set_speed.5
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
29 6 ui.set_speed.6
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
30 7 ui.set_speed.7
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
31 = ui.next_speed
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
32 - ui.prev_speed
1202
a6ae693974e0 Allow toggling full screen mode at runtime. Allow resizing the window in windowed mode. Allow specifying the aspect ratio in the config file.
Michael Pavone <pavone@retrodev.com>
parents: 1187
diff changeset
33 f11 ui.toggle_fullscreen
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
34 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
35 pads {
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
36 0 {
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
37 dpads {
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
38 0 {
881
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
39 up gamepads.1.up
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
40 down gamepads.1.down
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
41 left gamepads.1.left
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
42 right gamepads.1.right
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
43 }
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
44 }
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
45 buttons {
1187
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
46 a gamepads.1.a
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
47 b gamepads.1.b
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
48 rightshoulder gamepads.1.c
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
49 x gamepads.1.x
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
50 y gamepads.1.y
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
51 leftshoulder gamepads.1.z
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
52 back gamepads.1.mode
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
53 start gamepads.1.start
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
54 guide ui.exit
881
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
55 }
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
56 }
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
57 1 {
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
58 dpads {
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
59 0 {
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
60 up gamepads.2.up
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
61 down gamepads.2.down
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
62 left gamepads.2.left
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
63 right gamepads.2.right
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
64 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
65 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
66 buttons {
1187
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
67 #this is exactly the same mapping as above, but with PS4 style names
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
68 cross gamepads.2.a
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
69 circle gamepads.2.b
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
70 r1 gamepads.2.c
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
71 square gamepads.2.x
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
72 triangle gamepads.2.y
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
73 l1 gamepads.2.z
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
74 share gamepads.2.mode
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
75 options gamepads.2.start
6a4503fad67e Initial support for using SDL2 game controller mapping functionality
Michael Pavone <pavone@retrodev.com>
parents: 1184
diff changeset
76 guide ui.exit
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
77 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
78 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
79 }
907
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
80 mice {
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
81 0 {
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
82 motion mouse.1.motion
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
83 buttons {
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
84 1 mouse.1.left
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
85 2 mouse.1.middle
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
86 3 mouse.1.right
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
87 4 mouse.1.start
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
88 }
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
89 }
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
90 #having the second host mouse also mapped to the first emulated
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
91 #mouse is useful for laptop users with an external mouse
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
92 1 {
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
93 motion mouse.1.motion
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
94 buttons {
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
95 1 mouse.1.left
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
96 2 mouse.1.middle
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
97 3 mouse.1.right
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
98 4 mouse.1.start
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
99 }
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
100 }
b5d35222047e Mega mouse support is mostly done
Michael Pavone <pavone@retrodev.com>
parents: 881
diff changeset
101 }
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
102 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
103
645
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
104 io {
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
105 devices {
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
106 1 gamepad6.1
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
107 2 gamepad6.2
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
108 }
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
109 }
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
110
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
111 video {
1202
a6ae693974e0 Allow toggling full screen mode at runtime. Allow resizing the window in windowed mode. Allow specifying the aspect ratio in the config file.
Michael Pavone <pavone@retrodev.com>
parents: 1187
diff changeset
112 #special value "stretch" will cause aspect to match window aspect ratio
a6ae693974e0 Allow toggling full screen mode at runtime. Allow resizing the window in windowed mode. Allow specifying the aspect ratio in the config file.
Michael Pavone <pavone@retrodev.com>
parents: 1187
diff changeset
113 aspect 4:3
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
114 width 640
498
51bf87f76d15 Pull shader file names from config file.
Mike Pavone <pavone@retrodev.com>
parents: 483
diff changeset
115 vertex_shader default.v.glsl
51bf87f76d15 Pull shader file names from config file.
Mike Pavone <pavone@retrodev.com>
parents: 483
diff changeset
116 fragment_shader default.f.glsl
1004
fc000f245cc8 Set vsync state based on config file rather than just using whatever the system decides for us.
Michael Pavone <pavone@retrodev.com>
parents: 1003
diff changeset
117 scanlines off
fc000f245cc8 Set vsync state based on config file rather than just using whatever the system decides for us.
Michael Pavone <pavone@retrodev.com>
parents: 1003
diff changeset
118 vsync off
1017
216fa63749b3 Added documentation for lock-on support and a fullscreen config option.
Michael Pavone <pavone@retrodev.com>
parents: 1005
diff changeset
119 fullscreen off
1184
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
120 ntsc {
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
121 overscan {
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
122 #these values will result in square pixels in H40 mode
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
123 top 2
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
124 bottom 1
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
125 #if you want to completely hide the border instead
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
126 #comment out those two lines and uncomment these
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
127 #top 11
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
128 #bottom 8
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
129 }
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
130 }
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
131 pal {
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
132 overscan {
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
133 #these values will produce the same size border in V30 mode
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
134 #as the default NTSC settings will produce in V24 mode
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
135 #this results in a slightly vertically squished picture
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
136 #which is probably approximately correct on a properly calibrated TV
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
137 top 21
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
138 bottom 17
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
139 #for square pixels and zero border in V30 mode
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
140 #coment out those two lines and uncomment these
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
141 #top 30
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
142 #bottom 24
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
143 }
b1147418254a Overscan is now configurable
Michael Pavone <pavone@retrodev.com>
parents: 1017
diff changeset
144 }
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
145 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
146
445
80a9527c812c Add config values for audio sample rate and buffer size
Mike Pavone <pavone@retrodev.com>
parents: 444
diff changeset
147 audio {
80a9527c812c Add config values for audio sample rate and buffer size
Mike Pavone <pavone@retrodev.com>
parents: 444
diff changeset
148 rate 48000
80a9527c812c Add config values for audio sample rate and buffer size
Mike Pavone <pavone@retrodev.com>
parents: 444
diff changeset
149 buffer 512
1002
8d032a368dd5 Made low pass filter frequency configurable
Michael Pavone <pavone@retrodev.com>
parents: 948
diff changeset
150 lowpass_cutoff 3390
445
80a9527c812c Add config values for audio sample rate and buffer size
Mike Pavone <pavone@retrodev.com>
parents: 444
diff changeset
151 }
80a9527c812c Add config values for audio sample rate and buffer size
Mike Pavone <pavone@retrodev.com>
parents: 444
diff changeset
152
483
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
153 clocks {
948
f87522554d7b Allow changing the 68K clock divider in the config file
Michael Pavone <pavone@retrodev.com>
parents: 916
diff changeset
154 m68k_divider 7
785
0e5f14d9a579 Prep for 0.3.0 release
Michael Pavone <pavone@retrodev.com>
parents: 645
diff changeset
155 max_cycles 3420
483
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
156 speeds {
1005
580a806aef6a Allow overriding speed 0. May be useful for people that want to use vsync
Michael Pavone <pavone@retrodev.com>
parents: 1004
diff changeset
157 0 100
483
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
158 1 150
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
159 2 200
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
160 3 300
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
161 4 400
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
162 5 25
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
163 6 50
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
164 7 75
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
165 }
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
166 }
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
167
874
b6842dfb8edf ROM is now run after being selected in menu. Initial path for menu is read from config file.
Michael Pavone <pavone@retrodev.com>
parents: 785
diff changeset
168 ui {
b6842dfb8edf ROM is now run after being selected in menu. Initial path for menu is read from config file.
Michael Pavone <pavone@retrodev.com>
parents: 785
diff changeset
169 rom menu.bin
b6842dfb8edf ROM is now run after being selected in menu. Initial path for menu is read from config file.
Michael Pavone <pavone@retrodev.com>
parents: 785
diff changeset
170 }
b6842dfb8edf ROM is now run after being selected in menu. Initial path for menu is read from config file.
Michael Pavone <pavone@retrodev.com>
parents: 785
diff changeset
171
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
172 default_region U
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
173