Commit graph

227 commits

Author SHA1 Message Date
Andrea Odetti
abe7d664c5 Update from AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-11 20:08:47 +00:00
Andrea Odetti
aa7f3277d1 SDL: reset hardware in Begin, not Initialize.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-11 17:14:09 +00:00
Andrea Odetti
ad6ca9c940 Move Initialise/Destroy Emulator to LinuxFrame.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-04 12:42:02 +00:00
Andrea Odetti
6e42274033 Uthernet2 as a Card.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-03 19:42:53 +00:00
Andrea Odetti
9439b1b400 Incorporate VidHD fro AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-03 18:46:23 +00:00
Andrea Odetti
76317c2df1 libwindows: a very tiny step towards compilation of libretro with VS.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 18:49:17 +00:00
Andrea Odetti
fad9da0ec2 Fix for recent AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-26 20:54:28 +00:00
Andrea Odetti
f080599718 libretro: support mouse retropad. 2021-11-24 18:02:27 +00:00
Andrea Odetti
682916415c Add libretro.h to the git repo.
To ease libretro compilation.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-21 20:23:16 +00:00
Andrea Odetti
3c09d75573 Rewrite the Uthernet2 as Card.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-19 12:39:44 +00:00
Andrea Odetti
1a302935f0 Update from AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-13 18:28:42 +00:00
Andrea Odetti
ca05f42721 HD as a Card from AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-07 15:23:10 +00:00
Andrea Odetti
70cee11c79 Try with 2 processes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 16:08:35 +01:00
Andrea Odetti
ae36dcbe30 Travis, still build master.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 16:00:21 +01:00
Andrea
783cf233a5
Merge pull request #40 from audetto/geometry
Save load SDL2 window position.
2021-10-30 15:59:02 +01:00
Andrea Odetti
6e872d4bf1 Fix potential sign issue.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 15:47:49 +01:00
Andrea Odetti
c7bf4f5a39 Split registry from Initialisation to make is usable sooner.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 15:24:06 +01:00
Andrea Odetti
60878c5a4f Small fixes to build and generate RPMs.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 11:25:00 +01:00
Andrea Odetti
496a132211 Disable Windows build as too expensive.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-24 20:38:03 +01:00
Andrea Odetti
b16084baf3 Merge branch 'static' into update 2021-10-23 20:27:43 +01:00
Andrea Odetti
ed98c6ce01 Support (again) the Uthernet2 card.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-23 20:23:55 +01:00
Andrea Odetti
4129a78254 Incorporate AW changes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-19 15:20:24 +01:00
Andrea Odetti
fff8fe91a9 Add some includes required by Apple clang.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-17 09:21:08 +01:00
Andrea Odetti
6acc688800 Changes required by latest AW code.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-17 09:05:32 +01:00
Andrea Odetti
53f1bf52f2 Rename interface.h -> linuxinterface.h to avoid case issues.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-16 19:18:53 +01:00
Andrea Odetti
abc4a4e1d3 Safer check that Uthernet is active.
Unfortunately we cannot force a hot-activation as this will cause SegFaults in the TFE code.
It does not check if the pcap handle is good, but relies on the initialisation to have succeeded.

Unfortunately, visual feedback on the settings is lost.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 16:57:12 +01:00
Andrea Odetti
46333f06e7 Add filename to the tape info.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-30 20:25:34 +01:00
Andrea Odetti
4adde75a13 Tidy up cassette code.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-30 19:57:27 +01:00
Andrea Odetti
9a77ed4597 Avoid usage of unqualified "long".
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-30 16:50:05 +01:00
Andrea Odetti
e2634210ca Fix various warnings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 21:50:33 +01:00
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