Commit graph

2454 commits

Author SHA1 Message Date
Andrea Odetti
254ea8dbf6 Build libretro on travis.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 19:39:22 +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
66b62ecca1 Update linux.md 2020-12-12 18:46:56 +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
f6224a5a3b Merge remote-tracking branch 'upstream/master' 2020-12-11 08:18:18 +00:00
tomcw
50a0e81941 Rename ms_pWorkBuffer to m_pWorkBuffer (as it's no longer static) 2020-12-10 21:28:12 +00:00
Andrea
d2a34e1f91
Remove VirtualAlloc, VirtualFree & ZeroMemory. (PR #884)
. Allocation in Memory.cpp: keep VirtualAlloc of size=64KiB (alignment=64KiB) to ease debugging.
2020-12-10 21:08:15 +00:00
tomcw
86851d86e5 YamlHelper: minor change 2020-12-09 20:31:21 +00:00
Andrea
8304c5738f
Fix memory leaks in Yaml parsing (PR #886) 2020-12-09 20:24:36 +00:00
tomcw
65b8f5fdbf CardManager: small refactor 2020-12-09 20:19:49 +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
4fc2ee18f2 Merge remote-tracking branch 'upstream/master' 2020-12-06 21:08:47 +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
0d741d0b9f
Fix memory leak in CardManager (PR #885) 2020-12-06 18:43:18 +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
74cb18a7a1 Remove most false positive valgrind results.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-06 13:28:29 +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
eb55d011ca Mirror AW where TestCPU6502 inlcudes a .cpp from source.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-05 20:52:27 +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
3dd23a7034
Update linux.md 2020-12-04 21:03:57 +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
f867dc0479 Make the code more similar to AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 18:44:31 +00:00
Andrea
8cd74adc21
Remove travis amd64 as it seems to hang. 2020-11-30 18:20:54 +00:00
Andrea
3f5b2bd396
Update .travis.yml 2020-11-30 16:00:57 +00:00
Andrea
9164611a96
Update .travis.yml 2020-11-30 15:59:11 +00:00
Andrea Odetti
1f6538f0b0 Fix build permission.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 15:49:48 +00:00
Andrea
131120d6fc
Update .travis.yml 2020-11-30 15:44:15 +00:00
Andrea Odetti
2b6093861c Add travis integration.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 15:29:57 +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
299c907be6 Merge remote-tracking branch 'upstream/master' 2020-11-30 09:28:29 +00:00
Andrea Odetti
56a095f0e2 Merge branch 'reset_linux' 2020-11-30 09:27:02 +00:00
Andrea Odetti
586493e8c6 Small fixes to the readme.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 09:26:27 +00:00
Andrea Odetti
e43a08c5a1 Merge remote-tracking branch 'origin/reset' 2020-11-30 09:25:19 +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