Andrea Odetti
986cf9b896
Make size of hi-res for applen work on Pi3.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-15 17:37:21 +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
5c7eaea49e
applen: remove unused left buffer.
...
Move keys to ALT to resize the window.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-13 18:52:39 +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
758e231565
Remove wrong file.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 20:07:17 +00:00
Andrea Odetti
449e3d2d68
Fix cmake config.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 19:45:59 +00:00
Andrea Odetti
c2f4d8ed34
Bite the bullet and flip the video buffer in software.
...
Until a better solution is found.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 19:27:28 +00:00
Andrea Odetti
e461847a49
libretro: add support for Open / Solid Apple keys.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 19:25:43 +00:00
Andrea Odetti
ab655cda40
Move keyboard to a callback system.
...
The "switch" is the same as the SDL version.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:47:15 +00:00
Andrea Odetti
94b7d66096
Remove hard-coded libretro path.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:56 +00:00
Andrea Odetti
54232b988b
Accept a few more disk types.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:56 +00:00
Andrea Odetti
120cb8be50
It is not clear to me how the Input API works.
...
This is copied (without understanding) from other examples.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:56 +00:00
Andrea Odetti
cec0c10286
libretro: first "working" versions.
...
draws video upside down
accepts keys (O crashes, and others have overloaded meaning)
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:56 +00:00
Andrea Odetti
b95bcadfe9
Fix bitmap loading.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:56 +00:00
Andrea Odetti
7f441060f2
Some change to better structure the code.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:53 +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
edb93cbaa0
Integrate memory changes from AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-11 08:28:16 +00:00
Andrea Odetti
fb708ca7b8
Add ability to disable main loop.
...
Useful to validate with valgrind.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-07 13:13:42 +00:00
Andrea Odetti
81664c60aa
Add support for Pause / Restart key.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-06 19:53:35 +00:00
Andrea Odetti
092a74f5b3
Add F11 Save State confirmation as it is too easy to confuse with F12.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-06 18:28:17 +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
6cb2e0bbb0
Fix VideoDestroy.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-06 13:27:43 +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
9a41db13d8
Update README.md
2020-12-04 20:02:14 +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
ad1382ec36
Merge remote-tracking branch 'origin/master'
2020-11-30 13:46:42 +00:00
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
37298f0d5e
Update README.md
2020-11-30 09:52:25 +00:00
Andrea Odetti
56a095f0e2
Merge branch 'reset_linux'
2020-11-30 09:27:02 +00:00
Andrea Odetti
dc030fe607
Change F2 like AW: reset.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 09:23:22 +00:00
Andrea Odetti
2b3c189b07
Small changes to start - stop.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 09:22:35 +00:00
Andrea
74e7e1a00f
Create README.md
2020-11-29 19:58:03 +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
a5734cac10
Use GetAppleWindowTitle() from AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-29 16:37:45 +00:00
Andrea Odetti
338719d82b
Make VideoBenchmark include the video redraw (without vsync).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-28 10:01:49 +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
9cd8b22647
Use Frame.cpp from upstream.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-24 07:51:50 +00:00
Andrea Odetti
cadb72442a
Use Video.cpp "as is".
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-22 09:36:28 +00:00
Andrea Odetti
e883e1b38c
Add support for video benchmark.
...
Screen repaint is not included (as it would force vsync), so it stops at the texture update.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-21 20:13: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
7067ad150e
sa2: Make window resizable.
...
Ctrl-F6 will still loop between 1x ans 2x sizes.
2020-11-21 09:42:46 +00:00
Andrea Odetti
b59e7605e9
sa2: add application icon.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-21 09:35:15 +00:00
Andrea Odetti
dec8b54a9e
Write more accurate audio diagnostics.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-21 09:15:46 +00:00
Andrea Odetti
6d4dd11f06
Audio: remove useless workaround 1/3 1/4 and initial silence.
...
Let AW's adaptive algorithm do it all.
Just be careful not writing too much to SDL as it would unsettle AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-20 20:23:10 +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
e58b547d59
Fix actual vs expected clock.
2020-11-14 20:42:27 +00:00
Andrea Odetti
7add40d913
Better logging layout.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-14 20:09:12 +00:00