Andrea Odetti
861c87efd4
Remove pointless getScreenData() and shed some nanoseconds from screen repaint.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 13:38:56 +00:00
Andrea Odetti
a121981e5a
sa2: Add support for --headless and --fixed-speed.
...
Headless will skip the video refresh (and the vsync).
Fixed-Speed will avoid adaptive speed.
Used together, the emulator will go at maximum speed skipping video refresh (useful for profiling).
2020-11-21 15:07:31 +00:00
Andrea Odetti
48146f4c34
Keep track of actual speed to ensure emulated CPU goes at the right speed (and keeps audio on track).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-20 15:32:35 +00:00
Andrea Odetti
f13816262d
Clean up multithreading code and offer it via command line options.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-13 11:51:20 +00:00
Andrea Odetti
314c647daf
more threads
2020-11-12 19:51:45 +00:00
Andrea Odetti
b360d27f22
split
2020-11-12 19:31:35 +00:00
mariofutire@gmail.com
bc029dee97
sa2: make the keyboard "work" (no CTRL-ASCII codes for the time being).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-11 20:16:07 +01:00
mariofutire@gmail.com
1400828452
Use keycode as opposed to scancode.
...
We honour a layout change decided by the user.
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:02 +01:00
mariofutire@gmail.com
aac2c5139a
Split event handling and "video" state to separate class.
...
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:02 +01:00