Commit graph

72 commits

Author SHA1 Message Date
Andrea Odetti
c33ae2b26e Add ability to pass all Registry options via cmd line.
-c Configuration.Printer_Filename=Printer2.txt

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-04 19:58:49 +00:00
Andrea Odetti
5029b91850 Move configuration file to ~/.applewin/applewin.conf
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-03 15:57:12 +00:00
Andrea Odetti
600d6cf00e Print AW version in -h output.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-29 16:39:17 +00:00
Andrea Odetti
8e6fc89384 From AW's master, AppleWin.cpp split.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-27 13:48:53 +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
8c71b946b4 Prefer mean over average.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-15 14:47:51 +00:00
Andrea Odetti
7add40d913 Better logging layout.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-14 20:09:12 +00:00
Andrea Odetti
70969a2d03 Add ability to select SDL driver.
On a Pi3 opengles2 performs better.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-14 11:01:05 +00:00
Andrea Odetti
4840b7b0ac Improve logging diagnostics.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-14 09:14:37 +00:00
Andrea Odetti
169188b2b4 Improve stat logging.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-13 20:12:57 +00:00
Andrea Odetti
67df88d9a2 Fix std calculation.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-13 20:12:01 +00:00
Andrea Odetti
cbe10854b9 Add timers (to see what happens).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-13 15:37:10 +00:00
Andrea Odetti
1588f1cb05 Fix -h for --help.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-13 12:00:42 +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
c7a8c628e4 Changes required from upstream. 2020-11-12 18:43:04 +00:00
Andrea Odetti
7037582907 Allow to turn the circle range of a gamepad to a square (as the Apple ][).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-17 19:19:46 +01:00
Andrea Odetti
a72d19b386 Couple of fixes from upstream AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-12 20:58:32 +01:00
mariofutire@gmail.com
ddea5b139e Add #pragma once.
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:02 +01:00
mariofutire@gmail.com
dab1735a69 Logging / Config replated changes.
sa2 / applen add flag to load qt init file (--qt-ini) (read only for now)
unify logging (--log)

Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:01 +01:00
mariofutire@gmail.com
bc74b5fbfb Implement save-on-exit configuration flag.
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:13:50 +01:00
Andrea Odetti
24621373dd Better way to share data between ncurses and sdl2.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-09 19:13:42 +01:00