You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new routines to query game devices and poll from them.
Implement comparator to joystick voltages.
Fix reversed controls, add CA2 auto-transition when bit 4 is zero.
Add ability to set joystick via config file
Finally, you will need to add yourself to the `input` group so that the emulator can read
107
+
joystick information:
108
+
109
+
```bash
110
+
sudo usermod -a -G input <your username>
111
+
```
112
+
113
+
You will need to end your current session and restart in order for the group information
114
+
to be updated. In some cases, you may need to reboot for the group change to take effect.
115
+
116
+
### Windows
117
+
118
+
_Under construction._
119
+
120
+
## Compiling From Source
121
+
122
+
_Note this section is optional - this is only if you want to compile the project
123
+
yourself from source code._
124
+
125
+
If you want to build the emulator from source code, you will need a copy of the
126
+
Java Development Kit (JDK) version 17 or greater
127
+
installed in to compile the JAR file. For most Linux distributions
128
+
there is likely an `openjdk-17-jdk` package that will do this for you automatically.
129
+
On Ubuntu and Debian based systems, this is typically:
130
+
131
+
```bash
132
+
sudo apt update
133
+
sudo apt install openjdk-17-jdk
134
+
```
135
+
136
+
For Windows, I recommend using Eclipse Temurin (formerly AdoptJDK) as the software
137
+
is licensed under the GNU license version 2 with classpath exception. The latest
138
+
JDK builds are available at [https://adoptium.net/en-GB/temurin/releases](https://adoptium.net/en-GB/temurin/releases)
139
+
(make sure you select _JDK_ as the type you wish to download).
63
140
64
141
To build the project, switch to the root of the source directory, and type:
65
142
@@ -73,16 +150,14 @@ On Windows, switch to the root of the source directory, and type:
73
150
gradlew.bat build
74
151
```
75
152
76
-
The compiled Jar file will be placed in the `build/libs` directory.
153
+
The compiled Jar file will be placed in the `build/libs` directory. Note that
154
+
for some components such as joystick detection and control to work correctly,
155
+
operating-specific steps may be required. See the _Requirements_ section above
156
+
to install necessary sub-systems.
77
157
78
158
79
159
## Running
80
160
81
-
For the emulator to run, you will need to have the Java 8 Runtime Environment (JRE)
82
-
installed on your computer. See [Oracle's Java SE Runtime Environment Download](https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html)
83
-
page for more information on installing the JRE. Alternatively, you can
84
-
use [OpenJDK](https://openjdk.java.net/install/).
85
-
86
161
Simply double-clicking the jar file will start the emulator running. By
87
162
default, the emulator will be in paused mode until you attach a system
88
163
ROM to it. You can do so by clicking *ROM*, *Load System ROM*. You can
0 commit comments