Commit graph

2959 commits

Author SHA1 Message Date
Andrea
9bec2ce405
Avoid a crash if the LogFile cannot be opened. (PR #944) 2021-04-23 20:49:31 +01:00
Andrea
41778aa472
Debugger: move Win32 functions to separate file. (PR #941)
* Debug.cpp: move Win32 functions to separate file.
* Move _tcscat -> strcat to maximise portability.
* Remove unneeded Win32 check.
2021-04-23 20:39:24 +01:00
Andrea
c6c427aa3d
Debugger: Fix bound on maximum bytes to move backward. (PR #937)
The higher g_nDisasmCurLine the more we will have to travel back to find the instruction at the top of the window.
2021-04-23 20:34:46 +01:00
Andrea Odetti
eeaefee89a Uthernet 2: cleanup RX_RSR logic.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-23 20:10:25 +01:00
Andrea Odetti
e3c4fe6ebf Fix segfault when selecting a different iface.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-23 20:09:00 +01:00
Andrea Odetti
5dd8e39787 Add support for the Uthernet 2 card.
Just enough to run contiki and A2osX.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-23 11:49:19 +01:00
Andrea
982ba0922d
Document Uthernet support. 2021-04-18 19:47:39 +01:00
Andrea Odetti
f1b9232933 Add Uthernet configuration.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-18 19:03:44 +01:00
tomcw
6fefce553a MB: Support old save-states where 6522 T1 latch is 0x0000 2021-04-18 18:33:16 +01:00
Andrea Odetti
9aefc20d24 Merge remote-tracking branch 'upstream/master' 2021-04-18 18:22:55 +01:00
Andrea Odetti
9aba397034 Merge remote-tracking branch 'origin/uthernet' 2021-04-18 18:22:37 +01:00
Andrea Odetti
d7cf271a41 Merge remote-tracking branch 'origin/log' 2021-04-18 18:22:30 +01:00
Andrea Odetti
5966fa5138 Avoid a crash if the LogFile cannot be opened. 2021-04-18 18:11:53 +01:00
Andrea Odetti
b1e431d17d Uthernet: avoid assertions or memory errors in some corner cases.
1) tfe_deactivate_i: there is no need to check as the code can be called anyway. This happens is the interface could not be opened properly (lack of capabilities)
2) tfe_shutdown: free() can alreayd handle NULL. Correctly mark the pointer as freed.
2021-04-18 17:57:54 +01:00
Andrea Odetti
633e2e62ad Add missing dependencies for pcap.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-18 13:50:36 +01:00
tomcw
26414b74df Fix for a2audit failing Apple II/II+ LC test
. For II/II+ with NSC at F8xx, then (for NSC) also exclude the r:ROM/w:RAM (C089) case
2021-04-18 11:23:06 +01:00
Andrea Odetti
cf13ce7eb3 Merge remote-tracking branch 'origin/uthernet' 2021-04-17 20:48:57 +01:00
Andrea Odetti
e4a91e084d TFE: print libpcap version in linux too. 2021-04-17 20:48:21 +01:00
Andrea Odetti
bcd56ad8a3 Merge remote-tracking branch 'origin/uthernet' 2021-04-17 20:41:53 +01:00
Andrea Odetti
512594cca7 TFE: ensure log lines are \n-terminated. 2021-04-17 20:41:20 +01:00
Andrea Odetti
9aa7a9df95 Merge remote-tracking branch 'origin/uthernet' 2021-04-17 20:26:47 +01:00
Andrea Odetti
be8eee37b5 The description is not guaranteed to be present.
Inspired from d1b556c5c5/src/tfe/tfearch.c (L129)

See as well

https://www.tcpdump.org/manpages/pcap_findalldevs.3pcap.html
2021-04-17 20:26:09 +01:00
Andrea Odetti
bbb698ece1 Compile TFE and drop the duplicate.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-17 19:07:21 +01:00
Andrea Odetti
4683883c2b Merge remote-tracking branch 'origin/uthernet' 2021-04-17 18:47:50 +01:00
Andrea Odetti
4c51309e3b libpcap in linux: we can justuse the libpacap provided and link to it directly.
Moreover, add a #include <StdAfx.h> to include windows types (only needed in linux).
2021-04-17 18:44:48 +01:00
Andrea Odetti
6b6a238bcf Make tfe easier to compile in linux. 2021-04-17 18:44:40 +01:00
tomcw
e7a3f97bb6 SSI263: For SC01, don't change reg0.DUR value 2021-04-17 18:30:11 +01:00
tomcw
83ae73387a Bump version to 1.30.0.0. Update History.txt, and some updates to help doc 2021-04-17 18:15:33 +01:00
Andrea
99907c9a89
Update linux.md 2021-04-13 08:53:46 +01:00
Andrea
73db44ac73
Update linux.md 2021-04-13 08:53:09 +01:00
Andrea
e6bfe89722
Update linux.md 2021-04-13 08:48:52 +01:00
Andrea Odetti
947ae1b7a4 Merge remote-tracking branch 'upstream/master' 2021-04-13 08:39:39 +01:00
tomcw
1314fcc0ed Swap joystick buttons (#936)
. cmd-line (-swap-buttons) or GUI "Swap 0/1" now swaps buttons 0/1 for all devices
. ie. Open/Solid Apple keys, real joystick, mouse or Num Pad keys
+ update the docs
2021-04-10 19:09:36 +01:00
tomcw
363193ba33 MB: get rid of CriticalSection, as MB support is now single-threaded 2021-04-10 16:26:51 +01:00
TomCh
b5726aae7d
Add some random woz jitter (#942)
Improve WOZ support for WL and LOA (#930)
- After T$00,S$00 (for certain 4&4 encodings) randomly skip 1 bit-cell
- Remove the previous fix for WL/LOA which was affecting other titles
2021-04-10 15:31:54 +01:00
Andrea Odetti
ee48c0d567 Merge remote-tracking branch 'upstream/master' 2021-04-06 08:22:40 +01:00
Andrea
a37d0b078f
Add constructor for SY6522_AY8910 for correct initialisation (PR #940)
Avoid leaks when the destructor of SY6522_AY8910 is not called.
2021-04-05 17:44:59 +01:00
tomcw
7a41ede6d9 SSI263: improve logging 2021-04-05 14:56:55 +01:00
Andrea Odetti
6a75299826 Add About dialog.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 19:21:04 +01:00
Andrea Odetti
4c8b74332c Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 18:59:10 +01:00
Andrea Odetti
7a8a162d78 AutoSave configuration for ease of use.
Add option to load .ini file from different location.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 18:56:53 +01:00
Andrea Odetti
f144cb037f SDL: Support Mouse.
In ImGui there are a couple of issues:
1) it ignores the menu area when computing relative motion
2) does not work well with windowed video

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 16:44:04 +01:00
Andrea Odetti
dd683e8e48 ImGui: display all current registry settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 14:33:04 +01:00
Andrea Odetti
e40d16c2d7 Merge remote-tracking branch 'upstream/master' 2021-04-03 10:03:45 +01:00
Andrea Odetti
da1648706d Update info in README.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-03 10:03:26 +01:00
Andrea Odetti
783ccb9060 Add 50/60 Hz switch.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-03 09:55:05 +01:00
Andrea Odetti
362c9877d4 ImGui settings: add video.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-03 09:46:56 +01:00
Andrea Odetti
29821c9e7c Disk Status: make it more readable.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-03 08:47:29 +01:00
tomcw
27fe4e5ed0 SSI263: when loading state, assert Phasor's speech IRQ if required 2021-04-01 20:52:00 +01:00
Andrea Odetti
25dc50d83c Add settings / diagnostics about disks.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-01 16:04:50 +01:00