Commit graph

2088 commits

Author SHA1 Message Date
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
Andrea
48dd638d33
Synchronize Linux build. (PR #1037)
. remove OutputDebugStringA()
. push changes to StdAfx.h
. mention g_strSaveStatePathname in the error message for loading save-state
2022-02-14 20:37:18 +00:00
Andrea Odetti
25d0d8a05c Update to latest AW's code.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-14 08:29:08 +00:00
Andrea Odetti
db34cd326f Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	source/StdAfx.h
2022-02-14 08:08:32 +00:00
Kelvin Lee
9a3832084a
Simplify the common combination of sprintf() and OutputDebugString() (PR #1031)
- Update LogOutput() and LogFileOutput().
- Add StrFormat() to produce std::string out of snprintf() & add StrFormat.cpp to projects.
- Add PTRDIFF_T_FMT in parallel to SIZE_T_FMT to StdAfx.h, for completeness.
- In Log.cpp, changed to get timestamp using posix functions.
- Removed TCHAR usage throughout - simply use char.
2022-02-13 21:37:05 +00:00
Andrea Odetti
c32105ff63 Merge remote-tracking branch 'upstream/master' 2022-02-13 18:41:54 +00:00
tomcw
83e56924f7 WM_CREATE: remove CpuCreateCriticalSection(), since done in SY6522.Reset() 2022-02-13 12:37:33 +00:00
tomcw
b519031de4 WM_CREATE: call CpuCreateCriticalSection() instead of CpuInitialize() 2022-02-12 19:11:34 +00:00
tomcw
3fe06faf65 MB/6522: remove the legacy g_nMBTimerDevice variable.
Fix ASSERT from previous commit as SY6522.Reset() needs CriticalSection.
2022-02-12 18:42:58 +00:00
Andrea Odetti
4f723d900b Merge remote-tracking branch 'upstream/master' 2022-02-12 18:26:41 +00:00
Andrea
8bbb85b1e8
SY6522: initialise device. (PR #1036) 2022-02-12 17:29:49 +00:00
Andrea Odetti
058726746f Merge remote-tracking branch 'upstream/master' 2022-02-12 17:01:48 +00:00
sh95014
9459ec261a
Writes to Printer Interface card strobe should not be interpreted as a data byte (#1017 PR #1027) 2022-02-11 20:57:09 +00:00
Andrea Odetti
0419c2ca80 Update AW and ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-02-06 11:44:56 +00:00
Andrea Odetti
4a6315014e Merge remote-tracking branch 'upstream/master' 2022-02-06 11:37:54 +00:00
Kelvin Lee
ad73f3ec37
A couple of smallish fixes (PR #1029)
. Fix VS2008 build: int8_t is not defined
. Fix VC compile warning C4800: forcing int to bool
2022-02-05 22:02:26 +00:00
TomCh
f7c6ef397c
Split 6522 out of MB code and into own class (PR #1028)
NB. Update CpuInitialize() & CriticalSection creation:
. call CpuInitialize() on WM_CREATE to create CriticalSection
. needed as MB_Initialize() needs CriticalSection
2022-02-05 18:48:36 +00:00
Andrea Odetti
65f9843ad8 Merge remote-tracking branch 'upstream/master' 2022-01-31 09:20:58 +00:00
tomcw
53ab72ce13 Card.cpp: add newline at EOF 2022-01-30 21:37:40 +00:00
Andrea
7ab65492c6
Load save-state for Cards: improve error messages. (#1025)
. better error message for (unlikely) slot mismatch.
. better error message if load state version is invalid.
2022-01-30 21:25:40 +00:00
Andrea Odetti
71285eebb6 sa2:: update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-30 20:12:17 +00:00
Andrea Odetti
2a908c1889 Expose some printer settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-30 20:10:33 +00:00
Andrea Odetti
4f3c92bee4 sa2: realpath fails if the path does not exist.
Assume the path is absolute (for now).

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-30 18:56:21 +00:00
Andrea Odetti
ab358975ad Merge remote-tracking branch 'upstream/master' 2022-01-30 15:57:17 +00:00
tomcw
24378313c3 WOZ-related changes:
. Significant bit-cells after a gap between latch access upped from 50 to 100 (#1020)
. Minor track sync mod: Update bitStream position for current track before re-calc'ing position for new track (#1022)
. Minor: for DiskII I/O regs $A/B (Select Drive 1/2) update the isWOZ variable to reflect new image-type
2022-01-29 21:27:03 +00:00
Andrea Odetti
364cfcbade Debugger: add some more flags & switches.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-16 20:38:49 +00:00
Andrea Odetti
586f094393 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-16 19:17:57 +00:00
Andrea Odetti
6c6409b625 Merge remote-tracking branch 'upstream/master' 2022-01-16 11:16:39 +00:00
tomcw
af814347f0 Support AN3 for IIe (#1018)
(Fix IOUDIS for IIc - $C07E/F was backwards)
2022-01-15 18:01:41 +00:00
Andrea Odetti
d88ab1199d sa2: do not call VideoPresentScreen every Apple ][ frame when in full speed.
But only call it after 16ms wall clock.

Fixes https://github.com/audetto/AppleWin/issues/61

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-11 18:08:27 +00:00
Andrea Odetti
c70377fcaf ImGui: avoid non-reentrant call to VideoPresentScreen().
The debugger (which calls VideoPresentScreen) is execute in immediate mode from VideoPresentScreen.

Is this a design problem?

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-11 17:50:08 +00:00
Andrea Odetti
2abca0c0b2 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-10 15:38:25 +00:00
Andrea Odetti
3348d4420e SaveState: fix some issues in the order of things.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-10 15:38:13 +00:00