From 60f759145a93dfcf8115c9d7a4f01fd7aec403a4 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Thu, 30 Dec 2021 17:34:28 -0500 Subject: [PATCH] Update documentation. --- docs/Demo/Lectures/LexDemo.ZC.html | 66 + docs/Demo/Lectures/index.html | 15 +- docs/Doc/ChangeLog.DD.html | 1918 +++++++++++++------------- docs/Home/Net/Protocols/ICMP.ZC.html | 243 ++-- docs/Home/Net/Utilities/Ping.ZC.html | 83 +- docs/index.html | 238 ++-- 6 files changed, 1316 insertions(+), 1247 deletions(-) create mode 100755 docs/Demo/Lectures/LexDemo.ZC.html diff --git a/docs/Demo/Lectures/LexDemo.ZC.html b/docs/Demo/Lectures/LexDemo.ZC.html new file mode 100755 index 00000000..51697316 --- /dev/null +++ b/docs/Demo/Lectures/LexDemo.ZC.html @@ -0,0 +1,66 @@ + + + + + + + + +
+
+// See Tokens.
+
+U0 Main()
+{
+    U8          *src;
+    CCompCtrl   *cc;
+    I64          tk;
+
+    "\nThis will Lex an expression,\n"
+    "reporting token-by-token.\n\n";
+
+    while (TRUE)
+    {
+        "\n";
+        src = StrGet;
+        if (*src)
+        {
+            cc = CompCtrlNew(src);
+
+            while (tk = Lex(cc))
+            {
+                "TOKEN: 0x%04X %d\n", tk, tk;
+            }
+
+            CompCtrlDel(cc);
+        }
+        else
+        {
+            Free(src);
+            break;
+        }
+    }
+}
+
+Main;
+
+
+ diff --git a/docs/Demo/Lectures/index.html b/docs/Demo/Lectures/index.html index f4920606..f4269d78 100755 --- a/docs/Demo/Lectures/index.html +++ b/docs/Demo/Lectures/index.html @@ -34,13 +34,14 @@ body {background-color:#1f1f1f;} FixedPoint.ZC FixedPointAdvanced.ZC InterruptDemo.ZC -MiniCompiler.ZC -MiniGrLib.ZC -NegDisp.ZC -Optimization.ZC -PCIInterrupts.ZC -Ring3.ZC - +LexDemo.ZC +MiniCompiler.ZC +MiniGrLib.ZC +NegDisp.ZC +Optimization.ZC +PCIInterrupts.ZC +Ring3.ZC + diff --git a/docs/Doc/ChangeLog.DD.html b/docs/Doc/ChangeLog.DD.html index bfb99461..d105f7ae 100755 --- a/docs/Doc/ChangeLog.DD.html +++ b/docs/Doc/ChangeLog.DD.html @@ -27,964 +27,966 @@ body {background-color:#1f1f1f;}
                                                           ChangeLog
-
-----12/11/21 05:57:44----
-* Raised version number to 1.07.
-* Rename CosmiC -> ZealC.
-* Renamed all files from .CC -> .ZC to reflect language name change.
-* R("HOLYC_TYPECAST", "POSTFIX_TYPECAST", "-i");
-* R("CosmiC", "ZealC", "-i");
-* Rename Doc/CosmiC.DD to Doc/ZealC.DD.
-* R("\"CC\", "\"ZC\"");
-* R(".CC", ".ZC", "-i");
-* FR(".CC", ".ZC");
-
-----12/09/21 03:21:03----
-* Revert 440Hz 'A'.
-
-----12/04/21 04:16:45----
-* Raised version number to 1.06.
-* Removed IDE members and padding from CBlkDev and CBlkDevGlobals, added ins_port to return install-drive recognition 
-functionality.
-* Implemented BlkDevRep, removed BlkDevRep demo file.
- 
-----11/30/21 13:40:29----
-* Raised version number to 1.05.
-* R("DocDump",  "DocDumpLines");
-* R("DocDm",    "DocDumpMem");
-* R("DocD",     "DocDump");
-* R("Dump(U8",  "FileDump(U8");
-* R("DClus",    "ClusDump");
-* R("DBlk",     "BlkDump");
-* R("RawDm",    "RawDumpMem");
-* R("RawDr",    "RawDumpRegs");
-* R("RawD",     "RawDump");
-* R("Dr",       "DumpRegs");
-* R("Dm",       "DumpMem");
-* R("D(",       "Dump(", "-i");
-* R("Who",      "HashTableDump");
-* R("Da",       "DumpAddress");
-
-----10/30/21 05:02:51----
-* Added column headers to Rep functions.
-* Changed ProfRep to sort by hits.
-
-----10/26/21 12:38:12----
-* Raised version number to 1.04.
-* Optimized MemCopy to use SSE instructions. Large performance boost on bare-metal.
-* Reverted RawPutChar scrolling functionality now that MemCopy is faster.
-* Removed all kludge MyNoise functions from Apps and Demos now that MemCopy is faster.
-* Added call to LFBFlush in SettingsPop2 to fix task-swap palette bugs.
-* Improved ToTheFront game explanation.
-
-----10/18/21 01:16:10----
-* Raised version number to 1.03.
-* Increased CInst opcode size from 4 to 8.
-* Added 3 operand support to assembler.
-* Added almost all SSE instructions to OpCodes.DD. SSE instructions operating on MMX registers were not implemented.
-* Fixed 0x66 prefix unassembly opcode reporting, assembler now prevents duplicate REX for prefixed SSE instructions. The 
-tradeoff for fixing this is that 0x66, 0xF2, or 0xF3 prefixed SSE opcodes can only use XMM0-XMM7 RAX-RDI.
-
-----10/09/21 04:05:32----
-* Added MOVQ, PMOVMSKB, MINPS, MAXPS, XORPS, CVTSI2SD, and CVTSD2SI assembly opcodes to OpCodes.DD.
-
-----10/07/21 18:06:15----
-* Raised version number to 1.02.
-* Fixed Std Font characters after char 128.
-* Added links to ZealOS-specific applications in PersonalMenu.
-* Removed all files from ::/Downloads.
-* Started initial work integrating SSE instructions into assembler. See changes here. Only added 2 arg opcodes and only added 
-instructions <= 4 bytes. Current bugs: unassembling SSE instructions that use non-128-bit vars will incorrectly report U128, 
-MOVHLPS and MOVLHPS 2nd operand is defined XMM128 to hack ModrM order but operands should be XMM XMM, due to MOVSD name clash 
-we define opcode as MOVSD_SSE. TODO: add U128 and XMM register allocation support, find way to ensure 16-byte aligned stack to 
-use aligned SSE instructions.
-
-----09/21/21 23:35:00----
-* Raised version number to 1.01.
-* Fixed GrZoomInScreen, added to GrCalcScreenUpdates to factor in zoom, added call to LFBFlush in CtrlAltZ.
-
-----09/15/21 20:33:11----
-* Added WinMax to EdPullDown menu.
-
-----08/23/21 02:28:07----
-* Added recognition of Linux swap and ext2/3/4 filesystem type in BlkDevAdd, added MBR_PT_LINUX and MBR_PT_SWAP, removed 
-MBR_PT_FAT12, added "LINUX" and "SWAP" to ST_DRIVE_TYPES.
-
-----08/17/21 02:42:53----
-* Raised version number to 1.00.
-* Added progress bars to DVDImageRead.
-
-----08/16/21 20:35:44----
-* Raised version number to 0.17.
-* Fixed DVDImageRead block count.
-* Changed left window border text to use inverted color attribute.
-* Fixed ISOInit to account for non-ZealOS CISOPriDesc.
-
-----08/16/21 00:17:55----
-* Added CAtapiCloseCmd.
-* Added try-catch blocks to SATARep and AHCIBootDVDProbeAll.
-
-----08/15/21 01:51:08----
-* Raised version number to 0.16.
-* Changed DVDImageWrite to single-buffer single-threaded instead of dual-buffer multi-threaded.
-* Added CAtapiWriteCmd.
-
-----08/13/21 18:26:14----
-* Fixed padding byte amount in CISOPriDesc, added preparer_id member and set in RedSeaISO9660.
-
-----08/13/21 15:57:12----
-* Changed Merge2, DiffSel, and PopUpDiffMenu colors, added printing source and destination files along with some explanatory 
-text in the popup window.
-
-----08/13/21 13:21:32----
-* Raised version number to 0.15.
-* Fixed DVDImageWrite bare-metal AHCI disc burning, needs some cleanup.
-
-----08/09/21 01:54:50----
-* Raised version number to 0.14.
-* Implemented AHCIAtapiModeWriteSelect to set up ATAPI disc burner write configurations.
-
-----08/08/21 20:30:08----
-* Implemented AHCIAtapiBlank, default is minimal disc blank.
-
-----08/06/21 00:11:02----
-* Fixed Mount2 AHCI port value not being cleared on loop.
-* Fixed OSUpgrade not asking to update the master boot record.
-* Changed ordering of some links in the PersonalMenu.
-* Increased Raw mode screen scrolling from 1 line to 8 lines to improve bare-metal performance.
-* Fixed Raw mode $ printing in MemBIOSRep, TaskRep, PCIRep, VideoRep, MemPageRep.
-
-----08/04/21 14:29:24----
-* Changed DriveRep to report AHCI SATA port number where IDE base0, base1, and unit were displayed.
-* Improved Lex assert failure warning to give exact line number.
-* Removed some deprecated IDE functions.
-* Added default arg to Drive, so running Drive; will bring you to the root of the current drive.
-* Fixed printing $'s in Raw mode in StackRep, DriveRep, SATARep, Mount2, and CharGet.
-* Changed LongLines cols default arg from 80 to 128 (128 is TEXT_COLS at default 1024x768).
-
-----08/03/21 21:57:44----
-* Added MountAHCIAuto which replaces MountIDEAuto: the kernel option works the same as MountIDEAuto, except now it is 
-iterating over SATA ports to mount all the drives.
-* Removed CATARep, ATARep, ATARepEntry, ATARepFind, ATARepExitAllApplications and ATAIDDrives.
-
-----08/02/21 16:23:34----
-* Raised version number to 0.13.
-* Fixed Mount allowing ATAPI<-->ATA BlkDev<-->AHCI Port misconfiguration.
-* Added arg to SATARep to specify drive types to show.
-* Added checks in AHCIPortInit to throw to Debug if invalid port signatures are detected.
-
-----08/02/21 00:54:40----
-* Raised version number to 0.12.
-* Fixed EdLite dropping RAWF_SCROLL.
-* Fixed incorrect src_link for DefineLoad variables: added caller_num arg for when it's run from DefinePrint.
-* Added PCIDevFind to System externs: fixes SATARep compiling crash, now displays AHCI controller information from PCI data.
-* Added raw-mode screen clearing: can use either DocClear or Cls, useful for clearing the screen in debug mode.
-
-----07/29/21 14:35:17----
-* Altered RawPutChar screen scrolling algorithm (MemCopy is slow on bare-metal).
-
-----07/28/21 21:46:46----
-* Raised version number to 0.11.
-* Removed some palettes; replaced all gr_palette_std with gr32_palette_std, added new PaletteSetSlate.
-* Changed all remaining CBGR48 in codebase to CBGR24.
-
-----07/25/21 02:19:17----
-* Raised version number to 0.10.
-* Unify Kernel binary location at /Boot/Kernel.BIN.C, alter BootDVDIns to create DVDKernel.BIN.C which gets moved in DoDistro, 
-update boot documentation.
-
-----07/24/21 00:07:05----
-* Raised version number to 0.09.
-* Rename /0000Boot folder to /Boot, rename 0000Kernel.BIN.C generated in BootDVDIns to Kernel.BIN.C.
-
-----07/23/21 16:30:23----
-* Improve ParenWarning to give exact line number.
-
-----07/14/21 13:12:34----
-* Raised version number to 0.08.
-* Fixed non-writable drive throw when #include with F5 in DocPutKey and when attempting to save.
-* Added top & right borders to RawDr.
-* Improved spacing in some debug commands.
-* Fixed RawPutChar and EdLite tab width.
-* Fixed Ui missing "0x" prefix syntax highlighter bug.
-
-----07/11/21 17:26:32----
-* Raised version number to 0.07.
-* Added IntEntryAlloc, IntEntryFree, dev.user_int_bitmap to allow acquiring dynamic user APIC IRQ.
-
-----07/09/21 04:13:50----
-* Added drive changing macros from AcctExample to PersonalMenu.
-
-----07/06/21 15:04:12----
-* R("ZCAlloc",      "SysCAlloc");
-* R("ZMAlloc",      "SysMAlloc", "-l");
-* R("ZCls",         "SysCls");
-* R("ZStrNew",      "SysStrNew");
-* R("ZReAlloc",     "SysReAlloc");
-* R("ZOnce",        "SysOnce", "-l");
-
-----07/05/21 22:24:03----
-* R("inst", "instruction");
-* Updated line counts.
-
-----07/05/21 14:58:59----
-* Raised version number to 0.06.
-* Update and fix all documentation.
-* Alter Splash messages and logo color.
-* Allow OS Upgrade feature on VMs.
-
-----07/03/21 00:01:32----
-* Raised version number to 0.05.
-* Fixed HTML Demo, implemented it into DoDistro process. Outputs to ::/HTML/.
-
-----07/02/21 19:30:19----
-* Raised version number to 0.04.
-* Implemented default NULL filename args for Ed, PopUpEd.
-* Removed some deprecated IDE functions.
-* Changed window borders. Added color to [X] and MENU, hide for System Task and AutoComplete Task.
-
-----07/02/21 03:58:09----
-* Raised version number to 0.03.
-* Update all documentation, change 1st-person --> 3rd-person.
-
-----07/01/21 23:51:14----
-* Raised version number to 0.02.
-* Added support for reading TempleOS, ZenithOS, and ZealOS ISOs.
-* Renames:
-    - Seth  --> Executive
-
-----07/01/21 19:04:09----
-* Forked ZealOS from ZenithOS. Version number 2.01 --> 0.01.
-* Update Roadmap.
-* Restructured Net/ directories.
-* Removed unnecessary files in Home/ directory.
-* Renames:
-    - ZenithOS      --> ZealOS
-    - Zenith Task   --> System Task
-
-    - Zenith        --> Sys
-    - ZenithErr     --> SysErr
-    - ZenithWarn    --> SysWarn
-    - ZenithLog     --> SysLog
-
-    - Zenith/       --> System/
+----12/30/21 17:12:01----
+* Added LexDemo.
+
+----12/11/21 05:57:44----
+* Raised version number to 1.07.
+* Rename CosmiC -> ZealC.
+* Renamed all files from .CC -> .ZC to reflect language name change.
+* R("HOLYC_TYPECAST", "POSTFIX_TYPECAST", "-i");
+* R("CosmiC", "ZealC", "-i");
+* Rename Doc/CosmiC.DD to Doc/ZealC.DD.
+* R("\"CC\", "\"ZC\"");
+* R(".CC", ".ZC", "-i");
+* FR(".CC", ".ZC");
+
+----12/09/21 03:21:03----
+* Revert 440Hz 'A'.
+
+----12/04/21 04:16:45----
+* Raised version number to 1.06.
+* Removed IDE members and padding from CBlkDev and CBlkDevGlobals, added ins_port to return install-drive recognition 
+functionality.
+* Implemented BlkDevRep, removed BlkDevRep demo file.
+ 
+----11/30/21 13:40:29----
+* Raised version number to 1.05.
+* R("DocDump",  "DocDumpLines");
+* R("DocDm",    "DocDumpMem");
+* R("DocD",     "DocDump");
+* R("Dump(U8",  "FileDump(U8");
+* R("DClus",    "ClusDump");
+* R("DBlk",     "BlkDump");
+* R("RawDm",    "RawDumpMem");
+* R("RawDr",    "RawDumpRegs");
+* R("RawD",     "RawDump");
+* R("Dr",       "DumpRegs");
+* R("Dm",       "DumpMem");
+* R("D(",       "Dump(", "-i");
+* R("Who",      "HashTableDump");
+* R("Da",       "DumpAddress");
+
+----10/30/21 05:02:51----
+* Added column headers to Rep functions.
+* Changed ProfRep to sort by hits.
+
+----10/26/21 12:38:12----
+* Raised version number to 1.04.
+* Optimized MemCopy to use SSE instructions. Large performance boost on bare-metal.
+* Reverted RawPutChar scrolling functionality now that MemCopy is faster.
+* Removed all kludge MyNoise functions from Apps and Demos now that MemCopy is faster.
+* Added call to LFBFlush in SettingsPop2 to fix task-swap palette bugs.
+* Improved ToTheFront game explanation.
+
+----10/18/21 01:16:10----
+* Raised version number to 1.03.
+* Increased CInst opcode size from 4 to 8.
+* Added 3 operand support to assembler.
+* Added almost all SSE instructions to OpCodes.DD. SSE instructions operating on MMX registers were not implemented.
+* Fixed 0x66 prefix unassembly opcode reporting, assembler now prevents duplicate REX for prefixed SSE instructions. The 
+tradeoff for fixing this is that 0x66, 0xF2, or 0xF3 prefixed SSE opcodes can only use XMM0-XMM7 RAX-RDI.
+
+----10/09/21 04:05:32----
+* Added MOVQ, PMOVMSKB, MINPS, MAXPS, XORPS, CVTSI2SD, and CVTSD2SI assembly opcodes to OpCodes.DD.
+
+----10/07/21 18:06:15----
+* Raised version number to 1.02.
+* Fixed Std Font characters after char 128.
+* Added links to ZealOS-specific applications in PersonalMenu.
+* Removed all files from ::/Downloads.
+* Started initial work integrating SSE instructions into assembler. See changes here. Only added 2 arg opcodes and only added 
+instructions <= 4 bytes. Current bugs: unassembling SSE instructions that use non-128-bit vars will incorrectly report U128, 
+MOVHLPS and MOVLHPS 2nd operand is defined XMM128 to hack ModrM order but operands should be XMM XMM, due to MOVSD name clash 
+we define opcode as MOVSD_SSE. TODO: add U128 and XMM register allocation support, find way to ensure 16-byte aligned stack to 
+use aligned SSE instructions.
+
+----09/21/21 23:35:00----
+* Raised version number to 1.01.
+* Fixed GrZoomInScreen, added to GrCalcScreenUpdates to factor in zoom, added call to LFBFlush in CtrlAltZ.
+
+----09/15/21 20:33:11----
+* Added WinMax to EdPullDown menu.
+
+----08/23/21 02:28:07----
+* Added recognition of Linux swap and ext2/3/4 filesystem type in BlkDevAdd, added MBR_PT_LINUX and MBR_PT_SWAP, removed 
+MBR_PT_FAT12, added "LINUX" and "SWAP" to ST_DRIVE_TYPES.
+
+----08/17/21 02:42:53----
+* Raised version number to 1.00.
+* Added progress bars to DVDImageRead.
+
+----08/16/21 20:35:44----
+* Raised version number to 0.17.
+* Fixed DVDImageRead block count.
+* Changed left window border text to use inverted color attribute.
+* Fixed ISOInit to account for non-ZealOS CISOPriDesc.
+
+----08/16/21 00:17:55----
+* Added CAtapiCloseCmd.
+* Added try-catch blocks to SATARep and AHCIBootDVDProbeAll.
+
+----08/15/21 01:51:08----
+* Raised version number to 0.16.
+* Changed DVDImageWrite to single-buffer single-threaded instead of dual-buffer multi-threaded.
+* Added CAtapiWriteCmd.
+
+----08/13/21 18:26:14----
+* Fixed padding byte amount in CISOPriDesc, added preparer_id member and set in RedSeaISO9660.
+
+----08/13/21 15:57:12----
+* Changed Merge2, DiffSel, and PopUpDiffMenu colors, added printing source and destination files along with some explanatory 
+text in the popup window.
+
+----08/13/21 13:21:32----
+* Raised version number to 0.15.
+* Fixed DVDImageWrite bare-metal AHCI disc burning, needs some cleanup.
+
+----08/09/21 01:54:50----
+* Raised version number to 0.14.
+* Implemented AHCIAtapiModeWriteSelect to set up ATAPI disc burner write configurations.
+
+----08/08/21 20:30:08----
+* Implemented AHCIAtapiBlank, default is minimal disc blank.
+
+----08/06/21 00:11:02----
+* Fixed Mount2 AHCI port value not being cleared on loop.
+* Fixed OSUpgrade not asking to update the master boot record.
+* Changed ordering of some links in the PersonalMenu.
+* Increased Raw mode screen scrolling from 1 line to 8 lines to improve bare-metal performance.
+* Fixed Raw mode $ printing in MemBIOSRep, TaskRep, PCIRep, VideoRep, MemPageRep.
+
+----08/04/21 14:29:24----
+* Changed DriveRep to report AHCI SATA port number where IDE base0, base1, and unit were displayed.
+* Improved Lex assert failure warning to give exact line number.
+* Removed some deprecated IDE functions.
+* Added default arg to Drive, so running Drive; will bring you to the root of the current drive.
+* Fixed printing $'s in Raw mode in StackRep, DriveRep, SATARep, Mount2, and CharGet.
+* Changed LongLines cols default arg from 80 to 128 (128 is TEXT_COLS at default 1024x768).
+
+----08/03/21 21:57:44----
+* Added MountAHCIAuto which replaces MountIDEAuto: the kernel option works the same as MountIDEAuto, except now it is 
+iterating over SATA ports to mount all the drives.
+* Removed CATARep, ATARep, ATARepEntry, ATARepFind, ATARepExitAllApplications and ATAIDDrives.
+
+----08/02/21 16:23:34----
+* Raised version number to 0.13.
+* Fixed Mount allowing ATAPI<-->ATA BlkDev<-->AHCI Port misconfiguration.
+* Added arg to SATARep to specify drive types to show.
+* Added checks in AHCIPortInit to throw to Debug if invalid port signatures are detected.
+
+----08/02/21 00:54:40----
+* Raised version number to 0.12.
+* Fixed EdLite dropping RAWF_SCROLL.
+* Fixed incorrect src_link for DefineLoad variables: added caller_num arg for when it's run from DefinePrint.
+* Added PCIDevFind to System externs: fixes SATARep compiling crash, now displays AHCI controller information from PCI data.
+* Added raw-mode screen clearing: can use either DocClear or Cls, useful for clearing the screen in debug mode.
+
+----07/29/21 14:35:17----
+* Altered RawPutChar screen scrolling algorithm (MemCopy is slow on bare-metal).
+
+----07/28/21 21:46:46----
+* Raised version number to 0.11.
+* Removed some palettes; replaced all gr_palette_std with gr32_palette_std, added new PaletteSetSlate.
+* Changed all remaining CBGR48 in codebase to CBGR24.
+
+----07/25/21 02:19:17----
+* Raised version number to 0.10.
+* Unify Kernel binary location at /Boot/Kernel.BIN.C, alter BootDVDIns to create DVDKernel.BIN.C which gets moved in DoDistro, 
+update boot documentation.
+
+----07/24/21 00:07:05----
+* Raised version number to 0.09.
+* Rename /0000Boot folder to /Boot, rename 0000Kernel.BIN.C generated in BootDVDIns to Kernel.BIN.C.
+
+----07/23/21 16:30:23----
+* Improve ParenWarning to give exact line number.
+
+----07/14/21 13:12:34----
+* Raised version number to 0.08.
+* Fixed non-writable drive throw when #include with F5 in DocPutKey and when attempting to save.
+* Added top & right borders to RawDr.
+* Improved spacing in some debug commands.
+* Fixed RawPutChar and EdLite tab width.
+* Fixed Ui missing "0x" prefix syntax highlighter bug.
+
+----07/11/21 17:26:32----
+* Raised version number to 0.07.
+* Added IntEntryAlloc, IntEntryFree, dev.user_int_bitmap to allow acquiring dynamic user APIC IRQ.
+
+----07/09/21 04:13:50----
+* Added drive changing macros from AcctExample to PersonalMenu.
+
+----07/06/21 15:04:12----
+* R("ZCAlloc",      "SysCAlloc");
+* R("ZMAlloc",      "SysMAlloc", "-l");
+* R("ZCls",         "SysCls");
+* R("ZStrNew",      "SysStrNew");
+* R("ZReAlloc",     "SysReAlloc");
+* R("ZOnce",        "SysOnce", "-l");
+
+----07/05/21 22:24:03----
+* R("inst", "instruction");
+* Updated line counts.
+
+----07/05/21 14:58:59----
+* Raised version number to 0.06.
+* Update and fix all documentation.
+* Alter Splash messages and logo color.
+* Allow OS Upgrade feature on VMs.
+
+----07/03/21 00:01:32----
+* Raised version number to 0.05.
+* Fixed HTML Demo, implemented it into DoDistro process. Outputs to ::/HTML/.
+
+----07/02/21 19:30:19----
+* Raised version number to 0.04.
+* Implemented default NULL filename args for Ed, PopUpEd.
+* Removed some deprecated IDE functions.
+* Changed window borders. Added color to [X] and MENU, hide for System Task and AutoComplete Task.
+
+----07/02/21 03:58:09----
+* Raised version number to 0.03.
+* Update all documentation, change 1st-person --> 3rd-person.
+
+----07/01/21 23:51:14----
+* Raised version number to 0.02.
+* Added support for reading TempleOS, ZenithOS, and ZealOS ISOs.
+* Renames:
+    - Seth  --> Executive
+
+----07/01/21 19:04:09----
+* Forked ZealOS from ZenithOS. Version number 2.01 --> 0.01.
+* Update Roadmap.
+* Restructured Net/ directories.
+* Removed unnecessary files in Home/ directory.
+* Renames:
+    - ZenithOS      --> ZealOS
+    - Zenith Task   --> System Task
+
+    - Zenith        --> Sys
+    - ZenithErr     --> SysErr
+    - ZenithWarn    --> SysWarn
+    - ZenithLog     --> SysLog
 
-----06/28/21 06:20:21----
-* Restored /System/God directory, the Bible, Bible Links, and GodBiblePassage with SHIFT-F7.
-
-----06/24/21 01:01:06----
-* Raised version number to ZenithOS 2.1.
-* Implemented PCI fall-back functions for when PCIBIOS is unsupported, to improve bare-metal support.
-* Abstracted PCI functions out from PCIBIOS file.
-
-----06/01/21 16:02:38----
-* Raised version number to ZenithOS 2.0.
-* Overhauled entire OS to use AHCI routines instead of IDE.
-
-----05/24/21 05:08:09----
-* Fixed Chess crashing when only one CPU core available.
-
-----05/24/21 04:24:00----
-* Fixed Titanium crashing due to a broken sprite mesh.
-
-----05/12/21 15:42:22----
-* Renamed PaletteSetTomLight() to PaletteSetLight(), brightened LTRED, PURPLE, and LTPURPLE.
-* Lowered double-click wait time from 0.350 to 0.175 to improve system response time.
-
-----02/07/21 10:20:33----
-* R("MSRGet", "MSRRead");
-* R("MSRSet", "MSRWrite");
-
-----01/28/21 19:08:16----
-* Added MSRGet().
-
-----01/24/21 01:51:12----
-* Removed DriveMap().
-
-----01/11/21 23:39:21----
-* Restored "Daemon" -> "Seth".
-
-----12/23/20 18:27:18----
-* Reformatting of files is virtually complete now.
-
-----06/04/20 18:01:46----
-* Added BIOSRep() as convenience function to view BIOS info from SysRep().
-
-----04/27/20 15:34:42----
-* Changed GrBitMap to use non-timer rand for drawing speed improvement on multicore.
-
-----04/21/20 18:54:47----
-* Altered Tom Palettes for better visibility.
-
-----04/21/20 16:13:01----
-* Added start-up intro Splash as a PopUp in Once, after performing a full boot (excludes soft reboots).
-
-----04/13/20 13:48:15----
-* Added PIC_INIT and comments to IntPICInit().
-* R("IntsInit", "IntPICInit"); 
-* R("LAPIC_ARIBITRATION_PRIORITY", "LAPIC_ARBITRATION_PRIORITY"); 
-
-----04/12/20 17:06:38----
-* Added CIDTEntry and rewrote IntEntryGet() and IntEntrySet(). dev.idt is now allocated on an 8-byte boundary as per Intel SDM 
-recommendation.
-* Updated OS version.
-* Changed BIN_SIGNATURE_VAL from 'TOSB' to 'ZCCB'.
-
-----04/11/20 18:10:58----
-* Beginning efforts to reformat files some. Currently, keeping a temp log of progress at /Home/FilesRefactored.DD.
-
-----04/10/20 07:44:08----
-* R("PIC1", "PIC_1");
-* R("PIC2", "PIC_2");
-* R("PIT0", "PIT_0");
-* R("PIT2", "PIT_2");
-
-----04/09/20 19:33:16----
-* Added Chess game from Sup1 disc.
-* R("ScanFlags", "FlagsScan");
-* R("StrPrintFlags", "FlagsStrPrint");
-* R("ScanMessage", "MessageScan");
-
-----04/04/20 19:15:21----
-* Added SysRep(). Various CSM*Info classes added. Pass in a SMBIOSt_* to get info for that specific structure type. It parses 
-SMBIOS structures located in low memory. Question-colon operator would have saved many lines of code.
-
-----04/02/20 03:27:03----
-* Added camera rotation via mouse in 3D SpriteMesh editor. 360 used as magic number, trying VIEWANGLES_RANGE crashed it.
-
-----04/02/20 01:50:52----
-* 'Fixed' Varoom window lock up on exit. Brute-forcing zero, but somewhere mp_not_done_flags isn't getting cleared when 
-shift-esc is entered with the new key implementation.
-
-----04/01/20 01:49:47----
-* Changed boat color in Talons from black to brown.
-
-----04/01/20 01:42:55----
-* Cleaned up Varoom control fix some. Bug remains: run from Menu, ESC out, ESC again; a window locks up.
-  Added set/unset task idle between Yield to lower CPU use.
-
-----03/29/20 14:07:00----
-* Modified Varoom to use kbd bitmap for instant keypress response.
-* Modified FlagsStrPrint() to print unset flags as well.
-* Modified StrReplace() to free given str if free_str is set.
-* Exported Seg2Linear() from kernel.
-
-----03/27/20 13:06:00----
-* Modified Ctrl Slider for 3D model editor to allow higher precision.
-* Added PaletteSetTom() and PaletteSetTomLight().
-
-----03/21/20 19:35:00----
-* Added StrReplace(), not fully tested yet.
-
-----03/19/20 01:51:36----
-* Added OPTf_DECIMAL_ONLY for using Lex() with other languages like JSON.
-* R("GetRAX", "RAXGet");
-* R("SetRAX", "RAXSet");
-* R("IC_GET_RAX", "IC_RAX_GET");
-* R("IC_SET_RAX", "IC_RAX_SET");
-* R("GetChar", "CharGet");
-* R("GetMessage", "MessageGet");
-* R("GetKey", "KeyGet");
-* R("ScanChar", "CharScan");
-* R("ScanKey", "KeyScan");
-* R("PostMessage", "MessagePost");
-* R("GetMessage", "MessageGet");
-* R("GetI64", "I64Get");
-* R("GetF64", "F64Get");
-* R("GetRBP", "RBPGet");
-* R("SetRBP", "RBPSet");
-* R("IC_GET_RBP", "IC_RBP_GET");
-* R("IC_SET_RBP", "IC_RBP_SET");
-* R("GetRSP", "RSPGet");
-* R("SetRSP", "RSPSet");
-* R("IC_GET_RSP", "IC_RSP_GET");
-* R("IC_SET_RSP", "IC_RSP_SET");
-* R("GetRFlags", "RFlagsGet");
-* R("IC_GET_RFLAGS", "IC_RFLAGS_GET");
-* R("SetRFlags", "RFlagsSet");
-* R("IC_SET_RFLAGS", "IC_RFLAGS_SET");
-* R("GetTSC", "TSCGet");
-* R("GetS", "StrNGet");
-* Modified characters '_' and 'c' in FontStd.
-
-----03/16/20 14:44:00----
-* R("GetStr", "StrGet");
-* Renamed GSF -> SGF as a consequence.
-* Added some AHCI headers.
-
-----03/12/20 22:00:36----
-* Added PaletteSetGruvboxDark().
-* Removed shift-space, as we use tab indentation now. S2T() is still present if needed.
-
-----02/24/20 00:42:00----
-* Zenith 1.1 released.
-
-----02/23/20 23:59:37----
-* Added new bitmap mouse.
-
-----02/23/20 02:36:28----
-* R("err", "error");
-* Removed compression from kernel. Compress.CC, CArcCtrl, CArcCompress, ExpandBuf(), CompressBuf(), DCSF_COMPRESSED, etc. 
-Updated ::/Demo/Disk/SerializeTree.ZC to not use compression.
-* Removed RS_ATTR_COMPRESSED from RedSea attributes.
-* Refactored FU flags. Removed FUF_EXPAND, FUF_RISKY, and FUF_Z_OR_NOT_Z. DocOptEntry(), Size(), Size1(), SizeRep(), and 
-SizeRep1() have been updated accordingly.
-* Removed IsDotZ(), ToggleZOrNotZ(). Cleaned up FileRead(), FileWrite(), and FileFind() accordingly.
-* Added XMM8-XMM15 to OpCodes.DD.
-* Added ::/Demo/Graphics/32BitColor.ZC.
-
-----02/22/20 20:04:00----
-* Reduced MEM_MIN_MEG to 256 MiB (VMWare users have to do less work).
-* Added <CTRL-ALT-X> to AC standby doc.
-* Removed the /System/God directory. Bible.TXT has been removed. The functionality of HolySpirit.CC has been moved into 
-::/System/Divination.CC. Functions renamed from God*() to Divine*(). Psalmody GodSong feature disabled. DolDoc "BF:" links 
-removed. CtrlAltB() is free to be used for other things. 
-* Updated the Charter.
-
-----02/21/20 17:30:17----
-* R("IRQ's", "IRQs");
-* Updated MemBIOSRep() to report on VBE Linear Framebuffer size. E820 memory ranges are color-coded. It now shows the total 
-memory reported by MemBIOSTotal().
-* Updated AutoComplete shortcuts from old WordStat <ALT(-SHIFT-)-W> to <ALT(-SHIFT-)-A> in ::/Doc/Tips.DD.
-* Added check for invalid results of BIOS function 15:E801. BIOSes either return results in AX/BX or CX/DX. You have to make 
-sure which pair of registers it is.
-* Renamed BIOSTotalMem() -> MemBIOSTotal(), rewritten and commented for clarity, exported from kernel. Neat function.
-
-----02/20/20 17:40:10----
-* Replaced old standard font with new FontStd. The auxilliary font is now the VGA ROM Font.
-* We now use 1 Tab (4 spaces wide) for indentation. All spaces used for indentation have been converted to tabs. Header files 
-are messy. PCILookUpSingle() was fixed according to this change. EdCodeTools re-indentation feature needs to be updated.
-
-----02/19/20 21:46:17----
-* Zenith 1.0 released.
-* GRScreenCaptureWrite() and GRScreenCaptureRead() are broken. DCLoad() and DCSave() use DCF_COMPRESSED. It also saves the 
-palette as CBGR48, which is a problem.
-* Updated MemRep() to report on VBE variables.
-* Renamed VGAFlush() -> LFBFlush().
-* Updated Palette Demo to use current palette environment.
-* Shortened CheckPtr() and CheckCodePtr(). Even though boolean expressions outside of if statements are compiled 
-inefficiently, clarity and low line count is more important.
-* RawDr() is 40 columns off the right of the screen, instead of fixed at column 40.
-* Windows start at 4/5th the screen height instead of row 13. System task window is 1/5th the screen height.
-* R("RLf_VGA", "RLf_VESA");
-* Removed VGA text mode support, and all definitions relating to it, including from the kernel config.
-* Added screen resolution selection to kernel configuration procedure.
-* Added VideoRep() to report on VBE modes and info, added test case to the OSTestSuite.
-* Added VBE graphics support. Screen zooming is non-functional at the moment. We are setting 32-bit color graphics modes but 
-the graphics library is still 4-bit (16 color) internally. MiniGrLib broken for obvious reasons. Keeping it because its 
-intention is to teach a how a graphics library works, generically. Removed 2 smaller VGA hardware programming demos.
-    Rundown:
-    - Added classes CVBEInfo, CVBEMode, CVBEModeShort
-    - real-mode assembly -- added kernel symbols.
-    - Added screen_size, buffer_size, fb_alias members to CTextGlobals.
-    - SysGrInit() -- using Seg2Linear() to convert pointers.
-    - raw text drawing routine updated. BLACK32, WHITE32.
-    - Dynamic definition of GR_WIDTH and GR_HEIGHT.
-    - GrUpdateScreen32() -- GrCalcScreenUpdates() is used to reduce CPU usage. Added screen_cache member to CGrGlobals.
-    - gr_palette global variable. We use CBGR24 in GrPalette.ZC.
-
-* Added BinRep() from Sup1 ISO.
-* R("sys_pci_busses", "sys_pci_buses");
-* Renamed RWF flags -> RAWF.
-* Renamed mon_start_days1 and mon_start_days2 -> month_start_days and month_start_days_leap, respectively.
-* Moved random number generation algorithm into seperate function to reduce line count. Added RandU8().
-* Added syntax highlighting for numbers. DocHighlight(), DOC_COLOR_NUMBER.
-* Removed unnecessary checks for the presence of the APIC in MultiProc.ZC, as it is present on all x86 CPUs after the P5 
-microarchitecture.
-* Added untested ReAlloc(), as it could be useful for certain programs.
-* Added definitions for the PCI registers. Expanded the CPCIDev class to contain the values of the read-only registers. Added 
-PCIDevFind() as a simpler/abstracted alternative to PCIClassFind().
-* Removed the unpolished HPET implementation from the kernel.
-* Enabled the execution of SSE instructions. No actual SSE implementation in assembler yet, however.
-* Added definitions for the various flags in the Control Registers.
-* Added definitions for the PIT, and a document describing its usage in the OS.
-* Added definition for the PC speaker.
-* Added definitions for the PIC.
-* Added TimeSet() as there was no way to set the hardware clock before.
-* Added definitions for the CMOS, CMOSRegRead(), CMOSRegWrite(), CMOSIsBcd(). Rename Bcd2Bin() -> Bcd2Binary().
-* Replaced the endian-swapping functions with assembly versions.
-* Added POPCNT instruction and PopCount() compiler intrinsic, to replace BCount() and the set_bits_table.
-* Renamed opcodes PUSHFW, POPFW, PUSHAW, POPAW -> PUSHF, POPF, PUSHA, POPA respectively.
-* The VGA ROM Font is used as the standard system font, with the old one being used as the auxilliary one. The cyrillic font 
-has been removed.
-* Added Seg2Linear() to convert segmented 32-bit far pointers obtained from real mode to linear pointers.
-* Disabled the mouse in debug mode. No more garbage text on mouse movement. MouseHardEnable. You can use this function in your 
-own applications to disable the mouse completely.
-* AutoComplete now stays where you move it instead of snapping back to a fixed location, and that location persists after 
-rebooting by using the Registry to save the window location. Increased number of symbol links shown to 12, so you can use all 
-the functions keys F1-F12. It does syntax highlighting on the symbols now, so you know what type they are. Public symbols are 
-inverted. Dictionary words are BLACK to differentiate between symbols.
-* Added more keyboard shortcuts to the AutoComplete standby doc.
-* Removed "TOS Staff" and "InsReg" related code.
-* Renamed /Kernel/KInts.CC to KInterrupts.ZC.
-* Date section of status bar shows the year now.
-* Increased the length of the part of the status bar that shows the last keys pressed, so the longest combination 
-(CTRL+ALT+SHIFT+ENTER) can be shown. It is always at the rightmost part of the screen instead of being fixed at column 55.
-* ClassRep() does not show ASCII values for U8/I8 members by default now. Added argument "u8_chars" to enable that.
-* Added several palettes. See the palette setting functions.
-* Added option to format RAMdisks on Reboot().
-* Removed MemSetU8() as it was just an alias for MemSet().  
-* Moved TaskRep.CC and MemRep.CC from /Zenith to /System/Utils
-* Removed /System/Opt directory, moved subdirectories up.
-* Disabled blinking MENU.
-* Disabled scrolling title in editor.
-* One User terminal on startup.
-* Swapped colors in ST_ERR_ST and ST_WARN_ST. RED is for errors, LTRED is for warnings.
-* CPURep() now shows extended processor name or vendor string as fallback.
-* Added #NONE define to replace 0 or NULL in default function arguments where applicable (usually flags).
-* Shift+Alt+Delete runs BootRAM().
-* Changed 440 Hz middle 'A' frequency to 432 Hz, as that is the correct frequency. Ona2Freq.
-* Changed WinMgr refresh rate to 60 Hz.
-* New User tasks are named "Terminal" on startup.
-* Added FR(), for renaming files matching a mask. I used it to do the .HC -> .CC conversion.
-* Added Cls() and SysCls().
-* Functions starting with 'A' for Adam now start with 'Z' for Zenith.
-* Decompressed all files. Removed Zip(), Unzip(), and ZipRep(). Slightly modified FileRead() to disable reading compressed 
-files. Removal of compression planned for the future.
-* Renamed all files from .HC -> .CC to reflect language name change.
-* Renaming:
-    TempleOS -> ZenithOS
-    HolyC -> CosmiC
-    Adam -> Zenith
-    Seth -> Daemon
-    Chk -> Check
-    Que -> Queue
-    Scrn -> Screen
-    Pmt -> Prompt
-    Cmp -> Comp (Compiler) or Compare
-    Prs -> Parse
-    Rem -> Remove
-    Ins -> Insert
-    Hndlr -> Handler
-    Glbls -> Globals
-    Stmt -> Statement
-    Dbg -> Debug
-    Dsk -> Disk
-    Drv -> Drive
-    Let -> Letter
-    Chg -> Change
-    Fmt -> Format
-    Stk -> Stack
-    Snd -> Sound
-    Msg -> Message
-    Cnt -> Count
-    Lst -> List
-    QSort -> QuickSort
-    Dft -> Default
-    Rst -> Reset
-    Exts -> Externs
-    Ms -> Mouse
-    Fwd -> Forward
-    Bwd -> Backward
-    Cpy -> Copy
-    Cfg -> Config
-    Cvt -> Convert
-    Srv -> Server
-    Evt -> Event
-    Prs -> Parse
-    Mk -> Make
-    InvlPg -> InvalidatePage
-    BEqu -> BEqual
-    Pkt -> Packet
-    Rqst -> Request
-    ... and more.
-* Start of Zenith Development. Changes up until version 1.0 are not timestamped.
-
-At this point, Terry removed his changelog. Changes made by him after 4/30/17 are not documented.
-!!!!!!!!!!!!!!!!!!!!!!!!!!
-==========================
-!!!!!!!!!!!!!!!!!!!!!!!!!!
-
-----04/30/17 22:24:51----
-* CmdLinePmt() doesn't print U0 ans.
-* Added comma flag StrPrintJoin(,"%,p");
-* Enhanced PrintErr() and PrintWarn().
-
-----04/28/17 22:29:09----
-* Modified ::/Demo/AcctExample/TOS/TOSBlog.HC and ::/Demo/AcctExample/TOS/TOSToHtml.HC.
-* R("fmtstr","format");
-* R("fmtdata","data");
-
-----04/21/17 14:17:49----
-* R("MODULE_ORG","ORG");
-
-----03/17/17 00:35:11----
-* Added toggle AutoSave <CTRL-SHIFT-s>.
-
-----03/14/17 00:14:39----
-* TempleOS version 5.03 Released
-* R("pen_width","thick");
-
-----02/05/17 16:37:39----
-* Added ::/Doc/BlkChain.DD.
-
-----02/03/17 17:27:36----
-* Added multicore ::/System/MathODE.ZC.
-* Improved support for sub and super scripts.
-
-----01/31/17 10:22:10----
-* Added ::/Demo/Graphics/LightTable.ZC.
-* Added TOS Linux Setup.
-
-----01/27/17 08:13:37----
-* Added DocLineRead() and DocLineWrite().
-
-----01/25/17 20:44:17----
-* R("DocLineNumGoto","DocGoToLine");
-* R("Clipboard","Clip");
-* R("AutoMountIDE","MountIDEAuto");
-* R("ChgExt","ExtChg");
-* R("DftExt","ExtDft");
-* R("CurDir","DirCur");
-* R("MkDir","DirMk");
-* R("ChkDsk","DskChk");
-* R("ChgDsk","DskChg");
-* R("PrtDsk","DskPrt");
-* R("RBlks","BlkRead");
-* R("WBlks","BlkWrite");
-* R("FRBlks","FBlkRead");
-* R("FWBlks","FBlkWrite");
-* R("Cluster","Clus");
-* R("RClusters","ClusRead");
-* R("WClusters","ClusWrite");
-
-
-----01/24/17 21:56:06----
-* Improved ::/Apps/Psalmody/JukeBox.ZC
-* R("TreeBranch","Tree");
-* Added DocTreeWrite() and DocTreeAppend().
-
-----01/22/17 06:08:00----
-* TempleOS version 5.02 Released
-* Changed polling of KbdMsHndlr() in WinMgrSleep(), increased fifos.
-
-----01/17/17 18:11:53----
-* Fixed $ class offset so #assert's don't lag a token.
-
-----01/17/17 14:39:41----
-* Added blkdev.ins_base0 and blkdev.ins_unit.
-* Added make RedSeaISO() to FileMgr().
-* Added blkdev.dft_iso_c_filename .
-
-----01/17/17 06:12:21----
-* R("MIN_...","..._MIN");
-* R("MAX_...","..._MAX");
-* R("NUM_...","..._NUM");
-
-----01/14/17 19:16:51----
-* Created /Demo/AcctExample/TOS.
-* R("MAX_...","_NUM...");
-
-----01/14/17 09:43:12----
-* Improved ::/Demo/AcctExample/TOS/TOSHolySpirit.HC.
-* Added cmp U0 Expression warn.
-* Improved syntax highlighting.
-
-----01/11/17 03:33:33----
-* TempleOS version 5.01 Released
-* R("ChangeLog","ChgLog");
-* Added show mouse pos to <CTRL-ALT-G>.
-* Improved TOSRegen().
-* Added Let2Let().
-
-----01/10/17 14:27:58----
-* Made DocPut() use parent task's doc if input filter task.
-* Added Once(), AOnce(), OnceFlush(), AOnceFlush(), OnceDrv(), AOnceDrv() and OnceExe().
-* R("DoOnce","Once");
-* Added RegAppend() and RegCnt();
-* R("RegSetDftEntry()","RegDft()");
-* R("RegExeBranch()","RegExe()");
-* R("RegWriteBranch()","RegWrite()");
-
-----01/10/17 11:45:41----
-* Added ::/Adam/InsReg.HC with InsReg(), InsRereg() and InsUnreg().
-* Added ::/Adam/Host.HC with HostChgDsk().
-* Added ::/Adam/Opt/Utils/TOS.HC with TOSStdIns().
-* Added cmd line args for partition % to DskPrt().
-
-----01/09/17 21:48:34----
-* R("a1","arg1");
-* R("a2","arg2");
-* R("r","res");
-
-----01/09/17 02:30:59----
-* Improved compiler ICSlashOp().
-* Added Panic().
-* Made it possible to mount just one partition.
-* Fixed creation of RedSea ISOs.
-* Organized ::/PersonalMenu.DD.
-* Moved AfterEgypt to the supplemental disk.
-
-----01/06/17 06:07:19----
-* Fixed DskChg().
-* Improved ::/Misc/OSTestSuite.ZC.
-
-----01/05/17 04:53:21----
-* No longer support ASCII#12, <CTRL-l> CH_FORM_FEED.
-* Fixed sys_var_init_flag.
-* GRScrnCaptureRead().
-
-----01/04/17 18:06:14----
-* Added ::/Demo/AcctExample/TOS/TOSPolicies.DD.
-* R("U0 pad;",";"); for align #asserts.
-* Got rid of mouse.throttle. 
-* R("Button","Bttn");
-* R("Handler","Hndlr");
-* R("InputPointer","Mouse");
-* Improved MemRep().
-* Changed ::/System/WallPaper.ZC.
-
-----01/03/17 12:23:49----
-* R("chars_cmp...","char_bmp...");
-* Added chk for Profanity.
-* Improved TOSRegen.
-* Removed TempleOSBooks1.ISO and TempleOSBooks2.ISO out of TempleOSSup1.ISO.
-
-----01/01/17 17:16:16----
-* TempleOS version 5.00 Released
-* Added Collapse().
-* Added CursorRem().
-
-----12/31/16 07:21:20----
-* R("SYS_SEMA_...","SEMA_...");
-* R("SYSf_CTRL_ALT_...","CTRL_ALT_...");
-* R("ThrowBreak()","Break()");
-* Added MemPageRep().
-
-----12/30/16 23:42:20----
-* R("Pages512","Pags");
-* Overhauled ::/Kernel/Memory/PageTables.ZC.
-* R("BusyWait()","Busy()");
-
-----12/29/16 10:21:44----
-* Changed Snd() from freq to a I8 val called an ona.
-* Fixed error in music octaves.
-* To convert songs, download Supplemental#1 ISO from the AppStore on http://www.templeos.org and run 
-Sup1/Sup1Utils/CvtSong500.HC.
-
-----12/22/16 16:18:32----
-* R("CSrvCmd","CJob");
-* R("CSrvCtrl","CJobCtrl");
-
-----12/03/16 13:19:58----
-* R("SpriteMat3B()","Sprite3Mat4x4B()");
-* R("SpriteX3B()","Sprite3XB()");
-* R("SpriteY3B()","Sprite3YB()");
-* R("SpriteZ3B()","Sprite3ZB()");
-* Improved ::/Demo/Games/Talons.ZC.
-
-----12/03/16 10:16:26----
-* Changed __CMD_LINE__.
-* Added CProgress.tf.
-* Added sys_staff_mode_flag.
-* R("except_caller","except_callers");
-
-----11/30/16 22:44:35----
-* Added SpriteTransform().
-
-----11/28/16 07:11:41----
-* Improved ::/Apps/Titanium/Titanium.ZC.
-
-----11/26/16 22:43:51----
-* Added solar storms to ::/Apps/X-Caliber/X-Caliber.ZC.
-* R("TimeOut","Titanium");
-
-----11/20/16 19:46:43----
-* TempleOS version 4.13 Released
-* Improved ::/Apps/Titanium/Titanium.ZC.
-* Improved ::/Apps/X-Caliber/X-Caliber.ZC.
-
-----11/19/16 08:19:51----
-* Improved Budget application.
-
-----11/17/16 18:49:51----
-* R("EagleDive","Talons");
-* Improved ::/Demo/Games/RocketScience.ZC.
-* Improved ::/Demo/Games/Rocket.ZC.
-
-----10/28/16 05:54:27----
-* Added ::/Demo/RadixSort.ZC.
-
-----10/26/16 00:21:06----
-* Added CProgress.t0.
-* Improved ::/Doc/Boot.DD.
-
-----10/25/16 18:02:44----
-* Improved ::/System/Gr/SpriteEd.ZC.
-* Improved ::/Demo/AcctExample/TOS/TOSHolySpirit.HC.
-
-----10/12/16 10:55:26----
-* Added CCF_NO_CHAR_CONST.
-* Improved ::/Demo/ToHtmlToTXTDemo/ToHtml.ZC.
-
-----10/03/16 01:09:35----
-* Changed GodWord().
-
-----09/30/16 18:29:59----
-* Improved Rand()'s.
-* Improved ::/System/Utils/ToTXT.ZC.
-
-----09/29/16 10:13:14----
-* TempleOS version 4.12 Released
-* Added TASKf_CMD_LINE_PMT.
-* Improved TaskWait().
-* Improved DeathWait().
-
-----09/27/16 12:40:21----
-* Added SndRst().
-* Got rid of crappy reverb in ::/Apps/Psalmody/PsalmodyMain.ZC.
-
-----09/27/16 11:09:25----
-* Improved ::/Misc/OSTestSuite.ZC.
-* Fixed bug in EdCharIns() printing $ cmds.
-* Added FUF_JUST_DD and FILEMASK_DD.
-
-----09/27/16 01:05:52----
-* Improved ::/Doc/MemoryOverview.DD.
-* Got rid of ::/Demo/Lectures/Mem.
-* Made filename paths relative to document location in DolDoc links.
-* R("Temp","Tmp");
-
-----09/26/16 00:44:42----
-* Added CloseAssault and OverRun to ::/Apps/ToTheFront/ToTheFront.ZC.
-
-----09/22/16 07:53:20----
-* Improved ::/Demo/Graphics/Box.ZC.
-* Improved ::/Demo/Graphics/SpritePlot3D.ZC.
-
-----09/21/16 17:09:40----
-* Fixed bug in ::/Demo/Games/BomberGolf.ZC.
-
-----09/20/16 15:57:30----
-* R("Screen","Scrn");
-* R("WinMgrSync","Refresh");
-* R("InDbg","DbgMode");
-* Improved ::/Doc/Boot.DD.
-
-----09/20/16 07:31:52----
-* R("DAT","DATA");
-* R("Auto","In");
-* R("AutoStr","InStr");
-* R("AutoFile","InFile");
-* R("AUT","IN");
-* R("GRA","GR");
-
-----09/18/16 20:40:44----
-* Added ::/Doc/WhyNotMore.DD.
-
-----09/18/16 12:52:03----
-* TempleOS version 4.11 Released
-* Fixed bug in IsDotZ() and IsDotC().
-* R("CPP","HC");
-* R("HPP","HH");
-* R("TXT","DD");
-
-----09/06/16 13:01:42----
-* Added OPTf_WARN_HEADER_MISMATCH.
-* Changed WinInside().
-* Got rid of MSG_FOCUS, MSG_MOVE, and MSG_SIZE.  There are no longer messages for moving and sizing windows.
-
-----09/06/16 02:40:43----
-* Improved ::/Demo/MagicPairs.ZC.
-
-----08/27/16 09:45:39----
-* Improved CPURep().
-* Improved ::/Misc/OSTestSuite.ZC.
-* Added BirthWait() and DeathWait().
-
-----08/22/16 04:14:47----
-* R("TK_DOT_DOT_DOT","TK_ELLIPSIS");
-
-----07/17/16 13:03:12----
-* Improved DocOpt().
-
-----07/17/16 03:23:53----
-* Improved ::/Demo/Games/RawHide.ZC.
-
-----07/15/16 10:11:10----
-* TempleOS version 4.10 Released
-* Improved ::/Demo/Games/Talons.ZC.
-
-----07/15/16 05:17:24----
-* Created CDevGlbls.uncached_alias.
-* Added 1 Gig page table support.
-
-----07/13/16 17:21:19----
-* Added multicore report to CPURep().
-
-----07/09/16 08:46:36----
-* Changed scoring in ::/Demo/Games/Talons.ZC.
-* Replaced many "%Q" with "%$Q".
-* Fixed '\x24'.
-* Added '\d' for '$'.
-
-----07/08/16 14:30:19----
-* R("root","head");
-* Fixed REP_STOSB and MemSet() for 64-bit.
-
-----07/07/16 07:21:03----
-* DocRead() changes to file's dir so relative filenames work.
-* Added AppStore to website with Supplemental#1 ISO for download.
-
-----07/06/16 23:45:30----
-* Fixed multicore bug in Sprite3().
-* Improved ::/Demo/Games/Talons.ZC.
-
-----07/05/16 06:03:47----
-* TempleOS version 4.09 Released
-* Improved ::/Demo/Games/Talons.ZC.
-* Improved GrFillTri0().
-
-----07/03/16 04:30:05----
-* Added Unmount().
-* Made BootLoader mandatory in RedSeaISO().
-* Added BDT_ISO_FILE_READ.
-
-----07/01/16 05:29:08----
-* Made underscore mandatory on HolyC callable asm functions.
-
-----06/28/16 13:15:08----
-* Changed TaskRep() and MemRep().
-* Changed ::/System/WallPaper.ZC.
-
-----06/26/16 14:01:16----
-* Added LastFun(), RunFile(), RunFile2() and PopUpRunFile().
-* Made boot code modular.
-
-----06/24/16 14:15:13----
-* Added A.I. to ::/Apps/KeepAway/KeepAway.ZC and changed scoring.
-
-----06/24/16 02:55:42----
-* TempleOS version 4.08 Released
-* Added Polygon, Fence, Prism and ResetColor commands to SpriteMeshEd().
-* R("Reverse","Rev");
-* R("Select","Sel");
-
-----06/23/16 01:03:36----
-* Added GrFillCircle().
-* Added GrVLine() and GrLineFat3().
-
-----06/18/16 16:16:22----
-* Modified KeyDevAdd().
-* R("nounusedwarn","no_warn");
-* R("sub_switch_start","start");
-* R("sub_switch_end","end");
-* Changed args to PutDirLink() and PutFileLink().
-* Added HomeSet().  Added "~" as special directory designator.
-* Changed filename exclude mask char from '~' to '!'.  See File Utils.
-* Got rid of /Home/HomePkgs.HC.
-
-----06/16/16 20:59:41----
-* <CTRL-ALT-t> is terminal window.
-* <CTRL-ALT-n> is next task.
-
-----06/16/16 19:49:39----
-* Added ::/Doc/Comm.ZC.
-* Added ::/Doc/StdTempleOSPC.DD.
-* Added ::/Kernel/FontCyrillic.HC. <CTRL-ALT-f>
-
-----06/02/16 03:20:56----
-* TempleOS version 4.07 Released
-* Added claws to ::/Demo/Games/Talons.ZC.
+    - Zenith/       --> System/
+
+----06/28/21 06:20:21----
+* Restored /System/God directory, the Bible, Bible Links, and GodBiblePassage with SHIFT-F7.
+
+----06/24/21 01:01:06----
+* Raised version number to ZenithOS 2.1.
+* Implemented PCI fall-back functions for when PCIBIOS is unsupported, to improve bare-metal support.
+* Abstracted PCI functions out from PCIBIOS file.
+
+----06/01/21 16:02:38----
+* Raised version number to ZenithOS 2.0.
+* Overhauled entire OS to use AHCI routines instead of IDE.
+
+----05/24/21 05:08:09----
+* Fixed Chess crashing when only one CPU core available.
+
+----05/24/21 04:24:00----
+* Fixed Titanium crashing due to a broken sprite mesh.
+
+----05/12/21 15:42:22----
+* Renamed PaletteSetTomLight() to PaletteSetLight(), brightened LTRED, PURPLE, and LTPURPLE.
+* Lowered double-click wait time from 0.350 to 0.175 to improve system response time.
+
+----02/07/21 10:20:33----
+* R("MSRGet", "MSRRead");
+* R("MSRSet", "MSRWrite");
+
+----01/28/21 19:08:16----
+* Added MSRGet().
+
+----01/24/21 01:51:12----
+* Removed DriveMap().
+
+----01/11/21 23:39:21----
+* Restored "Daemon" -> "Seth".
+
+----12/23/20 18:27:18----
+* Reformatting of files is virtually complete now.
+
+----06/04/20 18:01:46----
+* Added BIOSRep() as convenience function to view BIOS info from SysRep().
+
+----04/27/20 15:34:42----
+* Changed GrBitMap to use non-timer rand for drawing speed improvement on multicore.
+
+----04/21/20 18:54:47----
+* Altered Tom Palettes for better visibility.
+
+----04/21/20 16:13:01----
+* Added start-up intro Splash as a PopUp in Once, after performing a full boot (excludes soft reboots).
+
+----04/13/20 13:48:15----
+* Added PIC_INIT and comments to IntPICInit().
+* R("IntsInit", "IntPICInit"); 
+* R("LAPIC_ARIBITRATION_PRIORITY", "LAPIC_ARBITRATION_PRIORITY"); 
+
+----04/12/20 17:06:38----
+* Added CIDTEntry and rewrote IntEntryGet() and IntEntrySet(). dev.idt is now allocated on an 8-byte boundary as per Intel SDM 
+recommendation.
+* Updated OS version.
+* Changed BIN_SIGNATURE_VAL from 'TOSB' to 'ZCCB'.
+
+----04/11/20 18:10:58----
+* Beginning efforts to reformat files some. Currently, keeping a temp log of progress at /Home/FilesRefactored.DD.
+
+----04/10/20 07:44:08----
+* R("PIC1", "PIC_1");
+* R("PIC2", "PIC_2");
+* R("PIT0", "PIT_0");
+* R("PIT2", "PIT_2");
+
+----04/09/20 19:33:16----
+* Added Chess game from Sup1 disc.
+* R("ScanFlags", "FlagsScan");
+* R("StrPrintFlags", "FlagsStrPrint");
+* R("ScanMessage", "MessageScan");
+
+----04/04/20 19:15:21----
+* Added SysRep(). Various CSM*Info classes added. Pass in a SMBIOSt_* to get info for that specific structure type. It parses 
+SMBIOS structures located in low memory. Question-colon operator would have saved many lines of code.
+
+----04/02/20 03:27:03----
+* Added camera rotation via mouse in 3D SpriteMesh editor. 360 used as magic number, trying VIEWANGLES_RANGE crashed it.
+
+----04/02/20 01:50:52----
+* 'Fixed' Varoom window lock up on exit. Brute-forcing zero, but somewhere mp_not_done_flags isn't getting cleared when 
+shift-esc is entered with the new key implementation.
+
+----04/01/20 01:49:47----
+* Changed boat color in Talons from black to brown.
+
+----04/01/20 01:42:55----
+* Cleaned up Varoom control fix some. Bug remains: run from Menu, ESC out, ESC again; a window locks up.
+  Added set/unset task idle between Yield to lower CPU use.
+
+----03/29/20 14:07:00----
+* Modified Varoom to use kbd bitmap for instant keypress response.
+* Modified FlagsStrPrint() to print unset flags as well.
+* Modified StrReplace() to free given str if free_str is set.
+* Exported Seg2Linear() from kernel.
+
+----03/27/20 13:06:00----
+* Modified Ctrl Slider for 3D model editor to allow higher precision.
+* Added PaletteSetTom() and PaletteSetTomLight().
+
+----03/21/20 19:35:00----
+* Added StrReplace(), not fully tested yet.
+
+----03/19/20 01:51:36----
+* Added OPTf_DECIMAL_ONLY for using Lex() with other languages like JSON.
+* R("GetRAX", "RAXGet");
+* R("SetRAX", "RAXSet");
+* R("IC_GET_RAX", "IC_RAX_GET");
+* R("IC_SET_RAX", "IC_RAX_SET");
+* R("GetChar", "CharGet");
+* R("GetMessage", "MessageGet");
+* R("GetKey", "KeyGet");
+* R("ScanChar", "CharScan");
+* R("ScanKey", "KeyScan");
+* R("PostMessage", "MessagePost");
+* R("GetMessage", "MessageGet");
+* R("GetI64", "I64Get");
+* R("GetF64", "F64Get");
+* R("GetRBP", "RBPGet");
+* R("SetRBP", "RBPSet");
+* R("IC_GET_RBP", "IC_RBP_GET");
+* R("IC_SET_RBP", "IC_RBP_SET");
+* R("GetRSP", "RSPGet");
+* R("SetRSP", "RSPSet");
+* R("IC_GET_RSP", "IC_RSP_GET");
+* R("IC_SET_RSP", "IC_RSP_SET");
+* R("GetRFlags", "RFlagsGet");
+* R("IC_GET_RFLAGS", "IC_RFLAGS_GET");
+* R("SetRFlags", "RFlagsSet");
+* R("IC_SET_RFLAGS", "IC_RFLAGS_SET");
+* R("GetTSC", "TSCGet");
+* R("GetS", "StrNGet");
+* Modified characters '_' and 'c' in FontStd.
+
+----03/16/20 14:44:00----
+* R("GetStr", "StrGet");
+* Renamed GSF -> SGF as a consequence.
+* Added some AHCI headers.
+
+----03/12/20 22:00:36----
+* Added PaletteSetGruvboxDark().
+* Removed shift-space, as we use tab indentation now. S2T() is still present if needed.
+
+----02/24/20 00:42:00----
+* Zenith 1.1 released.
+
+----02/23/20 23:59:37----
+* Added new bitmap mouse.
+
+----02/23/20 02:36:28----
+* R("err", "error");
+* Removed compression from kernel. Compress.CC, CArcCtrl, CArcCompress, ExpandBuf(), CompressBuf(), DCSF_COMPRESSED, etc. 
+Updated ::/Demo/Disk/SerializeTree.ZC to not use compression.
+* Removed RS_ATTR_COMPRESSED from RedSea attributes.
+* Refactored FU flags. Removed FUF_EXPAND, FUF_RISKY, and FUF_Z_OR_NOT_Z. DocOptEntry(), Size(), Size1(), SizeRep(), and 
+SizeRep1() have been updated accordingly.
+* Removed IsDotZ(), ToggleZOrNotZ(). Cleaned up FileRead(), FileWrite(), and FileFind() accordingly.
+* Added XMM8-XMM15 to OpCodes.DD.
+* Added ::/Demo/Graphics/32BitColor.ZC.
+
+----02/22/20 20:04:00----
+* Reduced MEM_MIN_MEG to 256 MiB (VMWare users have to do less work).
+* Added <CTRL-ALT-X> to AC standby doc.
+* Removed the /System/God directory. Bible.TXT has been removed. The functionality of HolySpirit.CC has been moved into 
+::/System/Divination.CC. Functions renamed from God*() to Divine*(). Psalmody GodSong feature disabled. DolDoc "BF:" links 
+removed. CtrlAltB() is free to be used for other things. 
+* Updated the Charter.
+
+----02/21/20 17:30:17----
+* R("IRQ's", "IRQs");
+* Updated MemBIOSRep() to report on VBE Linear Framebuffer size. E820 memory ranges are color-coded. It now shows the total 
+memory reported by MemBIOSTotal().
+* Updated AutoComplete shortcuts from old WordStat <ALT(-SHIFT-)-W> to <ALT(-SHIFT-)-A> in ::/Doc/Tips.DD.
+* Added check for invalid results of BIOS function 15:E801. BIOSes either return results in AX/BX or CX/DX. You have to make 
+sure which pair of registers it is.
+* Renamed BIOSTotalMem() -> MemBIOSTotal(), rewritten and commented for clarity, exported from kernel. Neat function.
+
+----02/20/20 17:40:10----
+* Replaced old standard font with new FontStd. The auxilliary font is now the VGA ROM Font.
+* We now use 1 Tab (4 spaces wide) for indentation. All spaces used for indentation have been converted to tabs. Header files 
+are messy. PCILookUpSingle() was fixed according to this change. EdCodeTools re-indentation feature needs to be updated.
+
+----02/19/20 21:46:17----
+* Zenith 1.0 released.
+* GRScreenCaptureWrite() and GRScreenCaptureRead() are broken. DCLoad() and DCSave() use DCF_COMPRESSED. It also saves the 
+palette as CBGR48, which is a problem.
+* Updated MemRep() to report on VBE variables.
+* Renamed VGAFlush() -> LFBFlush().
+* Updated Palette Demo to use current palette environment.
+* Shortened CheckPtr() and CheckCodePtr(). Even though boolean expressions outside of if statements are compiled 
+inefficiently, clarity and low line count is more important.
+* RawDr() is 40 columns off the right of the screen, instead of fixed at column 40.
+* Windows start at 4/5th the screen height instead of row 13. System task window is 1/5th the screen height.
+* R("RLf_VGA", "RLf_VESA");
+* Removed VGA text mode support, and all definitions relating to it, including from the kernel config.
+* Added screen resolution selection to kernel configuration procedure.
+* Added VideoRep() to report on VBE modes and info, added test case to the OSTestSuite.
+* Added VBE graphics support. Screen zooming is non-functional at the moment. We are setting 32-bit color graphics modes but 
+the graphics library is still 4-bit (16 color) internally. MiniGrLib broken for obvious reasons. Keeping it because its 
+intention is to teach a how a graphics library works, generically. Removed 2 smaller VGA hardware programming demos.
+    Rundown:
+    - Added classes CVBEInfo, CVBEMode, CVBEModeShort
+    - real-mode assembly -- added kernel symbols.
+    - Added screen_size, buffer_size, fb_alias members to CTextGlobals.
+    - SysGrInit() -- using Seg2Linear() to convert pointers.
+    - raw text drawing routine updated. BLACK32, WHITE32.
+    - Dynamic definition of GR_WIDTH and GR_HEIGHT.
+    - GrUpdateScreen32() -- GrCalcScreenUpdates() is used to reduce CPU usage. Added screen_cache member to CGrGlobals.
+    - gr_palette global variable. We use CBGR24 in GrPalette.ZC.
+
+* Added BinRep() from Sup1 ISO.
+* R("sys_pci_busses", "sys_pci_buses");
+* Renamed RWF flags -> RAWF.
+* Renamed mon_start_days1 and mon_start_days2 -> month_start_days and month_start_days_leap, respectively.
+* Moved random number generation algorithm into seperate function to reduce line count. Added RandU8().
+* Added syntax highlighting for numbers. DocHighlight(), DOC_COLOR_NUMBER.
+* Removed unnecessary checks for the presence of the APIC in MultiProc.ZC, as it is present on all x86 CPUs after the P5 
+microarchitecture.
+* Added untested ReAlloc(), as it could be useful for certain programs.
+* Added definitions for the PCI registers. Expanded the CPCIDev class to contain the values of the read-only registers. Added 
+PCIDevFind() as a simpler/abstracted alternative to PCIClassFind().
+* Removed the unpolished HPET implementation from the kernel.
+* Enabled the execution of SSE instructions. No actual SSE implementation in assembler yet, however.
+* Added definitions for the various flags in the Control Registers.
+* Added definitions for the PIT, and a document describing its usage in the OS.
+* Added definition for the PC speaker.
+* Added definitions for the PIC.
+* Added TimeSet() as there was no way to set the hardware clock before.
+* Added definitions for the CMOS, CMOSRegRead(), CMOSRegWrite(), CMOSIsBcd(). Rename Bcd2Bin() -> Bcd2Binary().
+* Replaced the endian-swapping functions with assembly versions.
+* Added POPCNT instruction and PopCount() compiler intrinsic, to replace BCount() and the set_bits_table.
+* Renamed opcodes PUSHFW, POPFW, PUSHAW, POPAW -> PUSHF, POPF, PUSHA, POPA respectively.
+* The VGA ROM Font is used as the standard system font, with the old one being used as the auxilliary one. The cyrillic font 
+has been removed.
+* Added Seg2Linear() to convert segmented 32-bit far pointers obtained from real mode to linear pointers.
+* Disabled the mouse in debug mode. No more garbage text on mouse movement. MouseHardEnable. You can use this function in your 
+own applications to disable the mouse completely.
+* AutoComplete now stays where you move it instead of snapping back to a fixed location, and that location persists after 
+rebooting by using the Registry to save the window location. Increased number of symbol links shown to 12, so you can use all 
+the functions keys F1-F12. It does syntax highlighting on the symbols now, so you know what type they are. Public symbols are 
+inverted. Dictionary words are BLACK to differentiate between symbols.
+* Added more keyboard shortcuts to the AutoComplete standby doc.
+* Removed "TOS Staff" and "InsReg" related code.
+* Renamed /Kernel/KInts.CC to KInterrupts.ZC.
+* Date section of status bar shows the year now.
+* Increased the length of the part of the status bar that shows the last keys pressed, so the longest combination 
+(CTRL+ALT+SHIFT+ENTER) can be shown. It is always at the rightmost part of the screen instead of being fixed at column 55.
+* ClassRep() does not show ASCII values for U8/I8 members by default now. Added argument "u8_chars" to enable that.
+* Added several palettes. See the palette setting functions.
+* Added option to format RAMdisks on Reboot().
+* Removed MemSetU8() as it was just an alias for MemSet().  
+* Moved TaskRep.CC and MemRep.CC from /Zenith to /System/Utils
+* Removed /System/Opt directory, moved subdirectories up.
+* Disabled blinking MENU.
+* Disabled scrolling title in editor.
+* One User terminal on startup.
+* Swapped colors in ST_ERR_ST and ST_WARN_ST. RED is for errors, LTRED is for warnings.
+* CPURep() now shows extended processor name or vendor string as fallback.
+* Added #NONE define to replace 0 or NULL in default function arguments where applicable (usually flags).
+* Shift+Alt+Delete runs BootRAM().
+* Changed 440 Hz middle 'A' frequency to 432 Hz, as that is the correct frequency. Ona2Freq.
+* Changed WinMgr refresh rate to 60 Hz.
+* New User tasks are named "Terminal" on startup.
+* Added FR(), for renaming files matching a mask. I used it to do the .HC -> .CC conversion.
+* Added Cls() and SysCls().
+* Functions starting with 'A' for Adam now start with 'Z' for Zenith.
+* Decompressed all files. Removed Zip(), Unzip(), and ZipRep(). Slightly modified FileRead() to disable reading compressed 
+files. Removal of compression planned for the future.
+* Renamed all files from .HC -> .CC to reflect language name change.
+* Renaming:
+    TempleOS -> ZenithOS
+    HolyC -> CosmiC
+    Adam -> Zenith
+    Seth -> Daemon
+    Chk -> Check
+    Que -> Queue
+    Scrn -> Screen
+    Pmt -> Prompt
+    Cmp -> Comp (Compiler) or Compare
+    Prs -> Parse
+    Rem -> Remove
+    Ins -> Insert
+    Hndlr -> Handler
+    Glbls -> Globals
+    Stmt -> Statement
+    Dbg -> Debug
+    Dsk -> Disk
+    Drv -> Drive
+    Let -> Letter
+    Chg -> Change
+    Fmt -> Format
+    Stk -> Stack
+    Snd -> Sound
+    Msg -> Message
+    Cnt -> Count
+    Lst -> List
+    QSort -> QuickSort
+    Dft -> Default
+    Rst -> Reset
+    Exts -> Externs
+    Ms -> Mouse
+    Fwd -> Forward
+    Bwd -> Backward
+    Cpy -> Copy
+    Cfg -> Config
+    Cvt -> Convert
+    Srv -> Server
+    Evt -> Event
+    Prs -> Parse
+    Mk -> Make
+    InvlPg -> InvalidatePage
+    BEqu -> BEqual
+    Pkt -> Packet
+    Rqst -> Request
+    ... and more.
+* Start of Zenith Development. Changes up until version 1.0 are not timestamped.
+
+At this point, Terry removed his changelog. Changes made by him after 4/30/17 are not documented.
+!!!!!!!!!!!!!!!!!!!!!!!!!!
+==========================
+!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+----04/30/17 22:24:51----
+* CmdLinePmt() doesn't print U0 ans.
+* Added comma flag StrPrintJoin(,"%,p");
+* Enhanced PrintErr() and PrintWarn().
+
+----04/28/17 22:29:09----
+* Modified ::/Demo/AcctExample/TOS/TOSBlog.HC and ::/Demo/AcctExample/TOS/TOSToHtml.HC.
+* R("fmtstr","format");
+* R("fmtdata","data");
+
+----04/21/17 14:17:49----
+* R("MODULE_ORG","ORG");
+
+----03/17/17 00:35:11----
+* Added toggle AutoSave <CTRL-SHIFT-s>.
+
+----03/14/17 00:14:39----
+* TempleOS version 5.03 Released
+* R("pen_width","thick");
+
+----02/05/17 16:37:39----
+* Added ::/Doc/BlkChain.DD.
+
+----02/03/17 17:27:36----
+* Added multicore ::/System/MathODE.ZC.
+* Improved support for sub and super scripts.
+
+----01/31/17 10:22:10----
+* Added ::/Demo/Graphics/LightTable.ZC.
+* Added TOS Linux Setup.
+
+----01/27/17 08:13:37----
+* Added DocLineRead() and DocLineWrite().
+
+----01/25/17 20:44:17----
+* R("DocLineNumGoto","DocGoToLine");
+* R("Clipboard","Clip");
+* R("AutoMountIDE","MountIDEAuto");
+* R("ChgExt","ExtChg");
+* R("DftExt","ExtDft");
+* R("CurDir","DirCur");
+* R("MkDir","DirMk");
+* R("ChkDsk","DskChk");
+* R("ChgDsk","DskChg");
+* R("PrtDsk","DskPrt");
+* R("RBlks","BlkRead");
+* R("WBlks","BlkWrite");
+* R("FRBlks","FBlkRead");
+* R("FWBlks","FBlkWrite");
+* R("Cluster","Clus");
+* R("RClusters","ClusRead");
+* R("WClusters","ClusWrite");
+
+
+----01/24/17 21:56:06----
+* Improved ::/Apps/Psalmody/JukeBox.ZC
+* R("TreeBranch","Tree");
+* Added DocTreeWrite() and DocTreeAppend().
+
+----01/22/17 06:08:00----
+* TempleOS version 5.02 Released
+* Changed polling of KbdMsHndlr() in WinMgrSleep(), increased fifos.
+
+----01/17/17 18:11:53----
+* Fixed $ class offset so #assert's don't lag a token.
+
+----01/17/17 14:39:41----
+* Added blkdev.ins_base0 and blkdev.ins_unit.
+* Added make RedSeaISO() to FileMgr().
+* Added blkdev.dft_iso_c_filename .
+
+----01/17/17 06:12:21----
+* R("MIN_...","..._MIN");
+* R("MAX_...","..._MAX");
+* R("NUM_...","..._NUM");
+
+----01/14/17 19:16:51----
+* Created /Demo/AcctExample/TOS.
+* R("MAX_...","_NUM...");
+
+----01/14/17 09:43:12----
+* Improved ::/Demo/AcctExample/TOS/TOSHolySpirit.HC.
+* Added cmp U0 Expression warn.
+* Improved syntax highlighting.
+
+----01/11/17 03:33:33----
+* TempleOS version 5.01 Released
+* R("ChangeLog","ChgLog");
+* Added show mouse pos to <CTRL-ALT-G>.
+* Improved TOSRegen().
+* Added Let2Let().
+
+----01/10/17 14:27:58----
+* Made DocPut() use parent task's doc if input filter task.
+* Added Once(), AOnce(), OnceFlush(), AOnceFlush(), OnceDrv(), AOnceDrv() and OnceExe().
+* R("DoOnce","Once");
+* Added RegAppend() and RegCnt();
+* R("RegSetDftEntry()","RegDft()");
+* R("RegExeBranch()","RegExe()");
+* R("RegWriteBranch()","RegWrite()");
+
+----01/10/17 11:45:41----
+* Added ::/Adam/InsReg.HC with InsReg(), InsRereg() and InsUnreg().
+* Added ::/Adam/Host.HC with HostChgDsk().
+* Added ::/Adam/Opt/Utils/TOS.HC with TOSStdIns().
+* Added cmd line args for partition % to DskPrt().
+
+----01/09/17 21:48:34----
+* R("a1","arg1");
+* R("a2","arg2");
+* R("r","res");
+
+----01/09/17 02:30:59----
+* Improved compiler ICSlashOp().
+* Added Panic().
+* Made it possible to mount just one partition.
+* Fixed creation of RedSea ISOs.
+* Organized ::/PersonalMenu.DD.
+* Moved AfterEgypt to the supplemental disk.
+
+----01/06/17 06:07:19----
+* Fixed DskChg().
+* Improved ::/Misc/OSTestSuite.ZC.
+
+----01/05/17 04:53:21----
+* No longer support ASCII#12, <CTRL-l> CH_FORM_FEED.
+* Fixed sys_var_init_flag.
+* GRScrnCaptureRead().
+
+----01/04/17 18:06:14----
+* Added ::/Demo/AcctExample/TOS/TOSPolicies.DD.
+* R("U0 pad;",";"); for align #asserts.
+* Got rid of mouse.throttle. 
+* R("Button","Bttn");
+* R("Handler","Hndlr");
+* R("InputPointer","Mouse");
+* Improved MemRep().
+* Changed ::/System/WallPaper.ZC.
+
+----01/03/17 12:23:49----
+* R("chars_cmp...","char_bmp...");
+* Added chk for Profanity.
+* Improved TOSRegen.
+* Removed TempleOSBooks1.ISO and TempleOSBooks2.ISO out of TempleOSSup1.ISO.
+
+----01/01/17 17:16:16----
+* TempleOS version 5.00 Released
+* Added Collapse().
+* Added CursorRem().
+
+----12/31/16 07:21:20----
+* R("SYS_SEMA_...","SEMA_...");
+* R("SYSf_CTRL_ALT_...","CTRL_ALT_...");
+* R("ThrowBreak()","Break()");
+* Added MemPageRep().
+
+----12/30/16 23:42:20----
+* R("Pages512","Pags");
+* Overhauled ::/Kernel/Memory/PageTables.ZC.
+* R("BusyWait()","Busy()");
+
+----12/29/16 10:21:44----
+* Changed Snd() from freq to a I8 val called an ona.
+* Fixed error in music octaves.
+* To convert songs, download Supplemental#1 ISO from the AppStore on http://www.templeos.org and run 
+Sup1/Sup1Utils/CvtSong500.HC.
+
+----12/22/16 16:18:32----
+* R("CSrvCmd","CJob");
+* R("CSrvCtrl","CJobCtrl");
+
+----12/03/16 13:19:58----
+* R("SpriteMat3B()","Sprite3Mat4x4B()");
+* R("SpriteX3B()","Sprite3XB()");
+* R("SpriteY3B()","Sprite3YB()");
+* R("SpriteZ3B()","Sprite3ZB()");
+* Improved ::/Demo/Games/Talons.ZC.
+
+----12/03/16 10:16:26----
+* Changed __CMD_LINE__.
+* Added CProgress.tf.
+* Added sys_staff_mode_flag.
+* R("except_caller","except_callers");
+
+----11/30/16 22:44:35----
+* Added SpriteTransform().
+
+----11/28/16 07:11:41----
+* Improved ::/Apps/Titanium/Titanium.ZC.
+
+----11/26/16 22:43:51----
+* Added solar storms to ::/Apps/X-Caliber/X-Caliber.ZC.
+* R("TimeOut","Titanium");
+
+----11/20/16 19:46:43----
+* TempleOS version 4.13 Released
+* Improved ::/Apps/Titanium/Titanium.ZC.
+* Improved ::/Apps/X-Caliber/X-Caliber.ZC.
+
+----11/19/16 08:19:51----
+* Improved Budget application.
+
+----11/17/16 18:49:51----
+* R("EagleDive","Talons");
+* Improved ::/Demo/Games/RocketScience.ZC.
+* Improved ::/Demo/Games/Rocket.ZC.
+
+----10/28/16 05:54:27----
+* Added ::/Demo/RadixSort.ZC.
+
+----10/26/16 00:21:06----
+* Added CProgress.t0.
+* Improved ::/Doc/Boot.DD.
+
+----10/25/16 18:02:44----
+* Improved ::/System/Gr/SpriteEd.ZC.
+* Improved ::/Demo/AcctExample/TOS/TOSHolySpirit.HC.
+
+----10/12/16 10:55:26----
+* Added CCF_NO_CHAR_CONST.
+* Improved ::/Demo/ToHtmlToTXTDemo/ToHtml.ZC.
+
+----10/03/16 01:09:35----
+* Changed GodWord().
+
+----09/30/16 18:29:59----
+* Improved Rand()'s.
+* Improved ::/System/Utils/ToTXT.ZC.
+
+----09/29/16 10:13:14----
+* TempleOS version 4.12 Released
+* Added TASKf_CMD_LINE_PMT.
+* Improved TaskWait().
+* Improved DeathWait().
+
+----09/27/16 12:40:21----
+* Added SndRst().
+* Got rid of crappy reverb in ::/Apps/Psalmody/PsalmodyMain.ZC.
+
+----09/27/16 11:09:25----
+* Improved ::/Misc/OSTestSuite.ZC.
+* Fixed bug in EdCharIns() printing $ cmds.
+* Added FUF_JUST_DD and FILEMASK_DD.
+
+----09/27/16 01:05:52----
+* Improved ::/Doc/MemoryOverview.DD.
+* Got rid of ::/Demo/Lectures/Mem.
+* Made filename paths relative to document location in DolDoc links.
+* R("Temp","Tmp");
+
+----09/26/16 00:44:42----
+* Added CloseAssault and OverRun to ::/Apps/ToTheFront/ToTheFront.ZC.
+
+----09/22/16 07:53:20----
+* Improved ::/Demo/Graphics/Box.ZC.
+* Improved ::/Demo/Graphics/SpritePlot3D.ZC.
+
+----09/21/16 17:09:40----
+* Fixed bug in ::/Demo/Games/BomberGolf.ZC.
+
+----09/20/16 15:57:30----
+* R("Screen","Scrn");
+* R("WinMgrSync","Refresh");
+* R("InDbg","DbgMode");
+* Improved ::/Doc/Boot.DD.
+
+----09/20/16 07:31:52----
+* R("DAT","DATA");
+* R("Auto","In");
+* R("AutoStr","InStr");
+* R("AutoFile","InFile");
+* R("AUT","IN");
+* R("GRA","GR");
+
+----09/18/16 20:40:44----
+* Added ::/Doc/WhyNotMore.DD.
+
+----09/18/16 12:52:03----
+* TempleOS version 4.11 Released
+* Fixed bug in IsDotZ() and IsDotC().
+* R("CPP","HC");
+* R("HPP","HH");
+* R("TXT","DD");
+
+----09/06/16 13:01:42----
+* Added OPTf_WARN_HEADER_MISMATCH.
+* Changed WinInside().
+* Got rid of MSG_FOCUS, MSG_MOVE, and MSG_SIZE.  There are no longer messages for moving and sizing windows.
+
+----09/06/16 02:40:43----
+* Improved ::/Demo/MagicPairs.ZC.
+
+----08/27/16 09:45:39----
+* Improved CPURep().
+* Improved ::/Misc/OSTestSuite.ZC.
+* Added BirthWait() and DeathWait().
+
+----08/22/16 04:14:47----
+* R("TK_DOT_DOT_DOT","TK_ELLIPSIS");
+
+----07/17/16 13:03:12----
+* Improved DocOpt().
+
+----07/17/16 03:23:53----
+* Improved ::/Demo/Games/RawHide.ZC.
+
+----07/15/16 10:11:10----
+* TempleOS version 4.10 Released
+* Improved ::/Demo/Games/Talons.ZC.
+
+----07/15/16 05:17:24----
+* Created CDevGlbls.uncached_alias.
+* Added 1 Gig page table support.
+
+----07/13/16 17:21:19----
+* Added multicore report to CPURep().
+
+----07/09/16 08:46:36----
+* Changed scoring in ::/Demo/Games/Talons.ZC.
+* Replaced many "%Q" with "%$Q".
+* Fixed '\x24'.
+* Added '\d' for '$'.
+
+----07/08/16 14:30:19----
+* R("root","head");
+* Fixed REP_STOSB and MemSet() for 64-bit.
+
+----07/07/16 07:21:03----
+* DocRead() changes to file's dir so relative filenames work.
+* Added AppStore to website with Supplemental#1 ISO for download.
+
+----07/06/16 23:45:30----
+* Fixed multicore bug in Sprite3().
+* Improved ::/Demo/Games/Talons.ZC.
+
+----07/05/16 06:03:47----
+* TempleOS version 4.09 Released
+* Improved ::/Demo/Games/Talons.ZC.
+* Improved GrFillTri0().
+
+----07/03/16 04:30:05----
+* Added Unmount().
+* Made BootLoader mandatory in RedSeaISO().
+* Added BDT_ISO_FILE_READ.
+
+----07/01/16 05:29:08----
+* Made underscore mandatory on HolyC callable asm functions.
+
+----06/28/16 13:15:08----
+* Changed TaskRep() and MemRep().
+* Changed ::/System/WallPaper.ZC.
+
+----06/26/16 14:01:16----
+* Added LastFun(), RunFile(), RunFile2() and PopUpRunFile().
+* Made boot code modular.
+
+----06/24/16 14:15:13----
+* Added A.I. to ::/Apps/KeepAway/KeepAway.ZC and changed scoring.
+
+----06/24/16 02:55:42----
+* TempleOS version 4.08 Released
+* Added Polygon, Fence, Prism and ResetColor commands to SpriteMeshEd().
+* R("Reverse","Rev");
+* R("Select","Sel");
+
+----06/23/16 01:03:36----
+* Added GrFillCircle().
+* Added GrVLine() and GrLineFat3().
+
+----06/18/16 16:16:22----
+* Modified KeyDevAdd().
+* R("nounusedwarn","no_warn");
+* R("sub_switch_start","start");
+* R("sub_switch_end","end");
+* Changed args to PutDirLink() and PutFileLink().
+* Added HomeSet().  Added "~" as special directory designator.
+* Changed filename exclude mask char from '~' to '!'.  See File Utils.
+* Got rid of /Home/HomePkgs.HC.
+
+----06/16/16 20:59:41----
+* <CTRL-ALT-t> is terminal window.
+* <CTRL-ALT-n> is next task.
+
+----06/16/16 19:49:39----
+* Added ::/Doc/Comm.ZC.
+* Added ::/Doc/StdTempleOSPC.DD.
+* Added ::/Kernel/FontCyrillic.HC. <CTRL-ALT-f>
+
+----06/02/16 03:20:56----
+* TempleOS version 4.07 Released
+* Added claws to ::/Demo/Games/Talons.ZC.
 
diff --git a/docs/Home/Net/Protocols/ICMP.ZC.html b/docs/Home/Net/Protocols/ICMP.ZC.html index 820cf79d..15884ac7 100755 --- a/docs/Home/Net/Protocols/ICMP.ZC.html +++ b/docs/Home/Net/Protocols/ICMP.ZC.html @@ -51,135 +51,134 @@ body {background-color:#1f1f1f;} MemSet(&icmp_reply, 0, sizeof(CICMPHeader)); } -NetQueueInit; - -U16 ICMPChecksum(U8 *buf, I64 size) -{ - U64 i, sum = 0; - - for (i = 0; i < size; i += 2) - { - sum += *buf(U16 *); - buf += 2; - } - - if (size - i > 0) - sum += *buf; - - while (sum >> 16 != 0) - sum = sum & 0xFFFF + sum >> 16; +U16 ICMPChecksum(U8 *buf, I64 size) +{ + U64 i, sum = 0; + + for (i = 0; i < size; i += 2) + { + sum += *buf(U16 *); + buf += 2; + } + + if (size - i > 0) + sum += *buf; + + while (sum >> 16 != 0) + sum = sum & 0xFFFF + sum >> 16; + + return ~sum(U16); - return ~sum(U16); +} -} - - -U0 ICMPReplySend(U32 destination_ip_address, - U16 identifier, - U16 sequence_number, - U16 request_checksum, - U8 *payload, - I64 length) -{ - U8 *icmp_frame; - I64 de_index; - CICMPHeader *header; - - de_index = IPV4PacketAllocate(&icmp_frame, - IP_PROTOCOL_ICMP, - IPV4AddressGet, - destination_ip_address, - sizeof(CICMPHeader) + length); - if (de_index < 0) - { - NetErr("ICMP SEND REPLY: Failed to allocate IPV4 packet."); - return; - } + +U0 ICMPReplySend(U32 destination_ip_address, + U16 identifier, + U16 sequence_number, + U16 request_checksum, + U8 *payload, + I64 length) +{ + U8 *icmp_frame; + I64 de_index; + CICMPHeader *header; + + de_index = IPV4PacketAllocate(&icmp_frame, + IP_PROTOCOL_ICMP, + IPV4AddressGet, + destination_ip_address, + sizeof(CICMPHeader) + length); + if (de_index < 0) + { + NetErr("ICMP SEND REPLY: Failed to allocate IPV4 packet."); + return; + } + + header = icmp_frame; - header = icmp_frame; - - header->type = ICMP_TYPE_ECHO_REPLY; - header->code = 0; // why is 0 okay? - header->checksum = EndianU16(EndianU16(request_checksum) + 0x0800); - header->identifier = identifier; - header->sequence_number = sequence_number; - // TODO: header checksum is awful. Shrine says hack alert. + header->type = ICMP_TYPE_ECHO_REPLY; + header->code = 0; // why is 0 okay? + header->checksum = EndianU16(EndianU16(request_checksum) + 0x0800); + header->identifier = identifier; + header->sequence_number = sequence_number; + // TODO: header checksum is awful. Shrine says hack alert. + + MemCopy(icmp_frame + sizeof(CICMPHeader), payload, length); - MemCopy(icmp_frame + sizeof(CICMPHeader), payload, length); - - IPV4PacketFinish(de_index); -} - -U0 ICMPRequestSend(U32 destination_ip_address, - U16 identifier, - U16 sequence_number, - U8 *payload, - I64 length) -{ - U8 *icmp_frame; - I64 de_index; - CICMPHeader *header; - - de_index = IPV4PacketAllocate(&icmp_frame, - IP_PROTOCOL_ICMP, - IPV4AddressGet, - destination_ip_address, - sizeof(CICMPHeader) + length); - if (de_index < 0) - { - NetErr("ICMP SEND REQUEST: Failed to allocate IPV4 packet."); - return; - } + IPV4PacketFinish(de_index); +} + +U0 ICMPRequestSend(U32 destination_ip_address, + U16 identifier, + U16 sequence_number, + U8 *payload, + I64 length) +{ + U8 *icmp_frame; + I64 de_index; + CICMPHeader *header; + + de_index = IPV4PacketAllocate(&icmp_frame, + IP_PROTOCOL_ICMP, + IPV4AddressGet, + destination_ip_address, + sizeof(CICMPHeader) + length); + if (de_index < 0) + { + NetErr("ICMP SEND REQUEST: Failed to allocate IPV4 packet."); + return; + } + + header = icmp_frame; - header = icmp_frame; - - header->type = ICMP_TYPE_ECHO_REQUEST; - header->code = 0; // why is 0 okay? - header->checksum = 0; - header->identifier = identifier; - header->sequence_number = sequence_number; + header->type = ICMP_TYPE_ECHO_REQUEST; + header->code = 0; // why is 0 okay? + header->checksum = 0; + header->identifier = identifier; + header->sequence_number = sequence_number; + + MemCopy(icmp_frame + sizeof(CICMPHeader), payload, length); - MemCopy(icmp_frame + sizeof(CICMPHeader), payload, length); + header->checksum = ICMPChecksum(header, sizeof(CICMPHeader) + length); - header->checksum = ICMPChecksum(header, sizeof(CICMPHeader) + length); - - IPV4PacketFinish(de_index); -} - -I64 ICMPHandler(CIPV4Packet *packet) -{ - CICMPHeader *header; - - if (packet->length < sizeof(CICMPHeader)) - { - NetErr("ICMP HANDLER: Caught wrong IPV4 length."); - return -1; - } + IPV4PacketFinish(de_index); +} + +I64 ICMPHandler(CIPV4Packet *packet) +{ + CICMPHeader *header; + + if (packet->length < sizeof(CICMPHeader)) + { + NetErr("ICMP HANDLER: Caught wrong IPV4 length."); + return -1; + } + + header = packet->data; - header = packet->data; - - if (header->type == ICMP_TYPE_ECHO_REQUEST && header->code == ICMP_CODE_ECHO) - { - ARPCachePut(packet->source_ip_address, packet->ethernet_frame->source_address); - - ICMPReplySend(packet->source_ip_address, - header->identifier, - header->sequence_number, - header->checksum, - packet->data + sizeof(CICMPHeader), // Data payload at IPV4Packet data location after the ICMP header - packet->length - sizeof(CICMPHeader));// Payload length is size of packet after dropping header. - } - else if (header->type == ICMP_TYPE_ECHO_REPLY && header->code == ICMP_CODE_ECHO) - { // save the reply to the global ICMP reply header - MemCopy(&icmp_reply, header, sizeof(CICMPHeader)); - } - else - NetWarn("ICMP HANDLER: Unhandled ICMP packet. type, code: 0x%X, 0x%X", header->type, header->code); + if (header->type == ICMP_TYPE_ECHO_REQUEST && header->code == ICMP_CODE_ECHO) + { + ARPCachePut(packet->source_ip_address, packet->ethernet_frame->source_address); + + ICMPReplySend(packet->source_ip_address, + header->identifier, + header->sequence_number, + header->checksum, + packet->data + sizeof(CICMPHeader), // Data payload at IPV4Packet data location after the ICMP header + packet->length - sizeof(CICMPHeader));// Payload length is size of packet after dropping header. + } + else if (header->type == ICMP_TYPE_ECHO_REPLY && header->code == ICMP_CODE_ECHO) + { // save the reply to the global ICMP reply header + MemCopy(&icmp_reply, header, sizeof(CICMPHeader)); + } + else + NetWarn("ICMP HANDLER: Unhandled ICMP packet. type, code: 0x%X, 0x%X", header->type, header->code); + + NetLog("ICMP HANDLER: Exiting."); - NetLog("ICMP HANDLER: Exiting."); - - return 0; -} - -ICMPInit; + return 0; +} + +ICMPInit; + diff --git a/docs/Home/Net/Utilities/Ping.ZC.html b/docs/Home/Net/Utilities/Ping.ZC.html index 86cddb59..365ed5e4 100755 --- a/docs/Home/Net/Utilities/Ping.ZC.html +++ b/docs/Home/Net/Utilities/Ping.ZC.html @@ -63,45 +63,46 @@ body {background-color:#1f1f1f;} return -1; } - while (!CharScan) - { - payload = MAlloc(64); - for (i = 0; i < 64; i++) - payload[i] = RandU8; - - "Sending Ping request #%d\n", sequence_number; - ICMPRequestSend(addr, identifier, EndianU16(sequence_number), payload, 64); - sent++; - - t = counts.jiffies; - while (counts.jiffies < t + timeout) - { - if (icmp_reply.identifier == identifier && icmp_reply.sequence_number == EndianU16(sequence_number)) - { - delay = counts.jiffies - t; - min_delay = MinI64(min_delay, delay); - max_delay = MaxI64(max_delay, delay); - sum_delay += delay; // sum up delays, divide through by count during stat report to get average - count++; - "\tReceived reply, delay: %dms\n", delay; - break; - } - Sleep(1); - } - while (counts.jiffies < t + JIFFY_FREQ) - Sleep(1); - - sequence_number++; - Free(payload); - } - - "\nPing Statistics:\n"; - "\tSent: %d, Received: %d, Lost: %d (%0.02f %%)\n", sent, count, sent - count, 100.0 - 100.0 * count / sent; - if (min_delay != I64_MAX && max_delay != I64_MIN && sum_delay != 0) - "\tMin: %dms, Max: %dms, Avg: %dms\n", min_delay, max_delay, sum_delay / count; - "\n"; - - return count; - -} + "\n"; + while (!CharScan) + { + payload = MAlloc(64); + for (i = 0; i < 64; i++) + payload[i] = RandU8; + + "Sending Ping request #%d\n", sequence_number; + ICMPRequestSend(addr, identifier, EndianU16(sequence_number), payload, 64); + sent++; + + t = counts.jiffies; + while (counts.jiffies < t + timeout) + { + if (icmp_reply.identifier == identifier && icmp_reply.sequence_number == EndianU16(sequence_number)) + { + delay = counts.jiffies - t; + min_delay = MinI64(min_delay, delay); + max_delay = MaxI64(max_delay, delay); + sum_delay += delay; // sum up delays, divide through by count during stat report to get average + count++; + "\tReceived reply, delay: %dms\n", delay; + break; + } + Sleep(1); + } + while (counts.jiffies < t + JIFFY_FREQ) + Sleep(1); + + sequence_number++; + Free(payload); + } + + "\nPing Statistics:\n"; + "\tSent: %d, Received: %d, Lost: %d (%0.02f %%)\n", sent, count, sent - count, 100.0 - 100.0 * count / sent; + if (min_delay != I64_MAX && max_delay != I64_MIN && sum_delay != 0) + "\tMin: %dms, Max: %dms, Avg: %dms\n", min_delay, max_delay, sum_delay / count; + "\n"; + + return count; + +} diff --git a/docs/index.html b/docs/index.html index 80a938c5..8efb8f7c 100755 --- a/docs/index.html +++ b/docs/index.html @@ -497,7 +497,7 @@ body {background-color:#1f1f1f;} BP 0000000205 0000 Reg BPT 01C68DA818 0000 OpCode BPlf_LOCKED 0 0001 0000000008 DefineStr -BROWN 6 0012 0000000008 DefineStr +BROWN 6 000F 0000000008 DefineStr BSF 01C68DB9B0 0000 OpCode BSR 01C68DB920 0000 OpCode BSWAP 01C68DB8A8 0000 OpCode @@ -629,7 +629,7 @@ body {background-color:#1f1f1f;} CAUData 007FF853A8 0003 0000000009 Class Public CAbsCountsI64 007FF98EB0 0003 0000000008 Class CAdd 007FFF1C28 0000 0000000041 Funct Public -CAlloc 000000DF64 00BA 0000000033 Funct Public +CAlloc 000000DF64 00A6 0000000033 Funct Public CAllocAligned 000000E0A4 0001 000000007F Funct Public CArrayDim 007FF9EA70 0005 0000000018 Class Public CAsmArg 007FF981E0 0002 0000000068 Class @@ -707,7 +707,7 @@ body {background-color:#1f1f1f;} CCodeMisc 007FF99660 0005 0000000058 Class CColorROPU16 007FF8DA70 0003 0000000002 Class Public CColorROPU32 007FF8D7E0 0036 0000000004 Class Public -CCompCtrl 007FF96790 0053 00000001D8 Class Public +CCompCtrl 007FF96790 003F 00000001D8 Class Public CCompGlobals 007FF96500 0002 0000000258 Class Public CCopy 007FF99E28 0001 0000000025 Funct Public CCountsGlobals 007FFA09E0 0002 0000000029 Class Public @@ -723,7 +723,7 @@ body {background-color:#1f1f1f;} CDATE_FREQ 49710 0007 0000000008 DefineStr CDATE_YEAR_DAYS 365.24225 0005 0000000010 DefineStr CDATE_YEAR_DAYS_INT 36524225 0001 0000000010 DefineStr -CDC 007FFAA580 010C 0000000158 Class Public +CDC 007FFAA580 00F8 0000000158 Class Public CDIR_FILENAME_LEN 38 0002 0000000008 DefineStr CDIR_SIZE (sizeof(CD 0009 0000000030 DefineStr CDQ 01C68DD250 0000 OpCode @@ -735,11 +735,11 @@ body {background-color:#1f1f1f;} CDebugInfo 007FF9FC60 0005 000000000C Class CDevGlobals 007FF8DD00 0002 000000011C Class Public CDirContext 007FFAA2F0 0007 0000000020 Class Public -CDirEntry 007FF8F9E0 00BB 0000000070 Class Public +CDirEntry 007FF8F9E0 00A7 0000000070 Class Public CDiv 007FEDA738 0000 0000000099 Funct Public -CDoc 007FFAA060 01E2 0000000300 Class Public +CDoc 007FFAA060 01CE 0000000300 Class Public CDocBin 007FF9DA60 0028 0000000038 Class Public -CDocEntry 007FF9D2B0 012A 00000000D0 Class Public +CDocEntry 007FF9D2B0 0116 00000000D0 Class Public CDocEntryBase 007FF9D540 0005 0000000058 Class Public CDocSettings 007FF9D7D0 0016 0000000018 Class Public CDocUndo 007FF9C0F8 000B 0000000030 Class @@ -805,36 +805,36 @@ body {background-color:#1f1f1f;} CH 0000000105 0000 Reg CHPXCHG8B 01C68DAD60 0000 OpCode CH_BACKSPACE 0x08 0005 0000000008 DefineStr -CH_CTRLA 0x01 000E 0000000008 DefineStr -CH_CTRLB 0x02 000E 0000000008 DefineStr -CH_CTRLC 0x03 000E 0000000008 DefineStr -CH_CTRLD 0x04 000D 0000000008 DefineStr +CH_CTRLA 0x01 000D 0000000008 DefineStr +CH_CTRLB 0x02 000D 0000000008 DefineStr +CH_CTRLC 0x03 000D 0000000008 DefineStr +CH_CTRLD 0x04 000C 0000000008 DefineStr CH_CTRLE 0x05 0001 0000000008 DefineStr -CH_CTRLF 0x06 0018 0000000008 DefineStr -CH_CTRLG 0x07 000D 0000000008 DefineStr -CH_CTRLH 0x08 000C 0000000008 DefineStr -CH_CTRLI 0x09 0018 0000000008 DefineStr -CH_CTRLJ 0x0A 000C 0000000008 DefineStr -CH_CTRLK 0x0B 0018 0000000008 DefineStr -CH_CTRLL 0x0C 0018 0000000008 DefineStr -CH_CTRLM 0x0D 000F 0000000008 DefineStr +CH_CTRLF 0x06 0016 0000000008 DefineStr +CH_CTRLG 0x07 000C 0000000008 DefineStr +CH_CTRLH 0x08 000B 0000000008 DefineStr +CH_CTRLI 0x09 0016 0000000008 DefineStr +CH_CTRLJ 0x0A 000B 0000000008 DefineStr +CH_CTRLK 0x0B 0016 0000000008 DefineStr +CH_CTRLL 0x0C 0016 0000000008 DefineStr +CH_CTRLM 0x0D 000E 0000000008 DefineStr CH_CTRLN 0x0E 0001 0000000008 DefineStr -CH_CTRLO 0x0F 0018 0000000008 DefineStr -CH_CTRLP 0x10 0018 0000000008 DefineStr +CH_CTRLO 0x0F 0016 0000000008 DefineStr +CH_CTRLP 0x10 0016 0000000008 DefineStr CH_CTRLQ 0x11 0002 0000000008 DefineStr -CH_CTRLR 0x12 000D 0000000008 DefineStr -CH_CTRLS 0x13 0018 0000000008 DefineStr -CH_CTRLT 0x14 000D 0000000008 DefineStr -CH_CTRLU 0x15 0018 0000000008 DefineStr -CH_CTRLV 0x16 000F 0000000008 DefineStr -CH_CTRLW 0x17 0018 0000000008 DefineStr -CH_CTRLX 0x18 000E 0000000008 DefineStr -CH_CTRLY 0x19 0010 0000000008 DefineStr -CH_CTRLZ 0x1A 0019 0000000008 DefineStr +CH_CTRLR 0x12 000C 0000000008 DefineStr +CH_CTRLS 0x13 0016 0000000008 DefineStr +CH_CTRLT 0x14 000C 0000000008 DefineStr +CH_CTRLU 0x15 0016 0000000008 DefineStr +CH_CTRLV 0x16 000E 0000000008 DefineStr +CH_CTRLW 0x17 0016 0000000008 DefineStr +CH_CTRLX 0x18 000D 0000000008 DefineStr +CH_CTRLY 0x19 000F 0000000008 DefineStr +CH_CTRLZ 0x1A 0017 0000000008 DefineStr CH_CURSOR 0x05 0009 0000000008 DefineStr -CH_ESC 0x1B 001C 0000000008 DefineStr -CH_SHIFT_ESC 0x1C 0021 0000000008 DefineStr -CH_SPACE 0x20 004F 0000000008 DefineStr +CH_ESC 0x1B 001B 0000000008 DefineStr +CH_SHIFT_ESC 0x1C 0020 0000000008 DefineStr +CH_SPACE 0x20 003B 0000000008 DefineStr CHash 007FFA0180 0018 0000000018 Class Public CHashAC 007FF9F220 000E 0000000020 Class Public CHashClass 007FFA9B40 0013 0000000080 Class Public @@ -1124,7 +1124,7 @@ body {background-color:#1f1f1f;} CTRL_ALT_X 2 0001 0000000008 DefineStr CTRL_KEY_SCAN_DECODE_TABLE 000001945B 0001 ExportSysSym Imm CTSS 007FF87900 0004 0000002084 Class -CTask 007FFA8E70 019A 00000004A8 Class Public +CTask 007FFA8E70 0186 00000004A8 Class Public CTaskDying 007FF88240 0003 0000000018 Class CTaskSettings 007FF890C0 000E 0000000148 Class Public CTaskStack 007FF884D0 0005 0000000018 Class @@ -1176,7 +1176,7 @@ body {background-color:#1f1f1f;} Carry 000000006D 0001 Funct Public CatPrint 000001406E 0066 0000000042 Funct Public Caw 007FE68028 0000 00000000A2 Funct Public -Cd 000002DFF6 00B8 00000003F0 Funct Public +Cd 000002DFF6 0047 00000003F0 Funct Public Cd2DirEntry 0000021985 0002 00000000AA Funct Ceil 000000AB29 0008 Funct Public CeilI64 000000CE30 0003 0000000058 Funct Public @@ -1219,7 +1219,7 @@ body {background-color:#1f1f1f;} CmdLinePrompt 007FFC0BA7 0001 ExportSysSym Imm Code2Sprite 007FE841D0 0001 00000001FB Funct Public Code2SpriteElem 007FE6F228 0001 0000000D7F Funct -Collapse 007FDA7E20 000A 00000000DA Funct Public +Collapse 007FDA7E20 0009 00000000DA Funct Public CollapseFile 007FDA8268 0001 000000003E Funct Color2Str 00000156E6 0008 000000019E Funct Public Comp 007FFC1EDF 0009 000000058E Funct @@ -1244,7 +1244,7 @@ body {background-color:#1f1f1f;} CompRawTypePointed 007FFBBCFE 0001 ExportSysSym Imm CompSetFloatOpPushPop 007FFCD6AF 0001 ExportSysSym Imm Complex 007FFA5FD0 001D 0000000010 Class Public -Copy 007FE55B30 000E 00000000CD Funct Public +Copy 007FE55B30 000D 00000000CD Funct Public CopySingle 000002F816 0004 0000000284 Funct CopySingleZ 000002F6F6 0001 ExportSysSym Imm CopyTree 007FE54E70 0005 000000016F Funct Public @@ -1278,8 +1278,8 @@ body {background-color:#1f1f1f;} CtrlSliderGet 007FF86C28 0000 00000001BC Funct CtrlsUpdate 007FDE9CE8 0001 000000012E Funct CurSongTask 007FE57CA8 0001 0000000028 Funct -CursorRemFile 007FDC0828 0001 000000002D Funct -CursorRemove 007FDA8610 0000 0000000097 Funct Public +CursorRemFile 007FDC0828 0054 000000002D Funct +CursorRemove 007FDA8610 0069 0000000097 Funct Public D3Add 000000A83F 0001 Funct Public D3AddEqu 000000A947 0002 Funct Public D3Copy 000000A8FE 0002 Funct Public @@ -1361,7 +1361,7 @@ body {background-color:#1f1f1f;} DD_MEM_MIN_MEG 256Meg 0000 0000000008 DefineStr DD_MP_VECT 00097000 0000 0000000010 DefineStr DD_MP_VECT_END 0009703B 0000 0000000010 DefineStr -DD_OS_NAME_VERSION ZealOS V1. 1CF1 0000000010 DefineStr +DD_OS_NAME_VERSION ZealOS V1. 1715 0000000010 DefineStr DD_PHYSICAL_SPACE_END 01D77FFFFF 0000 0000000010 DefineStr DD_SYS_FIXED_AREA_BASE 00100000 0000 0000000010 DefineStr DD_SYS_FIXED_AREA_END 00101FFF 0000 0000000010 DefineStr @@ -1576,7 +1576,7 @@ body {background-color:#1f1f1f;} DOCF_WORD_WRAP DOCEF_WORD 0005 0000000010 DefineStr DOCG_BL_IV_UL 0xB0000000 0015 0000000010 DefineStr DOCG_DBL_BUF_FLAGS (DOCF_OVER 0004 0000000110 DefineStr -DOCM_CANCEL (-1) 0013 0000000008 DefineStr +DOCM_CANCEL (-1) 0012 0000000008 DefineStr DOCSS_COMMENT 3 0003 0000000008 DefineStr DOCSS_CPP_Z_COMMENT 4 0004 0000000008 DefineStr DOCSS_DBL_QUOTE 2 0003 0000000008 DefineStr @@ -1743,7 +1743,7 @@ body {background-color:#1f1f1f;} DiffEntriesCompare 007FDB8680 0002 0000000021 Funct DiffSel 007FDB5628 0002 00000003FF Funct DiffSub 007FE7AA28 0003 0000000303 Funct -Dir 000002E466 0004 00000002E6 Funct Public +Dir 000002E466 001D 00000002E6 Funct Public DirContextDel 000002D746 0008 00000000B0 Funct Public DirContextNew 000002D7F6 0008 00000002A1 Funct Public DirCur 0000021B3D 0009 000000007C Funct Public @@ -1800,7 +1800,7 @@ body {background-color:#1f1f1f;} DocCaptureUndo 007FE1F260 0005 00000000FA Funct DocCenter 007FE229F8 000B 0000000084 Funct Public DocCharDist 007FE25658 000A 0000000040 Funct -DocClear 007FE228B0 0009 00000000CD Funct Public +DocClear 007FE228B0 001E 00000000CD Funct Public DocCollapse 007FE22038 0006 000000007D Funct Public DocCopy 007FE18C08 0001 000000009D Funct Public DocCursor 007FE22848 0002 0000000051 Funct Public @@ -1851,7 +1851,7 @@ body {background-color:#1f1f1f;} DocLoad 007FE20450 0003 000000014A Funct Public DocLock 007FE2D228 006B 000000006F Funct Public DocMax 007FE21FE8 0006 000000003C Funct Public -DocMenu 007FE289C8 0004 0000000185 Funct Public +DocMenu 007FE289C8 0003 0000000185 Funct Public DocMenuEndTaskCB 007FEB5028 0001 0000000018 Funct DocNew 0000000000 0001 NULL DocNew 007FE2AB50 0031 000000010C Funct Public @@ -1861,10 +1861,10 @@ body {background-color:#1f1f1f;} DocOptFile 007FF2B428 0001 0000000064 Funct DocOptList 007FDA6E70 0002 000000008C Funct DocPrint 0000000000 0001 NULL -DocPrint 007FDF5170 0104 000000004D Funct Public +DocPrint 007FDF5170 0119 000000004D Funct Public DocPrintAtomic 007FDF4A10 0000 0000000097 Funct Public DocPrintPartial 007FDF4EC8 0001 0000000295 Funct Public -DocPut 007FE28910 0053 000000004B Funct Public +DocPut 007FE28910 0068 000000004B Funct Public DocPutKey 007FE6A228 000F 0000001F98 Funct Public DocPutLine 0000000000 0001 NULL DocPutLine 007FDF4508 0001 00000000FE Funct Public @@ -1901,7 +1901,7 @@ body {background-color:#1f1f1f;} DocUndoDel 007FE2BC88 0002 000000001D Funct DocUndoRestore 007FE1EE38 0001 00000000BE Funct DocUnlock 0000000000 0001 NULL -DocUnlock 007FE2D1B8 007B 0000000060 Funct Public +DocUnlock 007FE2D1B8 0090 0000000060 Funct Public DocUpdateTaskDocs 007FE21ED8 0000 00000000FF Funct DocWordWrapAdd 007FE97028 0001 00000001BA Funct DocWordWrapDel 007FE50228 0001 000000019A Funct @@ -1913,7 +1913,7 @@ body {background-color:#1f1f1f;} DrawCtrls 007FDE9750 0000 00000000F2 Funct DrawGrabMouse 007FDCC6E8 0001 0000000202 Funct Public DrawIt 007FE78228 0003 0000000586 Funct -DrawIt 007FE04DD0 0019 000000010D Funct +DrawIt 007FE04DD0 0004 000000010D Funct DrawMenu 007FF1C628 0001 0000000328 Funct DrawMouse 007FE3B808 0001 0000000093 Funct DrawProgressBars 007FE3D2D0 0001 000000038C Funct @@ -1923,25 +1923,25 @@ body {background-color:#1f1f1f;} DrawWaitMouse 007FE8BFD8 0000 00000000CC Funct Public DrawWinGrid 007FE3CE88 0001 00000000D9 Funct DrawWinScroll 007FDF4E28 0002 0000000090 Funct -Drive 0000026778 002B 00000000F9 Funct Public -Drive2Letter 0000026450 0026 0000000027 Funct Public +Drive 0000026778 002A 00000000F9 Funct Public +Drive2Letter 0000026450 0011 0000000027 Funct Public DriveBlkDevDel 00000261C8 0001 ExportSysSym Imm -DriveCheck 0000026408 0016 0000000043 Funct Public +DriveCheck 0000026408 0001 0000000043 Funct Public DriveDel 0000026178 0003 0000000049 Funct Public DriveEnable 0000028029 0001 0000000057 Funct Public DriveFATBlkAlloc 0000026210 0001 ExportSysSym Imm -DriveFATBlkClean 0000026270 0016 ExportSysSym Imm -DriveFATBlkSet 0000026320 0016 ExportSysSym Imm -DriveIsWritable 00000265E8 001D 0000000054 Funct Public -DriveLock 0000025F50 0016 0000000056 Funct Public +DriveFATBlkClean 0000026270 0001 ExportSysSym Imm +DriveFATBlkSet 0000026320 0001 ExportSysSym Imm +DriveIsWritable 00000265E8 0008 0000000054 Funct Public +DriveLock 0000025F50 0001 0000000056 Funct Public DriveMakeFreeSlot 0000026050 0004 000000006F Funct Public DriveModelNum 0000026900 0001 0000000082 Funct Public DriveNextFreeLet 00000260C0 0004 00000000B8 Funct Public -DriveRep 0000026A09 0017 00000002C3 Funct Public +DriveRep 0000026A09 0002 00000002C3 Funct Public DriveSerialNum 0000026878 0001 0000000082 Funct Public -DriveTextAttrGet 0000026991 001B 0000000077 Funct Public +DriveTextAttrGet 0000026991 0006 0000000077 Funct Public DriveTypeSet 0000030666 0001 ExportSysSym Imm -DriveUnlock 0000025FA8 001A 0000000058 Funct Public +DriveUnlock 0000025FA8 0005 0000000058 Funct Public DriveUnused 007FE48C30 0002 00000000CC Funct Public DriveView 007FE49CB8 0000 0000000097 Funct Public DrivesRelease 0000026000 0001 000000004C Funct Public @@ -1972,7 +1972,7 @@ body {background-color:#1f1f1f;} EF_REINDENT 0 0002 0000000008 DefineStr EF_RENUM_ASM 2 0002 0000000008 DefineStr ENTER 01C68DAC40 0000 OpCode -ERRCON 1.89e-4 0001 0000000008 DefineStr +ERRCON 1.89e-4 0016 0000000008 DefineStr ES 0000000500 002A Reg ESI 0000000306 0000 Reg ESP 0000000304 0000 Reg @@ -2065,17 +2065,17 @@ body {background-color:#1f1f1f;} ExeCmdLine 000001D25B 0002 000000028E Funct Public ExeDoc 007FDEBD80 0001 0000000156 Funct Public ExeFile 0000000000 0001 NULL -ExeFile 007FFC265F 0004 0000000077 Funct Public +ExeFile 007FFC265F 0019 0000000077 Funct Public ExeFile2 007FFC2817 0002 0000000075 Funct Public ExePrint 0000000000 0001 NULL -ExePrint 007FFC260F 0004 0000000049 Funct Public +ExePrint 007FFC260F 0019 0000000049 Funct Public ExePrint2 007FFC27CF 0003 0000000047 Funct Public ExePutS 007FFC246F 0001 000000019A Funct Public ExePutS2 007FFC2707 0001 00000000C4 Funct Public -Exit 000001C963 0011 00000000CC Funct Public -Exp 000000AC58 0007 Funct Public +Exit 000001C963 0025 00000000CC Funct Public +Exp 000000AC58 001C Funct Public ExtChange 000002186D 0007 000000008C Funct Public -ExtDefault 00000218FD 0018 0000000087 Funct Public +ExtDefault 00000218FD 002D 0000000087 Funct Public ExtendedASCII 007FE3C068 0001 00000001A1 Funct F 007FDA40F0 0000 0000000025 Funct Public F2XM1 01C68D5A40 0000 OpCode @@ -2340,7 +2340,7 @@ body {background-color:#1f1f1f;} FileExtDot 000002102D 0006 000000003D Funct Public FileExtRemove 000002106D 0009 000000004B Funct Public FileFind 000002DC2E 0021 000000038B Funct Public -FileMgr 007FE40628 000C 00000008CB Funct Public +FileMgr 007FE40628 000B 00000008CB Funct Public FileNameAbs 00000216D5 0018 0000000196 Funct Public FileNameCheck 0000021A5D 0002 000000009B Funct Public FileNameForm 007FE08DF8 0000 0000000074 Funct Public @@ -2372,7 +2372,7 @@ body {background-color:#1f1f1f;} FramePtrAdd 0000010C02 0004 000000002E Funct Public FramePtrDel 0000010C92 0003 0000000064 Funct Public FramePtrSet 0000010C32 0001 000000005F Funct Public -Free 000000DE20 0290 Funct Public +Free 000000DE20 0293 Funct Public Freq2Ona 00000162BE 0004 0000000058 Funct Public Fs 0000000015 01B5 Funct Public Fstcw 000000ACF7 0001 Funct @@ -2412,15 +2412,15 @@ body {background-color:#1f1f1f;} GVF_IMPORT 2 0001 0000000008 DefineStr GetLink 007FDFD628 0002 0000000974 Funct GetOutOfDollar 000000F360 0001 0000000062 Funct Public -GodBiblePassage 007FDD5650 000B 000000007E Funct Public +GodBiblePassage 007FDD5650 000A 000000007E Funct Public GodBitsInsert 007FDD1F90 0002 000000003F Funct Public GodBitsRemove 007FF2F828 0025 0000000063 Funct Public GodHexInsert 007FF27028 0000 0000000065 Funct Public GodInit 007FDD5B08 0001 0000000247 Funct GodPick 007FDD1FE0 0001 00000000F5 Funct -GodSong 007FDD4920 000B 000000006B Funct Public +GodSong 007FDD4920 000A 000000006B Funct Public GodSongStr 007FDCF228 0002 0000000533 Funct Public -GodWord 007FDD56E0 000B 0000000059 Funct Public +GodWord 007FDD56E0 000A 0000000059 Funct Public GodWordStr 007FDD5750 0000 0000000049 Funct Public Gr2BSpline 007FE9BF48 0000 0000000035 Funct Public Gr2BSpline3 007FE92D98 0002 000000021C Funct Public @@ -2535,7 +2535,7 @@ body {background-color:#1f1f1f;} HTT_EXPORT_SYS_SYM 0x00001 000C 0000000010 DefineStr HTT_FILE 0x02000 0001 0000000010 DefineStr HTT_FRAME_PTR 0x10000 0001 0000000010 DefineStr -HTT_FUN 0x00040 003C 0000000010 DefineStr +HTT_FUN 0x00040 0027 0000000010 DefineStr HTT_GLOBAL_VAR 0x00008 000B 0000000010 DefineStr HTT_HELP_FILE 0x08000 000E 0000000010 DefineStr HTT_IMPORT_SYS_SYM 0x00002 0001 0000000010 DefineStr @@ -2585,7 +2585,7 @@ body {background-color:#1f1f1f;} HashEntriesCompare3 007FDE6C28 0001 0000000090 Funct HashEntrySize 007FFB3288 0003 000000010B Funct Public HashEntrySize2 007FFB3398 0001 00000001A8 Funct Public -HashFind 000000F7E3 0045 Funct Public +HashFind 000000F7E3 0030 Funct Public HashFunSegFind 00000309E6 0001 ExportSysSym Imm HashGenericAdd 0000010912 0001 0000000081 Funct Public HashListAdd 0000010AD2 0001 0000000081 Funct Public @@ -2611,7 +2611,7 @@ body {background-color:#1f1f1f;} HeapLogSizeRep 007FDB2A28 0000 0000000321 Funct Public HeapRep 007FED5C30 0000 00000001D2 Funct Public HeapWalk 007FED4C50 0000 0000000055 Funct Public -Help 000000F4D0 0041 000000004E Funct Public +Help 000000F4D0 002A 000000004E Funct Public HelpComment 007FDD08A8 0001 000000022F Funct HelpIndexCount 007FDD1248 0002 0000000079 Funct HelpIndexStr 007FDD0E40 0001 00000000A0 Funct @@ -2626,12 +2626,12 @@ body {background-color:#1f1f1f;} I16_MAX 0x7FFF 0001 0000000008 DefineStr I16_MIN (-0x8000) 0001 0000000010 DefineStr I16i 007FFF1E48 0001 0000000002 IntType -I32 007FFA6780 007E 0000000004 Class +I32 007FFA6780 0069 0000000004 Class I32 0000000045 0004 AsmKeyWord I32_MAX 0x7FFFFFFF 0011 0000000010 DefineStr I32_MIN (-0x800000 0019 0000000010 DefineStr I32i 007FFEECF0 0001 0000000004 IntType -I64 007FFA6260 0BD7 0000000008 Class +I64 007FFA6260 0BC2 0000000008 Class I64 0000000046 0001 AsmKeyWord I64Get 007FE17C70 0006 00000000DC Funct Public I64_MAX 0x7FFFFFFF 0029 0000000018 DefineStr @@ -2648,7 +2648,7 @@ body {background-color:#1f1f1f;} IA32_FS_BASE 0xC0000100 0001 0000000010 DefineStr IA32_GS_BASE 0xC0000101 0001 0000000010 DefineStr IA32_LAPIC_BASE 0x01B 0001 0000000008 DefineStr -ICAdd 007FFB5EF0 002B ExportSysSym Imm +ICAdd 007FFB5EF0 0001 ExportSysSym Imm ICAddEct 007FFD0817 0001 ExportSysSym Imm ICAddRSP 007FFCBADF 0001 ExportSysSym Imm ICAddSubEctEqu 007FFD1D3F 0001 ExportSysSym Imm @@ -2694,7 +2694,7 @@ body {background-color:#1f1f1f;} ICF_ARG2_TO_F64 0x00000001 0001 0000000010 DefineStr ICF_ARG2_TO_INT 0x00000002 0001 0000000010 DefineStr ICF_ARG2_WAS_STACK 0x00002000 0001 0000000010 DefineStr -ICF_BY_VAL 0x00000080 0016 0000000010 DefineStr +ICF_BY_VAL 0x00000080 0001 0000000010 DefineStr ICF_CODE_FINAL 0x00000040 0001 0000000010 DefineStr ICF_DEL_PREV_INS 0x04000000 0001 0000000010 DefineStr ICF_DONT_RESTORE 0x10000000 0001 0000000010 DefineStr @@ -2706,7 +2706,7 @@ body {background-color:#1f1f1f;} ICF_PUSH_CMP 0x00004000 0001 0000000010 DefineStr ICF_PUSH_RES 0x00000200 0001 0000000010 DefineStr ICF_RES_NOT_USED 0x00000020 0001 0000000010 DefineStr -ICF_RES_TO_F64 0x00000000 0016 0000000010 DefineStr +ICF_RES_TO_F64 0x00000000 0001 0000000010 DefineStr ICF_RES_TO_INT 0x00000000 0001 0000000010 DefineStr ICF_RES_WAS_STACK 0x00000800 0001 0000000010 DefineStr ICF_SHORT_JMP 0x00000100 0001 0000000010 DefineStr @@ -2718,13 +2718,13 @@ body {background-color:#1f1f1f;} ICG_NO_CONVERT_MASK 0x1FFFFFF0 0001 0000000010 DefineStr ICLea 007FFCD25F 0001 ExportSysSym Imm ICLocalVarInit 007FFD671F 0001 ExportSysSym Imm -ICMinMax 007FFD583F 0016 ExportSysSym Imm +ICMinMax 007FFD583F 0001 ExportSysSym Imm ICMod 007FFD1C87 0001 ExportSysSym Imm ICModU64 007FFD5A27 0001 ExportSysSym Imm -ICModr1 007FFCBDA7 0016 ExportSysSym Imm -ICModr2 007FFCC05F 0016 ExportSysSym Imm -ICMov 007FFCC77F 0040 ExportSysSym Imm -ICMul 007FFD130F 0016 ExportSysSym Imm +ICModr1 007FFCBDA7 0001 ExportSysSym Imm +ICModr2 007FFCC05F 0001 ExportSysSym Imm +ICMov 007FFCC77F 0001 ExportSysSym Imm +ICMul 007FFD130F 0001 ExportSysSym Imm ICMulEqu 007FFD15B7 0001 ExportSysSym Imm ICNot 007FFD27CF 0001 ExportSysSym Imm ICOpSizeRex 007FFCB9D7 0001 ExportSysSym Imm @@ -2744,7 +2744,7 @@ body {background-color:#1f1f1f;} ICRex 007FFCB9A7 0001 ExportSysSym Imm ICShift 007FFD236F 0001 ExportSysSym Imm ICShiftEqu 007FFD24DF 0001 ExportSysSym Imm -ICSlashOp 007FFCC14F 0016 ExportSysSym Imm +ICSlashOp 007FFCC14F 0001 ExportSysSym Imm ICSqr 007FFD59D7 0001 ExportSysSym Imm ICSub 007FFD0FFF 0001 ExportSysSym Imm ICSwap 007FFD5B3F 0001 ExportSysSym Imm @@ -2755,14 +2755,14 @@ body {background-color:#1f1f1f;} ICToF64 007FFD332F 0001 ExportSysSym Imm ICToI64 007FFD32EF 0001 ExportSysSym Imm ICToUpper 007FFD327F 0001 ExportSysSym Imm -ICU16 007FFCBA1F 002B ExportSysSym Imm -ICU24 007FFCBA4F 0016 ExportSysSym Imm -ICU32 007FFCBA7F 0016 ExportSysSym Imm +ICU16 007FFCBA1F 0001 ExportSysSym Imm +ICU24 007FFCBA4F 0001 ExportSysSym Imm +ICU32 007FFCBA7F 0001 ExportSysSym Imm ICU64 007FFCBAAF 0001 ExportSysSym Imm -ICU8 007FFCB977 0016 ExportSysSym Imm +ICU8 007FFCB977 0001 ExportSysSym Imm ICUnaries 007FFD2757 0001 ExportSysSym Imm -ICXorEqu 007FFD5FA7 0016 ExportSysSym Imm -ICXorXor 007FFD2A97 0016 ExportSysSym Imm +ICXorEqu 007FFD5FA7 0001 ExportSysSym Imm +ICXorXor 007FFD2A97 0001 ExportSysSym Imm ICZero 007FFCC60F 0001 ExportSysSym Imm IC_ABS 0xB3 0001 0000000008 DefineStr IC_ABS_ADDR 0x0D 0000 0000000008 DefineStr @@ -2849,14 +2849,14 @@ body {background-color:#1f1f1f;} IC_GS 0x17 0001 0000000008 DefineStr IC_HEAP_GLOBAL 0x0F 0000 0000000008 DefineStr IC_ICS_NUM 0xBA 0000 0000000008 DefineStr -IC_IMM_F64 0x0B 0015 0000000008 DefineStr -IC_IMM_I64 0x0A 0015 0000000008 DefineStr +IC_IMM_F64 0x0B 0000 0000000008 DefineStr +IC_IMM_I64 0x0A 0000 0000000008 DefineStr IC_INVLPG 0x65 0001 0000000008 DefineStr IC_IN_U16 0x67 0001 0000000008 DefineStr IC_IN_U32 0x68 0001 0000000008 DefineStr IC_IN_U8 0x66 0001 0000000008 DefineStr IC_JMP 0x51 0000 0000000008 DefineStr -IC_LABEL 0x04 0015 0000000008 DefineStr +IC_LABEL 0x04 0000 0000000008 DefineStr IC_LBTC 0x7D 0001 0000000008 DefineStr IC_LBTR 0x7C 0001 0000000008 DefineStr IC_LBTS 0x7B 0001 0000000008 DefineStr @@ -3033,7 +3033,7 @@ body {background-color:#1f1f1f;} IST_ASSIGN 2 0000 0000000008 DefineStr IST_CMP 3 0000 0000000008 DefineStr IST_DEREF 1 0000 0000000008 DefineStr -IST_NULL 0 0015 0000000008 DefineStr +IST_NULL 0 0000 0000000008 DefineStr IS_0_ARG 0 0000 0000000008 DefineStr IS_1_ARG 1 0000 0000000008 DefineStr IS_2_ARG 2 0000 0000000008 DefineStr @@ -3332,7 +3332,7 @@ body {background-color:#1f1f1f;} LTGREEN 10 0009 0000000008 DefineStr LTPURPLE 13 0002 0000000008 DefineStr LTR 01C68D9C18 0000 OpCode -LTRED 12 0013 0000000008 DefineStr +LTRED 12 0010 0000000008 DefineStr LXchgI64 000000AF34 0001 Funct Public LXchgU16 000000AF5A 0001 Funct Public LXchgU32 000000AF48 0001 Funct Public @@ -3605,9 +3605,9 @@ body {background-color:#1f1f1f;} MV_FILE_MAX 0x007FF000 0002 0000000010 DefineStr MacroTask 007FE02450 0001 00000000BD Funct MakeAll 007FDC5428 0005 000000007A Funct -MakeAll 007FDC7308 0043 0000000042 Funct +MakeAll 007FDC7308 0001 0000000042 Funct Man 00000315D6 0001 0000000098 Funct Public -MapFileLoad 007FE06828 0064 000000029C Funct Public +MapFileLoad 007FE06828 0004 000000029C Funct Public MapFileWrite 007FFB35B0 0001 ExportSysSym Imm MassFind 007FED1EA8 0000 000000008F Funct Public MassFindNum 007FED1190 0000 000000003D Funct Public @@ -4292,7 +4292,7 @@ body {background-color:#1f1f1f;} Pow10 000000AC06 0001 Funct Public Pow10I64 000000CD18 0001 0000000045 Funct Public PressAKey 000000F460 0001 000000003A Funct Public -Print 00000140B6 027D 0000000038 Funct Public +Print 00000140B6 0283 0000000038 Funct Public PrintErr 0000014136 0018 000000009D Funct Public PrintWarn 00000141D6 0004 00000000A1 Funct Public Prof 007FDAC5B8 0000 00000000F8 Funct Public @@ -4495,16 +4495,16 @@ body {background-color:#1f1f1f;} RFLAGf_ZERO 6 0001 0000000008 DefineStr RFlagsGet 000000006C 0002 Funct Public RFlagsSet 000000006E 0007 Funct Public -RIGHT_AINCLUDE 1 0004 0000000008 DefineStr -RIGHT_COPY 2 0004 0000000008 DefineStr -RIGHT_DELETE 4 0004 0000000008 DefineStr -RIGHT_ED 6 0004 0000000008 DefineStr -RIGHT_INCLUDE 0 0004 0000000008 DefineStr -RIGHT_INFILE 9 0004 0000000008 DefineStr -RIGHT_MOUNT 7 0004 0000000008 DefineStr -RIGHT_MOVE 3 0004 0000000008 DefineStr -RIGHT_PLAIN 8 0004 0000000008 DefineStr -RIGHT_TYPE 5 0004 0000000008 DefineStr +RIGHT_AINCLUDE 1 0003 0000000008 DefineStr +RIGHT_COPY 2 0003 0000000008 DefineStr +RIGHT_DELETE 4 0003 0000000008 DefineStr +RIGHT_ED 6 0003 0000000008 DefineStr +RIGHT_INCLUDE 0 0003 0000000008 DefineStr +RIGHT_INFILE 9 0003 0000000008 DefineStr +RIGHT_MOUNT 7 0003 0000000008 DefineStr +RIGHT_MOVE 3 0003 0000000008 DefineStr +RIGHT_PLAIN 8 0003 0000000008 DefineStr +RIGHT_TYPE 5 0003 0000000008 DefineStr RLF_16BIT (1 << RLf_ 0003 0000000018 DefineStr RLF_16MEG_SYSTEM_HEAP_CTRL (1 << RLf_ 0001 0000000028 DefineStr RLF_16MEG_SYS_CODE_BP (1 << RLf_ 0001 0000000020 DefineStr @@ -5006,7 +5006,7 @@ body {background-color:#1f1f1f;} STOSQ 01C68D72B8 0000 OpCode STOSW 01C68D7378 0000 OpCode STR 01C68D7198 0000 OpCode -STR_LEN 144 004B 0000000008 DefineStr +STR_LEN 144 0048 0000000008 DefineStr ST_ARG_TYPES NONE 38 0739 0000000118 DefineStr ST_BIBLE_BOOKS Genesis 42 0000 0000000238 DefineStr ST_BIBLE_BOOK_LINES 297 43 0002 0000000190 DefineStr @@ -5016,25 +5016,25 @@ body {background-color:#1f1f1f;} ST_COLORS BLACK 10 0001 0000000068 DefineStr ST_CPUID_1_ECX_FLAGS SSE3 13B 0000 00000011D8 DefineStr ST_CPUID_1_EDX_FLAGS x87 FPU 20 0000 00000001D0 DefineStr -ST_DAYS_OF_WEEK Sunday 07 006A 0000000040 DefineStr -ST_DOC_CMDS TX 2B 29A2 0000000088 DefineStr +ST_DAYS_OF_WEEK Sunday 07 0050 0000000040 DefineStr +ST_DOC_CMDS TX 2B 2003 0000000088 DefineStr ST_DOC_FLAGS T 3E 0007 00000000C0 DefineStr ST_DRIVE_TYPES NULL 08 0002 0000000038 DefineStr ST_ERR_ST \"\d\dRED\ 0004 0000000028 DefineStr ST_FALSE_TRUE False 23 0000 00000000E8 DefineStr -ST_FILE_ATTRS R 0C 0000 0000000020 DefineStr -ST_FILE_UTIL_FLAGS r 17 0008 0000000038 DefineStr +ST_FILE_ATTRS R 0C 02D9 0000000020 DefineStr +ST_FILE_UTIL_FLAGS r 17 05BB 0000000038 DefineStr ST_FSTACK_REGS ST0 08 0000 0000000028 DefineStr ST_HTT_TYPES ExportSysS 20 1902 00000000D0 DefineStr ST_INT_NAMES Divide Err 33 0000 0000000170 DefineStr ST_INT_SIZE_TYPES I8 08 0000 0000000020 DefineStr -ST_LINK_TYPES FI 10 0004 0000000038 DefineStr +ST_LINK_TYPES FI 10 0002 0000000038 DefineStr ST_MM_REGS MM0 08 0000 0000000028 DefineStr ST_MONTHS January 0C 0000 0000000058 DefineStr ST_NATURAL_TYPES I8 0A 0000 0000000030 DefineStr ST_OFF_ON Off 26 0000 00000000F8 DefineStr ST_RAINBOW_10 BLACK 0A 0000 0000000040 DefineStr -ST_RAW_TYPES 10 0001 0000000040 DefineStr +ST_RAW_TYPES 10 0000 0000000040 DefineStr ST_RHYTHM_COMPLEXITY Simple 03 0000 0000000018 DefineStr ST_SEG_REGS ES 06 0000 0000000018 DefineStr ST_SMBIOS_BASEBOARD_FLAGS Hosting Bo 13 0000 0000000138 DefineStr @@ -5186,7 +5186,7 @@ body {background-color:#1f1f1f;} Seed 000000CFD8 0001 0000000060 Funct Public Seg2Linear 000000E894 0003 000000002C Funct Public ServerCmdLine 000001D64B 0005 000000003C Funct -ServerStartUp 007FDA1A80 0004 0000000028 Funct +ServerStartUp 007FDA1A80 0003 0000000028 Funct ServerTaskCont 000001D4EB 0001 0000000085 Funct Public SettingsPop 007FDCE028 0004 0000000126 Funct Public SettingsPop2 007FDE4428 0002 0000000146 Funct @@ -5491,7 +5491,7 @@ body {background-color:#1f1f1f;} U16_MAX 0xFFFF 0001 0000000008 DefineStr U16_MIN 0 0001 0000000008 DefineStr U16i 007FFEEF80 0001 0000000002 IntType -U32 007FFA86C0 00D0 0000000004 Class +U32 007FFA86C0 00CF 0000000004 Class U32 000000004A 0013 AsmKeyWord U32_MAX 0xFFFFFFFF 0001 0000000010 DefineStr U32_MIN 0 0001 0000000008 DefineStr @@ -5545,7 +5545,7 @@ body {background-color:#1f1f1f;} VIEWANGLES_SNAP 1 0004 0000000008 DefineStr VIEWANGLES_SPACING 22 0033 0000000008 DefineStr VideoRep 007FDC8E28 0000 000000060A Funct Public -View 007FE0DF10 000E 000000002D Funct Public +View 007FE0DF10 000D 000000002D Funct Public ViewAnglesDel 007FDE73F0 0000 000000004F Funct Public ViewAnglesNew 007FDE7450 0000 00000000D7 Funct Public WAIT 01C68D7030 0000 OpCode @@ -5798,7 +5798,7 @@ body {background-color:#1f1f1f;} _YIELD 000000D1AC 0002 ExportSysSym Imm __CMD_LINE__ #exe{Strea 0001 0000000070 DefineStr __DATE__ #exe{Strea 0001 0000000028 DefineStr -__DIR__ #exe{Strea 0042 0000000018 DefineStr +__DIR__ #exe{Strea 0012 0000000018 DefineStr __FILE__ #exe{Strea 0001 0000000048 DefineStr __LINE__ #exe{Strea 0001 0000000048 DefineStr __TIME__ #exe{Strea 0001 0000000028 DefineStr @@ -5912,7 +5912,7 @@ body {background-color:#1f1f1f;} import 000000001B 0000 KeyWord in_plot_l 007FDE9858 0002 0000000008 GlbVar in_plot_r 007FDE9870 0002 0000000008 GlbVar -include 0000000000 01DA KeyWord +include 0000000000 00B9 KeyWord inf (0x7FF0000 0001 0000000020 DefineStr intermediate_code_table 007FFAD620 0001 ExportSysSym Imm internal_types_table 007FFAD570 0001 ExportSysSym Imm