Commit graph

2471 commits

Author SHA1 Message Date
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
3d10369044 Merge remote-tracking branch 'upstream/master' 2020-12-13 17:59:52 +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
tomcw
469f9ba807 Support disconnecting drives from DiskII Interface card: -d1-disconnected, -d2-disconnected 2020-12-12 20:49:46 +00:00
Andrea Odetti
9dcb33aba5 Remove out of place configuration file.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 20:19:50 +00:00
Andrea
db7e0625bd
Merge pull request #15 from audetto/retro2
Implement a libretro core.
2020-12-12 20:17:01 +00:00
Andrea Odetti
758e231565 Remove wrong file.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 20:07:17 +00:00
TomCh
1e35d4448c
Improved support for latch when drive is empty or disconnected (#864) (PR #870)
. NB. Not hooked up any way to configure the drive as disconnected (nor fixed the GUI to disallow inserting a disk).
2020-12-12 20:05:29 +00:00
Andrea Odetti
a04425bc67 Merge branch 'master' into retro2 2020-12-12 19:57:17 +00:00
Andrea Odetti
62c8b61a6b Integrate upstream changes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 19:57:04 +00:00
Andrea Odetti
1b40c217f4 Merge branch 'applewin' 2020-12-12 19:53:20 +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
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
tomcw
b1b441952b NTSC: removed unused typedefs 2020-12-12 19:17:59 +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
tomcw
954d7c1731 Cmd line: support -fs-height=nnnn starting in Windowed mode. (#876) 2020-12-12 18:23:23 +00:00
tomcw
0ddb1917aa SyncEvents: ensure MB & Mouse have removed their events for a restart 2020-12-12 17:46:36 +00:00
Andrea
30d3269fbf
Remove a few more Win32 memory functions. (PR #888)
CopyMemory, MoveMemory, FillMemory.
2020-12-12 11:09:14 +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