Commit graph

169 commits

Author SHA1 Message Date
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
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
34a0baa65e Update 3rd party repos.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-26 21:09:16 +00:00
Andrea Odetti
1a302935f0 Update from AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-13 18:28:42 +00:00
Andrea Odetti
ca05f42721 HD as a Card from AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-07 15:23:10 +00:00
Andrea Odetti
f9c9832262 Fix build.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-01 08:41:43 +00:00
Andrea
783cf233a5
Merge pull request #40 from audetto/geometry
Save load SDL2 window position.
2021-10-30 15:59:02 +01:00
Andrea Odetti
0daa52f9f8 Fix SDLFrame::Destroy().
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 15:54:13 +01:00
Andrea Odetti
e8bcb72771 Save / load window SDL2 window position.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 15:24:54 +01:00
Andrea Odetti
c7bf4f5a39 Split registry from Initialisation to make is usable sooner.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 15:24:06 +01:00
Andrea Odetti
b349ec405d Allow Uthernet card in Slot 3.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 14:16:20 +01:00
Andrea Odetti
4eb070c653 Make ImGui the default SDL2 implementation.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 14:10:14 +01:00
Andrea Odetti
b81c3c78b3 Minor changes to readme files.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 13:52:02 +01:00
Andrea Odetti
448de8f6c7 Detect hardware changes and show it in gui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-29 12:09:23 +01:00
Andrea Odetti
b16084baf3 Merge branch 'static' into update 2021-10-23 20:27:43 +01:00
Andrea Odetti
ed98c6ce01 Support (again) the Uthernet2 card.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-23 20:23:55 +01:00
Andrea Odetti
4129a78254 Incorporate AW changes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-19 15:20:24 +01:00
Andrea Odetti
3f6116431f Rename gles -> glselector.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-19 10:03:14 +01:00
Andrea Odetti
b4f6d64034 Fix colors in OpenGL.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-19 09:54:55 +01:00
Andrea Odetti
030d6d5a62 Allow to use OpenGL (not GLES).
GLES is still the default, except on Mac OS X.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-19 09:42:33 +01:00
Andrea Odetti
51b6604142 Allow code to compile as static.
To avoid the link-time interface, which does not work with Apple's linker.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-17 09:48:58 +01:00
Andrea Odetti
6acc688800 Changes required by latest AW code.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-17 09:05:32 +01:00
Andrea Odetti
28ecb6b512 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-16 19:36:55 +01:00
Andrea Odetti
53f1bf52f2 Rename interface.h -> linuxinterface.h to avoid case issues.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-16 19:18:53 +01:00
Andrea Odetti
b795c05b4f Add 2 more sets of link_directories.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-16 16:42:01 +01:00
Andrea Odetti
b31d134258 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-07-18 16:25:43 +01:00
Andrea Odetti
db8997d652 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-07-01 18:28:46 +01:00
Andrea Odetti
6cadd8dc36 Remove useless ".c_str()"
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-08 18:24:12 +01:00
Andrea Odetti
3617b0d5c5 Fix issue when speed changes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-07 22:21:41 +01:00
Andrea Odetti
c3e8bb94a2 Expose speed setting.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-07 18:54:52 +01:00
Andrea Odetti
0b3e57d934 Rewrite the way full speed works.
This is more and more similar to AppleWin's logic.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-07 18:34:17 +01:00
Andrea Odetti
24971328ba Make sure Mockingboard slots are conistent.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 18:04:46 +01:00
Andrea Odetti
abc4a4e1d3 Safer check that Uthernet is active.
Unfortunately we cannot force a hot-activation as this will cause SegFaults in the TFE code.
It does not check if the pcap handle is good, but relies on the initialisation to have succeeded.

Unfortunately, visual feedback on the settings is lost.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 16:57:12 +01:00
Andrea Odetti
087f0f7942 More correct visualisation of virtual and physical memory.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 16:40:06 +01:00
Andrea Odetti
4205bc852f More elegant check for geos/relative mouse movement.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 16:39:28 +01:00
Andrea Odetti
d68b503d0d Fix mouse relative calculation to ensure pointer goes from minX to maxX (and Y) included.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 14:35:05 +01:00
Andrea Odetti
db71bb1a4c sa2 & mouse: fix dead y zone used to draw the menu.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 13:51:07 +01:00
Andrea Odetti
a8057a5850 Add hack to make the mouse (barely) usable with geos.
SDL_CaptureMouse() seems to be the only solution.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-04 18:48:02 +01:00
Andrea Odetti
8d07bb1506 Fix for https://github.com/tomcw/mb-audit
Update MB (and disk and speaker) in smaller batches.
1 ms like AppleWin.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-03 11:51:12 +01:00
Andrea Odetti
dcae60dede Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-01 17:25:49 +01:00
Andrea Odetti
46333f06e7 Add filename to the tape info.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-30 20:25:34 +01:00
Andrea Odetti
4adde75a13 Tidy up cassette code.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-30 19:57:27 +01:00
Andrea Odetti
e2634210ca Fix various warnings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 21:50:33 +01:00
Andrea Odetti
8d26fdb2b8 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 21:25:06 +01:00
Andrea Odetti
a8c41b79fb Move FPS to the About window.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 18:22:10 +01:00
Andrea Odetti
cfab12cd6f Fix compilation with gcc 8.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 06:53:42 +01:00
Andrea Odetti
9b3a3e7913 Debugger: add ability to reset cycles in the debugger.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 19:25:29 +01:00
Andrea Odetti
825cb59e62 Since a DialogBox stops the emulator, we need to reset the speed.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 19:23:51 +01:00
Andrea Odetti
83ab755144 Expose setting for Enhanced Speed.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 19:14:28 +01:00