Commit graph

3024 commits

Author SHA1 Message Date
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
Andrea Odetti
c0c5c2a7cb Update Fedora rpm list.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-22 20:53:47 +01:00
Andrea Odetti
ce54d08bc2 Support KeybReset(). 2021-05-22 17:57:45 +01:00
Andrea Odetti
9af407a089 Add support to copy text to clipboard.
Fix \n handling in paste from clipboard.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-22 17:55:51 +01:00
Andrea Odetti
16c70e4cde Fix https://github.com/audetto/AppleWin/issues/29
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-22 15:23:25 +01:00
Andrea Odetti
8a14c7e974 Minor tfe interface change.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-20 11:57:44 +01:00
Andrea Odetti
6a3ba0bd72 Merge remote-tracking branch 'upstream/master' 2021-05-20 11:50:21 +01:00
Andrea
d631b23d24
Uthernet: fix usability and settings (PR #947)
* Make Uthernet settings behave like all other cards.
Fix as well the fact that the Uthernet interface would not be reapplied after a restart.

* Uthernet: use consistent types to reduce code complexity.
Use std::string everywhere.
2021-05-19 21:44:33 +01:00
tomcw
05b9668f72 Use enum SLOTS and remove pre-processor SLOTn defines 2021-05-19 21:26:23 +01:00
Andrea
de7f35e6bd
Make path separator OS-dependent (PR #954) 2021-05-19 21:10:22 +01:00
Andrea Odetti
283a74d7e7 Separate dropped file processing.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-19 11:22:08 +01:00
Andrea Odetti
1ac7710b07 Fix bug about debuggerCommand().
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-18 21:05:14 +01:00
Andrea Odetti
b65e67ed67 Ensure adaptive speed is reset before a (potential) restart.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-18 18:56:37 +01:00
Andrea Odetti
54403f74c6 Ensure the speed is reset every time the mode might change.
So we avoid that the next adaptive clock is way off.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-17 20:19:58 +01:00
Andrea Odetti
8b77575fbd Merge remote-tracking branch 'upstream/master' 2021-05-17 20:16:03 +01:00
Andrea
c48cbfb46c
Merge pull request #28 from audetto/pi
Allow compilation to work without libslirp (not available on Pi).
2021-05-17 20:11:00 +01:00
Andrea Odetti
a7e2ca580c Fix for when libslirp is indeed present.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-17 19:48:33 +01:00
Andrea Odetti
6753e62abd Allow compilation to work without libslirp (not available on Pi).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-17 19:26:11 +01:00
Henri Asseily
1b9a769332
Fix to DirectSound not working in modern environments. Need to use FAILED() instead of boolean check. (PR #951) 2021-05-16 20:03:59 +01:00
tomcw
110a706535 SC-01: fix DDRB support for #952 2021-05-16 19:49:34 +01:00
tomcw
21146cb65e AY8913: Fix regression at 2d086e87
- Phasor does support reading regs in MB mode & Phasor native mode (but not Echo+ mode).
2021-05-16 19:27:04 +01:00
Andrea Odetti
a626fc5b50 Update readme.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-16 19:00:22 +01:00
Andrea Odetti
8d21b68af0 Better support for Debugger.
Add ability to set breakpoints with mouse.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-16 18:53:38 +01:00
Andrea Odetti
329c19c8d9 Handle MODE_DEBUG in main loop.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-16 18:44:16 +01:00
Andrea Odetti
9d4f293a3c More Debugger related work.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-15 13:32:34 +01:00
Andrea Odetti
c36cbe5a31 Merge remote-tracking branch 'upstream/master' 2021-05-12 16:09:27 +01:00
Andrea Odetti
8ab76a9235 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-12 16:00:24 +01:00
Andrea Odetti
8852154a6d Debugger: add ability to type in location of reference address.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-12 15:57:35 +01:00
Andrea Odetti
c01487d0f4 Debugger: minor format improvements.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-12 15:33:14 +01:00
Andrea Odetti
1f14d06790 Keyboard: rationalise logging.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-12 14:00:21 +01:00
Andrea Odetti
9393f04d3d Uthernet II: re-initialise dataAddress after a reset.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-12 11:02:55 +01:00
Andrea Odetti
b78f20d915 Uthernet II: fix a bug when TFE buffer size was reduced for 2+ packets.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-12 11:02:30 +01:00
Andrea Odetti
ffa5a35ba8 U2: handle TCP Disconnect. 2021-05-09 19:49:40 +01:00
Andrea Odetti
10e769735a U2: drop packets from libslirp if the queue is full (we keep at most 10).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-09 19:49:18 +01:00
Andrea Odetti
87f232d990 Shift-Insert to paste from clipboard.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-09 19:44:28 +01:00
tomcw
ce309324bb Debugger: when displaying 6522 regs, if T1/T2 are active, then display in white 2021-05-09 13:38:16 +01:00
Andrea Odetti
36df9170bc Uthernet II: merge UDP and TCP sockets.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-08 20:51:44 +01:00
Andrea Odetti
94a20126b7 Uthernet II: fix case of using TFE.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-08 18:30:55 +01:00
Andrea Odetti
44ddf798f2 Uthernet II: add support for UDP.
Only client (as it does not bind yet).
2021-05-08 18:30:32 +01:00
Andrea Odetti
50599e9535 Debugger: compile Debug.cpp, Debugger_Help.cpp, Commands, and MemoryTextFile.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-06 15:22:14 +01:00
Andrea Odetti
22a9c64010 Uthernet 2: add settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-05 15:56:10 +01:00
Andrea Odetti
2f19a3980f Merge remote-tracking branch 'upstream/master' 2021-05-05 15:03:03 +01:00
Andrea Odetti
d2d241cf9c Uthernet 2: add support for TCP sockets.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-05 15:02:42 +01:00
tomcw
b15abd0ba9 Bump version to 1.30.1.0, and update History.txt 2021-05-03 20:05:06 +01:00
tomcw
5bc1261281 Logging: add more logging to Speaker code
Debug: add a debug-enabled MB S/S card
2021-05-03 19:58:13 +01:00