Commit graph

485 commits

Author SHA1 Message Date
Andrea Odetti
4129a78254 Incorporate AW changes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-19 15:20:24 +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
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
Andrea Odetti
db2f9be009 sa2: add some logic to implement Full Speed.
Because we run a frame at a time, this is a bit different than in AppleWin.
Run up to 5 extra frames.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 19:07:58 +01:00
Andrea Odetti
96e3f37b76 Add support for Cassette Tapes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 18:10:09 +01:00
Andrea Odetti
a059fad539 Add support for custom ROMs.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-27 13:40:57 +01:00
Andrea Odetti
1c94fd7150 Debugger: add registers & flags.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-27 11:33:07 +01:00
Andrea Odetti
d8ebc8dc9f Add cycle information to the Disassembly output.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-26 17:48:44 +01:00
Andrea Odetti
5c96069a3f Set g_sProgramDir so symbols can be found. 2021-05-26 17:12:19 +01:00
Andrea Odetti
919fe84cfe QEMU - Fedora 34. SDL_GL_SwapInterval always fails.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-24 16:35:37 +01:00
Andrea Odetti
bde3eb92b0 Improve symmetry of Constructor/Destructor functions.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-24 09:22:01 +01:00
Andrea Odetti
7b09bacb01 Initialisation: some fixes.
Ensure log file is created before it is used the first time.
Only close the log file once at the end.

https://github.com/audetto/AppleWin/issues/30

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-23 20:06:36 +01:00
Andrea Odetti
09da101cbb FileRegistry: fix problem with conf file not created.
https://github.com/audetto/AppleWin/issues/30

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-23 20:04:59 +01:00
Andrea Odetti
9af407a089 Add support to copy text to clipboard.
Fix \n handling in paste from clipboard.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-22 17:55:51 +01:00
Andrea Odetti
16c70e4cde Fix https://github.com/audetto/AppleWin/issues/29
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-22 15:23:25 +01:00
Andrea Odetti
8a14c7e974 Minor tfe interface change.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-20 11:57:44 +01:00
Andrea Odetti
283a74d7e7 Separate dropped file processing.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-19 11:22:08 +01:00