Andrea Odetti
afc1477332
Merge remote-tracking branch 'upstream/master'
2022-03-13 16:43:57 +00:00
Kelvin Lee
e38e48e3a6
Debugger: replace sprintf() part 1 (PR #1060 )
...
- Add MemoryTextFile_t::PushLineFormat()
- Replace some sprintf() with PushLineFormat()
2022-03-13 16:37:25 +00:00
tomcw
35ec3fcc7f
Fix crash when in Config GUI -> Disk:
...
. eg. add DiskII in slot-5, cancel, then access $C0Dx
Change IsCardInSlot() to use CardMgr().QuerySlot()
2022-03-13 16:12:01 +00:00
Andrea
231e6c6d64
Cards: remove special call to InitializeIO() for Disk and Harddisk. (PR #1061 )
2022-03-13 15:45:43 +00:00
Andrea Odetti
27904182c4
Update from AW's master.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-03-12 14:22:03 +00:00
Andrea Odetti
de2071476e
Merge remote-tracking branch 'upstream/master'
2022-03-12 14:15:48 +00:00
Kelvin Lee
be846efc83
Use clear() instread of erase(begin(), end()). (PR #1053 )
2022-03-12 11:19:34 +00:00
tomcw
51149083e6
Add log msg for power-cycle, and improve debug-check for U1 $Csnn I/O access.
2022-03-12 10:16:38 +00:00
Andrea
12d1a0e1fe
Card: cleanup interface. (PR #1059 )
...
1) Remove Init()
2) Call Reset() via CardManager
3) Call Destroy() via CardManager (only used by Disks/Harddisk) on WM_DESTROY
The only "real" changes are in CSuperSerialCard: ensure destructor cleans up and remove Destroy().
2022-03-11 22:17:03 +00:00
Andrea Odetti
01cbc4c43e
Merge remote-tracking branch 'upstream/master'
2022-03-08 07:58:18 +00:00
Andrea
bbe2a7f8ee
Uthernet II card: support save/load state. (PR #1054 )
...
NB. do not attempt to restore a UDP / TCP socket.
2022-03-07 21:08:31 +00:00
Andrea Odetti
a6b5590744
Merge remote-tracking branch 'upstream/master'
2022-03-07 20:59:33 +00:00
TomCh
10337aa95c
Update CONTRIBUTING.md
...
Add link to Coding Conventions doc.
2022-03-05 11:48:33 +00:00
tomcw
45f30a86a3
Coding Conventions: update for Platform Toolset v141_xp (C++11/14/17) and StrFormat() rule. ( #1050 )
2022-03-05 11:43:06 +00:00
Andrea Odetti
00382da4a2
Merge remote-tracking branch 'upstream/master'
2022-03-03 07:53:37 +00:00
tomcw
648f832647
Debugger: minor stop-reason refactor
2022-03-02 21:25:04 +00:00
Kelvin Lee
dfb8802763
Replace sprintf() with StrFormat() (PR #1048 )
2022-03-02 21:10:41 +00:00
Andrea Odetti
bb1d5ac792
Fix code after updating to AW's master.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-03-01 20:44:30 +00:00
Andrea Odetti
f4986708d8
Merge remote-tracking branch 'upstream/master'
2022-03-01 20:40:23 +00:00
Kelvin Lee
80f3eaeb91
Various *Name() functions can simply return const std::string& (PR #1049 )
2022-02-28 20:52:18 +00:00
Andrea Odetti
bbb5783fa6
Merge native support for Uthernet II from AppleWin.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-27 20:42:40 +00:00
Andrea Odetti
9006e39eaa
Merge remote-tracking branch 'upstream/master'
2022-02-27 18:54:16 +00:00
Andrea Odetti
165c4532fc
Exclude .vscode from git.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-27 18:53:52 +00:00
tomcw
d2004553f1
Remove old tfe.cpp
2022-02-27 18:06:15 +00:00
Andrea
9f8c4d99af
Add Uthernet II support and make Uthernet I a Card. (PR #1047 )
...
. tfe.cpp renamed to Uthernet1.cpp.
. add class NetworkBackend: common to both U1 and U2 cards, and abstracts Windows/Linux backends.
. modernise error message if WPCAP.DLL is not installed.
2022-02-27 17:26:48 +00:00
Andrea Odetti
3d247e6ee9
libwindows: implement strncpy_s from Wine.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-27 14:15:38 +00:00
Andrea Odetti
124de54aa9
Merge remote-tracking branch 'upstream/master'
2022-02-27 13:24:11 +00:00
tomcw
514d2adb79
6522: Fix IFR.T2 when counter.b15=1
2022-02-26 21:10:42 +00:00
tomcw
c277c5152d
Fix a few medium Coverity defects:
...
1514566, 1063811
2022-02-26 20:23:00 +00:00
tomcw
707993b686
Fix LogOutput() to call StrFormatV()
2022-02-26 18:39:39 +00:00
Kelvin Lee
253a59fde6
Replace sprintf_s() and wsprintf() with StrFormat(). (PR #1041 )
...
And these Debugger related:
. Improve FormatAddress() and GetSymbol().
. GetSymbol(), FindSymbolFromAddress(), FormatAddress() are changed to use std::string instead.
. Remove static variable (not nice) in FormatAddress().
. GetSymbol() returns std::string reference instead of pointer.
2022-02-26 17:54:06 +00:00
Andrea Odetti
ccc0285930
Merge remote-tracking branch 'upstream/master'
2022-02-26 17:23:04 +00:00
Andrea
9ad6b11cf9
Fix some format errors. (PR #1042 )
2022-02-26 17:15:09 +00:00
Andrea Odetti
fa876ccdd9
Update ImGui.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-20 13:58:19 +00:00
Andrea Odetti
c3a8259302
Uthernet II: fix printf format specifier.
2022-02-19 16:39:46 +00:00
Andrea Odetti
d101a6c200
Fix format for UINT64.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-19 15:35:56 +00:00
Andrea Odetti
a87e709503
Merge remote-tracking branch 'origin/format_fix'
2022-02-19 15:35:22 +00:00
Andrea Odetti
375029a2c3
Fix parentheses-equality clang warning.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-18 20:11:06 +00:00
Andrea Odetti
6e630d038b
Fix some format errors.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-18 13:34:50 +00:00
Andrea Odetti
6e67d1247d
Merge remote-tracking branch 'upstream/master'
2022-02-18 09:50:14 +00:00
Kelvin Lee
5a5d0e2df4
Debugger: Simplify console print (PR #1038 )
...
. Simplify console display functions using StrFormat()
. Update TestDebugger that needs StrFormat() now
2022-02-17 22:12:04 +00:00
Andrea Odetti
4bd23597a7
Update AW's.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-17 09:36:26 +00:00
Andrea Odetti
048391981d
Merge remote-tracking branch 'upstream/master'
2022-02-17 09:30:11 +00:00
tomcw
43b9df253a
Fix build errors from PR #1039
2022-02-16 20:14:40 +00:00
Kelvin Lee
7ae8907674
Remove unnecessary static std::string variables (PR #1039 )
2022-02-16 20:09:10 +00:00
Andrea Odetti
2464b9dc67
Merge remote-tracking branch 'upstream/master'
2022-02-15 20:44:52 +00:00
sh95014
8cb3d4c88c
Make DiskGetFullPathName() public. (PR #1035 )
...
Reasons:
. a macOS port needs it for the disk image browser feature.
. for consistency with "class HarddiskInterfaceCard".
2022-02-15 19:02:03 +00:00
Andrea Odetti
c3fb1a7713
Update to AW's master.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-15 18:56:11 +00:00
Andrea Odetti
cfb38aa08f
Merge remote-tracking branch 'upstream/master'
2022-02-15 18:53:18 +00:00
Kelvin Lee
1a4e933778
Replace StringCbPrintf() with StrFormat() (PR #1032 )
2022-02-15 18:48:20 +00:00