Commit graph

309 commits

Author SHA1 Message Date
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
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
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
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
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
James Johnston
abb28ee58f Adjusted pin assignments to make it more consistent between 40 & 26 pin Raspberry Pi boards 2020-06-02 10:17:13 -04:00
James Johnston
3985221eb0 Made changes to differentiate between Raspberry Pi 1 Mobel B Rev 1 (GPIO 0/1) and Rev 2 (GPIO 2/3) pins 2020-04-15 19:34:04 -05:00
Stephen White
4cf352d70e Fixed #170 2020-01-26 16:22:55 +11:00
Stephen White
cc0fb46383 Fixed button 5 not working. 2020-01-26 14:21:42 +11:00
Stephen White
126400806b Possible fix for #170 (although I can't reproduce it) 2020-01-25 18:21:08 +11:00
Stephen White
37154feb0d Merged Marco's Pi2 changes
Used overclock config;-
kernel_address=0x1f00000

arm_freq=1000
core_freq=500
sdram_freq=450
over_voltage=2
force_turbo=1
boot_delay=1
temp_limit=80
2020-01-25 13:44:00 +11:00
Stephen White
899ed08033 Adaptation for Raspberry 1B with 26GPI/Os #166 2020-01-25 12:04:05 +11:00
Stephen White
e907841b67 Incremented version number to 1.23 2019-12-31 11:21:42 +11:00