Commit graph

2850 commits

Author SHA1 Message Date
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
Andrea Odetti
577a3dfa4b Uthernet 2: minor improvements on MR register.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-01 21:09:42 +01:00
Andrea Odetti
d5f2fbbb78 Uthernet 2: in Windows pcap_sendpacket() wants "u_char *" not "const u_char *".
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-01 20:54:50 +01:00
Andrea Odetti
7f3ecac9b1 Uthernet 2: add some logging to debug TCP mode (used by ii-vision). 2021-05-01 20:39:09 +01:00
Andrea Odetti
80222caa0d Comments about Uthernet II.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-01 19:42:54 +01:00
Andrea Odetti
f5c929d2a2 Merge branch 'uthernet2' 2021-05-01 19:37:55 +01:00
Andrea Odetti
2eec57ad1b Merge remote-tracking branch 'upstream/master' 2021-05-01 19:32:47 +01:00
Andrea Odetti
c50bef8cb2 Uthernet 2: introduce some #defines to ease readability.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-01 19:31:23 +01:00
tomcw
60ddf0fa35 6522: Support cycle accurate reads from IFR for T1/T2 bits 2021-04-30 22:23:20 +01:00
Andrea Odetti
df0d6bdb95 Uthernet 2: new implementation based on libslirp which does not require extra capabilities.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-30 20:10:30 +01:00
Andrea Odetti
8fd0b0f5a6 Uthernet 2: use isprint();
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-28 20:36:03 +01:00
Andrea Odetti
1c9beb246b Uthernet2: move to separate folder.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-28 20:32:01 +01:00
Andrea Odetti
669c7124c2 Uthernet 2: draft UDP processing.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-28 20:27:43 +01:00
Andrea Odetti
6243d17e93 U2 logging: reduce spam and use AW's LogFileOutput.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-25 18:29:52 +01:00
Andrea Odetti
10fcf305b1 Uthernet 2: print some info about IPRAW.
And fix socket number.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-24 08:06:00 +01:00
Andrea
f959f4f1d6
Uthernet: enable support on Linux. (PR #943)
* Make tfe easier to compile in Linux.
* libpcap in Linux: we can just use the libpcap provided and link to it directly.
2021-04-23 20:59:02 +01:00
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