Commit graph

384 commits

Author SHA1 Message Date
7f405f4d49
Remove tests (for now) 2021-01-26 01:26:12 +01:00
32dec9b4d8
Final work on tests (for now) 2021-01-26 01:25:35 +01:00
fd0652c623
Add sad flow tests for ARP (de)serializing and packet handling 2021-01-18 20:17:44 +01:00
b57194a35b
Merge remote-tracking branch 'upstream/master' 2021-01-18 15:57:26 +01:00
6e6feee88c
Un-nest namespaces, because that's a C++17 feature
For some reason gcc doesn't tell us this
2021-01-18 15:56:36 +01:00
8275e5122d
Move part of Net::Update to HandlePacket 2021-01-18 15:41:35 +01:00
81e426fef4
Reorganize tests into seperate .cpp files 2021-01-13 12:14:18 +01:00
755d025d3f
More ARP tests 2021-01-12 22:29:09 +01:00
a102c4d984
Implement first few tests and fix issues with tested files 2021-01-12 16:56:02 +01:00
Stephen White
42a3375ff6 Fixed bugs with remapping the buttons via options.txt
Reported by Frank here https://www.lemon64.com/forum/viewtopic.php?p=934239#934239
2021-01-11 17:10:17 +11:00
81ea9e27ca
Fix TFTP packets being dropped 2021-01-06 15:45:14 +01:00
Stephen White
0ae620842f Fixed #201 with regards to Maverick's single drive copy. 2021-01-06 18:44:40 +11:00
f26febe13d
Remove some unused variables 2021-01-06 05:39:53 +01:00
d8022f8cf8
Merge remote-tracking branch 'upstream/master' 2021-01-06 05:34:11 +01:00
f9376089e0
Fix network initialization, swapped ARP MACs and ICMP responses 2021-01-06 05:31:48 +01:00
Stephen White
e1f59e7262 Added support for 42 tracked D64 images
According to https://github.com/excess-c64/v1541commander/blob/master/README.md D64s can be 42 tracks long.
2021-01-01 12:32:17 +11:00
24002b225a
Run clang-format on net files 2020-12-29 13:52:02 +01:00
9e41e71dfa
Add buffer size checks to Net::Arp 2020-12-29 13:28:48 +01:00
4cd1682c4c
Add options for networking and move networking in main to net.cpp 2020-12-29 13:28:23 +01:00
adf5172e94
More buffer size checks 2020-12-28 23:44:39 +01:00
57c490da6e
Add buffer size checks to Net::Icmp 2020-12-28 18:35:38 +01:00
56cf8cf447
Add buffer size checks to Net::Ethernet 2020-12-28 17:46:13 +01:00
40ecbd51f6
Namespace ICMP and IPv4, and enum -> enum class 2020-12-28 14:41:27 +01:00
de644dc035
Remove unnecessary semicolons from namespace blocks 2020-12-28 14:18:47 +01:00
4059e4be88
Fix styling 2020-12-28 13:36:16 +01:00
aec510a47c
Put Udp in namespace and simplify symbol names 2020-12-28 13:26:24 +01:00
118f6b62c2
Move ethernet to their own namespace and create util namespace to avoid cyclic dependencies 2020-12-28 13:26:23 +01:00
8bde798c88
Fix errors in editor in net-tftp.h 2020-12-28 13:26:23 +01:00
9638a0dc3d
Move ARP and TFTP to their own namespaces 2020-12-28 13:26:23 +01:00
fc39c7a99f
Base implementation of DHCP 2020-12-28 13:26:23 +01:00
bed8266327
Fix compilation cast warning 2020-12-28 13:26:23 +01:00
f9f282a595
Move network method definitions to .cpp files 2020-12-28 13:26:23 +01:00
74a92bc9d5
Get rid of the template stuff that didn't work well for this situation. 2020-12-28 13:26:23 +01:00
41ee2d9777
Replace some sizeofs with SerializedLengths 2020-12-28 13:26:23 +01:00
60e186cdc9
Split TFTP code into readable chunks and deduplicate a bunch of code 2020-12-28 13:26:23 +01:00
0c49a541ba
Prototype implementation of TFTP PUT and move networking code to UpdateScreen (which runs on a different core) 2020-12-28 13:26:23 +01:00
dfb8fb16fc
Implement PrintFormat which scrolls the screen when overflowing 2020-12-28 13:26:23 +01:00
9cfcb0ddf7
Respond to ICMP Echo Requests (aka pings) 2020-12-28 13:26:23 +01:00
18c5bbd29d
Move a lot of the network logic to net.cpp 2020-12-28 13:26:23 +01:00
cff82bbad3
Hackily implement ARP and echo request support 2020-12-28 13:26:22 +01:00
1cabaf2b04
Make make rebuild on header changes 2020-12-28 13:26:22 +01:00
a67d2a1945
send pings 2020-12-28 13:26:22 +01:00
Stephen White
1c6093d85e Fix for #201 #200 #199 2020-12-28 15:48:48 +11:00
Stephen White
a7a1402a01 Update ffconf.h
Disabled the time stamp functuion. Suggested fix for  #198
2020-12-28 13:58:10 +11:00
Stephen White
bc48a56620 Update Makefile.rules
Setthe default makefile.rules to the Pi3
2020-12-27 13:45:12 +11:00
Stephen White
8e87777759 Update DiskImage.cpp
Frank's fix for #200 FindSync was not looping the disk track correctly.
2020-12-27 13:12:05 +11:00
Stephen White
9c1f8320d2
Merge pull request #190 from devMashHub/master
Fix Issue #185.
2020-12-27 12:37:50 +11:00
Stephen White
2f999c7a00
Merge pull request #181 from idolpx/master
Made changes to differentiate between Raspberry Pi 1 Model B Rev 1 (G…
2020-12-27 12:35:46 +11:00
George Belmont
91a213132a Fixed options.txt to leave RotaryEncoderEnable and RotaryEncoderInvert turned off by default. 2020-08-14 08:17:25 -04:00
George Belmont
46381430e1 Added option to invert rotary encoder CLK/DATA pins to reverse operation for certain encoders (Issue#185) 2020-08-14 08:14:06 -04:00