Commit graph

571 commits

Author SHA1 Message Date
Andrea Odetti
bbb5783fa6 Merge native support for Uthernet II from AppleWin.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-27 20:42:40 +00:00
Andrea Odetti
3d247e6ee9 libwindows: implement strncpy_s from Wine.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-27 14:15:38 +00:00
Andrea Odetti
fa876ccdd9 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-20 13:58:19 +00:00
Andrea Odetti
d101a6c200 Fix format for UINT64.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-19 15:35:56 +00:00
Andrea Odetti
c3fb1a7713 Update to AW's master.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-15 18:56:11 +00:00
Andrea Odetti
0419c2ca80 Update AW and ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-06 11:44:56 +00:00
Andrea Odetti
71285eebb6 sa2:: update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-30 20:12:17 +00:00
Andrea Odetti
2a908c1889 Expose some printer settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-30 20:10:33 +00:00
Andrea Odetti
4f3c92bee4 sa2: realpath fails if the path does not exist.
Assume the path is absolute (for now).

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-30 18:56:21 +00:00
Andrea Odetti
364cfcbade Debugger: add some more flags & switches.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-16 20:38:49 +00:00
Andrea Odetti
586f094393 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-16 19:17:57 +00:00
Andrea Odetti
d88ab1199d sa2: do not call VideoPresentScreen every Apple ][ frame when in full speed.
But only call it after 16ms wall clock.

Fixes https://github.com/audetto/AppleWin/issues/61

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-11 18:08:27 +00:00
Andrea Odetti
c70377fcaf ImGui: avoid non-reentrant call to VideoPresentScreen().
The debugger (which calls VideoPresentScreen) is execute in immediate mode from VideoPresentScreen.

Is this a design problem?

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-11 17:50:08 +00:00
Andrea Odetti
2abca0c0b2 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-10 15:38:25 +00:00
Andrea Odetti
3348d4420e SaveState: fix some issues in the order of things.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-10 15:38:13 +00:00
Andrea Odetti
c2a255303d Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-04 17:34:16 +00:00
Andrea Odetti
f03c09db76 Separate Frame from Resource folder to support native MacOS port.
Fixes https://github.com/audetto/AppleWin/issues/55

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-03 17:01:22 +00:00
Andrea Odetti
1f1a0f0c3f /proc/self/exe does not exist on MacOS.
Fixes https://github.com/audetto/AppleWin/issues/54

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-03 16:32:46 +00:00
Andrea Odetti
fa60480875 Add support for screenshot in sa2 via Alt-Ins.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-03 16:02:36 +00:00
Andrea Odetti
8de697f3f6 Clean NFrame::FrameRefreshStatus.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-03 16:01:36 +00:00
Andrea
89d9031752
Merge pull request #52 from audetto/cmake
Use cmake native find_package for OpenGL.
2021-12-31 16:30:21 +00:00
Andrea Odetti
d6e9a58a15 applen: add some help with the most important F keys.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-31 15:38:27 +00:00
Andrea Odetti
89842321b8 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-31 14:18:02 +00:00
Andrea Odetti
9006bcf354 Use cmake native find_package for OpenGL.
Could solve https://github.com/audetto/AppleWin/issues/39.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-31 14:06:34 +00:00
Andrea Odetti
86122aa5f5 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-18 16:45:49 +00:00
Andrea Odetti
913081649e Unify exceptions.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-18 16:43:23 +00:00
Andrea Odetti
c758e6884c qapple: patch qapple.pro.
Qt Creator is better at debugging qapple.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-12 19:40:41 +00:00
Andrea Odetti
b80f7c5f50 QApple: fix VidHD.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-12 19:15:40 +00:00
Andrea Odetti
28e5703ab5 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-12 18:31:53 +00:00
Andrea Odetti
6dd4390c0b libretro: update cards.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-11 20:26:38 +00:00
Andrea Odetti
abe7d664c5 Update from AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-11 20:08:47 +00:00
Andrea Odetti
aa7f3277d1 SDL: reset hardware in Begin, not Initialize.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-11 17:14:09 +00:00
Andrea Odetti
36e1c5a135 Move ExpansionCard utility to separate file.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-04 13:36:33 +00:00
Andrea Odetti
b740255979 Fix VidHD card insertion.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-04 12:47:09 +00:00
Andrea Odetti
ad6ca9c940 Move Initialise/Destroy Emulator to LinuxFrame.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-04 12:42:02 +00:00
Andrea Odetti
6e42274033 Uthernet2 as a Card.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-03 19:42:53 +00:00
Andrea Odetti
9439b1b400 Incorporate VidHD fro AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-03 18:46:23 +00:00
Andrea Odetti
0ae58c5815 libretro: include DiscControl in save state.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-30 09:23:33 +00:00
Andrea Odetti
a6eea044af Update 3rd party repos.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-29 20:46:16 +00:00
Andrea Odetti
36ab6a8b4f cmake changes:
1) always build libappleii as static
2) expose OpenGL as a cmake variable
2021-11-29 09:59:34 +00:00
Andrea Odetti
1f1ef6c8a3 libretro: remove poor function.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 19:35:19 +00:00
Andrea Odetti
97c3472e6e libretro: support relative paths in m3u playlists.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 19:18:38 +00:00
Andrea Odetti
e08363f141 libretro: ignore RetroArch request to re-insert the previous image.
The idea is that on a multigame floppy, only the first is bootable.
This seems the most common use case.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 18:52:40 +00:00
Andrea Odetti
24a135e042 libretro: add m3u as supported extension.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 18:51:42 +00:00
Andrea Odetti
76317c2df1 libwindows: a very tiny step towards compilation of libretro with VS.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 18:49:17 +00:00
Andrea Odetti
d46c90a82c libretro: cosmetic changes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 14:52:58 +00:00
Andrea Odetti
a16b2b2d35 More elegant serialisation data structure.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 14:29:16 +00:00
Andrea Odetti
02740cee80 libretro: handle m3u format as gamepath.
Implement retro_set_initial_image.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 14:15:17 +00:00
Andrea Odetti
30dbfad59c libretro: implement retro_reset().
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 13:24:25 +00:00
Andrea Odetti
7037e20c0f libretro: implement save/load state.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-27 21:27:46 +00:00