Commit graph

7 commits

Author SHA1 Message Date
TomAwezome
fd665945e5 Fixed NetHandler interrupt breaking UDPSockets.
Implemented message queue system for UDPSockets to allow for better payload data management.
Improved UDPSocketClose, reduced memory leaks.
Changed ETHERNET_FRAME_SIZE back to 2000.
Fixed ZenithInclude hash bug via NetStart.CC change.
Added NetLog()'s in more of the stack for clarity.
Updated NetHandler NetQueuePull to a while loop.
2021-01-26 20:38:49 -05:00
TomAwezome
de1878c1f7 Fixed 4 million context swap/second Networking bug.
Revamped NetHandlerTask into interrupt-based NetHandler.
Created NetLog to output Network info to, instead of outputting to zenith_task.
Updated NetStart.CC and Test files some.
Changed UDPSocketReceiveFrom behaviour to NetWarn instead of Debug when hits timeout and sees AF_UNSPEC.
2021-01-20 19:33:03 -05:00
TomAwezome
ca24a0ab32 Set up uncached PCNet packet buffers, cleaned up network stack code some. 2021-01-18 23:31:05 -05:00
TomAwezome
20484c6ada Network stack in functional state
Many TODOs and still a good bit of tidying up to do
PCNet Direct Init wasn't working so added Shrine/OSDev Initialization Block code, need to do renames and comments for clarity
Added UDPRep and ARPRep as early network Rep functions. UDPRep to see all bound sockets still needs to be made
To get the network stack running, #include NetStart.CC
2020-08-07 02:39:07 -04:00
TomAwezome
31d3760e34 Small updates to Network Stack
Added DNS, not finished. Lots of cleaning up to do when converting Shrine code
Formatting alterations to Net files, beginning restructuring and updating Docs & Tests
2020-07-31 13:49:37 -04:00
TomAwezome
d16e0e0de4 Reformat Net files, add UDPHandler() 2020-07-28 02:37:01 -05:00
TomAwezome
7e6e442e0d added more Net code still WIP, included Tom palettes, hasty alteration to 3D model editor slider to allow higher precision. 2020-03-27 14:06:16 -04:00