Commit graph

349 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
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.
2021-01-18 19:22:12 -05:00
TomAwezome
25a76542cd Added more networking tests, lowered DNS timeout, raised DNS retries. 2021-01-17 15:24:37 -05:00
TomAwezome
4c0d6ae537 Updated DNSRep and ARPRep, added more networking tests, altered NetStart.CC 2021-01-17 04:31:08 -05:00
TomAwezome
db32fdb367 Reformatted entire codebase.
Reformatted DolDoc files, adjusted sprites in documentation to reflect naming changes, corrected keybinding labels in AutoComplete window, fixed formatting error in Tips.DD.

Added DVD Boot AHCI prototyping into Kernel, displays detected AHCI configuration and halts mid-boot.

Small modifications to standard font, slight increase to mouse X and Y speed.
2020-12-23 18:27:18 -05:00
TomAwezome
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.
2020-09-15 02:27:17 -04:00
TomAwezome
7e0ce60071 Reformatted Kernel files in Memory subdirectory.
Reformatted BlkPool.CC, HeapCtrl.CC, MAllocFree.CC, MemPag.CC, MemPhysical.CC, PageTables.CC.
2020-09-14 21:55:57 -04:00
TomAwezome
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.
2020-09-14 15:27:49 -04:00
TomAwezome
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.
2020-09-12 17:37:51 -04:00
TomAwezome
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.
2020-09-07 14:01:54 -04: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
32d6430b5f Implement UDPSendTo(), clean up ReceiveFrom()...
alter low-level Socket FSM logic.
2020-07-28 02:31:01 -05:00
TomAwezome
7e0c3809d2 Refactor and handle more IP types (UDP) 2020-07-28 02:25:24 -05:00
TomAwezome
1be8f456f0 Clean up UDP queue find a bit 2020-07-28 00:52:27 -05:00
TomAwezome
5ef1d5ef57 Begin implementing UDP recvfrom
Slowly working on better dynamic ipv4/ipv6 setups, excessive casting is
messy and Shrine was built around IPV4, existing methods need improvement
2020-07-28 00:34:39 -05:00
TomAwezome
a8fb259f3a Remove redundant code in UDPSocketClose() 2020-07-28 00:30:18 -05:00
TomAwezome
4653f274e2 Implement UDP queue pop 2020-07-28 00:26:09 -05:00
VoidNV
0632a87908 Add Roadmap.DD 2020-07-27 23:42:39 -05:00
TomAwezome
49e668c250 Reformat UAsm.CC 2020-07-26 18:15:32 -05:00
TomAwezome
1380062557 Reformat ParseVar.CC 2020-07-26 18:03:25 -05:00
TomAwezome
bb497eca7c Reformat ParseStatement.CC 2020-07-26 17:46:51 -05:00
TomAwezome
1b380ef95d Reformat ParseExp.CC 2020-07-26 22:11:47 -05:00
TomAwezome
6debd48027 Reformat Templates.CC 2020-07-26 22:05:13 -05:00
TomAwezome
3e3097df9d Reformat ParseLib.CC 2020-07-26 21:59:34 -05:00
TomAwezome
e75602d4ad Reformat OptPass789A.CC 2020-07-26 21:47:49 -05:00
TomAwezome
e60caba02f Reformat OptPass6.CC 2020-07-26 11:44:37 -05:00
TomAwezome
eb11ecc6e2 Refactor OptPass5.CC 2020-07-26 09:24:16 -05:00
TomAwezome
844f8f2405 Reformat OptPass4.CC 2020-07-26 09:00:06 -05:00
TomAwezome
7f6c288b3f Reformat OptPass3.CC 2020-07-25 19:00:42 -05:00
TomAwezome
780974b6e1 Reformat OptPass012.CC 2020-07-25 13:30:56 -05:00
TomAwezome
cee1067819 Reformat OptLib.CC 2020-07-24 19:31:51 -05:00
TomAwezome
e86990c4b1 Reformat OpCodes.DD 2020-07-24 19:26:14 -05:00
TomAwezome
31bb10d72f Reformat Compiler.PRJ 2020-07-24 19:22:23 -05:00
TomAwezome
d35ac3516c Reformat Lex.CC 2020-07-24 19:09:44 -05:00
TomAwezome
73158e2fba Reformat CMain.CC 2020-07-24 18:58:58 -05:00
TomAwezome
4fc49522b0 Reformat BackLib.CC 2020-07-24 18:50:18 -05:00
TomAwezome
7e61c50954 Reformat LexLib.CC 2020-07-24 14:36:33 -05:00
TomAwezome
71e22dc558 Refactor CMisc.CC 2020-07-24 14:33:00 -05:00
TomAwezome
b7cb14ccb2 Reformat CHash.CC 2020-07-24 13:37:33 -05:00
TomAwezome
b179792268 Reformat CExcept.CC 2020-07-24 13:27:02 -05:00
TomAwezome
f52a734fe4 Reformat BackFB.CC 2020-07-24 10:25:31 -05:00
TomAwezome
a33887fed4 Reformat BackFA.CC 2020-07-23 18:32:59 -05:00
TomAwezome
3dd61551cf Reformat BackC.CC 2020-07-23 18:27:34 -05:00
TomAwezome
280a7352ad Refactor CExterns.CC 2020-07-23 17:58:53 -05:00
TomAwezome
1a7fbb754b Reformat BackB.CC 2020-07-23 15:11:29 -05:00
TomAwezome
0c7ca537f7 Reformat CInit.CC 2020-07-23 14:55:43 -05:00
TomAwezome
fb58cb921f Reformat BackA.CC 2020-07-23 14:28:20 -05:00
TomAwezome
ddeb6206bd Reformat AsmResolve.CC 2020-07-23 14:12:35 -05:00
TomAwezome
d3e57cc7a9 Reformat AsmLib.CC 2020-07-23 08:14:24 -05:00
TomAwezome
4767fc9f2f Reformat AsmInit.CC 2020-07-22 04:02:16 -05:00
TomAwezome
040e265be8 Reformat Asm.CC 2020-07-22 03:55:56 -05:00
TomAwezome
0ad30bd31d Reformat CompilerB.HH 2020-07-22 01:00:06 -05:00
TomAwezome
dbcd76faf2 Reformat CompilerA.HH 2020-07-21 16:53:59 -05:00
TomAwezome
5aac8da5d9 Reformat KStart64.CC
Co-authored-by: VoidNV <voidnv@protonmail.com>
2020-07-21 16:47:25 -05:00
TomAwezome
5718ab999d Reformat DiskCFile.CC 2020-07-21 11:54:58 -05:00
VoidNV
ca1683c34f working AHCIATARW function
comments and refactors
2020-07-21 10:17:08 -05:00
VoidNV
b4c6f4e230 remove old ac.cc file 2020-07-21 09:13:23 -05:00
Void NV
92cba974f2 Added BIOSRep, spacing fix in version printing 2020-06-04 18:05:55 -05:00
Void NV
bf41becf22 remove redundant echo from gw script 2020-06-04 08:09:13 -05:00
TomAwezome
701a30e8d4 reformats on some more BlkDev kernel files 2020-06-04 03:06:35 -04:00
TomAwezome
e16edca785 finished reformatting ZBlkDev directory 2020-06-02 16:53:56 -04:00
TomAwezome
f4d859dce0 spacing and formatting 2020-05-23 21:52:50 -04:00
TomAwezome
0293e0d373 spacing to more files 2020-05-23 01:33:35 -04:00
Void NV
3e8690799c Caps Lock is now Backspace, fuck you 2020-05-21 01:53:43 -05:00
Void NV
948532f39e DiskATA.CC refactor 2020-05-05 01:47:34 -05:00
Void NV
37055c1fa9 Add ZenithWarn(), refactor KUtils and Mount2().
Semiworking AHCI ATA RW function
2020-05-03 14:50:09 -05:00
TomAwezome
606d0b4568 added check to send correct(?) cmd on identify ATAPI device, added right shift to num lock map 2020-05-01 18:46:12 -04:00
Void NV
928f6d4671 AHCI Identify, Added ST_FALSE_TRUE 2020-05-01 15:32:38 -05:00
Void NV
e92c1ca443 AHCI headers part 1 2020-04-29 17:42:05 -05:00
Void NV
0bbced2c7d AHCI reset 2020-04-28 22:24:33 -05:00
VoidNV
c387ee9b0a some AHCI functions 2020-04-27 13:38:22 -05:00
VoidNV
5465fba708 Don't run splash on RAM boot, run on DVD boot
removed access log
2020-04-22 23:46:41 -05:00
TomAwezome
f9dd08e10e more files reformatted. 2020-04-22 03:16:08 -04:00
VoidNV
f0fb30ba58 Some more AHCI definitions 2020-04-14 09:32:14 -05:00
Void NV
c6dddb932b Rewrote IntEntry functions. Added CIDTEntry.
Removed DPL argument from IntEntrySet.
Updated OS version to 1.12.
2020-04-12 17:14:55 -05:00
Void NV
f6634624fd Default resolution on DVD boot is now 800x600. 2020-04-11 18:33:13 -05:00
TomAwezome
3c69be5412 minor reformatting, spacing, brackets movement. 2020-04-11 18:19:38 -04:00
TomAwezome
aa46a1c1fc stupid fucking asterisks fuck 2020-04-11 01:43:18 -04:00
Void NV
29e5dee551 PIC# -> PIC_#, PIT# -> PIT_# 2020-04-10 20:28:34 -05:00
Void NV
1134edb312 Remove freeze notice 2020-04-04 22:04:55 -05:00
Void NV
d48b14b6ee Added unset flag printing to StrPrintFlags()
Added option to free str in StrReplace()
Added Registry to gitignore
SMBIOS work in progress
2020-03-29 17:11:28 -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
Void NV
c7a04c4ee7 Added StrReplace(). Not heavily tested 2020-03-20 19:35:06 -05:00
Void NV
ce63335991 Added OPTf_DECIMAL_ONLY 2020-03-20 00:08:53 -05:00
v0x3l
d6e3956704 Prefix Get, Set, Scan, Post changed to postfix 2020-03-19 15:59:53 -05:00
Void NV
1ba3b0dcaf SMBIOS parsing in progress.
Partial AHCI definitions. Rename GetStr to StrGet
Net code from TomAwezome
2020-03-17 09:40:18 -05:00
Void NV
24c1215277 Add Gruvbox Dark palette 2020-03-12 22:42:27 -05:00
Void NV
138537ad5b Glbl -> Global. Removed comments about compression 2020-03-12 22:11:04 -05:00
Void NV
cd5dc3800f Undo assembler work. Remove shift-space. 2020-03-12 21:59:08 -05:00
Void NV
5995cc62f6 Add many SSE instructions. Removed ARGT_XMM0. Ending IMM support with '$' 2020-03-08 16:51:17 -05:00
Void NV
d02e02fd6c CRLF Windows 2020-03-08 07:41:09 -05:00
v0x3l
2707d9e157 Asm.CC clean up 2020-03-05 20:33:39 -06:00
v0x3l
f497b6ac4f use arg masks in ParseAsmInst() 2020-03-05 18:16:07 -06:00
v0x3l
5af78f72cc Clean up ParseAsmInst() 2020-03-05 17:02:28 -06:00
v0x3l
3c7e7e7e3c Supposedly working SSE instructions 2020-03-04 00:29:09 -06:00
v0x3l
470a4d5879 CAsmIns -> CAsmInst 2020-03-03 23:38:19 -06:00
v0x3l
c3c6a8c6ee arg size mask defines 2020-03-03 21:30:53 -06:00
v0x3l
c957c3e723 Replace harcoded masks with arg define masks 2020-03-03 18:04:51 -06:00
v0x3l
fa2e657452 Add PCNet driver by TomAwezome 2020-03-02 17:35:17 -06:00
v0x3l
472bc164d8 OM -> OCM 2020-03-01 15:11:22 -06:00
v0x3l
ecd598c2ab HomeKeyPlugIns -> HomeKeyPlugins 2020-02-29 20:10:42 -06:00
v0x3l
c5d8554337 Remove shift-space. 2020-02-29 19:59:50 -06:00
xmm15
9120a0d71b Add bitmap mouse by TomAwesome
Add handcoded SSE instruction demo
2020-02-24 00:09:53 -06:00
xmm15
2467e31b7f Add night palette 2020-02-23 15:24:57 -06:00
xmm15
5514ca2e8a Modified FileRead, FileWrite, and FileFind
No more .Z double searching
Removed ASCII 5 cursor from all files
2020-02-23 01:54:39 -06:00
xmm15
3c56fa3096 Add XMM8-XMM15 to compiler register list
Space out compiler lists
2020-02-23 00:44:01 -06:00
xmm15
4b1371ae20 Add 32-bit color demo to /Demo/Graphics
Added incomplete introduction to CosmiC.
Added assembly hello world
2020-02-22 22:53:44 -06:00
xmm15
83773e2548 Add ChangeLog.DD.
Contains Terry's changelog from TOS 4.07 until 5.03.
 Most of his links are broken. To Be Fixed
Renamed VBEFlush -> LFBFlush
Removed Balloon Graphics Demo
2020-02-22 20:13:59 -06:00
xmm15
0b3ada88ca Got rid of font std and Euphrasia palette
Clean up KStart32
Change back Mouse to original arrow
2020-02-22 03:09:21 -06:00
xmm15
006bd856db Kconfig prompt space after comma 2020-02-20 21:45:16 -06:00
xmm15
08a694e891 Remove VGA ROM font New font std, old font aux.
VGAFlush -> VBEFlush
Fix some links, a couple graphics demos are broken
2020-02-20 21:36:04 -06:00
xmm15
1745c7c404 Font provided by TomAwezome. Mad some changes 2020-02-20 20:01:16 -06:00
xmm15
889d97383d 2 Spaces -> 1 Tab (4 spaced) for indentation
Fixed PCILookUpSingle code for this change
EdCodeTools reindent needs to be updated
2020-02-20 17:40:10 -06:00
xmm15
12e69c5ce6 Added several more palettes 2020-02-19 21:38:04 -06:00
xmm15
8e572c4e67 Screen resolution portion added to Kernel config
removed staff mode
2020-02-19 20:08:38 -06:00
xmm15
fcd1560d88 Zenith 1.0. FastReboot with Shift+Alt+Del
MemBIOSRep improvements
Added gruvbox light palette
2020-02-19 18:34:27 -06:00
xmm15
e4a4fe667c Raw register dump on left side of screen
Tasks start at 4/5 screen height
2020-02-19 17:52:56 -06:00
xmm15
902f80e007 mon_start_days1(2) -> month_start_days(_leap) 2020-02-19 15:10:37 -06:00
xmm15
130fb30910 Potential BootRAM fix. 2020-02-19 14:57:13 -06:00
xmm15
da13d6d300 VideoRep function, RLf_VGA -> RLf_VESA 2020-02-19 01:11:54 -06:00
xmm15
008ab45596 VBE asm and definitions 2020-02-19 00:17:33 -06:00
xmm15
fce57e0a85 DirMk -> DirMake Remove Zip, Unzip, ZipRep 2020-02-17 22:45:01 -06:00
xmm15
c08e36e6f4 Endian swapping functions converted to assembly.
IC_QUE -> IC_QUEUE
2020-02-17 01:18:27 -06:00
xmm15
31270a4ead PCI Register defines, PCIRep shows prog_if
CPCIDev class added to
2020-02-17 00:02:08 -06:00
xmm15
af86b51e29 Remove ugly HPET implementation 2020-02-16 19:36:52 -06:00
xmm15
8c7d478d86 ClassRep u8_chars 2020-02-16 16:03:16 -06:00
xmm15
a2187525f3 Remove APIC CPUID check, add pastel palette 2020-02-16 15:00:55 -06:00
xmm15
c451c90414 Add PIT Document 2020-02-16 11:57:16 -06:00
xmm15
88e526cba5 Add PIT defines 2020-02-16 04:19:49 -06:00
xmm15
0ce07bc158 CPURep shows CPU name 2020-02-16 00:59:39 -06:00
xmm15
52e7f0670c HC -> CC 2020-02-15 22:57:03 -06:00
xmm15
38e3210ec0 ms -> mouse, fmt -> format, cfg -> config 2020-02-15 21:06:00 -06:00
xmm15
abd611374d AMAlloc -> ZMAlloc, stmt -> statement 2020-02-15 20:38:13 -06:00
xmm15
c5fbacdcce chg -> change, exts -> externs, dsk -> disk, drv -> drive 2020-02-15 20:31:50 -06:00
xmm15
e85b29e5be stk -> stack, CNT -> COUNT 2020-02-15 19:19:05 -06:00
xmm15
03adc391f5 dft -> default 2020-02-15 18:45:35 -06:00
xmm15
b482ea4f01 QSort -> QuickSort 2020-02-15 18:35:54 -06:00
xmm15
420ff49c6f Glbls -> Globals 2020-02-15 18:09:08 -06:00
xmm15
5576cee060 hndlr -> handler, msg -> message 2020-02-15 17:56:05 -06:00
xmm15
9a0c43d8b4 Scrn -> Screen 2020-02-15 17:19:08 -06:00
xmm15
2d10181de5 Que -> Queue 2020-02-15 16:53:02 -06:00
xmm15
aedb86f72d Fuck ton of renaming 2020-02-15 16:25:33 -06:00
xmm15
d972bba9ee ZenithOS 2020-02-15 15:10:58 -06:00
xmm15
55a5ff4b03 add gitgnore 2020-02-15 15:01:21 -06:00
xmm15
386132de02 Made src directory 2020-02-15 14:31:41 -06:00