Commit Graph

  • 4ea8b13361 Restore GodSong master Z3N1THM4N 2021-07-03 05:41:13 -05:00
  • 4f05395e58 Z3N1THM4N Z3N1THM4N 2021-07-03 04:44:16 -05:00
  • e912217325 Start of SSE vector math library. Fixed compiler warnings. Removed rasterizer and Doom map loader from CosmicGL. TempleProgramming 2021-07-01 06:27:22 -04:00
  • e5596ee2bf Fix DoDistro hanging at AHCIPortIdentify. Fix hardcoded screen resolution in K.CC. Begin implementing OS system upgrade feature. TomAwezome 2021-06-30 02:57:20 -04:00
  • 0778e2dd16 Remove WallPaper time offset undo. Fix lingering 'HC' to 'CC'. Fix EdLiteUpdate incorrect tab width. Move PCNet driver into Drivers/ folder. Add graphics demos. Add JSON lexer to Net/ folder. Increase entropy of Splash screen mottos. TomAwezome 2021-06-29 18:10:26 -04:00
  • cbb5272ccd CosmicGL cleanup, minor optimizations. TempleProgramming 2021-06-28 11:07:47 -04:00
  • cce6b73cf3 Restore Bible, GodWord, GodBiblePassage, BF: links Z3N1THM4N 2021-06-28 07:05:07 -05:00
  • 733feab1f5 Improve bare-metal performance of games. Fix Splash screen hanging keyboard input on bare-metal. TomAwezome 2021-06-27 03:36:11 -04:00
  • 7989d5fcaa Fix K.CC and DoDistro, automatically find ATA drive SATA port. Fix illegal forward reference compiler error in DiskAddDev.CC. Change 32BitDemo.CC to use a #define for the square draw delay. Fixed Span game bottom mass location and cost report. Fix CastleFrankenstein slowdown on bare-metal when turning. Fix TreeCheckers move radius. Implement palette swapping for some games. TomAwezome 2021-06-26 20:36:19 -04:00
  • 1cbc72e57b Added CosmicGL. TempleProgramming 2021-06-26 04:10:21 -04:00
  • 9a30b7f1a0 Remove docs folder from repo root Z3N1THM4N 2021-06-25 22:16:59 -05:00
  • 9461667bb0 Show drive model & serial number in SATARep. Fix mounting bugs. Change AHCI buffer allocation location from Fs to zenith_task code heap. Implement DiscEject, DiscLoad. Change installer to eject disc after installation. TomAwezome 2021-06-25 23:06:56 -04:00
  • 907b136cc1 Fix drive initialization type report. Fix drive probe not halting boot process when no ATAPI drives are found. #7 TomAwezome 2021-06-24 21:16:15 -04:00
  • 2d83a110c3 Implement PCI fall-back routines for when PCIBIOS is unsupported. Abstract PCI functions out from PCIBIOS.CC into their own file, add calls to PCIBIOS from PCI functions. Fix AHCI BIOS handoff bug. Raise version number. TomAwezome 2021-06-24 01:19:46 -04:00
  • 59eba5a7de Fix AHCIBufferAlign causing crashes on bare-metal. Update 32-bit color graphics demo. Add global Boolean to toggle window manager framebuffer writes. TomAwezome 2021-06-22 14:44:19 -04:00
  • 413b73db76 Fix missing BlkDev locks in AHCI read/write methods. TomAwezome 2021-06-17 03:43:29 -04:00
  • 138e503ccd Fix DVDImageRead. Implement functions for AHCI ATAPI Seek and Start/Stop. TomAwezome 2021-06-16 20:47:21 -04:00
  • 2bf3d229bc Fix bare-metal installer invalid port string. TomAwezome 2021-06-15 21:41:22 -04:00
  • 674ef844b8 Fix AHCI initialization on bare-metal. TomAwezome 2021-06-15 01:09:35 -04:00
  • baa862b268 Remove redundancies in AHCI RBlks and WBlks functions. Clean up and reformat AHCI code. TomAwezome 2021-06-06 01:11:36 -04:00
  • 9a0c955bea Implement bare-metal AHCI install wizard. Fix InstallDrive DriveCheck bug. TomAwezome 2021-06-04 04:28:05 -04:00
  • fad8608b87 Improve AHCI performance by removing checks for blkdev max_reads and max_writes limits. Fix AHCI port and command waits hanging entire OS by using Yield. Fix DVD boot hardcoded AHCI port number, correctly search ports for ATAPI drive. Fix compiler unused variable warnings in Mount2. TomAwezome 2021-06-02 17:18:26 -04:00
  • 0f9d6b43f8 Integrate AHCI into entire OS. Remove IDE support. TomAwezome 2021-06-01 16:35:27 -04:00
  • b974147dbf Add DiskAHCI.CC to Kernel, add ATAPI capacity read VoidNV 2021-05-26 21:27:49 -05:00
  • 1d1c564760 Prototype AHCI ATAPI reading VoidNV 2021-05-26 03:19:03 -05:00
  • 24853fa765 Improve logs on AHCI boot prototyping, update IDE DVD boot function order documentation. TomAwezome 2021-05-25 16:20:40 -04:00
  • 6dbaae46f5 Fix Chess crashing when run on one CPU core. TomAwezome 2021-05-24 05:16:29 -04:00
  • e54dd6544a Fix Titanium crashing. TomAwezome 2021-05-24 04:34:51 -04:00
  • 3fa559706f Implement TCPSocketSendAll and TCPSocketSendString. Update TCP Chat client and server programs to use new methods. TomAwezome 2021-05-24 01:03:16 -04:00
  • 239a5cdf87 Implement TCPRep for reporting bound/connected TCP Sockets. Fix ARP not updating cached entries on ARPCachePut calls. Fix DNS not updating cached entries on DNSCachePut calls. Clean up repeated gross syntax in DHCPOfferParse. Fix Host() and DNSRep IPV4 kludge, use proper switch case block based on result address family type. Change CNetQueueEntry member variable length to packet_length. Remove Debug statements when sockets use AF_INET6 or AF_UNSPEC, change to NetErr. Change UDP message queues to be allocated and initialized when UDPSocket is called, instead of when binding. Standardize filenames in Tests/ folder. Remove old test files. Remove outdated TODO comments. TomAwezome 2021-05-18 02:09:59 -04:00
  • cf7ad1a5a7 Implement TCP Chat application. Fix TCP Socket receive buffer read and write position miscalculations. Fix TCP Socket send window endianness. Implement non-blocking TCP Sockets, alter timeout logic. Move network applications to Programs folder. Fix TCP Socket Accept using wrong timeout value. Fix TCP Socket Accept not removing and freeing pending connection requests upon connect failure. TomAwezome 2021-05-14 04:08:38 -04:00
  • 6f6c8df2e9 Fix TCP Socket Send/Receive not returning upon timeout. TomAwezome 2021-05-12 19:47:16 -04:00
  • 9f0e880fab Fix TCP Socket Connect not setting receive window class member. TomAwezome 2021-05-12 17:32:07 -04:00
  • b99dd94db9 Change TomLight palette to Light, brighten colors, improve system responsiveness by lowering double-click wait time. TomAwezome 2021-05-12 15:57:59 -04:00
  • 3917898085 Fix TCP socket connect not sending ACK after receiving SYN ACK. Fix missing socket FSM state transition after binding a new connection. Fix TCP socket send unused sent_total variable. Integrate INADDR_ANY address handling procedure used in TCP to UDP. Change two TCP tests into TCPEchoClient.CC and TCPEchoServer.CC, alter to make compatible with Shrine's echo tests. Split long lines of code to multiple lines to fit better in default resolution. TomAwezome 2021-05-12 02:42:33 -04:00
  • 05dd1af872 Begin TCP implementation. Create Binary Search Tree (BST) generic data structure and methods, integrate TCP and UDP bound socket tree structures with BST system. Fix incorrect variable name for packet data frames across stack codebase. Split UDP and TCP into multiple files and their own folders for organization. Update low-level Socket functions to return Bool types, for determining success/failure of state transitions. Integrate updated Socket function return types into TCP and UDP methods. Add NetStop() and NetStart() functions in PCNet-II code to easily halt and continue network activity. Add NetDebug() log output function. Update networking documentation to reflect changes, remove outdated documentation. TomAwezome 2021-05-10 20:15:27 -04:00
  • 3df5dd4a9f Implement NetRep for full network data report. Implement IPV4Rep to report local, router, and subnet IPV4 addresses. Expand UDPRep to report socket timeout and info about messages queued at the socket. TomAwezome 2021-03-01 03:55:49 -05:00
  • 91f380b0b6 Implement UDPRep to report info on currently bound sockets. Clean up ARPRep some. Fix NetworkToPresentation returning bad string. Fix UDP Chat not closing bound socket. Fix UDPSocketBind unintentional fall-through. Add another Test for binding UDP sockets. TomAwezome 2021-02-27 22:33:34 -05:00
  • bc30fdc12f Remove unnecessary parens in network stack. TomAwezome 2021-02-24 01:22:30 -05:00
  • c114aeff41 Set theme jekyll-theme-slate VoidNV 2021-02-23 08:01:57 -06:00
  • a9b1fb2da1 Standardize Networking method naming convention. Update Networking docs. Update description in Chat.CC. Add clarifications to ICMP, DHCP methods. Revised names of some networking methods for brevity. TomAwezome 2021-02-22 18:50:14 -05:00
  • 51efddc954 Clean up networking code. Fix missing DCDel in Stars wallpaper. TomAwezome 2021-02-22 03:35:59 -05:00
  • f5d80414c4 Reduce UDP system overhead. TomAwezome 2021-02-22 03:08:08 -05:00
  • 0b60b0dbe5 Fix spacing in /Doc/Tips.DD VoidNV 2021-02-09 05:27:37 -06:00
  • 4b1150df86 Rename MSRGet() -> MSRRead(), MSRSet() -> MSRWrite() VoidNV 2021-02-09 05:20:31 -06:00
  • 40b85644ba Implemented proof-of-concept UDP chat program. Added Port Control Protocol prototyping in Tests folder. ARP Handler now warns when seeing requests with non-matching target IPs, and reports error on unrecognized operations. ICMP Handler now warns when seeing ICMP packets with unrecognized type or code. Set up NetLog to log info using colors and labels for clarity. Fixed IPV4AddressParse string parameter bug, also put in a missing CompCtrlDel at the end of the method. Fixed PresentationToNetwork not erroring when IPV4AddressParse fails. Implemented UDP Sockets allowing 0 ms timeout and immediately returning on UDPSocketReceiveFrom if no messages were waiting at the socket. Fixed UDP Handler using wrong address of packet to search bound socket addresses. TomAwezome 2021-02-06 06:05:14 -05:00
  • 79e7caaad4 Add MSRGet() VoidNV 2021-01-28 19:10:11 -06:00
  • 3c6187254a Fixed NetHandler NetQueue memory leak. TODO: Suspected memory leak somewhere in UDP. Added early NetHandler detection for IPV6, just warns. Implemented default: cases for NetHandler routines, warns and outputs unrecognized IPV4 procotols and ethertypes. Added few more NetLog()'s for clarity. TomAwezome 2021-01-27 14:22:28 -05:00
  • 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. TomAwezome 2021-01-26 20:38:49 -05:00
  • b7ad56489f Remove DriveMap() VoidNV 2021-01-24 02:19:02 -06:00
  • 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. TomAwezome 2021-01-20 19:33:03 -05:00
  • ca24a0ab32 Set up uncached PCNet packet buffers, cleaned up network stack code some. TomAwezome 2021-01-18 23:31:05 -05:00
  • 3ef48c1e28 Fixed PCNet DE index rollover packet buffer bug. Added few more networking tests and changed variables in some of them for making it easier to differentiate them in Wireshark .pcap results. TomAwezome 2021-01-18 19:22:12 -05:00
  • fc0bf860b1 Added .HC to .CC file conversion script to Zenith/Utils. TomAwezome 2021-01-18 16:49:23 -05:00
  • 25a76542cd Added more networking tests, lowered DNS timeout, raised DNS retries. TomAwezome 2021-01-17 15:24:37 -05:00
  • 4c0d6ae537 Updated DNSRep and ARPRep, added more networking tests, altered NetStart.CC TomAwezome 2021-01-17 04:31:08 -05:00
  • b3583e05bf Restore "Daemon" to "Seth" VoidNV 2021-01-12 00:37:35 -06:00
  • db32fdb367 Reformatted entire codebase. TomAwezome 2020-12-23 18:27:18 -05:00
  • 027648943f Reformatted all Kernel SerialDev files. All Kernel files are now reformatted. Also reverted Caps Lock functionality. Might alter behaviour on symbols in the future. TomAwezome 2020-09-15 02:27:17 -04:00
  • 7e0ce60071 Reformatted Kernel files in Memory subdirectory. Reformatted BlkPool.CC, HeapCtrl.CC, MAllocFree.CC, MemPag.CC, MemPhysical.CC, PageTables.CC. TomAwezome 2020-09-14 21:55:57 -04:00
  • ec3aa83b55 Finished reformatting files in Kernel BlkDev subdirectory. Reformatted DiskATA.CC, DiskATAId.CC, DiskAddDev.CC, DiskBlk.CC, DiskBlkDev.CC, DiskCDDVD.CC, DiskCFile.CC, DiskCache.CC, DiskClus.CC, DiskCopy.CC, DiskDirA.CC, DiskDirB.CC, DiskDirContext.CC, DiskDrive.CC, DiskFile.CC, DiskFind.CC, DiskFormat.CC, DiskStrA.CC, DiskStrB.CC, FileSysFAT.CC, FileSysRedSea.CC. Files are not being refactored currently, progress log filename is misnomer, so renamed FilesRefactored.DD to FilesReformatted.DD. TomAwezome 2020-09-14 15:27:49 -04:00
  • d9ac154e76 Reformatted more Kernel files. Reformatted KMathA.CC, KMathB.CC, KMisc.CC, KTask.CC, KUtils.CC, Kernel.PRJ, KernelA.HH, KernelB.HH, KernelC.HH, KeyDev.CC, MultiProc.CC, PCIBIOS.CC, QuickSort.CC, Sched.CC, StrA.CC, StrB.CC, StrPrint.CC, StrScan.CC. All top-level Kernel files are now reformatted. Remaining are files in Kernel/ subdirectories. TomAwezome 2020-09-12 17:37:51 -04:00
  • 44f7362ffc Update README.md TomAwezome 2020-09-07 14:29:35 -04:00
  • 7c6a2037d8 Reformatted some kernel files. Changed DVD Resolution in DoDistro to 1024x768. Kernel files reformatted: Display.CC, EdLite.CC, FunSeg.CC, Job.CC, KConfig.CC, KDataTypes.CC, KDate.CC, KDebug.CC, KDefine.CC, KExcept.CC, KExterns.CC, KGlobals.CC, KHashA.CC, KHashB.CC, KInterrupts.CC, KLoad.CC, KMain.CC, KStart16.CC, KStart32.CC. TomAwezome 2020-09-07 14:01:54 -04:00
  • 1c659acc9d Update README.md TomAwezome 2020-08-31 00:47:58 -04:00
  • 836b9a7604 Update README.md TomAwezome 2020-08-31 00:34:31 -04:00
  • 8908615dce Update README.md TomAwezome 2020-08-22 18:44:12 -04:00
  • 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 TomAwezome 2020-08-07 02:39:07 -04:00
  • 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 TomAwezome 2020-07-31 13:49:37 -04:00
  • 9e53a92859 Fix formatting of ScopingLinkage.DD TomAwezome 2020-07-28 02:40:35 -05:00
  • d16e0e0de4 Reformat Net files, add UDPHandler() TomAwezome 2020-07-28 02:36:21 -05:00
  • 32d6430b5f Implement UDPSendTo(), clean up ReceiveFrom()... TomAwezome 2020-07-28 02:31:01 -05:00
  • 7e0c3809d2 Refactor and handle more IP types (UDP) TomAwezome 2020-07-28 02:25:24 -05:00
  • 54b9ff1778 Remove the blocking of shift-backspace TomAwezome 2020-07-28 02:21:07 -05:00
  • 560e795e34 Update Tom Light palette TomAwezome 2020-07-28 02:17:44 -05:00
  • 1be8f456f0 Clean up UDP queue find a bit TomAwezome 2020-07-28 00:51:14 -05:00
  • 5ef1d5ef57 Begin implementing UDP recvfrom TomAwezome 2020-07-28 00:34:39 -05:00
  • a8fb259f3a Remove redundant code in UDPSocketClose() TomAwezome 2020-07-28 00:30:18 -05:00
  • 4653f274e2 Implement UDP queue pop TomAwezome 2020-07-28 00:26:09 -05:00
  • 0632a87908 Add Roadmap.DD VoidNV 2020-07-27 23:42:39 -05:00
  • 49e668c250 Reformat UAsm.CC TomAwezome 2020-07-26 18:15:32 -05:00
  • 1380062557 Reformat ParseVar.CC TomAwezome 2020-07-26 18:03:25 -05:00
  • bb497eca7c Reformat ParseStatement.CC TomAwezome 2020-07-26 17:46:51 -05:00
  • 1b380ef95d Reformat ParseExp.CC TomAwezome 2020-07-26 22:11:47 -05:00
  • 6debd48027 Reformat Templates.CC TomAwezome 2020-07-26 22:05:13 -05:00
  • 3e3097df9d Reformat ParseLib.CC TomAwezome 2020-07-26 21:59:34 -05:00
  • e75602d4ad Reformat OptPass789A.CC TomAwezome 2020-07-26 21:47:49 -05:00
  • e60caba02f Reformat OptPass6.CC TomAwezome 2020-07-26 11:44:37 -05:00
  • eb11ecc6e2 Refactor OptPass5.CC TomAwezome 2020-07-26 09:24:16 -05:00
  • 844f8f2405 Reformat OptPass4.CC TomAwezome 2020-07-26 09:00:06 -05:00
  • 7f6c288b3f Reformat OptPass3.CC TomAwezome 2020-07-25 19:00:42 -05:00
  • 780974b6e1 Reformat OptPass012.CC TomAwezome 2020-07-25 13:30:56 -05:00
  • bec844caaa Improve Tom Light palette TomAwezome 2020-07-24 21:08:50 -05:00
  • 44eb2acc2f Fix Star Wallpaper on light palettes TomAwezome 2020-07-24 20:58:32 -05:00
  • cee1067819 Reformat OptLib.CC TomAwezome 2020-07-24 19:31:51 -05:00
  • e86990c4b1 Reformat OpCodes.DD TomAwezome 2020-07-24 19:25:44 -05:00
  • 31bb10d72f Reformat Compiler.PRJ TomAwezome 2020-07-24 19:22:23 -05:00
  • d35ac3516c Reformat Lex.CC TomAwezome 2020-07-24 19:09:44 -05:00
  • 73158e2fba Reformat CMain.CC TomAwezome 2020-07-24 18:58:58 -05:00
  • 4fc49522b0 Reformat BackLib.CC TomAwezome 2020-07-24 18:50:18 -05:00