Andrea Odetti
cbf9b078c6
sa2: remove multithreading.
...
Obsolete with recent Pi4 hardware, and even with Pi3, advantage is little.
2021-03-21 12:08:30 +00:00
Andrea Odetti
dd6455ceb9
Add 6502 disassembler.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-07 20:32:24 +00:00
Andrea Odetti
3b917e93be
common2: add namespace and reformat everything with space over tabs.
...
This makes it "possible" to use other editors (than emacs).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:04:50 +00:00
Andrea Odetti
3e5a6aa520
Extend geometry arg to WxH(+X+Y).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-20 15:21:53 +00:00
Andrea Odetti
a75833847e
Add cmd line option to switch off vsync.
...
Useful to profile.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-13 13:09:55 +00:00
Andrea Odetti
d912026f3e
Add options to specify SDL window size via cmd line arguments.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-13 12:56:06 +00:00
Andrea Odetti
7865fc3457
First meaningful usage of ImGui features.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-07 16:10:54 +00:00
Andrea Odetti
4ae655caab
Fix a few issues reported by clang.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-07 13:46:50 +00:00
Andrea Odetti
989410c17d
Integrate Dear ImGui with SDL to reduce code duplication.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 16:55:08 +00:00
Andrea Odetti
ea0a3cb5ba
Fix string comparison in cmake.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-04 10:12:51 +00:00
Andrea Odetti
5594c4fbc8
Fix for in-place builds.
...
Which are not recommended anyway.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-03 18:34:53 +00:00
Andrea Odetti
cc55d9e681
Modern syntax: virtual -> override.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-31 13:55:43 +00:00
Andrea Odetti
be1772bc37
Use RAII pattern to initialise and clear AppleWin emulator.
...
Plays better with exceptions.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-31 13:26:23 +00:00
Andrea Odetti
f61e73b639
Move resources, bitmaps and messageboxes into Frames.
...
And remove a few windows.h interface functions used before.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-20 19:07:18 +00:00
Andrea Odetti
620fa10454
Remove redundant CPU check and data.h / .cpp.
2021-01-16 16:26:43 +00:00
Andrea Odetti
ad56874b0f
Fix missing call to FrameBase::Destroy().
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-14 14:39:37 +00:00
Andrea Odetti
4e357b59bd
Updates from AW's master.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-13 13:09:03 +00:00
Andrea Odetti
8e36c2c7b3
Add header files to cmake project.
...
So they appear in QtCreator.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-12 12:52:26 +00:00
Andrea Odetti
0aec7061c3
Incorporate changes from AW's master.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-03 18:44:44 +00:00
Andrea Odetti
545c175a76
Add missing include for consistency.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-02 21:08:55 +00:00
Andrea Odetti
ed27650368
Allow users to specify Paddle device for applen.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-31 14:34:00 +00:00
Andrea Odetti
247b51b2ab
Integration of GetVideo().
...
Part 1.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 19:42:04 +00:00
Andrea Odetti
2c9e4561df
Share some more registry-related code.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 11:35:58 +00:00
Andrea Odetti
7d6439fefd
Introduce a LinuxFrame.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-27 20:25:42 +00:00
Andrea Odetti
675d1316a9
Add a Registry interface to for more flexibility on case by case usage.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-27 19:43:35 +00:00
Andrea Odetti
175491f250
libretro core: fix (most?) audio glitches.
...
It was reading a number of bytes not multiple of "2 * channels".
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-26 19:28:51 +00:00
Andrea Odetti
2fecd3bd1c
Rename folder qapple -> qt for consistency.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-23 19:23:13 +00:00
Andrea Odetti
5de5af3fe8
Move all initialisation for (sa2, applen, retro2) to common2.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-13 19:47:30 +00:00
Andrea Odetti
f28a806253
Fix creation of config dir.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-13 17:57:34 +00:00
Andrea Odetti
40b838aeb9
Temporary step to load resources in libretro.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:06 +00:00
Andrea Odetti
c176b3d2ff
Add skeleton of a libretro core for AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:45:58 +00:00
Andrea Odetti
1d07215f78
Add ability to Save/Load Snapshot F11/F12.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-06 18:03:41 +00:00
Andrea Odetti
887e88f89c
Fix uninitialised value.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-05 20:34:21 +00:00
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