Commit graph

197 commits

Author SHA1 Message Date
Andrea Odetti
96e3f37b76 Add support for Cassette Tapes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 18:10:09 +01:00
Andrea Odetti
a059fad539 Add support for custom ROMs.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-27 13:40:57 +01:00
Andrea Odetti
bde3eb92b0 Improve symmetry of Constructor/Destructor functions.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-24 09:22:01 +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
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
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
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
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
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
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
d2d241cf9c Uthernet 2: add support for TCP sockets.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-05 15:02:42 +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
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
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 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
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 Odetti
633e2e62ad Add missing dependencies for pcap.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-18 13:50:36 +01:00
Andrea Odetti
bbb698ece1 Compile TFE and drop the duplicate.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-17 19:07:21 +01:00
Andrea Odetti
dd683e8e48 ImGui: display all current registry settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 14:33:04 +01:00
Andrea Odetti
11c44233b4 Revisit initialisation to drive it all from the FrameBase.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 18:48:05 +00:00
Andrea Odetti
fec69e1f72 Untabify.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 14:45:31 +00:00
Andrea Odetti
f795147611 Add syntax highlight to the disassembler.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-20 10:29:25 +00:00
Andrea Odetti
3e768c4d78 Use plain characters for branches.
We do not have unicode support apparently.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-18 19:48:26 +00:00
Andrea Odetti
d99d35013d Add support for symbols.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-13 20:56:19 +00:00
Andrea Odetti
dd6455ceb9 Add 6502 disassembler.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-07 20:32:24 +00:00
Andrea Odetti
0459fd3ba9 Make ImGui a module.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:56:36 +00:00
Andrea Odetti
93bebd3eb0 Add travis support for Dear ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 17:09:27 +00:00
Andrea Odetti
989410c17d Integrate Dear ImGui with SDL to reduce code duplication.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 16:55:08 +00:00
Andrea Odetti
cc55d9e681 Modern syntax: virtual -> override.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-31 13:55:43 +00:00
Andrea Odetti
f61e73b639 Move resources, bitmaps and messageboxes into Frames.
And remove a few windows.h interface functions used before.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-20 19:07:18 +00:00
Andrea Odetti
d3e25773dc Add configuration for printer filename. 2021-01-19 12:18:12 +00:00