Commit graph

303 commits

Author SHA1 Message Date
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
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
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
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
b6496c9378 Update IntEntrySet calls to use new IntEntryAlloc system. 2021-12-04 05:07:38 -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
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
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
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
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
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
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
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
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
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
d3c21658f1 Unify HDD & CD/DVD Kernel binary locations. 2021-07-25 04:07:40 -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
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
35b12f59b3 Implement E1000 RX TX initialization. 2021-07-09 01:35:05 -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
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
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
69607fc0f5 Implement codebase HTML generation. 2021-07-03 00:07:57 -04:00
TomAwezome
76ee6ec6a2 Update documentation. 2021-07-02 04:24:53 -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
Z3N1THM4N
cce6b73cf3 Restore Bible, GodWord, GodBiblePassage, BF: links 2021-06-28 07:05:07 -05: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
baa862b268 Remove redundancies in AHCI RBlks and WBlks functions.
Clean up and reformat AHCI code.
2021-06-06 01:11:36 -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
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
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