Commit graph

3241 commits

Author SHA1 Message Date
Andrea Odetti
0b37d9a022 Riff file generation: fix sizes.
myTotalNumberOfBytesWritten is actually the number of samples written, and not the file size.

This means that both total and data are off by the size of the header.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-03-27 17:05:31 +01:00
Andrea Odetti
42c68677b4 Riff: make code reusable.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-03-27 16:53:13 +01:00
Andrea Odetti
d4aa32a34c Fix wrong disk number from command line.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-03-27 13:18:54 +01:00
Andrea Odetti
48d30b6b19 Merge remote-tracking branch 'upstream/master' 2022-03-26 14:48:43 +00:00
Kelvin Lee
eac88a340d
Fix spelling: "seperator" -> "separator" (PR #1071) 2022-03-25 20:11:33 +00:00
Andrea Odetti
044640cad0 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-03-25 18:17:37 +00:00
Andrea Odetti
2ea14ee2de Merge remote-tracking branch 'upstream/master' 2022-03-25 15:24:55 +00:00
TomCh
a3774705e9
Update README.md 2022-03-23 21:43:24 +00:00
tomcw
37445c4e35 1.30.9.0: Update History.txt 2022-03-23 20:11:50 +00:00
Andrea Odetti
661de9972d Update AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-03-23 11:44:53 +00:00
Andrea Odetti
49885bbecb Merge remote-tracking branch 'upstream/master' 2022-03-23 09:50:40 +00:00
tomcw
7640ce8383 AppleWin.chm: credit @audetto for his work done on Uthernet II support (+other tweaks) 2022-03-22 19:51:25 +00:00
Andrea
500c2e50b6
Uthernet II: handle TCP connection failure. (PR #1070) 2022-03-22 19:39:49 +00:00
Andrea
cdd360bdfe
Uthernet II: implement IPRAW sockets. (PR #1069) 2022-03-22 19:30:42 +00:00
Kelvin Lee
2d4f60452f
Add ByteToHexStr() and WordToHexStr() (PR #1064)
- Simplify common StrFormat(), especially in Debugger (changes upcoming)
- Add helpers StrAppendByteAsHex() and StrAppendWordAsHex()
- Add helpers StrBufferAppendByteAsHex() and StrBufferAppendWordAsHex() for plain string buffer
2022-03-22 19:19:50 +00:00
TomCh
119db28de1
Update README.md 2022-03-20 16:38:14 +00:00
Andrea Odetti
5a63f25b89 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-03-19 20:25:53 +00:00
Andrea Odetti
545d6f9f4f Update from AW's master.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-03-19 08:50:30 +00:00
Andrea Odetti
592a26332f Merge remote-tracking branch 'upstream/master' 2022-03-19 08:26:58 +00:00
TomCh
b4b29e1ef5
Refactor ParallelPrinter.cpp/h as a C++ class (PR #1067)
Add command line:  -s1 parallel.
NB. Only a single Parallel Printer card is supported, and currently it's restricted to slot 1.
2022-03-18 22:04:34 +00:00
Andrea Odetti
10a5bc1da7 Merge remote-tracking branch 'upstream/master' 2022-03-18 14:51:46 +00:00
tomcw
cbc0c2cf87 Save-state: wrap string in quotes when it contains comment char '#'. Fixes #1066 2022-03-17 20:14:52 +00:00
Andrea Odetti
bda732cce4 Update AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-03-15 19:45:49 +00:00
Andrea Odetti
29bc469bc1 Merge remote-tracking branch 'upstream/master' 2022-03-15 19:43:17 +00:00
Andrea
a4341aa808
tfesupp: remove all manual string manipulations - just use std::string. (PR #1065) 2022-03-14 21:12:52 +00:00
tomcw
00668c2668 Debugger "help <cmd>" : fix formatting.
And specifically for "help brk" - split help across an extra line for better readability
2022-03-14 20:50:21 +00:00
Andrea Odetti
0357249317 Merge remote-tracking branch 'upstream/master' 2022-03-13 20:12:58 +00:00
tomcw
169f0b29e8 Slot 3: make the default (ie. vanilla install of AppleWin) have an empty slot 3.
. Previously it would default to Uthernet, but there are now other slot 3 card options.
2022-03-13 17:19:21 +00:00
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