Commit Graph

361 Commits

Author SHA1 Message Date
Sijmen de644dc035
Remove unnecessary semicolons from namespace blocks 2020-12-28 14:18:47 +01:00
Sijmen 4059e4be88
Fix styling 2020-12-28 13:36:16 +01:00
Sijmen aec510a47c
Put Udp in namespace and simplify symbol names 2020-12-28 13:26:24 +01:00
Sijmen 118f6b62c2
Move ethernet to their own namespace and create util namespace to avoid cyclic dependencies 2020-12-28 13:26:23 +01:00
Sijmen 8bde798c88
Fix errors in editor in net-tftp.h 2020-12-28 13:26:23 +01:00
Sijmen 9638a0dc3d
Move ARP and TFTP to their own namespaces 2020-12-28 13:26:23 +01:00
Sijmen fc39c7a99f
Base implementation of DHCP 2020-12-28 13:26:23 +01:00
Sijmen bed8266327
Fix compilation cast warning 2020-12-28 13:26:23 +01:00
Sijmen f9f282a595
Move network method definitions to .cpp files 2020-12-28 13:26:23 +01:00
Sijmen 74a92bc9d5
Get rid of the template stuff that didn't work well for this situation. 2020-12-28 13:26:23 +01:00
Sijmen 41ee2d9777
Replace some sizeofs with SerializedLengths 2020-12-28 13:26:23 +01:00
Sijmen 60e186cdc9
Split TFTP code into readable chunks and deduplicate a bunch of code 2020-12-28 13:26:23 +01:00
Sijmen 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
Sijmen dfb8fb16fc
Implement PrintFormat which scrolls the screen when overflowing 2020-12-28 13:26:23 +01:00
Sijmen 9cfcb0ddf7
Respond to ICMP Echo Requests (aka pings) 2020-12-28 13:26:23 +01:00
Sijmen 18c5bbd29d
Move a lot of the network logic to net.cpp 2020-12-28 13:26:23 +01:00
Sijmen cff82bbad3
Hackily implement ARP and echo request support 2020-12-28 13:26:22 +01:00
Sijmen 1cabaf2b04
Make make rebuild on header changes 2020-12-28 13:26:22 +01:00
Sijmen 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
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 40b5feb576 Travis CI is having trouble with a build target of "1+" 2020-01-25 17:56:52 +11:00
Stephen White 94f3476102 Added 1+ for the Pi1B+ build target. 2020-01-25 17:04:51 +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 d5415f4644 Changed the example default piezo sound settings. 2020-01-01 14:10:50 +11:00
Stephen White e907841b67 Incremented version number to 1.23 2019-12-31 11:21:42 +11:00
Stephen White e6ab3c6eb7 Stopped P0 version of 1581 outputing a signal on the sound GPIO as the sound is disabled on the Pi 0. 2019-12-30 18:58:32 +11:00
Stephen White 2c4629bca6 The 1581 ROM name will now be displayed on the LCD when in 1581 mode. 2019-12-30 18:42:51 +11:00
Stephen White 35bc99d7c6 Added the auto loading of the 1581 ROM.
I used the default name of 1581-rom.318045-02.bin
That way it can easily be downloaded and copied from http://www.zimmers.net/anonftp/pub/cbm/firmware/drives/new/1581/1581-rom.318045-02.bin
2019-12-30 13:31:13 +11:00
Stephen White f559159e2e Fixed the broken StarFileName option. 2019-12-30 13:16:32 +11:00
Stephen White e748a0687e Fixed the issue of GnG not running on option B hardware 2019-12-30 13:00:47 +11:00
Stephen White 8eb61f03bc Fixed the double update on the rotary encoder breaking 1581 support. 2019-12-29 18:40:52 +11:00
Stephen White 610af8efae Fixed #154 Rotary encoder usage jumpy in emulation mode 2019-12-29 17:08:55 +11:00
Stephen White bdcf49f758 Fixed #154 Rotary encoder usage jumpy in emulation mode 2019-12-29 16:52:21 +11:00
Stephen White d3f045e7c3 Fixed SD card initialisation. 2019-12-29 15:18:14 +11:00
Stephen White d98a27f637 Fixed bug when adding a PRG file to a virtual D64 2019-12-29 15:13:58 +11:00
Stephen White 1ca78e3383 If you select a PRG file using the Pi's browser then it will mount it into a virtual D64 so fast loaders can be used.
Note: FB64 will still use SD2IEC style loading directlyfrom the Pi's file system.
2019-12-28 15:27:28 +11:00
Stephen White 67c82503e6 Implemented #163 display the ROM file name and Device Id on the LCD 2019-12-27 16:09:59 +11:00