Commit graph

502 commits

Author SHA1 Message Date
Andrea Odetti
b36c17b198 Fix qapple crash due to error in reading config.
Fixes https://github.com/audetto/AppleWin/issues/42

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-03 15:49:51 +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
6e872d4bf1 Fix potential sign issue.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 15:47:49 +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
232d0e62d3 Fix qmake file.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-28 15:16:18 +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
1d2d0a1a5f Update QHexView.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-16 19:26:11 +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
1315d8050f Remove const_cast.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-07-26 19:30:40 +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
34ad2d9a23 Fix https://github.com/audetto/AppleWin/issues/35
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-07-18 16:23:55 +01:00
Andrea Odetti
cd0a18de1d Updates from upstream.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-07-15 18:56:06 +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
01c5c91fbd Update QHexView.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 21:26:08 +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
2d60d802a2 Normalise paths.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 18:21:44 +01:00
Andrea Odetti
dfae404334 Fix option parsing.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 06:53:57 +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