Commit graph

846 commits

Author SHA1 Message Date
TomAwezome
7c6f6117d2 Change AHCIPortIdentify cmd_fis desc set to debug approach, add another var check. 2022-10-06 18:19:08 -04:00
TomAwezome
f813da6107 Add debug AHCIPortIdentify PxCMD.ICC set to 1. 2022-10-06 18:18:13 -04:00
TomAwezome
1145ab3b9b Remove debug known-good vals from check in AHCIPortIdentify. 2022-10-06 18:17:45 -04:00
TomAwezome
0cbbe5a74b Add debug AHCIPortIdentify device_sleep clear and another var check. 2022-10-06 18:16:56 -04:00
TomAwezome
896239cd77 Fix kernel compile warn on debug var dup type. 2022-10-06 18:15:38 -04:00
TomAwezome
52db1e115c Fix KernelA typo on AHCI_CF_DESCF_C value. 2022-10-06 18:14:23 -04:00
TomAwezome
6624bba48e Replace magic number in AHCIPortIdentify cmd header desc fix attempt. 2022-10-03 21:19:14 -04:00
TomAwezome
008e68cc29 Try setting CFL bits in AHCIPortIdentify. 2022-10-03 05:12:43 -04:00
TomAwezome
415294c209 Make another non-functional limine hdd install test file.
:^)
2022-09-30 03:44:26 -04:00
TomAwezome
7a109d8162 Remove endian lines from broken LimineHDD file 2022-09-21 17:50:33 -04:00
TomAwezome
1a130d39ec Add currently non-functional Limine HDD 'install' test file in /Home. 2022-09-21 17:32:41 -04:00
TomAwezome
af27249c43 Update debug reporting. 2022-09-15 10:51:32 -04:00
TomAwezome
0561a21eaa Add debug variable report and timeout count to AHCI methods that doodguy's computer is hanging at. 2022-09-14 18:17:36 -04:00
TomAwezome
8c132e2536 Replace AHCIPortInit CPortCmdHeader pointer cast(s) with declared variable. 2022-09-13 01:45:25 -04:00
TomAwezome
e35d49f6df Change Limine boot related filenames.
limine.cfg --> Limine.CFG
limine.sys --> Limine.SYS
limine-cd-efi.bin --> Limine-CD-EFI.BIN
limine-cd.bin --> Limine-CD.BIN
2022-09-12 23:07:09 -04:00
TomAwezome
fa380a3024 Update System/Define.ZC 2022-09-12 22:48:41 -04:00
TomAwezome
1329e5b2da Move limine.cfg to /Boot, remove /Boot from .gitignore. 2022-09-12 21:38:21 -04:00
TomAwezome
ee52a7ee12 Remove /Home/K.ZC. 2022-09-12 21:30:14 -04:00
TomAwezome
95ee43d4a1 Put debug prints and HLT in AHCIPortInit to diagnose bare-metal AHCIPortInit Page Fault bug on doodguy's UEFI machine. 2022-09-12 16:23:54 -04:00
TomAwezome
111e3475e3 Raise MEM_E820_ENTRIES_NUM to 256, remove memmap entry count max check in zealbooter at suggestion of mintsuki. 2022-09-12 04:26:10 -04:00
TomAwezome
8297c769e6 Fix zealbooter memmap kernel header buffer-overflow.
Previously the zealbooter memmap e820 assignment loop used the entry count value passed via limine, without checking if it was over MEM_E820_ENTRIES_NUM, the #define constant value limit of entries that are stored in the kernel header's e820 region. This commit bumps up the constant entry count to 64 from 48, and also adds a small check in zealbooter to ensure that the entry count value used in the memmap loop caps off at the constant value.
2022-09-12 00:41:09 -04:00
TomAwezome
67fda6d081 Set aux font to a verifiably Public Domain font bitmap set.
Fonts used to make aux font:
Public Pixel Font by GGBotNet ( https://www.fontspace.com/public-pixel-font-f72305 )
Marediv Font by Pixel Kitchen ( https://www.fontspace.com/marediv-font-f32318 )

Both fonts used are licensed under the Public Domain.
2022-09-01 01:28:46 -04:00
TomAwezome
8fa30a396f Unhardcode BOOT_RAM_LIMIT, patch via kernel headers. 2022-08-29 00:24:45 -04:00
mintsuki
7a0c9a710c Fix KStart32-related issues and improvements to build script 2022-08-28 09:30:17 +02:00
TomAwezome
14515d7a19 Fix sys_framebuffer_bpp size and assignment in KStart16. 2022-08-28 02:10:37 -04:00
TomAwezome
5a4351d10c Raise OS version to 2.0 2022-08-28 00:50:43 -04:00
TomAwezome
94eea62a5c Fix major ISO9660 ISOFileRead bug and typo caused by hasty reformatting. 2022-08-27 16:09:53 -04:00
TomAwezome
c2b4a4a1a0 Remove debug KMain Compiler load testing. 2022-08-27 16:08:29 -04:00
TomAwezome
d3a298c9fd Fix minor formatting error. 2022-08-27 16:07:45 -04:00
TomAwezome
07d4bbc20c Remove ASCII 0x5 cursor from files. 2022-08-27 16:07:26 -04:00
TomAwezome
22c1839971 Update VideoRep to VBE kernel header symbol removals. 2022-08-27 13:13:12 -04:00
TomAwezome
751684f8ac Set xorriso to generate Joliet ISO data. 2022-08-27 08:15:06 -04:00
TomAwezome
41a033fe8a Implement prekernel disk GPT UUID pass to kernel, add to headers, check in AHCIBootDVDProbeAll. 2022-08-27 05:11:55 -04:00
TomAwezome
ce84d5532f Merge all dev build scripts into build-iso.sh 2022-08-27 01:14:42 -04:00
TomAwezome
33bf00ea5c Revise KStart16 framebuffer acquire logic. 2022-08-26 20:55:55 -04:00
TomAwezome
3a296bc368 Update Auto scripts for recent VBE removal changes. 2022-08-26 18:51:49 -04:00
TomAwezome
f74e3d6b20 Remove VBE from kernel headers. 2022-08-25 07:15:24 -04:00
TomAwezome
2bd8e2ab0b Remove SYS_FONT_PTR and related code. 2022-08-25 04:33:39 -04:00
TomAwezome
0bf82fb057 Implement limine zealbooter prekernel SMBIOS entry patching to kernel. 2022-08-23 21:04:27 -04:00
TomAwezome
dbbf751a44 Remove commented old code lines from KMain. 2022-08-23 18:24:50 -04:00
TomAwezome
628848c79d Change limine.cfg mode 100644 to 100755. 2022-08-23 18:23:46 -04:00
TomAwezome
f86a0ed978 Remove ASCII 0x5 cursor character from files. 2022-08-23 18:00:55 -04:00
TomAwezome
7d31064b6a Abstract out VBE vars from most of OS, revise dev uefi temp vm build system.
Misc UEFI build scripts have been removed/revised/condensed into one script with multiple rebuild steps. The order of the steps is as follows: Auto-install into temp VM with custom AUTO-VM iso, merge kernel headers into VM, rebuild kernel, merge Kernel/ code, rebuild kernel, merge all src/ code, deploy limine and zealbooter, rebuild kernel (as well as test), then test UEFI and BIOS mode.
2022-08-23 04:48:04 -04:00
TomAwezome
3b1e0af20b Implement uefi build script with distinct only-kernel-header recompile step. 2022-08-23 01:50:31 -04:00
TomAwezome
e6ca68c2e2 Begin prototyping limine UEFI ISO generation. 2022-08-22 05:42:13 -04:00
TomAwezome
1d4d8dc86e Fix limine uefi missing SYS_FONT_PTR by hardcoding a new aux font dedicated file.
Since Zeal used a 16-bit mode BIOS INT to get an 8x8 VGA ROM font, this is incompatible if Zeal is loaded to a patched 32-bit mode by the zealbooter prekernel. To circumvent SYS_FONT_PTR never being set and fix access to the 'thick' font with Ctrl-Alt-F, I loaded Zeal bare-metal on my Thinkpad T420 and saved the VGA ROM font file with FontEd, then transferred the file to my VM.
2022-08-22 03:18:54 -04:00
TomAwezome
644a73711e Merge branch 'limine2' into limine 2022-08-22 02:46:53 -04:00
mintsuki
375a487087 ZealBooter: De-hardcode kernel load address and boot stack 2022-08-21 22:21:01 +02:00
mintsuki
1510f65468 ZealBooter: Further cleanup and fix BIOS boot 2022-08-21 20:47:26 +02:00
mintsuki
ee265c8767 ZealBooter: Move sys_pci_buses assignment to zealbooter.c 2022-08-21 19:13:48 +02:00
mintsuki
d7f72e3aa9 ZealBooter: Misc cleanup, SMP working 2022-08-21 19:03:17 +02:00
mintsuki
fa4ded924f ZealBooter: Misc cleanup 2022-08-21 17:42:32 +02:00
TomAwezome
f2f7fa953f Merge branch 'limine2' into limine 2022-08-21 06:41:47 -04:00
mintsuki
5f3bdc637b Set sys_pci_buses to 256 by default 2022-08-21 10:36:14 +02:00
mintsuki
bcb830e880 ZealBooter: Misc progress 2022-08-21 10:27:19 +02:00
TomAwezome
402fa603a6 Put framebuffer members in SYS_KERNEL to match previous commit adding them to CKernel. 2022-08-20 12:29:04 -04:00
TomAwezome
ddccc7d7ff Begin attempt to get limine framebuffer and combine it into kernel data members. TODO: update SYS_KERNEL DU members. 2022-08-20 11:46:30 -04:00
mintsuki
344de80dab ZealBooter: Misc progress 2022-08-20 16:13:06 +02:00
mintsuki
69f0f37b9b Initial work on ZealBooter 2022-08-20 01:54:34 +02:00
TomAwezome
12201e46b6 Implement build-temp-vm-uefi-1 script that performs an additional BIOS mode reboot to allow for automatic kernel recompile before booting into UEFI mode with Limine. 2022-08-19 00:56:11 -04:00
TomAwezome
87de096d19 Implement rebuild script and AUTO-VM.ISO for rebuilding and testing code during development.
The build-temp-vm script will perform the same logic as the build-iso script, the only difference being it will not perform ISO extraction logic whenever the VM is closed. Changes made inside the temporary VM will NOT be preserved. The AUTO-VM bootstrap ISO (which similarly has the system and kernel rebuilding logic on boot but has the ISO generation steps removed) is created by slightly modifying the standard AutoFullDistro0.ZC script file, then using sync.sh to sync the repo contents and update the AUTO iso. Since this setup exists separate from the ISO process, the modified AUTO iso can simply be renamed to AUTO-VM.ISO and the default one re-checked out via git to restore it.
2022-08-18 22:06:50 -04:00
TomAwezome
90a43d9a85 Make Varoom sky fix work correctly on all resolutions. 2022-06-28 22:33:15 -04:00
TomAwezome
3620ff3e0a
Merge branch 'master' into sky-fix 2022-06-28 18:13:51 -04:00
xSlendiX
af11396a28 Add HolyMath's tests to TestSuite
This commit adds HolyMath's tests (HolyMathMat4, HolyMathVec) to
the TestSuite.
2022-05-16 02:47:56 +03:00
xSlendiX
8814ca1436 ZoneOut: "Center" background and make sky adapt to those changes
This commit makes the background in ZoneOut "center" to the screen, as
well as fill with LTCYAN the top half of the screen to get a complete
sky, not part of it.
2022-05-16 02:24:47 +03:00
xSlendiX
f8f0c435bb Varoom: Make sky height dynamic
This commit makes it so that Varoom's sky is properly rendered across
multiple resolutions. It also lowers the sun down by 10 pixels.
2022-05-16 02:23:44 +03:00
TomAwezome
f7ffa6f5e4 Change ZealOS Charter. Fix doc typos. Remove Reliability.DD. 2022-04-17 00:59:41 -04:00
TomAwezome
a5ec528fba Invert bottom-right window border text. 2022-04-16 20:43:02 -04:00
TomAwezome
da8ca638f3 Fix some code formatting. 2022-04-16 20:17:56 -04:00
TomAwezome
d7aa45b882 Update Amicus Palette. 2022-04-16 20:11:19 -04:00
TomAwezome
63d0612e5d Update ChangeLog with ISO9660 details. 2022-04-16 19:11:53 -04:00
TomAwezome
dbc29a5160 Fix IS09660 code formatting. 2022-04-16 18:31:54 -04:00
TomAwezome
eedb6b52aa Fix IS09660 comment typo. 2022-04-16 18:24:51 -04:00
TomAwezome
872e1a1385 Fix IS09660 code formatting. 2022-04-16 17:55:26 -04:00
TomAwezome
88fe6b59ba Fix formatting of ZealC postfix pointer casts in ISO9660 code. 2022-04-16 17:31:48 -04:00
TomAwezome
b5d80ca147 Restore ISO9660 mentions in documentation from "TempleOSCD_2017-05-21T03 56 09.ISO". 2022-04-16 17:09:18 -04:00
TomAwezome
7d80592aaa Restore ISO9660 filesystem non-writable error checks from "TempleOSCD_2017-05-21T03 56 09.ISO". 2022-04-16 15:53:14 -04:00
TomAwezome
aa911b9a0f Restore File Manager ISO9660 functionality. 2022-04-14 00:57:40 -04:00
TomAwezome
5bd83cd4a7 Re-add ISO9660 .ISO creation from "TempleOSCD_2017-05-21T03 56 09.ISO". 2022-04-04 00:51:26 -04:00
TomAwezome
75d5ea1ecc Re-add ISO9660 read support from "TempleOSCD_2017-05-21T03 56 09.ISO". 2022-04-01 23:55:04 -04:00
TomAwezome
6f7288e8ed Remove ACWords.DATA and Home/ folder from AUTO.ISO. 2022-04-01 14:21:45 -04:00
TomAwezome
675b9c1f42 Fix AHCIBootDVDProbeAll buffer read error try catch. 2022-04-01 13:01:22 -04:00
TomAwezome
a25b7fd03f Add verbose TaskRep functionality.
Add ST_WIN_INHIBIT_FLAGS, ST_TASK_FLAGS, ST_DISPLAY_FLAGS, WIf_FLAGS_NUM, TASKf_FLAGS_NUM, DISPLAYf_FLAGS_NUM.
Add verbose Bool default arg to TaskRep and verbose Task report logic in TaskRepTask.
2022-04-01 00:41:35 -04:00
TomAwezome
0ef5e97000 Add .ZXE icon to GrDir, clean up .BIN icon. 2022-03-27 03:08:57 -04:00
TomAwezome
935ea2219d Add arrow key mouse movement to 32BitPaint, reassign canvas clear key to End. 2022-03-27 01:20:24 -04:00
TomAwezome
5b99114ef1 Add link to ParseExpression2 in CompilerOverview.DD. 2022-03-26 22:42:00 -04:00
TomAwezome
346bfc3d7d
Update KGlobals.ZC 2022-03-26 22:29:09 -04:00
TomAwezome
c95266c667 Remove all DocOpt methods, add AutoComplete link in EdPullDown menu. 2022-03-26 01:16:17 -04:00
TomAwezome
4cea112eb4 Patch a left arrow bitmap character in font over Reverse NOT Sign, use for Caller listings. 2022-03-26 01:13:26 -04:00
TomAwezome
ecfb76be9b Remove TOSZ documentation and link from HelpIndex. 2022-03-26 01:06:29 -04:00
TomAwezome
23b8973057 Delete Port Control Protocol test file. 2022-03-26 01:01:58 -04:00
TomAwezome
8951ce2445 Fix a few formatting errors and typos. 2022-03-26 00:59:25 -04:00
TomAwezome
6c44605a08 Fix Boot doc sprite text. 2022-03-04 15:56:33 -05:00
TomAwezome
2f3c779c92 Fix HTML docs empty page tab title. 2022-03-04 15:39:58 -05:00
TomAwezome
408e4d094e Change HTML documentation system. 2022-03-04 14:48:45 -05:00
TomAwezome
5ff6487615 Update WallPaper to print full task caller report.
Increase CTask.wallpaper_data from STR_LEN to 4096.
2022-02-13 22:11:46 -05:00
TomAwezome
dd21cff146 Change .BIN format to .ZXE (Zeal Executable).
Remove .C suffix on non-executable binary files.
2022-01-28 03:05:21 -05:00
TomAwezome
a7a22a353f Improve JSON API. Implement JSONString(), JSONKeyValueGet(), and JSONIndexValueGet(). 2022-01-23 04:38:03 -05:00
TomAwezome
9f6486c0de Implement NetLogSave method to dump NetLog to a file. 2022-01-22 04:16:21 -05:00
TomAwezome
b66744f5b2 Update OS Upgrade feature. 2022-01-22 03:12:51 -05:00
TomAwezome
bab9e8a43c Update documentation. 2022-01-21 22:43:18 -05:00
TomAwezome
b2a33cc72a Integrate HolyMath (from https://github.com/TempleProgramming/HolyMath).
Create new folder System/Math/, move System/Math.ZC and System/MathODE.ZC to this new folder.
Add HolyMath files to System/Math/.
Change System/MakeSystem.ZC to #include System/Math/MakeMath.ZC.
2022-01-18 00:52:46 -05:00
TomAwezome
f5381b2add Update PaletteEditor palettes. 2022-01-17 18:21:11 -05:00
TomAwezome
cea590ba55 Fix missing NetConfigure call. 2022-01-17 00:28:34 -05:00
TomAwezome
10a5876ce7 Implement retries for when network stack fails NetConfigure. 2022-01-17 00:12:18 -05:00
TomAwezome
afc785ba27 Implement FTP client. 2022-01-10 00:05:51 -05:00
TomAwezome
dedb922567 Re-add System/Boot/ to tracked files.
(Was accidentally removed in 3a33e6baaff2cfbb162ee71585d96498375285e1.)
Update AUTO.ISO.
2022-01-02 22:50:06 -05:00
TomAwezome
ac3e0cee2d Implement WinTileGrid. 2021-12-30 22:22:37 -05:00
TomAwezome
dccdb20ae0 Add LexDemo. 2021-12-30 17:37:35 -05:00
TomAwezome
ea77c2c920
Fix typo on commit 9857b67377 2021-12-28 22:54:14 -05:00
TomAwezome
9857b67377 Implement Ping network function. 2021-12-28 22:52:09 -05:00
TomAwezome
d767f8f6e7 Implement ICMPRequestSend. 2021-12-28 13:48:04 -05:00
TomAwezome
5a145ef081 Fix TCP RST ACK loop bug. 2021-12-15 00:04:51 -05:00
TomAwezome
dc66f78d51 Fix Gopher client filename truncation bug. 2021-12-14 19:56:32 -05:00
TomAwezome
415edf731d Add an Up button to GrDir. 2021-12-14 04:14:09 -05:00
TomAwezome
7521710585 Change SSE MOVSD opcode configuration. 2021-12-12 00:57:06 -05:00
TomAwezome
38ae0c07c2 Fix ChangeLog links. 2021-12-11 18:18:30 -05:00
TomAwezome
3a33e6baaf Rename CosmiC to ZealC.
Rename all .CC files to .ZC extension.
2021-12-11 06:21:22 -05:00
TomAwezome
827f4d16df Rename CosmiC to ZealC.
Rename IC_HOLYC_TYPECAST to IC_POSTFIX_TYPECAST.
Add some compiler documentation.
2021-12-11 04:58:01 -05:00
TomAwezome
2836d36ca6 Add comments to some compiler methods.
Revert 440Hz 'A' tuning.
2021-12-09 03:35:44 -05:00
TomAwezome
1b2144c451 Restore install-drive functionality, remove legacy IDE fields and padding from CBlkDev and CBlkDevGlobals, add ins_port AHCI member and use it to replace IDE fields. 2021-12-04 05:31:11 -05:00
TomAwezome
b6496c9378 Update IntEntrySet calls to use new IntEntryAlloc system. 2021-12-04 05:07:38 -05:00
TomAwezome
102d8afafe Implement BlkDevRep, remove BlkDevRep demo file. 2021-12-04 05:05:58 -05:00
TomAwezome
9ebbb0847b Fix Mount2 allowing skipping HDD SATA port entry.
Rename network stack `Run.CC` to `Start.CC`, fix running applications in subdirectories using F5 in `Ed` window.
2021-12-03 23:07:34 -05:00
TomAwezome
363a8c8d00 Fix DebugOverview.DD typo. 2021-11-30 17:11:08 -05:00
TomAwezome
2091603de3 Fix HelloWorld demo doc. 2021-11-30 16:12:17 -05:00
TomAwezome
05be1d0e0c Rename dump functions.
Rename `DocDump` to `DocDumpLines`.
Rename `DocDm` to `DocDumpMem`.
Rename `DocD` to `DocDump`.
Rename `Dump` to `FileDump`.
Rename `DClus` to `ClusDump`.
Rename `DBlk` to `BlkDump`.
Rename `RawDm` to `RawDumpMem`.
Rename `RawDr` to `RawDumpRegs`.
Rename `RawD` to `RawDump`.
Rename `Dr` to `DumpRegs`.
Rename `Dm` to `DumpMem`.
Rename `D` to `Dump`.
Rename `Who` to `HashTableDump`.
Rename `Da` to `DumpAddress`.
2021-11-30 14:22:38 -05:00
TomAwezome
bba8bda7d6 Fix documentation wording relating to System task. 2021-11-29 23:56:44 -05:00
TomAwezome
a79a3faa87 Fix documentation wording relating to System task. 2021-11-29 23:51:28 -05:00
TomAwezome
406e31cfb6 Update documentation. 2021-11-29 23:50:05 -05:00
TomAwezome
262bd0249e Set I_NETHANDLER using DefinePrint. 2021-11-29 23:45:45 -05:00
TomAwezome
0e3a37d4cd
Fix PaletteEditor PullDown menu typo. 2021-11-25 21:51:07 -05:00
TomAwezome
b512df5183 Fix PaletteEditor bugs. 2021-11-25 05:01:09 -05:00
TomAwezome
b873e13590 Merge branch 'y4mchanges' of https://github.com/y4my4my4m/ZealOS into y4my4my4m-y4mchanges 2021-11-24 02:31:12 -05:00
Sharoy Veduchi
9656c91c2b
Added the "Get" functions 2021-11-17 21:21:27 -08:00
y4my4my4m
54a6499837 Display current palette name 2021-11-14 17:11:50 -05:00
TomAwezome
ff564b4fe0 Allow data RX during TCP CLOSE_WAIT state.
Alter GopherDl to close TCP socket on success/failure.
Revert GopherOpen TCP timeout to default.
Change NetLog to no longer be self-focusable. (This way, window manager won't tile it like other windows.)
2021-11-14 16:33:28 -05:00
y4my4my4m
56ba8c2956 Str2I64 instead of ExePrint and RGB not BGR 2021-11-11 19:04:29 -05:00
y4my4my4m
3f11dd5188 Direct value input 2021-11-11 17:23:18 -05:00
y4my4my4m
a0aee7d4d4 Selection 2021-11-11 06:32:38 -05:00
y4my4my4m
54144e127e Selection and styling 2021-11-11 05:32:24 -05:00
y4my4my4m
48753aa45a BG if color too dark/light 2021-11-11 04:45:33 -05:00
y4my4my4m
030d9ca5b6 Integrated PaletteSelect to PaletteEditor 2021-11-11 03:48:58 -05:00
y4my4my4m
836b9640f5 PaletteSelect CleanUp 2021-11-11 03:02:15 -05:00
y4my4my4m
037fa2cf7f Dynamic file listing 2021-11-11 02:53:04 -05:00
y4my4my4m
106d1cdb6b Palette Select 2021-11-10 04:47:47 -05:00
y4my4my4m
fb495798a6 Update 2021-11-10 03:28:53 -05:00
y4my4my4m
5e5dfee446 Fix 2021-11-09 01:16:56 -05:00
y4my4my4m
febf6bfae4 Functional save/load 2021-11-09 01:03:37 -05:00
y4my4my4m
85801e2b87 Load 2021-11-08 18:05:07 -05:00
y4my4my4m
43f9d7b707 to GR_WIDTH 2021-11-07 03:19:31 -05:00
TomAwezome
8a4fb38873 Fix Gopher client filename length crash. 2021-11-05 05:35:02 -04:00
TomAwezome
ffd0e6acfc Remove cursor character from files. 2021-11-05 05:32:33 -04:00
y4my4my4m
d32aa6c208 Windowed 2021-11-04 15:12:26 -05:00
y4my4my4m
a1adc5deb9 UI fix 2021-11-04 14:38:36 -05:00
y4my4my4m
f7ae82794b PaletteSwapper 2021-11-04 11:53:29 -05:00
y4my4my4m
3624840811 Palette Generator 2021-11-04 10:52:33 -05:00
y4my4my4m
ad277ec4df UI 2021-11-04 09:47:11 -05:00
y4my4my4m
29c8eb99ac cleanup 2021-11-04 06:45:48 -05:00
TomAwezome
68775b3b44 Fix TCP RST ACK loop bug.
Fix Gopher client filename bug using filename character validation.
Increase TCP timeout in TCPConnectionCreate.
Move default AutoComplete position left a bit, just enough so that new windows' [X] button is visible.
2021-11-04 06:06:51 -04:00
y4my4my4m
a9c1241df6 Save Palette 2021-11-04 00:49:21 -05:00
y4my4my4m
089bab943d Revert "GrPalette mod test"
This reverts commit 7afb7d795b.
2021-11-03 01:46:14 -05:00
y4my4my4m
7afb7d795b GrPalette mod test 2021-11-03 01:19:29 -05:00
y4my4my4m
779b34409e update 2021-11-03 00:12:45 -05:00
y4my4my4m
e590b079c3 cleaner 2021-11-02 23:54:25 -05:00
y4my4my4m
39518d3323 fix 2021-11-02 23:01:06 -05:00
y4my4my4m
4d0a013af0 Preview all and selected colors 2021-11-02 19:02:53 -05:00
TomAwezome
5a4bccc5b9 Fix Gopher client null host bug.
Update README to link to ISO build guide.
2021-11-02 17:32:47 -04:00
TomAwezome
9ac4b35c29 Port Gopher client.
(Gopher client from https://github.com/DeclanHoare/tos-gopher)
Implement TCPSocketReceiveLine and TCPConnectionCreate.
Update HolyC --> CosmiC conversion script.
Include DNS before TCP so that DNSAddressInfoGet can be used in TCP methods.
2021-11-02 02:01:48 -04:00
TomAwezome
8306996ff4 Move to new build system. 2021-10-31 20:04:05 -04:00
TomAwezome
7b3a983443 Begin implementing new build system. 2021-10-31 05:09:00 -04:00
TomAwezome
93c19f3f1b Change ProfRep to sort by CPU usage.
Add column headers to Rep functions.
Change MEM_EXTRA_HASH2_PAGS to 1. (Revert this later if it causes bugs.)
2021-10-30 05:12:52 -04:00
TomAwezome
08ca199d08 Optimize MemCopy using SSE instructions.
Revert RawPutChar scrolling behaviour.
Remove all kludge MyNoise functions from Apps and Demos.
Add call to LFBFlush in SettingsPop2 to fix task-swap palette bugs.
Improve ToTheFront game explanation.
2021-10-27 03:30:47 -04:00
TomAwezome
f000c2fbdb Implement 3 operand support in assembler.
Add support for opcodes up to 8 bytes long.
Fix 0x66 prefixed opcode instruction unassembly, at the cost of losing higher-register access on prefixed instructions.
Add almost every SSE instruction.
2021-10-18 01:52:41 -04:00
TomAwezome
dc581ddad2 Add SSE opcodes MOVQ, PMOVMSKB, MINPS, MAXPS, XORPS, CVTSI2SD, and CVTSD2SI to OpCodes.DD.
Add some comments in OptPass789A.CC.
2021-10-09 05:00:13 -04:00
TomAwezome
9aa9e44ea6 Add SSE instruction support to assembler.
(Only 2-arg instructions implemented. CosmiC assembler needs expanding to allow 3+ arg instructions.)
(Only <= 4 byte instructions implemented. CosmiC assembler needs expanding to allow instructions larger than 4 bytes.)
(Bugs: Unassembler incorrectly reports 0x66 prefixed opcodes, non-128-bit instruction arguments report as U128. CosmiC does not yet have support for U128.)
Fix Std Font characters.
Add links to ZealOS-specific apps in Personal Menu.
Remove all files in /Downloads.
2021-10-08 02:06:11 -04:00
TomAwezome
6b3fd2fecb Rename abs_addres to abs_address.
Update documentation/comments to rename addr, fun, var, stmt, blk, desc, reg, seg, ptr, dup, clus, val, and bttn, to address, function, variable, statement, block, description, register, segment, pointer, duplicate, cluster, value, and button, respectively.
2021-10-06 21:35:32 -04:00
TomAwezome
9139a360f6 Fix spacing in Ui, DriveRep, MemBIOSRep.
Fix PCIRep graphics hang on bare-metal.
Fix XTalk buffer formatting in StartUpTasks, PopUpFile, PopUpRunFile, and EdCodeTools2.
Add CBGR32 to Kernel headers.
2021-09-26 01:15:46 -04:00
TomAwezome
1d8b9d2a59 Fix Demo/AcctExample some. 2021-09-25 04:09:28 -04:00
TomAwezome
ff46cd0df2 Fix GrZoomInScreen. 2021-09-21 23:45:45 -04:00
TomAwezome
033e169511 Port Erythros virtio-net driver.
https://git.checksum.fail/alec/erythros/src/branch/master/Boot/Drivers/Virtio-net.HC
https://git.checksum.fail/alec/erythros/src/branch/master/Boot/Drivers/Virtio.HC
https://git.checksum.fail/alec/erythros/src/branch/master/Boot/Init.HC#L55
2021-09-21 02:55:53 -04:00
TomAwezome
3c3e7977a7 Fix TimeClock Demo syntax error.
Fix misaligned WallPaper task report.
Fix Chess deprecated function names.
2021-09-19 01:58:38 -04:00
TomAwezome
f6b9268b52 Fix GrDir crash. 2021-09-17 03:32:51 -04:00
TomAwezome
43a64c897d Add WinMax to EdPullDown menu. 2021-09-15 21:07:38 -04:00
TomAwezome
1c438fdcde Add recognition of Linux ext2/3/4 and swap MBR PT. 2021-08-23 03:14:22 -04:00
TomAwezome
dd959b40c5 Add progress bar to DVDImageRead. 2021-08-17 02:47:37 -04:00
TomAwezome
377a761146 Clean up DVDImageWrite. 2021-08-17 02:07:34 -04:00
TomAwezome
5503ae0596 Fix DVDImageRead block count.
Change left window border text to use inverted color attribute.
Fix ISOInit to account for non-ZealOS legacy CISOPriDesc.
2021-08-16 20:46:17 -04:00
TomAwezome
eb2de4f057 Add try-catch to SATARep and AHCIBootDVDProbeAll.
Add CAtapiCloseCmd to clean up AHCIAtapiClose.
Improve comments at AHCIAtapiModeWriteSelect.
2021-08-16 00:52:03 -04:00
TomAwezome
923b700822 Change DVDImageWrite to use single buffer.
Add CAtapiWriteCmd for AHCIAtapiBlksWrite.
Remove AHCIAtapiSeek and AHCIAtapiFormat.
2021-08-15 02:23:46 -04:00
TomAwezome
84946b3b33 Clean up ATAPI write and mode set functions. 2021-08-14 01:36:19 -04:00
TomAwezome
a80b4fe451 Fix CISOPriDesc padding, add preparer_id member, set in RedSeaISO9660.
Remove some deprecated IDE functions.
Delete Kernel/BlkDev/DiskATA.CC.
Update colors on OSUpgrade.
2021-08-13 18:46:15 -04:00
TomAwezome
99094f1e31 Change colors & text of Merge2, DiffSel, and PopUpDiffMenu. 2021-08-13 17:04:00 -04:00
TomAwezome
b804e25f45 Fix DVDImageWrite bare-metal AHCI CD burning. 2021-08-13 13:30:44 -04:00
TomAwezome
b005bdcb24 Update AHCI ATAPI mode set and write functions. 2021-08-12 22:27:41 -04:00
TomAwezome
a0f20b1dba Implement AHCIAtapiModeWriteSet. 2021-08-09 02:04:03 -04:00
TomAwezome
0120ec2cb7 Implement AHCIAtapiBlank. 2021-08-08 20:33:41 -04:00
TomAwezome
2b03787cc8 Fix OSUpgrade not updating master boot record.
Fix Mount2 AHCI Port value not being cleared on loop.
Change ordering of PersonalMenu links.
Increase Raw mode screen scroll from 1 line to 8 to improve bare-metal performance.
2021-08-06 01:07:27 -04:00
TomAwezome
a01aa006cd Fix raw-mode printing in MemBIOSRep, TaskRep, PCIRep, VideoRep, and MemPageRep.
Fix DriveRep reporting SATA port on non-AHCI drives.
Remove CONFIG_DONT_PROBE.
Remove lingering references to compression from documentation.
Fix Talons incorrect millisecond variable name.
2021-08-04 23:05:19 -04:00
TomAwezome
67479705de Add SATA port number reporting to DriveRep.
Improve Lex assert failure warning to give exact line number.
Remove some deprecated IDE functions.
Add default arg to Drive.
Fix raw-mode printing in StackRep, DriveRep, SATARep, Mount2, and CharGet.
Change LongLines cols default arg from 80 to 128.
2021-08-04 15:25:55 -04:00
TomAwezome
c529b6d7ca Add MountAHCIAuto kernel option.
Remove CATARep, ATARep, ATARepEntry, ATARepFind, ATARepExitAllApplications, and ATAIDDrives.
2021-08-03 22:35:43 -04:00
TomAwezome
1b75d91002 Fix Mount AHCI Port selection.
Add arg to SATARep to specify drive types to show.
Add checks in AHCIPortInit to verify port signatures, add helper method to get signatures from port.
2021-08-02 16:40:05 -04:00
TomAwezome
768c2003e2 Fix DefineLoad variables AutoComplete src_link.
Fix SATARep missing AHCI controller info.
Add PCIDevFind to System/Externs.CC.
Add screen clearing with DocClear or Cls when in raw text mode.
Optimize RawPutChar.
Fix EdLite RAWF_SCROLL bug.
Update screenshots and README.
2021-08-02 02:26:59 -04:00
TomAwezome
35ab2c024a Optimize RawPutChar bare-metal performance.
Add ATAPI Format Unit structs, partially implement.
2021-07-29 14:43:33 -04:00
TomAwezome
22e3d8f06e Clean up E1000 Driver.
Remove some palettes.
Add PaletteSetSlate.
Change all gr_palette_std to gr32_palette_std.
Change all CBGR48 to CBGR24.
2021-07-28 22:20:15 -04:00
TomAwezome
c290cda8f0 Add AHCI Debug methods.
Fix HTML URL.
Begin implementing AHCI ATAPI Sync, Close, Format, and Write methods.
2021-07-26 15:29:49 -04:00
TomAwezome
d3c21658f1 Unify HDD & CD/DVD Kernel binary locations. 2021-07-25 04:07:40 -04:00
TomAwezome
d639cdcdf6 Rename /0000Boot to /Boot.
Rename 0000Kernel.BIN.C to Kernel.BIN.C.
2021-07-24 00:48:21 -04:00
TomAwezome
b1a9e0785d Fix some broken DolDoc links.
Change Who() symbol link width from 20 to 40.
2021-07-23 19:21:07 -04:00
TomAwezome
6262a58c44 Fix ParensWarning file link line number. 2021-07-23 17:05:46 -04:00
TomAwezome
42dc3a16f6 Add eyedropper tool to 32BitPaint app. 2021-07-15 20:46:58 -04:00
TomAwezome
584b5899d3 Add save/load to 32BitPaint app. 2021-07-15 18:25:02 -04:00
TomAwezome
dbf8647d59 Fixed non-writable drive throw on F5 and Ctrl-S.
Added top & right borders to RawDr.
Improved spacing in some debug and compiler reporting.
Fixed RawPutChar and EdLite tab width.
Fixed Ui missing '0x' prefix syntax highlighter bug.
Added 32BitPaint demo.
2021-07-14 18:38:02 -04:00
TomAwezome
5f923300e2 Optimize HTML doc generation.
Change repeated #include and PopUps during HTML generation into one slave task.
2021-07-12 03:26:39 -04:00
TomAwezome
2ea6956433 Implement IntEntryAlloc, IntEntryFree for dynamic user IRQ acquisition.
Restructure network stack to use new Interrupt methods instead of hard-coded IRQ numbers.
Add line count update into build process.
Add progress bars to HTML generation and DoDistro.
Clear Network Log border_doc.
Fix font chars.
Clean up some lingering unconverted variable and directory names.
Remove word-wrap DolDoc tag from Clementine bible because of CPU spikes.
2021-07-11 17:47:19 -04:00
TomAwezome
afdc25f9b8 Begin implementing E1000 RX/TX. 2021-07-09 16:56:43 -04:00
TomAwezome
1003d78140 Added drive changing macros to PersonalMenu from AcctExample. 2021-07-09 04:17:56 -04:00
TomAwezome
35b12f59b3 Implement E1000 RX TX initialization. 2021-07-09 01:35:05 -04:00
TomAwezome
084c65a69a Update .HC to .CC script. 2021-07-08 01:08:03 -04:00
TomAwezome
60b7ff3d27 Implement E1000 SLU, MTA zero-out, interrupt-enable. 2021-07-07 22:36:01 -04:00
TomAwezome
db2f950e79 Implement E1000 MMIO R/W and EEPROM read. 2021-07-07 02:22:37 -04:00
TomAwezome
8a5e9328ca Restructure UDP and TCP #include process.
Add newlines to OS Upgrade questions.
Move PCNet interrupt #defines.
Improve E1000 PCI device loading.
Add comments in E1000 driver to sketch out dev process.
2021-07-06 23:31:06 -04:00
TomAwezome
72e706962a Rename function prefixes 'Z' to 'Sys'.
Begin skeleton of E1000 networking driver.
2021-07-06 16:15:26 -04:00
TomAwezome
30e483bf7d Fix box drawing characters. 2021-07-06 02:44:17 -04:00
TomAwezome
01e5d408fd Add PopUp with OS Upgrade explanation.
Fix unused var warning in OSUpgrade.
Add Who() output to main generated HTML index file.
Rename all 'inst' to 'instruction'.
Change NetLog behaviour, remove window tiling.
Change network stack to throw if no applicable driver can be loaded.
Update line counts.
2021-07-05 22:57:17 -04:00
TomAwezome
d0cafb0198 Allow OS Upgrade feature on VMs.
Update and fix more documentation.
Alter Splash messages and logo color.
2021-07-05 15:23:13 -04:00
TomAwezome
fcd9844a35 Update documentation, fix DD_TEMPLEOS_AGE, add DD_ZEALOS_AGE.
Move custom HtmlGen.CC to /Home, restore original in Demo/.
Fix broken MN: links.
Change default AutoComplete window position.
2021-07-05 14:34:54 -04:00
TomAwezome
2695917b38 Refactor Network driver loading, automatically pick driver based on hardware.
Remove duplicate PCI define, move PCNet PCI defines to Drivers/Run.CC.
2021-07-05 12:19:55 -04:00
TomAwezome
dc2f09abfa Fix HTML generation on files with duplicate names but different extensions. 2021-07-04 20:57:09 -04:00
TomAwezome
8df131d461 Fix HTML generation on files with duplicate names but different extensions. 2021-07-04 20:24:34 -04:00
TomAwezome
ef424e0d94 Fix HTML generation on files with duplicate names but different extensions. 2021-07-04 20:12:38 -04:00
TomAwezome
5002ed5880 Fix HTML index file generation.
Fix HTML generation tab width.
2021-07-04 18:11:43 -04:00
TomAwezome
74a570db70 Implement OS Upgrade wizard.
Make HTML doc generation force index files to make links from subdirectories.
Added Sixto-Clementine Vulgate Bible to Misc/.
Fix User window height, patch font chars.
2021-07-04 01:19:15 -04:00
TomAwezome
2657cff8d0 Restore GodSong.
Merge 4ea8b13361 .
2021-07-03 14:35:04 -04:00
TomAwezome
e29a8d9a46 Fix codebase HTML generation. 2021-07-03 02:51:43 -04:00
TomAwezome
01e13ff62d Fix codebase HTML generation. 2021-07-03 02:47:45 -04:00
TomAwezome
69607fc0f5 Implement codebase HTML generation. 2021-07-03 00:07:57 -04:00
TomAwezome
eb8735b872 Fix HTML Demo. 2021-07-02 22:24:43 -04:00
TomAwezome
ef85d8d6bf Fix AutoComplete standby formatting.
Remove some unneeded IDE functions.
Clean up Mount2().
Alter window border chars in Std Font, patch Aux Font.
Alter window scroll bar drawing routine.
Make System Task window smaller by default.
Implement default args for Ed and PopUpEd.
Add color to '[X]' and 'MENU' in window border top, remove both from System task and remove 'MENU' from AutoComplete task.
2021-07-02 19:38:56 -04:00
TomAwezome
76ee6ec6a2 Update documentation. 2021-07-02 04:24:53 -04:00
TomAwezome
0cb2d21007 Fix formatting in AHCI reporting, installer Upgrade question.
Rename Seth --> Executive.
2021-07-02 01:04:42 -04:00
TomAwezome
2743cf6ace Fork ZenithOS --> ZealOS. 2021-07-01 19:53:42 -04:00
TempleProgramming
e912217325 Start of SSE vector math library. Fixed compiler warnings. Removed rasterizer and Doom map loader from CosmicGL. 2021-07-01 06:27:22 -04:00
TomAwezome
e5596ee2bf Fix DoDistro hanging at AHCIPortIdentify.
Fix hardcoded screen resolution in K.CC.
Begin implementing OS system upgrade feature.
2021-06-30 02:58:43 -04:00
TomAwezome
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.
2021-06-29 18:10:26 -04:00
TempleProgramming
cbb5272ccd CosmicGL cleanup, minor optimizations. 2021-06-28 11:07:47 -04:00
Z3N1THM4N
cce6b73cf3 Restore Bible, GodWord, GodBiblePassage, BF: links 2021-06-28 07:05:07 -05:00
TomAwezome
733feab1f5 Improve bare-metal performance of games.
Fix Splash screen hanging keyboard input on bare-metal.
2021-06-27 03:36:11 -04:00
TomAwezome
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.
2021-06-26 20:36:19 -04:00
TempleProgramming
1cbc72e57b Added CosmicGL. 2021-06-26 04:10:21 -04:00
TomAwezome
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.
2021-06-25 23:06:56 -04:00
TomAwezome
907b136cc1 Fix drive initialization type report.
Fix drive probe not halting boot process when no ATAPI drives are found. #7
2021-06-24 21:16:45 -04:00
TomAwezome
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.
2021-06-24 01:19:46 -04:00
TomAwezome
59eba5a7de Fix AHCIBufferAlign causing crashes on bare-metal.
Update 32-bit color graphics demo.
Add global Boolean to toggle window manager framebuffer writes.
2021-06-22 14:44:19 -04:00
TomAwezome
413b73db76 Fix missing BlkDev locks in AHCI read/write methods. 2021-06-17 03:43:29 -04:00
TomAwezome
138e503ccd Fix DVDImageRead.
Implement functions for AHCI ATAPI Seek and Start/Stop.
2021-06-16 20:47:21 -04:00
TomAwezome
2bf3d229bc Fix bare-metal installer invalid port string. 2021-06-15 21:41:22 -04:00
TomAwezome
674ef844b8 Fix AHCI initialization on bare-metal. 2021-06-15 01:09:35 -04:00
TomAwezome
baa862b268 Remove redundancies in AHCI RBlks and WBlks functions.
Clean up and reformat AHCI code.
2021-06-06 01:11:36 -04:00
TomAwezome
9a0c955bea Implement bare-metal AHCI install wizard.
Fix InstallDrive DriveCheck bug.
2021-06-04 04:28:05 -04:00
TomAwezome
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.
2021-06-02 17:18:26 -04:00
TomAwezome
0f9d6b43f8 Integrate AHCI into entire OS. Remove IDE support. 2021-06-01 16:35:27 -04:00
VoidNV
b974147dbf Add DiskAHCI.CC to Kernel, add ATAPI capacity read
Export read/write and reset AHCI functions
Create SATARep()
2021-05-26 21:27:49 -05:00
VoidNV
1d1c564760 Prototype AHCI ATAPI reading 2021-05-26 03:19:03 -05:00
TomAwezome
24853fa765 Improve logs on AHCI boot prototyping, update IDE DVD boot function order documentation. 2021-05-25 16:20:40 -04:00
TomAwezome
6dbaae46f5 Fix Chess crashing when run on one CPU core. 2021-05-24 05:16:29 -04:00
TomAwezome
e54dd6544a Fix Titanium crashing. 2021-05-24 04:34:51 -04:00
TomAwezome
3fa559706f Implement TCPSocketSendAll and TCPSocketSendString.
Update TCP Chat client and server programs to use new methods.
2021-05-24 01:03:16 -04:00
TomAwezome
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.
2021-05-18 02:09:59 -04:00
TomAwezome
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.
2021-05-14 04:08:38 -04:00
TomAwezome
6f6c8df2e9 Fix TCP Socket Send/Receive not returning upon timeout. 2021-05-12 19:47:16 -04:00
TomAwezome
9f0e880fab Fix TCP Socket Connect not setting receive window class member. 2021-05-12 17:32:07 -04:00
TomAwezome
b99dd94db9 Change TomLight palette to Light, brighten colors, improve system responsiveness by lowering double-click wait time. 2021-05-12 15:57:59 -04:00
TomAwezome
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.
2021-05-12 02:43:59 -04:00
TomAwezome
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.
2021-05-10 20:15:27 -04:00
TomAwezome
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.
2021-03-01 03:55:49 -05:00
TomAwezome
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.
2021-02-27 22:33:34 -05:00
TomAwezome
bc30fdc12f Remove unnecessary parens in network stack. 2021-02-24 01:22:30 -05:00
TomAwezome
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.
2021-02-22 18:50:14 -05:00
TomAwezome
51efddc954 Clean up networking code. Fix missing DCDel in Stars wallpaper. 2021-02-22 03:35:59 -05:00
TomAwezome
f5d80414c4 Reduce UDP system overhead. 2021-02-22 03:08:08 -05:00
VoidNV
0b60b0dbe5 Fix spacing in /Doc/Tips.DD 2021-02-09 05:27:37 -06:00
VoidNV
4b1150df86 Rename MSRGet() -> MSRRead(), MSRSet() -> MSRWrite() 2021-02-09 05:20:31 -06:00
TomAwezome
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.
2021-02-06 06:05:14 -05:00
VoidNV
79e7caaad4 Add MSRGet() 2021-01-28 19:10:11 -06:00
TomAwezome
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.
2021-01-27 14:22:28 -05:00
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
VoidNV
b7ad56489f Remove DriveMap() 2021-01-24 02:19:02 -06: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
fc0bf860b1 Added .HC to .CC file conversion script to Zenith/Utils. 2021-01-18 16:49:23 -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
VoidNV
b3583e05bf Restore "Daemon" to "Seth" 2021-01-12 00:37:35 -06: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
9e53a92859 Fix formatting of ScopingLinkage.DD 2020-07-28 02:40:35 -05: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
54b9ff1778 Remove the blocking of shift-backspace 2020-07-28 02:21:07 -05:00
TomAwezome
560e795e34 Update Tom Light palette
Solid 0xFFFFFF white was a bit too strong, lowered it some.
2020-07-28 02:17:44 -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
bec844caaa Improve Tom Light palette 2020-07-24 21:08:50 -05:00
TomAwezome
44eb2acc2f Fix Star Wallpaper on light palettes
Now the background stays dark independent of the palette
lightness/darkness.
2020-07-24 20:58:32 -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
VoidNV
9f88e473b9 Add new ZSplash motto "LoseThos Resurrected"
"21st Century LoseThos" didn't make much sense.
2020-07-23 18:23:39 -05:00
VoidNV
b15a833f75 Move ZSplash call to from Once StartUpTasks() 2020-07-23 18:07:09 -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