Commit graph

2968 commits

Author SHA1 Message Date
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
629afb1055 Merge remote-tracking branch 'upstream/master' 2021-06-01 16:35:36 +01:00
tomcw
f33d3de093 History.txt: credit @audetto 2021-05-31 20:17:30 +01:00
tomcw
182bed5825 1.30.2.0 & update History.txt 2021-05-31 20:09:51 +01:00
tomcw
793f2eb507 Cmd line: -fs-height: small refactor so that bestWidth/Height are only returned for logging purposes 2021-05-31 16:40:44 +01:00
tomcw
cc126d7745 Help doc: update for Command Line: -fs-height 2021-05-31 16:28:33 +01:00
tomcw
f076986c04 Cmd line: Changed -fs-height=<best|nnnn> so it doesn't change the resolution when not full-screen (#876)
. NB. whenever switching back to non-full-screen, then it will restore the default desktop resolution.
. Allow -no-full-screen to be placed before -fs-height=<best|nnnn> (previously it only worked when placed afterwards)
2021-05-31 16:09:39 +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
a302227470 Merge remote-tracking branch 'upstream/master' 2021-05-30 18:45:22 +01:00
Andrea Odetti
9a77ed4597 Avoid usage of unqualified "long".
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-30 16:50:05 +01:00
tomcw
0ca972954e MB: fix for SSI263/SC01 in debugger's 'gg' mode (fixes #958) 2021-05-29 21:53:18 +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
39cf60f45a
Update linux.md 2021-05-28 19:28:21 +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
77a293a4bc Merge remote-tracking branch 'origin/filenames' 2021-05-25 17:48:41 +01:00
Andrea Odetti
0f753d0bfb Save full pathname to registry.
This was already happening for Hard Disks (although in a convoluted way).
Extend to Floppy Disks.
2021-05-25 17:39:16 +01:00
Andrea Odetti
c1276a3f12 Merge remote-tracking branch 'origin/master' 2021-05-24 16:36:52 +01:00
Andrea
d5c3e7047e
Merge pull request #32 from audetto/qemu
QEMU - Fedora 34. SDL_GL_SwapInterval always fails.
2021-05-24 16:36:14 +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
d4568180c5 Merge remote-tracking branch 'upstream/master' 2021-05-24 15:49:53 +01:00
Andrea
b9c199bce3
Merge pull request #31 from audetto/init
Various initialisation fixes
2021-05-24 12:57:21 +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
tomcw
7f0c028250 Typo: fix IS_APPLE2() macro 2021-05-23 21:28:26 +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
535ceaadc6 Ensure LogFileTimeUntilFirstKeyReadReset() gets called after every reboot.
https://github.com/audetto/AppleWin/issues/30

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-23 20:03:48 +01:00
Andrea Odetti
e9bcdb25ff Use ISO format when writing date to log.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-23 20:02:45 +01:00
tomcw
aa6572301b Help docs: update for NSC and SSI263 2021-05-23 17:12:53 +01:00