diff --git a/ZealOS-2021-07-03-00_04_07.iso b/ZealOS-2021-07-03-02_44_31.iso similarity index 99% rename from ZealOS-2021-07-03-00_04_07.iso rename to ZealOS-2021-07-03-02_44_31.iso index bfc6a02d..2fd46c54 100755 Binary files a/ZealOS-2021-07-03-00_04_07.iso and b/ZealOS-2021-07-03-02_44_31.iso differ diff --git a/docs/Apps/Budget/BgtMain.html b/docs/Apps/Budget/BgtMain.html index 88c8ad6b..d0e3617e 100755 --- a/docs/Apps/Budget/BgtMain.html +++ b/docs/Apps/Budget/BgtMain.html @@ -237,7 +237,7 @@ body {background-color:#000000;} BgtAcctsRead; BgtDataRead; CBgtTemplatesExpand; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush AutoComplete; WinBorder; WinMax; diff --git a/docs/Apps/Budget/index.html b/docs/Apps/Budget/index.html new file mode 100755 index 00000000..845428bc --- /dev/null +++ b/docs/Apps/Budget/index.html @@ -0,0 +1,44 @@ + + + + + + + + +
+Directory of C:/Apps/Budget
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/21 19:08 0727 BgtAccts.CC
+12/21 19:10 085C BgtEntry.CC
+12/21 18:55 0CDB BgtFile.CC
+07/02 03:31 14E6 BgtMain.CC
+12/21 19:01 0BBE BgtStrs.CC
+12/21 18:47 0F61 BgtTemplate.CC
+12/21 14:26 0662 Budget.CC
+12/21 14:21 0072 Install.CC
+09/27 11:24 00BF Load.CC
+09/27 11:24 0058 Run.CC
+09/27 11:24 0061 Accts.DD
+
+ diff --git a/docs/Apps/GrModels/BallGen.html b/docs/Apps/GrModels/BallGen.html index a54ad40d..04963844 100755 --- a/docs/Apps/GrModels/BallGen.html +++ b/docs/Apps/GrModels/BallGen.html @@ -89,7 +89,7 @@ body {background-color:#000000;}
U8 *Ball2CSprite() { -//See ::/System/Gr/GrSpritePlot.CC for how CSprite are stored. +//See ::/System/Gr/GrSpritePlot.CC for how CSprite are stored. U8 *res = MAlloc(sizeof(CSpriteMeshU8s) + b->vertex_count * sizeof(CD3I32) + b->tri_count * sizeof(CMeshTri) + sprite_elem_base_sizes[SPT_END]), diff --git a/docs/Apps/GrModels/ManGen.html b/docs/Apps/GrModels/ManGen.html index 9682c39f..08beb9f3 100755 --- a/docs/Apps/GrModels/ManGen.html +++ b/docs/Apps/GrModels/ManGen.html @@ -214,7 +214,7 @@ body {background-color:#000000;} U8 *Man2CSprite() { -//See ::/System/Gr/GrSpritePlot.CC for how CSprite are stored. +//See ::/System/Gr/GrSpritePlot.CC for how CSprite are stored. U8 *res = MAlloc(sizeof(CSpriteMeshU8s) + m->vertex_count * sizeof(CD3I32) + m->tri_count * sizeof(CMeshTri) + sprite_elem_base_sizes[SPT_END]), *dst = res; diff --git a/docs/Apps/GrModels/index.html b/docs/Apps/GrModels/index.html new file mode 100755 index 00000000..143feaae --- /dev/null +++ b/docs/Apps/GrModels/index.html @@ -0,0 +1,38 @@ + + + + + + + + +
+Directory of C:/Apps/GrModels
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/01 16:15 0C29 BallGen.CC
+09/27 11:24 0069 Load.CC
+07/01 16:15 256D ManGen.CC
+12/19 15:35 01C5 Models.CC
+11/21 03:05 0025 Run.CC
+
+ diff --git a/docs/Apps/KeepAway/KeepAway.html b/docs/Apps/KeepAway/KeepAway.html index 8e87ad64..013672d1 100755 --- a/docs/Apps/KeepAway/KeepAway.html +++ b/docs/Apps/KeepAway/KeepAway.html @@ -28,7 +28,7 @@ body {background-color:#000000;}
 //The ball and men were generated
-//with ::/Apps/GrModels/Run.CC.
+//with ::/Apps/GrModels/Run.CC.
 //They were cut-and-pasted here.
 
 
@@ -277,7 +277,7 @@ body {background-color:#000000;}
 This is a little simpler, and faster,
 but adds lots of factor 2 vals.
 
-Terry also didn't use the CMathODE feat,
+Terry also didn't use the CMathODE feat,
 just to be different.
 */
 
@@ -353,7 +353,7 @@ body {background-color:#000000;}
                                 if (o->has_ball && (ball->z + ball->radius * 2 >= o->z + HAND_Z_OFFSET || Abs(ball->DzDt) < 30))
                                 {
                                         //This is an approximation.  Terry's instinct told him the viscosity term
-                                        //needs an Exp().  However,  we should be syncronized to img frames, 
+                                        //needs an Exp().  However,  we should be syncronized to img frames, 
                                         //so we don't have to be perfect.
                                         d_down  = 1.0;
                                         d_up    = 1.0 / COLLISION_DAMP;
@@ -759,7 +759,7 @@ body {background-color:#000000;}
                                 "\t1 point penalty for foul.\n\n"
                                 "Left-Click\tto pass.\n\n"
                                 "Right-Click\tto jump.\n");
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = BLACK + YELLOW << 4;
         Fs->win_inhibit |= WIG_DBL_CLICK;
         AutoComplete;
diff --git a/docs/Apps/KeepAway/index.html b/docs/Apps/KeepAway/index.html
new file mode 100755
index 00000000..58b07840
--- /dev/null
+++ b/docs/Apps/KeepAway/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Apps/KeepAway
+DATE_ TIME_  SIZE
+07/02 23:10 00000 .
+07/02 23:10 00000 ..
+07/02 04:12 1ACD2 KeepAway.CC
+09/27 11:24 00047 Load.CC
+09/27 11:24 00027 Run.CC
+
+ diff --git a/docs/Apps/Logic/Logic.html b/docs/Apps/Logic/Logic.html index 14e08c0c..18a26286 100755 --- a/docs/Apps/Logic/Logic.html +++ b/docs/Apps/Logic/Logic.html @@ -680,7 +680,7 @@ body {background-color:#000000;} input2_table =
NULL; input3_table = NULL; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush AutoComplete; WinBorder(ON); WinMax; diff --git a/docs/Apps/Logic/index.html b/docs/Apps/Logic/index.html new file mode 100755 index 00000000..700391eb --- /dev/null +++ b/docs/Apps/Logic/index.html @@ -0,0 +1,36 @@ + + + + + + + + +
+Directory of C:/Apps/Logic
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+09/27 11:24 0043 Load.CC
+12/21 23:05 5E79 Logic.CC
+09/27 11:24 002B Run.CC
+
+ diff --git a/docs/Apps/Psalmody/Examples/index.html b/docs/Apps/Psalmody/Examples/index.html new file mode 100755 index 00000000..992d48e0 --- /dev/null +++ b/docs/Apps/Psalmody/Examples/index.html @@ -0,0 +1,36 @@ + + + + + + + + +
+Directory of C:/Apps/Psalmody/Examples
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/20 03:39 024F childish.CC
+12/20 03:44 0DAF night.CC
+12/20 03:46 1619 prosper.CC
+
+ diff --git a/docs/Apps/Psalmody/Examples/night.html b/docs/Apps/Psalmody/Examples/night.html index 3888c694..2e6fd753 100755 --- a/docs/Apps/Psalmody/Examples/night.html +++ b/docs/Apps/Psalmody/Examples/night.html @@ -88,7 +88,7 @@ body {background-color:#000000;}
U0 Song() { - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->text_attr = BLACK << 4 + LTGRAY; Fs->draw_it = &DrawIt; Fs->task_end_cb = &SoundTaskEndCB; diff --git a/docs/Apps/Psalmody/Examples/prosper.html b/docs/Apps/Psalmody/Examples/prosper.html index eff9ba60..4ece1571 100755 --- a/docs/Apps/Psalmody/Examples/prosper.html +++ b/docs/Apps/Psalmody/Examples/prosper.html @@ -56,7 +56,7 @@ body {background-color:#000000;} U0 Song() { - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->text_attr = GREEN << 4 + YELLOW; Fs->draw_it = &DrawIt; Fs->task_end_cb = &SoundTaskEndCB; diff --git a/docs/Apps/Psalmody/Help.html b/docs/Apps/Psalmody/Help.html index 0cae01e6..ab888b0a 100755 --- a/docs/Apps/Psalmody/Help.html +++ b/docs/Apps/Psalmody/Help.html @@ -32,18 +32,18 @@ body {background-color:#000000;} * The clip can be used to cut and paste. -* Psalmody uses CosmiC files as the song format! See ::/Apps/Psalmody/Examples/prosper.CC. The Psalmody program does not fully +* Psalmody uses CosmiC files as the song format! See ::/Apps/Psalmody/Examples/prosper.CC. The Psalmody program does not fully parse the songs when loading them back in, so changes made outside Psalmody will be lost, like if you add graphics. -* The first line of the CosmiC song files is a comment with a category recognized by JukeBox(). The categories are "no nothing", -"has words", "has graphics", or "special". The third character in the song comment is a digit rating number, shown in JukeBox() -. You can set the song rating in JukeBox() by pressing 0-9. You can request your reward from God by pressing r. You can +* The first line of the CosmiC song files is a comment with a category recognized by JukeBox(). The categories are "no nothing", +"has words", "has graphics", or "special". The third character in the song comment is a digit rating number, shown in JukeBox() +. You can set the song rating in JukeBox() by pressing 0-9. You can request your reward from God by pressing r. You can press <DEL> to delete songs. -* You can take the Play() statements out of a song file and place them in your programs. You can also add a song to a document +* You can take the Play() statements out of a song file and place them in your programs. You can also add a song to a document with <CTRL-l>, but you should do it after pressing <CTRL-t> because the clip-insert in <CTRL-l> is screwy. See this <Song> after pressing <CTRL-t>, now. -* You can call JukeBox("~/Psalmody"); to play your songs. +* You can call JukeBox("~/Psalmody"); to play your songs.
diff --git a/docs/Apps/Psalmody/JukeBox.html b/docs/Apps/Psalmody/JukeBox.html index 4c50f6c4..98757392 100755 --- a/docs/Apps/Psalmody/JukeBox.html +++ b/docs/Apps/Psalmody/JukeBox.html @@ -156,7 +156,7 @@ body {background-color:#000000;}
if (_filename) *_filename = NULL; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush AutoComplete; try { diff --git a/docs/Apps/Psalmody/Psalmody.html b/docs/Apps/Psalmody/Psalmody.html index 00acb3cb..d717dbb1 100755 --- a/docs/Apps/Psalmody/Psalmody.html +++ b/docs/Apps/Psalmody/Psalmody.html @@ -30,15 +30,15 @@ body {background-color:#000000;} 1) The pull-down menu. - 2) The CCtrl type for the tempo/stacatto sliders. + 2) The CCtrl type for the tempo/stacatto sliders. - 3) The active CDoc sprite bttns with macros for left/record/play/right. + 3) The active CDoc sprite bttns with macros for left/record/play/right. 4) Hand-made ctrls for the kbdgraphic, notes and staff. This uses four types of output - 1) The CDoc for the text and bttns and kbdgraphic. + 1) The CDoc for the text and bttns and kbdgraphic. 2) The Fs->draw_it() for the staff region, drawn every refresh. @@ -46,7 +46,7 @@ body {background-color:#000000;} 4) The Fs->next_ctrl for the tempo/stacatto sliders. -See GrUpdateTaskWin(), GrUpdateTasks() and GrUpdateScreen(). +See GrUpdateTaskWin(), GrUpdateTasks() and GrUpdateScreen(). */ #define PSMT_HEAD 0 diff --git a/docs/Apps/Psalmody/PsalmodyMain.html b/docs/Apps/Psalmody/PsalmodyMain.html index 59554109..d92444fa 100755 --- a/docs/Apps/Psalmody/PsalmodyMain.html +++ b/docs/Apps/Psalmody/PsalmodyMain.html @@ -453,7 +453,7 @@ body {background-color:#000000;} if (DocPut) old_doc_flags = DocPut->flags; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush MusicSettingsReset; tempo_state.tempo = Round(TEMPO_RANGE * (music.tempo - 0.5) / 4.4); diff --git a/docs/Apps/Psalmody/index.html b/docs/Apps/Psalmody/index.html new file mode 100755 index 00000000..d5beaead --- /dev/null +++ b/docs/Apps/Psalmody/index.html @@ -0,0 +1,45 @@ + + + + + + + + +
+Directory of C:/Apps/Psalmody
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 23:10 0000 Examples
+12/19 17:40 0045 Install.CC
+06/27 23:38 16ED JukeBox.CC
+12/19 17:44 0A23 JukePuppet.CC
+02/15 18:46 00DC Load.CC
+12/19 17:48 061D Psalmody.CC
+12/19 17:53 0B33 PsalmodyCtrls.CC
+12/19 19:47 3032 PsalmodyDraw.CC
+12/22 03:07 2657 PsalmodyFile.CC
+12/20 03:38 551E PsalmodyMain.CC
+09/27 11:24 0028 Run.CC
+02/19 22:55 0752 Help.DD
+
+ diff --git a/docs/Apps/Span/SpanMain.html b/docs/Apps/Span/SpanMain.html index 2f946d4b..5df74ac3 100755 --- a/docs/Apps/Span/SpanMain.html +++ b/docs/Apps/Span/SpanMain.html @@ -320,7 +320,7 @@ body {background-color:#000000;}
U8 *src; CDC *dc = DCAlias; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->text_attr = BROWN << 4 + BLACK; AutoComplete; WinBorder; diff --git a/docs/Apps/Span/index.html b/docs/Apps/Span/index.html new file mode 100755 index 00000000..2b54603b --- /dev/null +++ b/docs/Apps/Span/index.html @@ -0,0 +1,41 @@ + + + + + + + + +
+Directory of C:/Apps/Span
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+02/17 22:38 0013 Install.CC
+09/27 11:24 0099 Load.CC
+09/27 11:24 0024 Run.CC
+06/26 17:57 08F4 SpanBridge.CC
+12/21 19:17 04EB SpanDerive.CC
+06/26 17:19 2AEA SpanMain.CC
+12/21 19:26 0A23 SpanNew.CC
+12/21 19:14 03B0 Span.HH
+
+ diff --git a/docs/Apps/Strut/Strut.html b/docs/Apps/Strut/Strut.html index fbc0d273..e4fe0a78 100755 --- a/docs/Apps/Strut/Strut.html +++ b/docs/Apps/Strut/Strut.html @@ -745,7 +745,7 @@ body {background-color:#000000;} {
CCtrl *bt_main_mode; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->win_inhibit |= WIF_SELF_MS_L | WIF_SELF_MS_R | WIG_DBL_CLICK; AutoComplete; WinBorder; diff --git a/docs/Apps/Strut/index.html b/docs/Apps/Strut/index.html new file mode 100755 index 00000000..96cd965a --- /dev/null +++ b/docs/Apps/Strut/index.html @@ -0,0 +1,36 @@ + + + + + + + + +
+Directory of C:/Apps/Strut
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+09/27 11:24 0044 Load.CC
+09/27 11:24 0025 Run.CC
+07/01 16:15 3F78 Strut.CC
+
+ diff --git a/docs/Apps/TimeClock/index.html b/docs/Apps/TimeClock/index.html new file mode 100755 index 00000000..0ab7f6d5 --- /dev/null +++ b/docs/Apps/TimeClock/index.html @@ -0,0 +1,36 @@ + + + + + + + + +
+Directory of C:/Apps/TimeClock
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/19 15:22 00F9 Install.CC
+09/27 11:24 0077 Load.CC
+12/19 15:30 0CB9 TimeClk.CC
+
+ diff --git a/docs/Apps/Titanium/Titanium.html b/docs/Apps/Titanium/Titanium.html index a3fbabac..c26d5213 100755 --- a/docs/Apps/Titanium/Titanium.html +++ b/docs/Apps/Titanium/Titanium.html @@ -899,7 +899,7 @@ body {background-color:#000000;}
Bool gun_on; I64 next_update_jiffy; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush MenuPush( "File {" " Abort(,CH_SHIFT_ESC);" diff --git a/docs/Apps/Titanium/index.html b/docs/Apps/Titanium/index.html new file mode 100755 index 00000000..4ff892a3 --- /dev/null +++ b/docs/Apps/Titanium/index.html @@ -0,0 +1,36 @@ + + + + + + + + +
+Directory of C:/Apps/Titanium
+DATE_ TIME_  SIZE
+07/02 23:10 00000 .
+07/02 23:10 00000 ..
+11/27 02:17 00047 Load.CC
+11/27 02:17 00027 Run.CC
+07/02 00:29 1A8E1 Titanium.CC
+
+ diff --git a/docs/Apps/ToTheFront/AIs/SimpleAI.html b/docs/Apps/ToTheFront/AIs/SimpleAI.html index 8136b2d0..651a0303 100755 --- a/docs/Apps/ToTheFront/AIs/SimpleAI.html +++ b/docs/Apps/ToTheFront/AIs/SimpleAI.html @@ -31,7 +31,7 @@ body {background-color:#000000;}
F64 dd, best_dd = F64_MAX, x1, y1, x2, y2; Unit *best = NULL; - //Sqrt() is slow, so work with squared distances. + //Sqrt() is slow, so work with squared distances. if (range < 0) range = F64_MAX; else diff --git a/docs/Apps/ToTheFront/AIs/index.html b/docs/Apps/ToTheFront/AIs/index.html new file mode 100755 index 00000000..2688c4eb --- /dev/null +++ b/docs/Apps/ToTheFront/AIs/index.html @@ -0,0 +1,35 @@ + + + + + + + + +
+Directory of C:/Apps/ToTheFront/AIs
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/20 17:33 1119 Human.CC
+12/20 17:25 07C1 SimpleAI.CC
+
+ diff --git a/docs/Apps/ToTheFront/TTFFire.html b/docs/Apps/ToTheFront/TTFFire.html index 663a4a7c..8fc12bb4 100755 --- a/docs/Apps/ToTheFront/TTFFire.html +++ b/docs/Apps/ToTheFront/TTFFire.html @@ -220,7 +220,7 @@ body {background-color:#000000;} facing =
0; DamageDo(target, HitDamage(tmpu, target, facing, range_factor)); } - while (screencast.ona) //see Sound() + while (screencast.ona) //see Sound() Yield; target_unit = NULL; } @@ -259,7 +259,7 @@ body {background-color:#000000;} if (DamageDo(target, Round(damage))) { "$RED$Success$FG$\n"; - while (screencast.ona) //see Sound() + while (screencast.ona) //see Sound() Yield; return TRUE; } @@ -269,7 +269,7 @@ body {background-color:#000000;} VisRecalc(VR_FRIENDLY_UNIT_DIED, tmpu); alive_count[tmpu->player]--; "$RED$Failure$FG$\n"; - while (screencast.ona) //see Sound() + while (screencast.ona) //see Sound() Yield; return FALSE; } @@ -340,7 +340,7 @@ body {background-color:#000000;} } Noise(2000 * animation_delay, 70, 74); Sleep(2000 * animation_delay); - while (screencast.ona) //see Sound() + while (screencast.ona) //see Sound() Yield; indirect_explosion = FALSE; diff --git a/docs/Apps/ToTheFront/TTFInit.html b/docs/Apps/ToTheFront/TTFInit.html index 0e58d0c0..5e8a1df4 100755 --- a/docs/Apps/ToTheFront/TTFInit.html +++ b/docs/Apps/ToTheFront/TTFInit.html @@ -27,7 +27,7 @@ body {background-color:#000000;}
 /*
 Terry got tricky by not defining a color
-right away in these CSprites so they can
+right away in these CSprites so they can
 work for both players by setting dc->color
 before drawing them.  He actually made these
 graphics by defining a color in the <CTRL-r>
diff --git a/docs/Apps/ToTheFront/TTFVis.html b/docs/Apps/ToTheFront/TTFVis.html
index be0ac14d..40a60ec5 100755
--- a/docs/Apps/ToTheFront/TTFVis.html
+++ b/docs/Apps/ToTheFront/TTFVis.html
@@ -185,7 +185,7 @@ body {background-color:#000000;}
 time, an advantage of just-in-time over
 AOT binaries.  ZealOS has a limited
 stack size, so don't get in the habit.
-MAlloc() would probably be the better choice.
+MAlloc() would probably be the better choice.
 */
         MPCtrl1  job[mp_count];
         CJob    *cmd[mp_count];
diff --git a/docs/Apps/ToTheFront/ToTheFront.html b/docs/Apps/ToTheFront/ToTheFront.html
index e84ad63c..aac482b6 100755
--- a/docs/Apps/ToTheFront/ToTheFront.html
+++ b/docs/Apps/ToTheFront/ToTheFront.html
@@ -176,7 +176,7 @@ body {background-color:#000000;}
 
         map_dc = DCNew(MAP_WIDTH, MAP_HEIGHT);
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Cd(__DIR__);
         Fs->win_inhibit |= WIF_SELF_MS_L | WIF_SELF_MS_R | WIG_DBL_CLICK;
 
diff --git a/docs/Apps/ToTheFront/index.html b/docs/Apps/ToTheFront/index.html
new file mode 100755
index 00000000..f084781b
--- /dev/null
+++ b/docs/Apps/ToTheFront/index.html
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Apps/ToTheFront
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 23:10 0000 AIs
+02/17 22:38 001A Install.CC
+02/15 17:57 00CF Load.CC
+09/27 11:24 0029 Run.CC
+12/20 20:02 17DC TTFDraw.CC
+12/20 22:30 1BA1 TTFFire.CC
+12/20 17:40 0B19 TTFGlobals.CC
+07/02 03:32 2785 TTFInit.CC
+12/20 19:11 0A01 TTFLib.CC
+12/22 01:49 0C1C TTFMove.CC
+07/01 15:58 168F TTFVis.CC
+12/23 11:37 11BB ToTheFront.CC
+
+ diff --git a/docs/Apps/Vocabulary/index.html b/docs/Apps/Vocabulary/index.html new file mode 100755 index 00000000..0a0c6b45 --- /dev/null +++ b/docs/Apps/Vocabulary/index.html @@ -0,0 +1,36 @@ + + + + + + + + +
+Directory of C:/Apps/Vocabulary
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+09/27 11:24 0048 Load.CC
+09/27 11:24 0028 Run.CC
+12/19 15:20 04DB VocabQuiz.CC
+
+ diff --git a/docs/Apps/X-Caliber/X-Caliber.html b/docs/Apps/X-Caliber/X-Caliber.html index 7c440449..af75b9b9 100755 --- a/docs/Apps/X-Caliber/X-Caliber.html +++ b/docs/Apps/X-Caliber/X-Caliber.html @@ -1573,7 +1573,7 @@ body {background-color:#000000;}
I64 ch, message_code, arg1, arg2, sc; CCtrl *cp = CtrlPanelNew; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->text_attr = BLACK << 4 + WHITE; MenuPush( "File {" " Abort(,CH_SHIFT_ESC);" diff --git a/docs/Apps/X-Caliber/index.html b/docs/Apps/X-Caliber/index.html new file mode 100755 index 00000000..a938464f --- /dev/null +++ b/docs/Apps/X-Caliber/index.html @@ -0,0 +1,37 @@ + + + + + + + + +
+Directory of C:/Apps/X-Caliber
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+09/27 11:24 005B Load.CC
+09/27 11:24 0027 Run.CC
+07/01 16:15 A300 X-Caliber.CC
+12/21 01:56 155F XCCtrls.CC
+
+ diff --git a/docs/Apps/index.html b/docs/Apps/index.html new file mode 100755 index 00000000..bb2f147f --- /dev/null +++ b/docs/Apps/index.html @@ -0,0 +1,45 @@ + + + + + + + + +
+Directory of C:/Apps
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 23:10 0000 Budget
+07/02 23:10 0000 GrModels
+07/02 23:10 0000 KeepAway
+07/02 23:10 0000 Logic
+07/02 23:10 0000 Psalmody
+07/02 23:10 0000 Span
+07/02 23:10 0000 Strut
+07/02 23:10 0000 TimeClock
+07/02 23:10 0000 Titanium
+07/02 23:10 0000 ToTheFront
+07/02 23:10 0000 Vocabulary
+07/02 23:10 0000 X-Caliber
+
+ diff --git a/docs/Compiler/AsmInit.html b/docs/Compiler/AsmInit.html index 4e214531..11c5fe58 100755 --- a/docs/Compiler/AsmInit.html +++ b/docs/Compiler/AsmInit.html @@ -86,7 +86,7 @@ body {background-color:#000000;} }
U0 AsmHashLoad() -{//See ::/Compiler/OpCodes.DD. +{//See ::/Compiler/OpCodes.DD. I64 i, j, size, size_max; CInternalType *tmpit; CCompCtrl *cc; diff --git a/docs/Compiler/BackLib.html b/docs/Compiler/BackLib.html index df05056b..ebac13b7 100755 --- a/docs/Compiler/BackLib.html +++ b/docs/Compiler/BackLib.html @@ -32,7 +32,7 @@ body {background-color:#000000;} However, intermediate codes must be coupled together based on the arg and res type specifications in the -CICArg. RAX is the most common reg +CICArg. RAX is the most common reg for coupling intermediate codes. Internal calculations take place on diff --git a/docs/Compiler/CExcept.html b/docs/Compiler/CExcept.html index 247a4777..d2f8463a 100755 --- a/docs/Compiler/CExcept.html +++ b/docs/Compiler/CExcept.html @@ -85,7 +85,7 @@ body {background-color:#000000;} } U0 LexPutPos(CCompCtrl *cc) -{//Print token, line link and, then, LexPutLine(). +{//Print token, line link and, then, LexPutLine(). LexPutToken(cc); FixSet(cc->lex_include_stack->full_name, cc->lex_include_stack->line_num); if (IsRaw) @@ -100,7 +100,7 @@ body {background-color:#000000;} } U0 LexWarn(CCompCtrl *cc, U8 *str=NULL) -{//Print warn message, then, LexPutPos(). +{//Print warn message, then, LexPutPos(). if (str) PrintWarn(str); if (cc->htc.fun) @@ -120,7 +120,7 @@ body {background-color:#000000;} } U0 LexExcept(CCompCtrl *cc, U8 *str=NULL) -{//Print error message, LexPutPos() and throw exception. +{//Print error message, LexPutPos() and throw exception. if (!Bt(&sys_run_level, RLf_SYSTEM_SERVER)) { Raw(ON); diff --git a/docs/Compiler/CHash.html b/docs/Compiler/CHash.html index ae4bd808..e1ad4799 100755 --- a/docs/Compiler/CHash.html +++ b/docs/Compiler/CHash.html @@ -86,7 +86,7 @@ body {background-color:#000000;} { res += MemberListSize(tmph); if (debug_info = tmph->debug_info) -//This should be MSize() but it would crash on AOT .BIN file funs. +//This should be MSize() but it would crash on AOT .BIN file funs. res += debug_info->body[debug_info->max_line + 1 - debug_info->min_line] - debug_info->body[0]; } else if (tmph->type & HTT_DEFINE_STR) diff --git a/docs/Compiler/CMain.html b/docs/Compiler/CMain.html index bc03f428..1e7f442e 100755 --- a/docs/Compiler/CMain.html +++ b/docs/Compiler/CMain.html @@ -538,7 +538,7 @@ body {background-color:#000000;} { aot_U8s = tmpaot->aot_U8s; ptr = patch_table; -//See Load() +//See Load() count = 0; tmpa = tmpaot->abss; while (tmpa) @@ -748,7 +748,7 @@ body {background-color:#000000;} } I64 RunFile(U8 *name, I64 ccf_flags=0, ...) -{//ExeFile() with args using LastFun(). +{//ExeFile() with args using LastFun(). ExeFile(name, ccf_flags); return LastFun(argc, argv); @@ -797,7 +797,7 @@ body {background-color:#000000;} } I64 RunFile2(U8 *name, I64 ccf_flags=0, ...) -{//ExeFile2() with args using LastFun(). throws exceptions. +{//ExeFile2() with args using LastFun(). throws exceptions. ExeFile2(name, ccf_flags); return LastFun(argc, argv); diff --git a/docs/Compiler/CMisc.html b/docs/Compiler/CMisc.html index d7385385..96750d97 100755 --- a/docs/Compiler/CMisc.html +++ b/docs/Compiler/CMisc.html @@ -26,17 +26,17 @@ body {background-color:#000000;}
 Bool Option(I64 num, Bool val)
-{//Set compiler Option to val.
+{//Set compiler Option to val.
         return BEqual(&Fs->last_cc->opts, num, val);
 }
 
 Bool OptionGet(I64 num)
-{//Get state of compiler option.
+{//Get state of compiler option.
         return Bt(&Fs->last_cc->opts, num);
 }
 
 asm {
-_LAST_FUN::             //See _CALL_IND
+_LAST_FUN::             //See _CALL_IND
                                 PUSH            RBP
                                 MOV             RBP, RSP
                                 PUSH            RSI
diff --git a/docs/Compiler/Lex.html b/docs/Compiler/Lex.html
index eaaa7a21..6d668647 100755
--- a/docs/Compiler/Lex.html
+++ b/docs/Compiler/Lex.html
@@ -59,9 +59,9 @@ body {background-color:#000000;}
 
 CCompCtrl *CompCtrlNew(U8 *buf=NULL, I64 flags=0, U8 *filename=NULL)
 {//MAlloc and Init CCompCtrl.
-        //Frees buf in CompCtrlDel unless CCF_DONT_FREE_BUF flag is set.
+        //Frees buf in CompCtrlDel unless CCF_DONT_FREE_BUF flag is set.
         //FileName is for error reporting.      If files are #included,
-        //new names are used.  See Psalmody CompCtrlNew.
+        //new names are used.  See Psalmody CompCtrlNew.
         CCompCtrl *cc = CAlloc(sizeof(CCompCtrl));
         CLexFile  *tmpf;
 
@@ -336,7 +336,7 @@ body {background-color:#000000;}
 }
 
 U0 LexSkipEol(CCompCtrl *cc)
-{//LexCharGet to NULL until end-of-line.
+{//LexCharGet to NULL until end-of-line.
         I64 ch;
 
         do ch = LexCharGet(cc);
@@ -344,7 +344,7 @@ body {background-color:#000000;}
 }
 
 U8 *LexFirstRemove(CCompCtrl *cc, U8 *marker, I64 _len=NULL)
-{//LexCharGet() chars making str until marker.
+{//LexCharGet() chars making str until marker.
         U8                              *res, *ptr;
         CQueueVectU8    *tmpv = QueueVectU8New;
         I64                              i, len = 0;
diff --git a/docs/Compiler/LexLib.html b/docs/Compiler/LexLib.html
index 35eb2715..963445f3 100755
--- a/docs/Compiler/LexLib.html
+++ b/docs/Compiler/LexLib.html
@@ -75,7 +75,7 @@ body {background-color:#000000;}
 }
 
 I64 MemberMetaData(U8 *needle_str, CMemberList *haystack_member_list)
-{//Find meta data name, return meta data val. See ::/Demo/ClassMeta.CC.
+{//Find meta data name, return meta data val. See ::/Demo/ClassMeta.CC.
         CMemberListMeta *meta = haystack_member_list->meta;
 
         while (meta)
@@ -89,7 +89,7 @@ body {background-color:#000000;}
 }
 
 CMemberListMeta *MemberMetaFind(U8 *needle_str, CMemberList *haystack_member_list)
-{//Find meta data name, return meta data struct. See ::/Demo/ClassMeta.CC.
+{//Find meta data name, return meta data struct. See ::/Demo/ClassMeta.CC.
         CMemberListMeta *meta = haystack_member_list->meta;
 
         while (meta)
@@ -103,7 +103,7 @@ body {background-color:#000000;}
 }
 
 CMemberList *MemberFind(U8 *needle_str, CHashClass *haystack_class)
-{//Find class member. See ClassRep() and DocForm().
+{//Find class member. See ClassRep() and DocForm().
         I64                      i;
         CMemberList     *tmpm;
 
@@ -307,7 +307,7 @@ body {background-color:#000000;}
 }
 
 U8 *LexExtStr(CCompCtrl *cc, I64 *_size=NULL, Bool lex_next=TRUE)
-{//Lex TK_STR's to one combined str. _size includes terminator.
+{//Lex TK_STR's to one combined str. _size includes terminator.
         I64 len = cc->cur_str_len, len1, len2;
         U8 *st = cc->cur_str, *st1, *st2;
 
diff --git a/docs/Compiler/OpCodes.html b/docs/Compiler/OpCodes.html
index 8769df8b..3291eff8 100755
--- a/docs/Compiler/OpCodes.html
+++ b/docs/Compiler/OpCodes.html
@@ -25,7 +25,7 @@ body {background-color:#000000;}
 
 
 
-/* See AsmHashLoad().
+/* See AsmHashLoad().
 
 '!'= IEF_DONT_SWITCH_MODES
 '&'= IEF_DEFAULT
diff --git a/docs/Compiler/OptPass012.html b/docs/Compiler/OptPass012.html
index 41237be0..b5b347de 100755
--- a/docs/Compiler/OptPass012.html
+++ b/docs/Compiler/OptPass012.html
@@ -30,14 +30,14 @@ body {background-color:#000000;}
 Pass #0
 When parsing the arg expressions to a function
 call, there is a call to OptPass012 to determine
-the type of the expression. OptPass012
+the type of the expression. OptPass012
 
 Pass #1 & #2
 Constant expressions are simplified.
 Eliminated opcodes are set to NOP.
 Types are determined by reconstructing an
 expression tree for operators
-CIntermediateCode. CICTreeLinks.
+CIntermediateCode. CICTreeLinks.
 
 Pointer arithmetic size is set, once
 the type is determined.
diff --git a/docs/Compiler/OptPass4.html b/docs/Compiler/OptPass4.html
index 27dc2585..90fa6bd6 100755
--- a/docs/Compiler/OptPass4.html
+++ b/docs/Compiler/OptPass4.html
@@ -437,7 +437,7 @@ body {background-color:#000000;}
                                 case IC_ASSIGN_PP:
                                 case IC_ASSIGN_MM:
 //this val was stashed during pass012 for pointer arithmetic
-                                        tmpi->ic_class2 = tmpi->t.class2; //See ic_class2
+                                        tmpi->ic_class2 = tmpi->t.class2; //See ic_class2
                                 case IC_ASSIGN:
                                 case IC_SHL_EQU:
                                 case IC_SHR_EQU:
diff --git a/docs/Compiler/ParseLib.html b/docs/Compiler/ParseLib.html
index add8a8c0..ea2f617f 100755
--- a/docs/Compiler/ParseLib.html
+++ b/docs/Compiler/ParseLib.html
@@ -58,7 +58,7 @@ body {background-color:#000000;}
 }
 
 I64 ParseKeyWord(CCompCtrl *cc)
-{//Convert cur token to KEYWORD or -1.
+{//Convert cur token to KEYWORD or -1.
         CHashGeneric *tmph;
 
         if (cc->token == TK_IDENT &&(tmph = cc->hash_entry) && tmph->type & HTT_KEYWORD)
diff --git a/docs/Compiler/index.html b/docs/Compiler/index.html
new file mode 100755
index 00000000..1e64c69f
--- /dev/null
+++ b/docs/Compiler/index.html
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Compiler
+DATE_ TIME_  SIZE
+07/02 23:10 00000 .
+07/02 23:10 00000 ..
+07/03 02:43 2F6B0 Compiler.BIN
+12/22 02:22 08750 Asm.CC
+07/01 16:07 01894 AsmInit.CC
+11/24 02:32 01080 AsmLib.CC
+11/24 02:33 019F4 AsmResolve.CC
+12/22 02:24 04E80 BackA.CC
+12/17 20:58 0528F BackB.CC
+12/22 02:24 05A89 BackC.CC
+12/22 02:24 04AD3 BackFA.CC
+12/22 02:25 055D7 BackFB.CC
+12/22 03:08 04982 BackLib.CC
+07/02 00:38 017C2 CExcept.CC
+07/23 17:55 009D1 CExterns.CC
+12/22 02:27 0103B CHash.CC
+11/24 02:41 047FC CInit.CC
+12/22 02:28 0479B CMain.CC
+11/24 02:44 00EE0 CMisc.CC
+12/22 03:08 07B66 Lex.CC
+11/24 02:47 01D34 LexLib.CC
+12/22 02:31 03C97 OptLib.CC
+12/22 02:33 0A35B OptPass012.CC
+07/02 03:32 04A3C OptPass3.CC
+12/22 03:08 05439 OptPass4.CC
+11/24 02:51 00B56 OptPass5.CC
+11/24 02:51 01833 OptPass6.CC
+12/22 02:41 08FBC OptPass789A.CC
+07/01 15:58 08A02 ParseExp.CC
+12/22 02:42 01EE4 ParseLib.CC
+12/22 03:09 0935C ParseStatement.CC
+12/22 03:09 04CED ParseVar.CC
+07/26 08:55 01CF0 Templates.CC
+12/22 02:45 04799 UAsm.CC
+07/02 03:32 06AC5 OpCodes.DD
+11/24 04:48 0250E CompilerA.HH
+07/22 00:37 00E9F CompilerB.HH
+07/03 02:43 1ABC0 Compiler.MAP
+07/24 19:13 003E9 Compiler.PRJ
+
+ diff --git a/docs/Demo/AcctExample/HomeKeyPlugIns.html b/docs/Demo/AcctExample/HomeKeyPlugIns.html index 469a3e14..32f6807e 100755 --- a/docs/Demo/AcctExample/HomeKeyPlugIns.html +++ b/docs/Demo/AcctExample/HomeKeyPlugIns.html @@ -93,12 +93,12 @@ body {background-color:#000000;} {
//ch=ASCII; sc=scan_code //See Char for definition of scan codes. - //See Key Allocations. + //See Key Allocations. //See Keyboard Devices. //You can customize keys. This routine //is called before the main editor - //key handler DocPutKey(). + //key handler DocPutKey(). //You can intercept any key. //Return TRUE if you completely diff --git a/docs/Demo/AcctExample/Once.html b/docs/Demo/AcctExample/Once.html index e5baf621..fbea2869 100755 --- a/docs/Demo/AcctExample/Once.html +++ b/docs/Demo/AcctExample/Once.html @@ -30,7 +30,7 @@ body {background-color:#000000;} //This file is executed by the //first terminal window upon start-up. -//See Once and Home Files. +//See Once and Home Files. // Type("::/Doc/Customize.DD"); diff --git a/docs/Demo/AcctExample/PersonalNotes.html b/docs/Demo/AcctExample/PersonalNotes.html index e892111b..4a76722c 100755 --- a/docs/Demo/AcctExample/PersonalNotes.html +++ b/docs/Demo/AcctExample/PersonalNotes.html @@ -39,7 +39,7 @@ body {background-color:#000000;} * DiskCheck CDROM -* Compiler Bug: AUWrite() dst->cdt=t0_now+ToI64(CDATE_FREQ*(tmpsd->tS-t0_tS)); +* Compiler Bug: AUWrite() dst->cdt=t0_now+ToI64(CDATE_FREQ*(tmpsd->tS-t0_tS)); * Make MV files combine disjoint rects for same frame. @@ -49,13 +49,13 @@ body {background-color:#000000;} * Does entire tool chain support super/sub script? -* 170624 DiskCheck() showed extra alloced clus for FAT32, Sup1Hymns. ClusNum was '.'+1 and clus was zero. +* 170624 DiskCheck() showed extra alloced clus for FAT32, Sup1Hymns. ClusNum was '.'+1 and clus was zero. -* ::/Apps/X-Caliber/X-Caliber.CC +* ::/Apps/X-Caliber/X-Caliber.CC * Add asteroid harbor defense. * Afterburner thruster. -* ::/Apps/Titanium/Titanium.CC +* ::/Apps/Titanium/Titanium.CC * Lead-in at start of game with no enemy. * Have highway of death. * Fix straight shooting. @@ -64,19 +64,19 @@ body {background-color:#000000;} * 64-Bit Device Memory is not implemented. -* Investigate why packet loss Training Sleep(1). +* Investigate why packet loss Training Sleep(1). * Add AVL or red/black binary tree library support. We have fixed-size stack. Auto-balancing binary tree is very needed. I've done everything myself. I don't want to ruin a perfect record. I'm in no hurry. -* SpriteEd shift pts, Ctrl pt for ellipse/polygon w,h is off when rotated. +* SpriteEd shift pts, Ctrl pt for ellipse/polygon w,h is off when rotated. -* God said this is bad. FL:::/System/DolDoc/DocFind.CC,41 +* God said this is bad. FL:::/System/DolDoc/DocFind.CC,41 * Backward <SHIFT-F3> is broken? -* Find() search sprite text? +* Find() search sprite text? -* Cannot include ':' in Document Links search string. +* Cannot include ':' in Document Links search string. * $DA fixed width string: <Del> or <BACKSPACE> permanently shortens. * 11/19/16 editor took long time after copying old testament onto clip and exiting. @@ -87,13 +87,13 @@ body {background-color:#000000;} * Editor overstrike mode at cmd line with menu macro? Probably, many other overstrike issues. -* DOCT_HEX_ED with odd size, ASCII cannot be edited. +* DOCT_HEX_ED with odd size, ASCII cannot be edited. -* FL:::/System/Gr/SpriteEd.CC,789 Resize bitmap? +* FL:::/System/Gr/SpriteEd.CC,789 Resize bitmap? -* DOCEF_REMALLOC_DATA HexEdit Remalloc. +* DOCEF_REMALLOC_DATA HexEdit Remalloc. -* DOCF_DBL_DOLLARS in Reindention. +* DOCF_DBL_DOLLARS in Reindention. * Compiler Optimization: Local array vars --> reg. Might exist. @@ -105,40 +105,40 @@ body {background-color:#000000;} * 12/25/2015 Copy-Paste index.html glitch if source window 40 columns. * 01/06/2016 Editor filter "str" applied to output from LineRep looks broken. -* Document, perhaps with video, StrGet() all the way down into PutKey() code. +* Document, perhaps with video, StrGet() all the way down into PutKey() code. * Better dictionary. * Good spell checker. * Good Bible search. -* Can MEM_EXTRA_HASH2_PAGS be just one? +* Can MEM_EXTRA_HASH2_PAGS be just one? -* Bible ranges in BibleVerse(). +* Bible ranges in BibleVerse(). -* ::/Demo/Games/FlatTops.CC is torpedo, not bombs. +* ::/Demo/Games/FlatTops.CC is torpedo, not bombs. -* Reset MPs with Core0StartMP() after boot. Free old task memory? +* Reset MPs with Core0StartMP() after boot. Free old task memory? * Use thick and pen_height when clipping with thick>1. * Asm LIST NOLIST bugs. -* Review writing to same cache-line from multicore. Do CTask->task_flags and others need to be in separate cache lines? +* Review writing to same cache-line from multicore. Do CTask->task_flags and others need to be in separate cache lines? -* Fix KbdLEDsSet(). +* Fix KbdLEDsSet(). * NumLock comes on with break key. * Hymns: mightest, finger * Get rid of JIFFY and HPET and just use tS. -* Use "Rosetta Stone" in documentaion pointing to this: ::/Demo/ToHtmlToTXTDemo/ToHtml.CC. +* Use "Rosetta Stone" in documentaion pointing to this: ::/Demo/ToHtmlToTXTDemo/ToHtml.CC. * Change %h*c so the character is not a arg? -* GrLineFat3() needs a little work. +* GrLineFat3() needs a little work. -* GrFillTri0() with both GrHLine() and GrVLine() don't match in ::/Demo/Games/CastleFrankenstein.CC causing wall spot pixels. +* GrFillTri0() with both GrHLine() and GrVLine() don't match in ::/Demo/Games/CastleFrankenstein.CC causing wall spot pixels. TODO? Meh @@ -148,19 +148,19 @@ body {background-color:#000000;} * Asm could support R4u8 by adding 0x40 byte. -* Mem32DevAlloc() is broken. Devices should be in free spot of E820 report. +* Mem32DevAlloc() is broken. Devices should be in free spot of E820 report. -* SpriteEd: Strip SPT_SHIFT origin cmds? +* SpriteEd: Strip SPT_SHIFT origin cmds? * Clean-up ASCII #127 delete char? (No. Maybe, we want a new usage for 127 in future centuries.) -* Compiler: Exceptions don't free CCompCtrl stuff. +* Compiler: Exceptions don't free CCompCtrl stuff. -* ::/System/DolDoc/DocHighlight.CC for code comments at top of documents. +* ::/System/DolDoc/DocHighlight.CC for code comments at top of documents. * Unhandled exception messages from MP's get overwritten by WinMgr. -* Diff("C:/Misc/Bible.TXT","D:/Misc/Bible.TXT"); Takes too long. +* Diff("C:/Misc/Bible.TXT","D:/Misc/Bible.TXT"); Takes too long. * Finish Pilgrim game. @@ -171,21 +171,21 @@ body {background-color:#000000;} TODO: Too Hard, or Not Worth Doing. -* AutoComplete/Man() Jmp for user code. +* AutoComplete/Man() Jmp for user code. * Bible sized nodes -*
FileMgr() is bad with lots of files. +* FileMgr() is bad with lots of files. * Would be nice to have a routine telling how much free memory, so apps can plan a big alloc. This is doable, depending on how. * Log-to-file is inefficient because we load and save whole file. -* ICMov() PUSH_CMP and MDf_STACK? Perhaps, it's okay. +* ICMov() PUSH_CMP and MDf_STACK? Perhaps, it's okay. * Short FAT32 ~ names. -* Find() search text in sprites. +* Find() search text in sprites. * Links in text in sprites. @@ -197,52 +197,52 @@ body {background-color:#000000;} U0 (*fp_old_draw_mouse)(CDC *dc,I64 x,I64 y)=gr.fp_draw_mouse; } -* Compiler: Get rid of 0x20000 limit. +* Compiler: Get rid of 0x20000 limit. -* GrFloodFillRay: Get rid of 0x80000 limit. +* GrFloodFillRay: Get rid of 0x80000 limit. Bugs -* 1/28/16 ::/Demo/Graphics/Pick3D.CC crashed in TestSuite. +* 1/28/16 ::/Demo/Graphics/Pick3D.CC crashed in TestSuite. * 1/12/16 make RAM drive 2288 blks, CopyTree("C:/Home","B:/Home"); Disk runs-out of space and hangs instead of reporting errors. -* Bug introduced around 11/1/15. Changed ::/Kernel/Sched.CC and now WinToTop is called on System task at start-up, sometimes. -Might be user's fault because of bad keys pressed during VMware power-on init. Might be fixed by ACf_INIT_IN_PROGRESS. +* Bug introduced around 11/1/15. Changed ::/Kernel/Sched.CC and now WinToTop is called on System task at start-up, sometimes. +Might be user's fault because of bad keys pressed during VMware power-on init. Might be fixed by ACf_INIT_IN_PROGRESS. -* 1/12/16 ATARepEntry shows corrupted bttns. Weird. Perhaps, my imagination. +* 1/12/16 ATARepEntry shows corrupted bttns. Weird. Perhaps, my imagination. 3rd Party Bugs * VMware: Stretch to full screen * VMware: PC speaker sound distorted. * VMware: 8/2/2015 start-up. Probably multicore. -* VMware: CtrlAltDel on <CTRL-ALT-INS> +* VMware: CtrlAltDel on <CTRL-ALT-INS> * VMware: Size zero files don't copy out of mounted disk? (Might be fixed.) Bugs? Not really sure. -* Mount() crashes on bad drive. +* Mount() crashes on bad drive. * Graphics clipping: screen y+top<0 for top<0? * 1/1/2015 Bug messing-up keyboard, like no CTRL key. Was working on Sprites. -* 4/13/14 Strut or RawHide crashed when sys_var_init_flag was set during testsuite. Perhaps, floodfill? +* 4/13/14 Strut or RawHide crashed when sys_var_init_flag was set during testsuite. Perhaps, floodfill? -* DiskCheck alloc unalloced. I don't know if I fixed this. +* DiskCheck alloc unalloced. I don't know if I fixed this. * 1/?/2015,8/10/2015 Macro sel in Menu did not go to shell? No, I think just <CTRL-m> twice. Not a bug. -* 5/7/14:Something like InSetMouse caused hang, then reboot in TestSuite. -* 5/7/14:#63 Maybe, ::/Demo/Graphics/Pick3D.CC crashed in TestSuite. +* 5/7/14:Something like InSetMouse caused hang, then reboot in TestSuite. +* 5/7/14:#63 Maybe, ::/Demo/Graphics/Pick3D.CC crashed in TestSuite. -* StrPrintJoin(,st); With st="\n\\"; (Forgot what this is talking about.) +* StrPrintJoin(,st); With st="\n\\"; (Forgot what this is talking about.) TODO? Not really, just angst. -* Should these be moved into CHashClass from CMemberList and CHashGlobalVar? +* Should these be moved into CHashClass from CMemberList and CHashGlobalVar? CArrayDim dim; CHashFun *fun_ptr; @@ -252,19 +252,19 @@ body {background-color:#000000;} * Might want to warn switch[] dup case numbers. -* Make Clamp(), Min(), Max() into asm routines? +* Make Clamp(), Min(), Max() into asm routines? -* Add local vars to sym table in Debug()? +* Add local vars to sym table in Debug()? * Compiler: Prints two error messages for expressions in statements. -* U() negative byte displacement, neg 32-bit disp. +* U() negative byte displacement, neg 32-bit disp. -* Race condition in ::/Demo/Games/FlatTops.CC torpedo. +* Race condition in ::/Demo/Games/FlatTops.CC torpedo. -* Links to self document if empty file name? Document Links +* Links to self document if empty file name? Document Links -* FUF_RECURSE would be nice if capital "+R". +* FUF_RECURSE would be nice if capital "+R". * Sprites in cmd line code. @@ -275,9 +275,9 @@ body {background-color:#000000;} * Compiler: Type for either F64 or I64, like Print -- no conversion. * Compiler: Arg type ... that did do conversion, if we have one that doesn't. -* R("char_bmp_","set_"); +* R("char_bmp_","set_"); -* Clean-up code FileNameAbs(), does it need so many local var names? I guess no choice. +* Clean-up code FileNameAbs(), does it need so many local var names? I guess no choice. Committee Needed @@ -286,7 +286,7 @@ body {background-color:#000000;} * Should we get rid of drive mapping. It's ugly. -* Can we get rid of MESSAGE_CMD? +* Can we get rid of MESSAGE_CMD? * Make so just CdRom; command to copy entire disk to ::/CdRom directory? @@ -296,29 +296,29 @@ body {background-color:#000000;} * Compiler: F32? -* International Date output: MPrintDate(). Every country make own version? -* International Date input: Str2Date(). +* International Date output: MPrintDate(). Every country make own version? +* International Date input: Str2Date(). -* DCF_SYMMETRY before transformation? (Currently, it's after.) +* DCF_SYMMETRY before transformation? (Currently, it's after.) -* TRANSPARENT does not work with ROPF_DITHER. +* TRANSPARENT does not work with ROPF_DITHER. -* ROP_XOR with thick>1 is broken. +* ROP_XOR with thick>1 is broken. -* GrPutChar3() with depth buf? +* GrPutChar3() with depth buf? -* Eliminate? ::/System/Ctrls/CtrlsA.CC? -* Eliminate? ::/System/ZMathODE.CC? -* Eliminate? Complex? -* Eliminate? CDC.brush? -* Eliminate? Mat4x4MulXYZ() change to 3x3? -* Eliminate? ROP_XOR? +* Eliminate? ::/System/Ctrls/CtrlsA.CC? +* Eliminate? ::/System/ZMathODE.CC? +* Eliminate? Complex? +* Eliminate? CDC.brush? +* Eliminate? Mat4x4MulXYZ() change to 3x3? +* Eliminate? ROP_XOR? -* WinMgrTask needs to do doc operations on MessagePost() messages for mouse_hard. Already works for MouseSet()? +* WinMgrTask needs to do doc operations on MessagePost() messages for mouse_hard. Already works for MouseSet()? * Should Messages in PopUp queue get fwded to parent when task dies? -* Import Intel datasheets so we can use links in Code for documentation. I tried a PDF-to-text convertor and it wasn't +* Import Intel datasheets so we can use links in Code for documentation. I tried a PDF-to-text convertor and it wasn't acceptible. * Switch stmt with sparse cases? Maybe, ban sparse switch statements. @@ -327,23 +327,23 @@ body {background-color:#000000;} * Compiler: Local var array/struct initialization. -* Compiler Optimization: Bools use r,rm in ICComp() like in ICCompAndBranch()? +* Compiler Optimization: Bools use r,rm in ICComp() like in ICCompAndBranch()? * Compiler: !F64 ~F64 * Compiler: &=, |= can overflow with Bts Btr on small data types? -* Implement RS_ATTR_FIXED fixed pos files? +* Implement RS_ATTR_FIXED fixed pos files? -* SIMD in Mat4x4MulXYZ? +* SIMD in Mat4x4MulXYZ? -* I use fixed-point in Circle(), Ellipse(), Mat4x4MulXYZ(), Mat4x4MulMat4x4New() and others. God says I might want to change to -float. ::/Demo/Lectures/FixedPoint.CC ::/Demo/Lectures/FixedPointAdvanced.CC. +* I use fixed-point in Circle(), Ellipse(), Mat4x4MulXYZ(), Mat4x4MulMat4x4New() and others. God says I might want to change to +float. ::/Demo/Lectures/FixedPoint.CC ::/Demo/Lectures/FixedPointAdvanced.CC. -* Note: We will never put multiple Keyboard Tables. Each country must make their own version of ZealOS. The -Intel Factory ROM will have just English. Our Charter bans multiple country or architectures in the same version. +* Note: We will never put multiple Keyboard Tables. Each country must make their own version of ZealOS. The +Intel Factory ROM will have just English. Our Charter bans multiple country or architectures in the same version. -* 12 border chars in screen font codes 0x02-0x0D. TextBorder() RawDr() ::/Demo/Games/CharDemo.CC. LineFeed shows-up in <CTRL-m> +* 12 border chars in screen font codes 0x02-0x0D. TextBorder() RawDr() ::/Demo/Games/CharDemo.CC. LineFeed shows-up in <CTRL-m> PersonalMenu. * Super-simple high speed serial needs flow control. <CTRL-s> and <CTRL-q>? @@ -368,10 +368,10 @@ body {background-color:#000000;} * New editor widgets. -* Make use of flag potential in FilesFind() and possibly DirContextNew(). -* Sort options for FilesFind()? +* Make use of flag potential in FilesFind() and possibly DirContextNew(). +* Sort options for FilesFind()? -* New CosmiC language features? +* New CosmiC language features? * Better Debugging? @@ -381,7 +381,7 @@ body {background-color:#000000;} * Ticketmaster format statements? Overflow "t='*'" and padding character? -* Move stuff out of Kernel module. +* Move stuff out of Kernel module. * $LK,L="FL:D:/Kernel/File.CC"$ instead of A= * $SP,B=1$ instead of $SP,BI=1$ @@ -389,13 +389,13 @@ body {background-color:#000000;} * DCF_TRANSFORMATION|DCF_SYMMETRY|DCF_JUST_MIRROR -- maybe not both needed at once. -* More Controls? +* More Controls? * Compiler: More use of more floating-point stack? -* Compiler: More aggressive in CompF2PushPop() with types besides MOV and F64. +* Compiler: More aggressive in CompF2PushPop() with types besides MOV and F64. -* Playing with ::/Demo/Lectures/NegDisp.CC on CTask? +* Playing with ::/Demo/Lectures/NegDisp.CC on CTask? $=-CTASK_NEG_OFFSET offset(CTask.addr)==0 Spawn(): CAlloc() @@ -407,39 +407,39 @@ body {background-color:#000000;} Test -* SpriteBitMap: Grabscroll? +* SpriteBitMap: Grabscroll? -* Return ress for GrBlot, GrRect, GrPutChar? -* Collision counts for GrBlot, GrRect, GrPutChar? +* Return ress for GrBlot, GrRect, GrPutChar? +* Collision counts for GrBlot, GrRect, GrPutChar? -* StrGet() or CharGet() in OSInstall didn't like focus change. +* StrGet() or CharGet() in OSInstall didn't like focus change. * Test on Dad's computer or other people's? -* ICDivEqu() assumes RBX. Is it okay? +* ICDivEqu() assumes RBX. Is it okay? * InFile PopUp of PopUp? -* FileMgr() help link scrolls out of window. +* FileMgr() help link scrolls out of window. -* MouseHardDriverInstall() throws exceptions? Doesn't work? Why mouse 0x9FC30? +* MouseHardDriverInstall() throws exceptions? Doesn't work? Why mouse 0x9FC30? * VirtualBox MP reboot? * Compiler: Err/Warn line nums? * Asm branch-out-of-range warn by one line? -* Make sure queue links safe in one direction. Task QueueInsert and QueueRemove for multicore cycling forward through tasks. +* Make sure queue links safe in one direction. Task QueueInsert and QueueRemove for multicore cycling forward through tasks. -* Test removable media id and RS_ATTR_RESIDENT. Touch("","+T"); +* Test removable media id and RS_ATTR_RESIDENT. Touch("","+T"); Uncategorized -* DiskCache during FileRead. <CTRL-ALT-c>, Kill(). +* DiskCache during FileRead. <CTRL-ALT-c>, Kill(). * MOV U8 [RSP+RCX],DL -* gr.screen_image +* gr.screen_image >Might want to do ZOOM in U8 graphics and convert screen capture to U8 >Might want to rev bit order @@ -451,7 +451,7 @@ body {background-color:#000000;} * Might make CSprite flood fill operate on a separate bitmap and blotted at the end. * <CTRL-r> delete subsprite in menu near others -* make better heapwalk, do something with _CONFIG_HEAP_DEBUG. +* make better heapwalk, do something with _CONFIG_HEAP_DEBUG. * static var off of data heap. * could add "const" to not set CCF_NOT_CONST flag for trig, etc. diff --git a/docs/Demo/AcctExample/TOS/TOSDistro.html b/docs/Demo/AcctExample/TOS/TOSDistro.html index 97bc1694..b999581c 100755 --- a/docs/Demo/AcctExample/TOS/TOSDistro.html +++ b/docs/Demo/AcctExample/TOS/TOSDistro.html @@ -25,7 +25,7 @@ body {background-color:#000000;}
-//The CONFIG defines are ~/TOS/TOSConfig.CC.
+//The CONFIG defines are ~/TOS/TOSConfig.CC.
 
 #help_index "Misc/TOS/Distro"
 
@@ -319,7 +319,7 @@ body {background-color:#000000;}
 {
         I64 slash_home = 0;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         tos_progress = -1;
         tos_progress_t0 = tS;
         RegExe("ZealOS/TOSRegen");
@@ -410,7 +410,7 @@ body {background-color:#000000;}
 {//Generate distro ISO's
         TOSBootHDIns('C');
         Once("TOSRegen2;");
-        BootRAM("C:/Kernel/" KERNEL_BIN_C); //Boot to load TOS_CONFIG.
+        BootRAM("C:/Kernel/" KERNEL_BIN_C); //Boot to load TOS_CONFIG.
 }
 
diff --git a/docs/Demo/AcctExample/TOS/TOSTheme.html b/docs/Demo/AcctExample/TOS/TOSTheme.html index f29cb441..c638b706 100755 --- a/docs/Demo/AcctExample/TOS/TOSTheme.html +++ b/docs/Demo/AcctExample/TOS/TOSTheme.html @@ -207,7 +207,7 @@ body {background-color:#000000;}
gr.fp_final_screen_update = NULL; t0 = 0; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush AutoComplete; WinBorder; WinMax; diff --git a/docs/Demo/AcctExample/TOS/index.html b/docs/Demo/AcctExample/TOS/index.html new file mode 100755 index 00000000..03003e11 --- /dev/null +++ b/docs/Demo/AcctExample/TOS/index.html @@ -0,0 +1,39 @@ + + + + + + + + +
+Directory of C:/Demo/AcctExample/TOS
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+02/15 20:52 006A MakeTOS.CC
+12/18 17:35 093C TOSConfig.CC
+07/01 17:11 266A TOSDistro.CC
+12/18 17:54 1E38 TOSExtern.CC
+12/23 11:29 1019 TOSMisc.CC
+12/18 17:50 7940 TOSTheme.CC
+
+ diff --git a/docs/Demo/AcctExample/index.html b/docs/Demo/AcctExample/index.html new file mode 100755 index 00000000..54b34ffd --- /dev/null +++ b/docs/Demo/AcctExample/index.html @@ -0,0 +1,43 @@ + + + + + + + + +
+Directory of C:/Demo/AcctExample
+DATE_ TIME_  SIZE
+07/02 23:10 00000 .
+07/02 23:10 00000 ..
+07/02 23:10 00000 TOS
+07/02 04:12 0186F HomeKeyPlugIns.CC
+12/18 18:06 00294 HomeLocalize.CC
+07/01 15:58 0039E HomeSys.CC
+12/18 18:07 00487 HomeWrappers.CC
+07/01 16:15 001E2 MakeHome.CC
+12/18 18:08 0041E Once.CC
+07/02 00:52 0088B Registry.CC
+07/01 18:06 103B3 PersonalMenu.DD
+07/02 00:51 050EB PersonalNotes.DD
+
+ diff --git a/docs/Demo/Asm/AsmAndC1.html b/docs/Demo/Asm/AsmAndC1.html index 1695c734..ec2cc4f4 100755 --- a/docs/Demo/Asm/AsmAndC1.html +++ b/docs/Demo/Asm/AsmAndC1.html @@ -34,19 +34,19 @@ body {background-color:#000000;}
asm { //Opcodes are slightly different to make writing the x86_64 assembler easier. -//See ::/Compiler/OpCodes.DD. +//See ::/Compiler/OpCodes.DD. IMPORT Beep; _BEEPS:: //You can always clobber RAX,RBX,RCX,RDX,R8,R9. The compiler expects that. -//See REGG_CLOBBERED and REGG_STACK_TMP. +//See REGG_CLOBBERED and REGG_STACK_TMP. PUSH RBP MOV RBP, RSP - MOV RCX, U64 SF_ARG1[RBP] //SF_ARG1 + MOV RCX, U64 SF_ARG1[RBP] //SF_ARG1 @@05: PUSH RCX -//U0 Beep(I8 ona=62,Bool busy=FALSE) +//U0 Beep(I8 ona=62,Bool busy=FALSE) PUSH FALSE //Do not busy (spin) wait PUSH 62 //500 Hz CALL Beep @@ -67,7 +67,7 @@ body {background-color:#000000;} I64 AsmAndC1() { I64 noreg i; //Normally this would be stored in a reg -//Check by unassembling with Uf("AsmAndC1"). +//Check by unassembling with Uf("AsmAndC1"). i = I64Get("Num of beeps 1-5 (%d):", 3, 1, 5); Beeps(i); @@ -80,11 +80,11 @@ body {background-color:#000000;} //You better preserve the rest. @@05: PUSH RCX - //U0 Sound(I8 ona); + //U0 Sound(I8 ona); MOV RAX, RCX //ona=loop*10+50 IMUL2 RAX, 10 //ZealOS uses nonstandard opcodes //to avoid multiple form of the same one. - //See ::/Compiler/OpCodes.DD. + //See ::/Compiler/OpCodes.DD. ADD RAX, 40 PUSH RAX CALL Sound diff --git a/docs/Demo/Asm/AsmAndC2.html b/docs/Demo/Asm/AsmAndC2.html index ec0362b8..ee0970dc 100755 --- a/docs/Demo/Asm/AsmAndC2.html +++ b/docs/Demo/Asm/AsmAndC2.html @@ -38,30 +38,30 @@ body {background-color:#000000;} asm { //Opcodes are slightly different to make writing the x86_64 assembler easier. -//See ::/Compiler/OpCodes.DD. +//See ::/Compiler/OpCodes.DD. JIFFIES_MESSAGE: DU8 "Jiffies:", 0; -//See ::/Kernel/StrA.CC and ::/Kernel/KUtils.CC. +//See ::/Kernel/StrA.CC and ::/Kernel/KUtils.CC. _BEEPS2:: //You can clobber RAX,RBX,RCX,RDX,R8,R9. The compiler expects that. -//See REGG_CLOBBERED and REGG_STACK_TMP. +//See REGG_CLOBBERED and REGG_STACK_TMP. PUSH RBP MOV RBP, RSP - MOV RCX, U64 SF_ARG1[RBP] //SF_ARG1 + MOV RCX, U64 SF_ARG1[RBP] //SF_ARG1 PUSH U64 [&counts.jiffies] @@05: PUSH RCX -//U0 Beep(I8 ona=62, Bool busy=FALSE) +//U0 Beep(I8 ona=62, Bool busy=FALSE) PUSH FALSE //Do not busy (spin) wait PUSH U64 [&global_ona] //evaluated at run time CALL &Beep POP RCX LOOP @@05 - PUSH RSI //See REGG_LOCAL_VARS & REGG_LOCAL_NON_PTR_VARS + PUSH RSI //See REGG_LOCAL_VARS & REGG_LOCAL_NON_PTR_VARS MOV RSI, JIFFIES_MESSAGE CALL PUT_STR POP RSI @@ -94,7 +94,7 @@ body {background-color:#000000;} MOV RCX, R15 //You can clobber RAX,RBX,RCX,RDX. Preserve the rest. @@05: PUSH RCX -//U0 Sound(I8 ona); +//U0 Sound(I8 ona); MOV RAX, RCX //ona=loop*10+100.0Hz IMUL2 RAX, global_ona_step //Intentionally evaluated at compile time ADD RAX, U64 [&global_ona_base] //Intentionally evaluated at run time diff --git a/docs/Demo/Asm/AsmHelloWorld.html b/docs/Demo/Asm/AsmHelloWorld.html index c20291a1..7670d4b4 100755 --- a/docs/Demo/Asm/AsmHelloWorld.html +++ b/docs/Demo/Asm/AsmHelloWorld.html @@ -32,7 +32,7 @@ body {background-color:#000000;} it from the cmd line. These are many useful kernel -routines ::/Kernel/StrA.CC +routines ::/Kernel/StrA.CC intended to be called from asm. Generally, they preserve regs. @@ -48,7 +48,7 @@ body {background-color:#000000;} asm { //Opcodes are slightly different to make writing the x86_64 assembler easier. -//See ::/Compiler/OpCodes.DD. +//See ::/Compiler/OpCodes.DD. MY_WORLD_MESSAGE: //Define U8 does not put terminating zeros @@ -58,7 +58,7 @@ body {background-color:#000000;} //The convention is to put an underscore //on C callable asm routines. _HELLO_WORLD:: - PUSH RSI //See REGG_LOCAL_VARS & REGG_LOCAL_NON_PTR_VARS + PUSH RSI //See REGG_LOCAL_VARS & REGG_LOCAL_NON_PTR_VARS MOV RCX, 10 @@05: MOV RAX, RCX CALL PUT_HEX_U8 diff --git a/docs/Demo/Asm/BuzzFizz.html b/docs/Demo/Asm/BuzzFizz.html index dbbdf3fa..a5facc86 100755 --- a/docs/Demo/Asm/BuzzFizz.html +++ b/docs/Demo/Asm/BuzzFizz.html @@ -35,7 +35,7 @@ body {background-color:#000000;} _BUZZ_FIZZ:: PUSH RBP MOV RBP, RSP //Always set-up stack frame. (Stack Gets Traced) - PUSH RSI //See REGG_LOCAL_VARS & REGG_LOCAL_NON_PTR_VARS + PUSH RSI //See REGG_LOCAL_VARS & REGG_LOCAL_NON_PTR_VARS PUSH RDI MOV RSI, FIZZ_SPAN - RANGE_START % FIZZ_SPAN + 1 MOV RDI, BUZZ_SPAN - RANGE_START % BUZZ_SPAN + 1 diff --git a/docs/Demo/Asm/MulByHand.html b/docs/Demo/Asm/MulByHand.html index 0a866ddb..0bb0d1f2 100755 --- a/docs/Demo/Asm/MulByHand.html +++ b/docs/Demo/Asm/MulByHand.html @@ -32,7 +32,7 @@ body {background-color:#000000;} */ asm { //Opcodes are slightly different to make writing the x86_64 assembler easier. -//See ::/Compiler/OpCodes.DD. +//See ::/Compiler/OpCodes.DD. //You can clobber RAX,RBX,RCX,RDX,R8,R9. The compiler expects that. @@ -51,7 +51,7 @@ body {background-color:#000000;} _MUL_BY_HAND_U8_U8_TO_U16:: //C callable PUSH RBP MOV RBP, RSP - MOV AL, U8 SF_ARG1[RBP] //SF_ARG1 + MOV AL, U8 SF_ARG1[RBP] //SF_ARG1 MOV BL, U8 SF_ARG2[RBP] CALL MUL_BY_HAND_U8_U8_TO_U16 MOVZX RAX, AX @@ -63,7 +63,7 @@ body {background-color:#000000;} PUSH RBP MOV RBP, RSP MOV RBX, U64 SF_ARG3[RBP] - MOV RAX, U64 SF_ARG1[RBP] //SF_ARG1 + MOV RAX, U64 SF_ARG1[RBP] //SF_ARG1 MUL U64 SF_ARG2[RBP] //Res RDX:RAX 128bit MOV U64 [RBX], RAX MOV U64 8[RBX], RDX diff --git a/docs/Demo/Asm/PutDec.html b/docs/Demo/Asm/PutDec.html index 46376e08..35b8def8 100755 --- a/docs/Demo/Asm/PutDec.html +++ b/docs/Demo/Asm/PutDec.html @@ -33,11 +33,11 @@ body {background-color:#000000;} MOV RBP,RSP SUB RSP, 24 //24 char buffer on stack -//Save regs which C code is free to clobber. We don't have to for C callers, +//Save regs which C code is free to clobber. We don't have to for C callers, //but this function will be nice for ASM callers if it saves all regs. PUSH_C_REGS - PUSH RSI //See REGG_LOCAL_VARS&REGG_LOCAL_NON_PTR_VARS + PUSH RSI //See REGG_LOCAL_VARS&REGG_LOCAL_NON_PTR_VARS LEA RSI, -1[RBP] //Load addr of end of buffer. //We picked RSI because of PUT_STR //We'll move backward diff --git a/docs/Demo/Asm/index.html b/docs/Demo/Asm/index.html new file mode 100755 index 00000000..2f08c82f --- /dev/null +++ b/docs/Demo/Asm/index.html @@ -0,0 +1,41 @@ + + + + + + + + +
+Directory of C:/Demo/Asm
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 04:13 07CA AsmAndC1.CC
+07/02 04:13 091D AsmAndC2.CC
+12/18 18:21 01DB AsmAndC3.CC
+07/02 04:13 052C AsmHelloWorld.CC
+12/18 18:33 120E BuzzFizz.CC
+12/18 18:21 0194 DivByHand.CC
+07/02 04:13 0649 MulByHand.CC
+12/18 18:23 04F5 PutDec.CC
+
+ diff --git a/docs/Demo/Carry.html b/docs/Demo/Carry.html index 805b41f3..c6887402 100755 --- a/docs/Demo/Carry.html +++ b/docs/Demo/Carry.html @@ -25,8 +25,8 @@ body {background-color:#000000;}
-//Shows the Carry function.  It holds the CPU carry flag.
-//U() Unassemble to make sure it is right.
+//Shows the Carry function.  It holds the CPU carry flag.
+//U() Unassemble to make sure it is right.
 
 U0 BigCount()
 {
diff --git a/docs/Demo/ClassMeta.html b/docs/Demo/ClassMeta.html
index 14296717..95e636ba 100755
--- a/docs/Demo/ClassMeta.html
+++ b/docs/Demo/ClassMeta.html
@@ -55,7 +55,7 @@ body {background-color:#000000;}
 };
 
 U0 DumpStruct(U8 *_d, U8 *class_name=lastclass)
-{//lastclass is keyword.        See ::/Demo/LastClass.CC.
+{//lastclass is keyword.        See ::/Demo/LastClass.CC.
         CHashClass      *tmpc = HashFind(class_name, Fs->hash_table, HTT_CLASS);
         U8                      *print_str;
         I64                     *q, default_val;
@@ -71,7 +71,7 @@ body {background-color:#000000;}
                 "%s:", ml->str;
 
                 //All our items are I64's.      If you want, you can check
-                //the data type of the member var.  See ClassRep().
+                //the data type of the member var.  See ClassRep().
                 q = _d + ml->offset;
 
                 if (print_str = MemberMetaData("print_str", ml))
@@ -84,8 +84,8 @@ body {background-color:#000000;}
                         //This corrects for the ambiguity, allowing zero percentile.
                 if (MemberMetaFind("percentile", ml))
                 {//check if it exists
-                        //We could use the CMemberListMeta structure returned by
-                        //MemberMetaFind() and save a search.
+                        //We could use the CMemberListMeta structure returned by
+                        //MemberMetaFind() and save a search.
                         percentile = MemberMetaData("percentile", ml)(F64);
                         " percentile: %5.2f", percentile;
                 }
diff --git a/docs/Demo/DebugDemo.html b/docs/Demo/DebugDemo.html
index b35b18c5..afaf84a4 100755
--- a/docs/Demo/DebugDemo.html
+++ b/docs/Demo/DebugDemo.html
@@ -31,12 +31,12 @@ body {background-color:#000000;}
 Rerun Program
 
 Press <CTRL-ALT-d> to enter Debug.
-> Dr;   //Dump Regs
-> G2;   //Cont program
+> Dr;   //Dump Regs
+> G2;   //Cont program
 
 Press <CTRL-ALT-d> to enter Debug.
-> Uf("DebugDemo");
-> U(_RIP);
+> Uf("DebugDemo");
+> U(_RIP);
 
 See Debugging
 */
diff --git a/docs/Demo/Disk/BlkDevRep.html b/docs/Demo/Disk/BlkDevRep.html
index 82a1665f..a6aef161 100755
--- a/docs/Demo/Disk/BlkDevRep.html
+++ b/docs/Demo/Disk/BlkDevRep.html
@@ -31,11 +31,11 @@ body {background-color:#000000;}
 
         for (i = 0; i < BLKDEVS_NUM; i++)
                 if (blkdev.blkdevs[i].bd_signature == BD_SIGNATURE_VAL)
-                        //ClassRep() dumps any structure, automatically.
+                        //ClassRep() dumps any structure, automatically.
                         ClassRep(&blkdev.blkdevs[i]);
                         //The lastclass arg tells ClassRep the datatype.
-                        //lastclass is a language feature of CosmiC.
-                        //See ::/Demo/LastClass.CC.
+                        //lastclass is a language feature of CosmiC.
+                        //See ::/Demo/LastClass.CC.
 }
 
 BlkDevRep;
diff --git a/docs/Demo/Disk/DiskRaw.html b/docs/Demo/Disk/DiskRaw.html
index e50876f7..4afe328d 100755
--- a/docs/Demo/Disk/DiskRaw.html
+++ b/docs/Demo/Disk/DiskRaw.html
@@ -66,7 +66,7 @@ body {background-color:#000000;}
 
 RawAccess;
 
-//See BlkRead(), BlkWrite(), DriveLock(), DriveUnlock()
-//DBlk(), DClus(), BlkDevLock() and BlkDevUnlock().
+//See BlkRead(), BlkWrite(), DriveLock(), DriveUnlock()
+//DBlk(), DClus(), BlkDevLock() and BlkDevUnlock().
 
diff --git a/docs/Demo/Disk/FPrintF.html b/docs/Demo/Disk/FPrintF.html index 69d024eb..d25c66a3 100755 --- a/docs/Demo/Disk/FPrintF.html +++ b/docs/Demo/Disk/FPrintF.html @@ -27,7 +27,7 @@ body {background-color:#000000;}
 /*There is no FPrintF type function and no
 way to grow files. Therefore, use mem to
-hold the file until you are done.  The CDoc
+hold the file until you are done.  The CDoc
 framework is convenient for this.
 */
 
@@ -53,7 +53,7 @@ body {background-color:#000000;}
                         DocPrint(doc, "$LK,\"%s\",A=\"FI:%s\"$\n", tmpde->name, tmpde->full_name);
                         //Note there is also a routine
                         //to delete an entire CDirEntry tree.
-                        //See DirTreeDel().
+                        //See DirTreeDel().
                 DirEntryDel(tmpde);
                 tmpde = tmpde1;
         }
diff --git a/docs/Demo/Disk/SerializeTree.html b/docs/Demo/Disk/SerializeTree.html
index e5ab1a9f..5b9350c7 100755
--- a/docs/Demo/Disk/SerializeTree.html
+++ b/docs/Demo/Disk/SerializeTree.html
@@ -37,7 +37,7 @@ body {background-color:#000000;}
         I64                      size;
         U8                      *ptr;
 
-        LineRep1(tmpde); //We have CDirEntry.fullname
+        LineRep1(tmpde); //We have CDirEntry.fullname
         LineRep2(DocPut, tmpde);
         "$GREEN$***************$FG$\n";
         ptr = DirTreeSerialize(tmpde, &size);
@@ -45,7 +45,7 @@ body {background-color:#000000;}
         D(ptr, size);
         "$GREEN$***************:%7d$FG$\n", size;
         tmpde = DirTreeUnserialize(ptr);
-        LineRep2(DocPut, tmpde); //We don't have CDirEntry.fullname
+        LineRep2(DocPut, tmpde); //We don't have CDirEntry.fullname
         DirTreeDel(tmpde);
 }
 
diff --git a/docs/Demo/Disk/index.html b/docs/Demo/Disk/index.html
new file mode 100755
index 00000000..16c8042f
--- /dev/null
+++ b/docs/Demo/Disk/index.html
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Demo/Disk
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+04/28 02:14 01B0 BlkDevRep.CC
+12/18 18:40 050D DataBase.CC
+12/18 18:39 041B DiskRaw.CC
+12/18 18:37 04EF FPrintF.CC
+12/18 18:36 02BB SerializeTree.CC
+12/18 18:35 013F UnusedSpaceRep.CC
+
+ diff --git a/docs/Demo/DolDoc/CallBack.html b/docs/Demo/DolDoc/CallBack.html index b1a9f32c..ed26f1ac 100755 --- a/docs/Demo/DolDoc/CallBack.html +++ b/docs/Demo/DolDoc/CallBack.html @@ -56,13 +56,13 @@ body {background-color:#000000;}
DocLock(bdoc); DocBottom(bdoc); //Ins at the bottom DocPrint(bdoc, "$RED$$CM+BY+LX,5,-3$"); - //The DocPrint() routine returns the addr of the last entry. + //The DocPrint() routine returns the addr of the last entry. doc_e = DocPrint(bdoc, "$TX+TC,\" \"$"); //The TC flag is "has tag callback". //Flags are explained here: - //::/Doc/DolDocOverview.DD ::/Doc/Widget.DD - //Dollar Flags ST_DOC_FLAGS + //::/Doc/DolDocOverview.DD ::/Doc/Widget.DD + //Dollar Flags ST_DOC_FLAGS doc_e->tag_cb = &tSCB; DocPrint(bdoc, "$FG$"); DocUnlock(bdoc); diff --git a/docs/Demo/DolDoc/ClickCallBack.html b/docs/Demo/DolDoc/ClickCallBack.html index 11487266..535803b7 100755 --- a/docs/Demo/DolDoc/ClickCallBack.html +++ b/docs/Demo/DolDoc/ClickCallBack.html @@ -44,13 +44,13 @@ body {background-color:#000000;} CDocEntry *doc_e; DocLock(DocPut); - //The DocPrint() routine returns the addr of the last entry. + //The DocPrint() routine returns the addr of the last entry. doc_e = DocPrint(DocPut, "\n$MA+LC,\"Click Me\"$ "); //The LC flag is "has left callback". //Flags are explained here: - //::/Doc/DolDocOverview.DD ::/Doc/Widget.DD - //Dollar Flags ST_DOC_FLAGS + //::/Doc/DolDocOverview.DD ::/Doc/Widget.DD + //Dollar Flags ST_DOC_FLAGS "(Not preserved if you press <CTRL-t>.)\n\n"; doc_e->left_cb = &MyLeftCB1; DocUnlock(DocPut); diff --git a/docs/Demo/DolDoc/CursorMove.html b/docs/Demo/DolDoc/CursorMove.html index c1ff2992..bdf7478b 100755 --- a/docs/Demo/DolDoc/CursorMove.html +++ b/docs/Demo/DolDoc/CursorMove.html @@ -48,7 +48,7 @@ body {background-color:#000000;} /*The word-wrap Off and On cmds are $WW,0$ and $WW,1$. -You might need DocMax() to adjust +You might need DocMax() to adjust the cmd line window buf size. It counts cmds, not lines. @@ -56,7 +56,7 @@ body {background-color:#000000;} so it doesn't get pushed-out of the document. This is useful for a $WW+H,1$ cmd. -See ::/Doc/DolDocOverview.DD for documentation on +See ::/Doc/DolDocOverview.DD for documentation on all flags and cmds. Note: the default page length is 66 lines diff --git a/docs/Demo/DolDoc/Data.html b/docs/Demo/DolDoc/Data.html index 1ff5d51c..1e5b2b68 100755 --- a/docs/Demo/DolDoc/Data.html +++ b/docs/Demo/DolDoc/Data.html @@ -35,10 +35,10 @@ body {background-color:#000000;} -P Means it is a string var, basically. ,32 sets the tag string width. - See Data Tag Width. + See Data Tag Width. ,RT=I16 means the val is 2 bytes. - See DocDataFormat() and DocDataScan(). + See DocDataFormat() and DocDataScan(). */ I16 i = 0; @@ -64,7 +64,7 @@ body {background-color:#000000;} //doc_e->data before it is set. Bool unlock = DocLock(doc); - //You might set the DOCF_FORM flag. + //You might set the DOCF_FORM flag. // doc->flags|=DOCF_FORM //if you wish. @@ -89,6 +89,6 @@ body {background-color:#000000;} DataDemo; -//See PopUpExtents(). +//See PopUpExtents().
diff --git a/docs/Demo/DolDoc/FileRead.html b/docs/Demo/DolDoc/FileRead.html index a6a168aa..c678883a 100755 --- a/docs/Demo/DolDoc/FileRead.html +++ b/docs/Demo/DolDoc/FileRead.html @@ -32,8 +32,8 @@ body {background-color:#000000;} *flags_stats =
CAlloc(sizeof(I64) * 64), *type_flags_stats = CAlloc(sizeof(I64) * 64); //Note: word wrap is determined by - //doc->win_task when a CDoc is recalculated - //use DocRecalc(). + //doc->win_task when a CDoc is recalculated + //use DocRecalc(). CDoc *doc = DocRead(filename, flags); //doc->head which is equ to doc is the @@ -93,16 +93,16 @@ body {background-color:#000000;} '\n'; } -/*See TipOfDay. +/*See TipOfDay. -Note: Not all CDocEntry's are full-sized nodes. -Some are MAlloced with a smaller size to save -mem. They all have at least the size CDocEntryBase. +Note: Not all CDocEntry's are full-sized nodes. +Some are MAlloced with a smaller size to save +mem. They all have at least the size CDocEntryBase. -Note: CDocEntry's should be alloced from the +Note: CDocEntry's should be alloced from the heap of the owning task, doc->mem_task. -The flag arrays doldoc.type_flags_form, etc +The flag arrays doldoc.type_flags_form, etc are useful. */ diff --git a/docs/Demo/DolDoc/Form.html b/docs/Demo/DolDoc/Form.html index 5be51258..105c3364 100755 --- a/docs/Demo/DolDoc/Form.html +++ b/docs/Demo/DolDoc/Form.html @@ -75,7 +75,7 @@ body {background-color:#000000;} ClassRep(&fds); Free(fds.address1); Free(fds.address2); - //See also ClassRepD(). + //See also ClassRepD(). } FormDemo; diff --git a/docs/Demo/DolDoc/MenuBttn.html b/docs/Demo/DolDoc/MenuBttn.html index 817171e3..b5ef9385 100755 --- a/docs/Demo/DolDoc/MenuBttn.html +++ b/docs/Demo/DolDoc/MenuBttn.html @@ -30,7 +30,7 @@ body {background-color:#000000;} //about the same as bttns, but don't have a border. I64 PopUpFreq() -{//See also PopUpRangeI64() +{//See also PopUpRangeI64() I64 i; CDoc *doc = DocNew; diff --git a/docs/Demo/DolDoc/MenuSprite.html b/docs/Demo/DolDoc/MenuSprite.html index 017355ed..a3d208ec 100755 --- a/docs/Demo/DolDoc/MenuSprite.html +++ b/docs/Demo/DolDoc/MenuSprite.html @@ -40,7 +40,7 @@ body {background-color:#000000;} '\n'; //Sprite with flags for left-expression and an exit. - //See doldoc.default_de_flags. Note the %d in the string for the sprite number. + //See doldoc.default_de_flags. Note the %d in the string for the sprite number. Sprite(<1>, "$LTBLUE$$SP+X,\"50 Hz\",LE=50,BI=%d$"); "\n\n\n" diff --git a/docs/Demo/DolDoc/TextDemo.html b/docs/Demo/DolDoc/TextDemo.html index 9a65c06a..7fde5a66 100755 --- a/docs/Demo/DolDoc/TextDemo.html +++ b/docs/Demo/DolDoc/TextDemo.html @@ -44,7 +44,7 @@ body {background-color:#000000;} "Invert : Test\n\n" "UnderLine: Test\n\n" //<CTRL-SHIFT-T> on this link to toggle individual commands. - "Link : KStart16.CC\n\n\n" + "Link : KStart16.CC\n\n\n" "Bttn : OKAY\n\n\n\n";
diff --git a/docs/Demo/DolDoc/TreeDemo.html b/docs/Demo/DolDoc/TreeDemo.html index e1d87487..9a85ab51 100755 --- a/docs/Demo/DolDoc/TreeDemo.html +++ b/docs/Demo/DolDoc/TreeDemo.html @@ -47,7 +47,7 @@ body {background-color:#000000;}
DocPrint(doc, "$LK,\"%s\",A=\"FI:%s\"$\n", tmpde->name, tmpde->full_name); //Note there is also a routine //to delete an entire CDirEntry tree. - //See DirTreeDel(). + //See DirTreeDel(). DirEntryDel(tmpde); tmpde = tmpde1; } diff --git a/docs/Demo/DolDoc/UnusedDefine.html b/docs/Demo/DolDoc/UnusedDefine.html index 65a5606c..66fc1034 100755 --- a/docs/Demo/DolDoc/UnusedDefine.html +++ b/docs/Demo/DolDoc/UnusedDefine.html @@ -26,16 +26,16 @@ body {background-color:#000000;}
 /*Scans the sym table and checks
-each HTT_DEFINE_STR entry to see if
+each HTT_DEFINE_STR entry to see if
 it only occurs once in files.
 
 It's a brute force solution, but
 gets the job done... slowly.
 
-Find() returns a count of matches.
+Find() returns a count of matches.
 
-FileOcc() is Find() with
-output Silent().
+FileOcc() is Find() with
+output Silent().
 */
 
 U0 UnusedDefineScan()
diff --git a/docs/Demo/DolDoc/index.html b/docs/Demo/DolDoc/index.html
new file mode 100755
index 00000000..98c739be
--- /dev/null
+++ b/docs/Demo/DolDoc/index.html
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Demo/DolDoc
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/01 16:15 0695 CallBack.CC
+07/01 16:15 0436 ClickCallBack.CC
+12/18 19:06 037D CursorMove.CC
+07/01 16:15 055A Data.CC
+12/18 19:08 01EA DefineStr.CC
+07/01 16:15 0A28 FileRead.CC
+12/18 19:12 0613 Form.CC
+05/12 16:28 0730 MenuBttn.CC
+12/18 19:15 047F MenuSprite.CC
+12/18 19:16 02E3 NumBible.CC
+12/18 19:16 0374 TextDemo.CC
+01/20 13:50 03C5 TreeDemo.CC
+12/18 19:20 075E UnusedDefine.CC
+02/19 22:55 1289 DemoDoc.DD
+
+ diff --git a/docs/Demo/Exceptions.html b/docs/Demo/Exceptions.html index 3d7b81f4..c582ec34 100755 --- a/docs/Demo/Exceptions.html +++ b/docs/Demo/Exceptions.html @@ -28,7 +28,7 @@ body {background-color:#000000;} //WARNING: Don't return out of a catch{}. This //might get fixed. -//You can use PutExcept() in a catch stmt +//You can use PutExcept() in a catch stmt //and it will report args. Bool Prompt(I64 i) { diff --git a/docs/Demo/ExtChars.html b/docs/Demo/ExtChars.html index c5ea8e8a..23917744 100755 --- a/docs/Demo/ExtChars.html +++ b/docs/Demo/ExtChars.html @@ -55,9 +55,9 @@ body {background-color:#000000;} } SrcExample; -//See ::/Demo/ScreenCodes.CC, ::/Demo/Graphics/CharAnimation.CC, -//::/Demo/Games/CharDemo.CC and ::/Demo/Graphics/FontEd.CC. +//See ::/Demo/ScreenCodes.CC, ::/Demo/Graphics/CharAnimation.CC, +//::/Demo/Games/CharDemo.CC and ::/Demo/Graphics/FontEd.CC. -//See char_bmp_alpha and char_bmp_alpha_numeric. +//See char_bmp_alpha and char_bmp_alpha_numeric.
diff --git a/docs/Demo/Games/BattleLines.html b/docs/Demo/Games/BattleLines.html index c79beef6..ebf6317d 100755 --- a/docs/Demo/Games/BattleLines.html +++ b/docs/Demo/Games/BattleLines.html @@ -27,7 +27,7 @@ body {background-color:#000000;}
-//Uses fixed-point.
+//Uses fixed-point.
 
 
 
@@ -409,7 +409,7 @@ body {background-color:#000000;}
                                 "}"
                                 );
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = GREEN << 4 + WHITE;
         AutoComplete;
         WinBorder;
diff --git a/docs/Demo/Games/BigGuns.html b/docs/Demo/Games/BigGuns.html
index 777e490d..5f0c43ad 100755
--- a/docs/Demo/Games/BigGuns.html
+++ b/docs/Demo/Games/BigGuns.html
@@ -25,7 +25,7 @@ body {background-color:#000000;}
 
 
 
-//Uses fixed-point.
+//Uses fixed-point.
 
 class MyMass:CMass
 {
@@ -291,7 +291,7 @@ body {background-color:#000000;}
 
         PopUpOk("The map scrolls.\n");
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
 
         MenuPush(       "File {"
                                 "  Abort(,CH_SHIFT_ESC);"
diff --git a/docs/Demo/Games/BlackDiamond.html b/docs/Demo/Games/BlackDiamond.html
index c7ddd022..e493dd1a 100755
--- a/docs/Demo/Games/BlackDiamond.html
+++ b/docs/Demo/Games/BlackDiamond.html
@@ -79,7 +79,7 @@ body {background-color:#000000;}
 
                                 <6>/* Graphics Not Rendered in HTML */
 
-//See ::/Doc/Credits.DD.
+//See ::/Doc/Credits.DD.
 
 
 
@@ -339,7 +339,7 @@ body {background-color:#000000;}
                                 "  Right(,,SC_CURSOR_RIGHT);"
                                 "}"
                                 );
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         WinBorder;
         WinMax;
diff --git a/docs/Demo/Games/BomberGolf.html b/docs/Demo/Games/BomberGolf.html
index bf6392b3..8ffaebca 100755
--- a/docs/Demo/Games/BomberGolf.html
+++ b/docs/Demo/Games/BomberGolf.html
@@ -363,7 +363,7 @@ body {background-color:#000000;}
                                 "  Bomb(,CH_SPACE);"
                                 "}"
                                 );
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         WinBorder;
         WinMax;
diff --git a/docs/Demo/Games/CastleFrankenstein.html b/docs/Demo/Games/CastleFrankenstein.html
index c57d7d6a..063f754e 100755
--- a/docs/Demo/Games/CastleFrankenstein.html
+++ b/docs/Demo/Games/CastleFrankenstein.html
@@ -25,7 +25,7 @@ body {background-color:#000000;}
 
 
 
-//Uses fixed-point.
+//Uses fixed-point.
 
 RegDefault("ZealOS/CastleFrankenstein", "F64 best_score=9999;\n");
 RegExe("ZealOS/CastleFrankenstein");
@@ -624,7 +624,7 @@ body {background-color:#000000;}
                                 "}"
                                 );
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = DKGRAY << 4 + WHITE;
         AutoComplete;
         WinBorder;
diff --git a/docs/Demo/Games/CharDemo.html b/docs/Demo/Games/CharDemo.html
index d97b72bc..279f066a 100755
--- a/docs/Demo/Games/CharDemo.html
+++ b/docs/Demo/Games/CharDemo.html
@@ -30,7 +30,7 @@ body {background-color:#000000;}
 this way, unless for fun.  You can just make device context bigger than
 the screen and scroll around.
 
-See  ::/Demo/Games/RawHide.CC or ::/Demo/Games/BigGuns.CC.
+See  ::/Demo/Games/RawHide.CC or ::/Demo/Games/BigGuns.CC.
 
 The nice thing about character graphics are the animations.
 */
@@ -60,7 +60,7 @@ body {background-color:#000000;}
                 for (j = 0; j < task->win_width; j++)
                         //By the time you clip to window and handle Fs->scroll_x, Fs->scroll_y,
                         //it is too much trouble to do raw access to gr.text_base like we do
-                        //in ::/Demo/Games/Maze.CC.
+                        //in ::/Demo/Games/Maze.CC.
                         TextChar(task, FALSE, j, i, *ptr++);
         }
 }
@@ -170,7 +170,7 @@ body {background-color:#000000;}
 {
         I64 sc;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = YELLOW << 4 + BLUE;
         AutoComplete;
         WinBorder;
diff --git a/docs/Demo/Games/Chess.html b/docs/Demo/Games/Chess.html
index b21b5415..a8e0534d 100755
--- a/docs/Demo/Games/Chess.html
+++ b/docs/Demo/Games/Chess.html
@@ -1066,7 +1066,7 @@ body {background-color:#000000;}
 {
         I64 arg1, arg2, cur_piece;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         WinBorder;
         WinMax;
diff --git a/docs/Demo/Games/CircleTrace.html b/docs/Demo/Games/CircleTrace.html
index 2f338027..b306fe40 100755
--- a/docs/Demo/Games/CircleTrace.html
+++ b/docs/Demo/Games/CircleTrace.html
@@ -67,7 +67,7 @@ body {background-color:#000000;}
         F64  rad, t0, total_distance;
         CDC *dc = DCAlias;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->song_task = Spawn(&SongTask, NULL, "Song",, Fs);
         AutoComplete;
         WinBorder;
@@ -128,7 +128,7 @@ body {background-color:#000000;}
                                         avg_error = total_error / total_distance;
                                         score = elapsed_time * avg_error;
 
-                                        //Sleep()s until the next time the
+                                        //Sleep()s until the next time the
                                         //window mgr task runs.  The
                                         //window mgr calls the UpdateWin() routine
                                         //and places messages in the que, so there's
diff --git a/docs/Demo/Games/Collision.html b/docs/Demo/Games/Collision.html
index e9ab88b6..fb28dc91 100755
--- a/docs/Demo/Games/Collision.html
+++ b/docs/Demo/Games/Collision.html
@@ -25,9 +25,9 @@ body {background-color:#000000;}
 
 
 
-/*Uses fixed-point arithmetic
+/*Uses fixed-point arithmetic
 because it used to be faster than floating
-point.  See ::/Demo/Lectures/FixedPoint.CC.
+point.  See ::/Demo/Lectures/FixedPoint.CC.
 
 The decimal place is between
 bits 31 and 32.
@@ -179,7 +179,7 @@ body {background-color:#000000;}
 
 U0 Collision()
 {
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Init;
         Fs->animate_task = Spawn(&AnimateTask, NULL, "Animate",, Fs);
         DocCursor;
diff --git a/docs/Demo/Games/Digits.html b/docs/Demo/Games/Digits.html
index 371b6982..5dfaa2c5 100755
--- a/docs/Demo/Games/Digits.html
+++ b/docs/Demo/Games/Digits.html
@@ -30,7 +30,7 @@ body {background-color:#000000;}
 //gives a name to it.  Strings like
 //this are known as Define entries.
 
-//See ST_RAINBOW_10
+//See ST_RAINBOW_10
 
 U0 PrintDigit(U8 ch)
 {
@@ -53,7 +53,7 @@ body {background-color:#000000;}
         I64 num, ch, i;
         U8  answer[1024];
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = DKGRAY << 4 + WHITE;
         DocClear;
 
diff --git a/docs/Demo/Games/DunGen.html b/docs/Demo/Games/DunGen.html
index a77aee0f..63015ed3 100755
--- a/docs/Demo/Games/DunGen.html
+++ b/docs/Demo/Games/DunGen.html
@@ -70,7 +70,7 @@ body {background-color:#000000;}
 
 
 //These are indexed by color #.
-//See COLORS.
+//See COLORS.
 
 U8 *tiles1[16]={NULL, <7> , <5> , NULL, NULL, NULL, NULL, NULL, <6> , NULL, NULL, NULL, NULL, NULL, NULL, NULL};
 
@@ -140,8 +140,8 @@ body {background-color:#000000;}
         dc_t->flags |= DCF_TRANSFORMATION;
 
         //You could make it much more efficient
-        //if you did it like ::/Demo/Games/BigGuns.CC
-        //with a CDC.
+        //if you did it like ::/Demo/Games/BigGuns.CC
+        //with a CDC.
 
         for (y = -SCREEN_HEIGHT / 2; y < SCREEN_HEIGHT / 2; y++)
         {
@@ -387,7 +387,7 @@ body {background-color:#000000;}
                                 "}"
                                 );
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = BLACK << 4 + WHITE;
         AutoComplete;
         WinBorder;
diff --git a/docs/Demo/Games/ElephantWalk.html b/docs/Demo/Games/ElephantWalk.html
index 7f69bf69..3d266c0e 100755
--- a/docs/Demo/Games/ElephantWalk.html
+++ b/docs/Demo/Games/ElephantWalk.html
@@ -61,7 +61,7 @@ body {background-color:#000000;}
 U0 ElephantWalk()
 {
         I64 sc,
-                x = Fs->pix_width >> 1, y = Fs->pix_height >> 1, //Fs is current CTask struct.
+                x = Fs->pix_width >> 1, y = Fs->pix_height >> 1, //Fs is current CTask struct.
                 x_last = x;
 
         AutoComplete;
@@ -84,7 +84,7 @@ body {background-color:#000000;}
                 {
                         case 0:
                                 switch (sc.u8[0])
-                                {//Scan code lowest byte
+                                {//Scan code lowest byte
                                         case SC_CURSOR_UP:
                                                 y -= 32;
                                                 if (y < 0)
diff --git a/docs/Demo/Games/FlapBat.html b/docs/Demo/Games/FlapBat.html
index 778a4074..e2f9e965 100755
--- a/docs/Demo/Games/FlapBat.html
+++ b/docs/Demo/Games/FlapBat.html
@@ -271,7 +271,7 @@ body {background-color:#000000;}
 
         PopUpOk("Use $GREEN$<SPACE>$FG$ to flap.\nHold down to glide.");
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = LTGRAY << 4 + WHITE;
         WinBorder(ON);
         WinHorz(1, TEXT_COLS / 2);
diff --git a/docs/Demo/Games/FlatTops.html b/docs/Demo/Games/FlatTops.html
index b4463761..85705ff5 100755
--- a/docs/Demo/Games/FlatTops.html
+++ b/docs/Demo/Games/FlatTops.html
@@ -953,7 +953,7 @@ body {background-color:#000000;}
 {
         I64 arg1, arg2;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = BLUE << 4 + WHITE;
         AutoComplete;
         WinBorder;
diff --git a/docs/Demo/Games/Halogen.html b/docs/Demo/Games/Halogen.html
index 89f26e5c..465006eb 100755
--- a/docs/Demo/Games/Halogen.html
+++ b/docs/Demo/Games/Halogen.html
@@ -110,7 +110,7 @@ body {background-color:#000000;}
 U0 Halogen()
 {
         I64 arg1, arg2, ch=0, sc=0;
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = BLACK << 4 + WHITE;
         MenuPush(       "File {"
                                 "  Abort(,CH_SHIFT_ESC);"
diff --git a/docs/Demo/Games/MassSpring.html b/docs/Demo/Games/MassSpring.html
index cf7853b3..08a93185 100755
--- a/docs/Demo/Games/MassSpring.html
+++ b/docs/Demo/Games/MassSpring.html
@@ -139,7 +139,7 @@ body {background-color:#000000;}
                         "Right-Click and drag to\n"
                         "connect with spring.\n\n"
                         "Springs are 100 pixs long.\n");
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         WinBorder;
         WinMax;
diff --git a/docs/Demo/Games/Maze.html b/docs/Demo/Games/Maze.html
index a48dbb41..d17d9427 100755
--- a/docs/Demo/Games/Maze.html
+++ b/docs/Demo/Games/Maze.html
@@ -32,7 +32,7 @@ body {background-color:#000000;}
 U32 text[TEXT_ROWS][TEXT_COLS];
 
 U0 DrawIt(CTask *task, CDC *)
-{ //gr.text_base gets clear 60fps, so we must use our own permanent text array.
+{ //gr.text_base gets clear 60fps, so we must use our own permanent text array.
         MemCopy(gr.text_base + TEXT_COLS, text, (TEXT_ROWS - 1) * TEXT_COLS * sizeof(U32));
 
         // You can copy it this way, if you like:
@@ -57,7 +57,7 @@ body {background-color:#000000;}
 
 //Four directions:
 //      0=Up, 1=right,2=down,3=left
-I64 dir_x[4] = { 0, +1,  0, -1},   // Could use gr_x_offsets2,gr_y_offsets2
+I64 dir_x[4] = { 0, +1,  0, -1},   // Could use gr_x_offsets2,gr_y_offsets2
         dir_y[4] = {+1,  0, -1,  0};
 
 U0 SolveMaze(I64 x, I64 y)
@@ -114,7 +114,7 @@ body {background-color:#000000;}
 {
         I64 ch, x, y;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         WinBorder;
         WinMax;
diff --git a/docs/Demo/Games/RainDrops.html b/docs/Demo/Games/RainDrops.html
index 1c37edb4..b6954024 100755
--- a/docs/Demo/Games/RainDrops.html
+++ b/docs/Demo/Games/RainDrops.html
@@ -199,7 +199,7 @@ body {background-color:#000000;}
                                 "  OpenLower(,'2');"
                                 "}"
                                 );
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         WinBorder;
         WinMax;
diff --git a/docs/Demo/Games/RawHide.html b/docs/Demo/Games/RawHide.html
index e1b249b3..2563597b 100755
--- a/docs/Demo/Games/RawHide.html
+++ b/docs/Demo/Games/RawHide.html
@@ -25,7 +25,7 @@ body {background-color:#000000;}
 
 
 
-//Uses fixed-point.
+//Uses fixed-point.
 
 RegDefault("ZealOS/RawHide", "F64 best_score=9999;\n");
 RegExe("ZealOS/RawHide");
@@ -604,7 +604,7 @@ body {background-color:#000000;}
 U0 RawHide()
 {
         I64 message_code, arg1, arg2;
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         MenuPush(
                                 "File {"
                                 "  Abort(,CH_SHIFT_ESC);"
diff --git a/docs/Demo/Games/Rocket.html b/docs/Demo/Games/Rocket.html
index eb06169b..64998e25 100755
--- a/docs/Demo/Games/Rocket.html
+++ b/docs/Demo/Games/Rocket.html
@@ -185,7 +185,7 @@ body {background-color:#000000;}
 {
         CMathODE *ode = ODENew(0, 1e-2, ODEF_HAS_MASSES);
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = YELLOW << 4 + BLUE;
         MenuPush(       "File {"
                                 "  Abort(,CH_SHIFT_ESC);"
diff --git a/docs/Demo/Games/RocketScience.html b/docs/Demo/Games/RocketScience.html
index 031db040..d5a4ccbe 100755
--- a/docs/Demo/Games/RocketScience.html
+++ b/docs/Demo/Games/RocketScience.html
@@ -210,7 +210,7 @@ body {background-color:#000000;}
         //You might also factor-in fuel slosh in the tank.
 
         //To do this,  you would have to set-up state vars for mass and
-        //do A=F/m manually instead of relyin on ODECallDerivative() to divide
+        //do A=F/m manually instead of relyin on ODECallDerivative() to divide
         //by mass.
 }
 
@@ -260,7 +260,7 @@ body {background-color:#000000;}
 
 U0 RocketScience()
 {
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = YELLOW << 4 + BLUE;
         MenuPush(       "File {"
                                 "  Abort(,CH_SHIFT_ESC);"
diff --git a/docs/Demo/Games/Squirt.html b/docs/Demo/Games/Squirt.html
index 18968651..10a2a3f9 100755
--- a/docs/Demo/Games/Squirt.html
+++ b/docs/Demo/Games/Squirt.html
@@ -368,7 +368,7 @@ body {background-color:#000000;}
 {
         I64 sc;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = YELLOW << 4 + BLUE;
         Fs->song_task = Spawn(&SongTask, NULL, "Song",, Fs);
         AutoComplete;
diff --git a/docs/Demo/Games/Stadium/Stadium.html b/docs/Demo/Games/Stadium/Stadium.html
index ead74e67..0fba2898 100755
--- a/docs/Demo/Games/Stadium/Stadium.html
+++ b/docs/Demo/Games/Stadium/Stadium.html
@@ -132,7 +132,7 @@ body {background-color:#000000;}
 {
         I64 message_code, arg1, arg2, ch = 0;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Cd(__DIR__);
         Fs->win_inhibit |= WIG_DBL_CLICK;
 
diff --git a/docs/Demo/Games/Stadium/index.html b/docs/Demo/Games/Stadium/index.html
new file mode 100755
index 00000000..af34cdfb
--- /dev/null
+++ b/docs/Demo/Games/Stadium/index.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Demo/Games/Stadium
+DATE_ TIME_  SIZE
+07/02 23:10 00000 .
+07/02 23:10 00000 ..
+12/18 16:00 00FBB Stadium.CC
+12/17 20:52 00259 StadiumGen.CC
+09/27 11:24 49C2F StadiumBG.DD
+06/17 01:09 01262 StadiumBG.GR
+
+ diff --git a/docs/Demo/Games/Talons.html b/docs/Demo/Games/Talons.html index 46489d05..8578d428 100755 --- a/docs/Demo/Games/Talons.html +++ b/docs/Demo/Games/Talons.html @@ -25,7 +25,7 @@ body {background-color:#000000;}
-//Uses fixed-point.
+//Uses fixed-point.
 
 RegDefault("ZealOS/Talons", "F64 best_score=9999;\n");
 RegExe("ZealOS/Talons");
@@ -1318,7 +1318,7 @@ body {background-color:#000000;}
 {
         I64 ch, sc;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         MenuPush(
                                 "File {"
                                 "  Abort(,CH_SHIFT_ESC);"
diff --git a/docs/Demo/Games/TheDead.html b/docs/Demo/Games/TheDead.html
index 5ae031d7..6d96cabd 100755
--- a/docs/Demo/Games/TheDead.html
+++ b/docs/Demo/Games/TheDead.html
@@ -45,7 +45,7 @@ body {background-color:#000000;}
 
 /*This is a sprite created and edited by pressing
 <CTRL-r>.  When created, they are assigned
-a num.  Press <CTRL-t>, to see the hidden DolDoc
+a num.  Press <CTRL-t>, to see the hidden DolDoc
 place holder for the sprite.    The text in quotes
 can be set to whatever you want or nothing,
 but the ending num can't be changed.    It
@@ -71,7 +71,7 @@ body {background-color:#000000;}
 U0 DrawIt(CTask *task, CDC *dc)
 {
         I64 i, j;
-        //<CTRL-t> now to see the DolDoc place holder
+        //<CTRL-t> now to see the DolDoc place holder
         //where the sprite num is encoded. $IB...$ stands
         //for "insert ptr to binary object".
         Sprite3(dc, x, y, 0, <1>);
@@ -124,7 +124,7 @@ body {background-color:#000000;}
                                 "  Down(,,SC_CURSOR_DOWN);"
                                 "}"
                                 );
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         WinBorder;
         WinMax;
@@ -139,7 +139,7 @@ body {background-color:#000000;}
                 {
                         if (message_code = MessageScan(&arg1, &arg2, 1 << MESSAGE_KEY_DOWN | 1 << MESSAGE_KEY_UP))
                         {
-                                //With keyboard messages, the two message args
+                                //With keyboard messages, the two message args
                                 //are the scan code and ascii val for the key.
                                 sc = arg2;
                                 ch = arg1;
diff --git a/docs/Demo/Games/TreeCheckers.html b/docs/Demo/Games/TreeCheckers.html
index 84b90b05..f885f9cc 100755
--- a/docs/Demo/Games/TreeCheckers.html
+++ b/docs/Demo/Games/TreeCheckers.html
@@ -382,7 +382,7 @@ body {background-color:#000000;}
         I64   message_code, arg1, arg2, ch, sc;
         Unit *tmpu;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         MenuPush(       "File {"
                                 "  Abort(,CH_SHIFT_ESC);"
                                 "  Exit(,CH_ESC);"
diff --git a/docs/Demo/Games/Varoom.html b/docs/Demo/Games/Varoom.html
index ef4bc0cf..e6e20d07 100755
--- a/docs/Demo/Games/Varoom.html
+++ b/docs/Demo/Games/Varoom.html
@@ -776,7 +776,7 @@ body {background-color:#000000;}
                                 "  Right(,,SC_CURSOR_RIGHT);"
                                 "}"
                                 );
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         try
         {
                 Fs->text_attr = YELLOW << 4 + BLUE;
diff --git a/docs/Demo/Games/Wenceslas.html b/docs/Demo/Games/Wenceslas.html
index db558340..8f1383f1 100755
--- a/docs/Demo/Games/Wenceslas.html
+++ b/docs/Demo/Games/Wenceslas.html
@@ -543,7 +543,7 @@ body {background-color:#000000;}
                                 "}"
                                 );
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         WinBorder;
         WinMax;
diff --git a/docs/Demo/Games/Whap.html b/docs/Demo/Games/Whap.html
index 17337702..2d315366 100755
--- a/docs/Demo/Games/Whap.html
+++ b/docs/Demo/Games/Whap.html
@@ -138,7 +138,7 @@ body {background-color:#000000;}
         I64               i;
         CMathODE *ode = ODENew(0, 1e-2, ODEF_HAS_MASSES);
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         WinBorder;
         WinMax;
diff --git a/docs/Demo/Games/Zing.html b/docs/Demo/Games/Zing.html
index b8d40e0c..e5826acb 100755
--- a/docs/Demo/Games/Zing.html
+++ b/docs/Demo/Games/Zing.html
@@ -172,7 +172,7 @@ body {background-color:#000000;}
                                 "  Restart(,'\n');"
                                 "}"
                                 );
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         WinBorder;
         WinMax;
diff --git a/docs/Demo/Games/ZoneOut.html b/docs/Demo/Games/ZoneOut.html
index a749248b..f3a16aa4 100755
--- a/docs/Demo/Games/ZoneOut.html
+++ b/docs/Demo/Games/ZoneOut.html
@@ -313,7 +313,7 @@ body {background-color:#000000;}
                                 "}"
                                 );
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->text_attr = YELLOW << 4 + WHITE;
         AutoComplete;
         WinBorder;
diff --git a/docs/Demo/Games/index.html b/docs/Demo/Games/index.html
new file mode 100755
index 00000000..1bb1c669
--- /dev/null
+++ b/docs/Demo/Games/index.html
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Demo/Games
+DATE_ TIME_  SIZE
+07/02 23:10 00000 .
+07/02 23:10 00000 ..
+07/02 23:10 00000 Stadium
+12/15 02:36 02388 BattleLines.CC
+07/02 03:34 01B55 BigGuns.CC
+07/01 15:58 0F4A2 BlackDiamond.CC
+07/01 15:58 04CA1 BomberGolf.CC
+07/01 15:58 0592B CastleFrankenstein.CC
+12/17 19:15 0118E CharDemo.CC
+06/26 20:25 07A0F Chess.CC
+07/01 15:58 00DE4 CircleTrace.CC
+12/17 20:08 01134 Collision.CC
+07/01 16:15 00791 Digits.CC
+07/01 15:58 047B8 DunGen.CC
+12/17 20:44 0D2A6 ElephantWalk.CC
+07/01 15:58 01F8D FlapBat.CC
+07/01 16:15 06D9A FlatTops.CC
+12/17 20:16 00D3D Halogen.CC
+12/17 19:59 00D99 MassSpring.CC
+07/01 15:58 00B12 Maze.CC
+12/17 19:37 00F3D RainDrops.CC
+07/01 15:58 06DD3 RawHide.CC
+12/17 18:48 13A38 Rocket.CC
+12/15 23:05 158D5 RocketScience.CC
+12/15 02:14 14BDB Squirt.CC
+07/02 04:14 226F9 Talons.CC
+12/17 19:27 01D13 TheDead.CC
+12/17 20:30 00996 TicTacToe.CC
+06/26 18:14 02071 TreeCheckers.CC
+07/01 15:58 06132 Varoom.CC
+07/01 15:58 0FFEE Wenceslas.CC
+12/23 11:34 01313 Whap.CC
+12/17 17:23 01473 Zing.CC
+07/02 03:34 1B61B ZoneOut.CC
+
+ diff --git a/docs/Demo/Graphics/Bounce.html b/docs/Demo/Graphics/Bounce.html index afd0231f..63db8fc4 100755 --- a/docs/Demo/Graphics/Bounce.html +++ b/docs/Demo/Graphics/Bounce.html @@ -25,7 +25,7 @@ body {background-color:#000000;}
-//Uses fixed-point-arithmetic.
+//Uses fixed-point-arithmetic.
 
 I64 x[16], y[16], dx[16], dy[16];
 
diff --git a/docs/Demo/Graphics/Box.html b/docs/Demo/Graphics/Box.html
index 024d621e..7cf1511f 100755
--- a/docs/Demo/Graphics/Box.html
+++ b/docs/Demo/Graphics/Box.html
@@ -55,7 +55,7 @@ body {background-color:#000000;}
 U0 Box()
 {
         F64 theta = 0, phi = 0, omega = 0, s = 1, s1 = 1.05;
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         DocClear;
         Fs->draw_it = &DrawIt;
         while (!CharScan)
diff --git a/docs/Demo/Graphics/Cartesian.html b/docs/Demo/Graphics/Cartesian.html
index 42f5898f..beb827eb 100755
--- a/docs/Demo/Graphics/Cartesian.html
+++ b/docs/Demo/Graphics/Cartesian.html
@@ -80,7 +80,7 @@ body {background-color:#000000;}
 Cartesian;
 
 //For better performance, compile the expression entered by the
-//user one time with LexExpression2Bin() and use Call().
-//See ::/Demo/CompileDemo.CC.
+//user one time with LexExpression2Bin() and use Call().
+//See ::/Demo/CompileDemo.CC.
 
diff --git a/docs/Demo/Graphics/CharAnimation.html b/docs/Demo/Graphics/CharAnimation.html index 3e680563..6c336dec 100755 --- a/docs/Demo/Graphics/CharAnimation.html +++ b/docs/Demo/Graphics/CharAnimation.html @@ -27,8 +27,8 @@ body {background-color:#000000;}
 U8 *old_font = text.font;
 
-// See ::/Kernel/FontStd.CC, ::/Demo/ScreenCodes.CC,
-//::/Demo/ExtChars.CC, and ::/Demo/Graphics/FontEd.CC.
+// See ::/Kernel/FontStd.CC, ::/Demo/ScreenCodes.CC,
+//::/Demo/ExtChars.CC, and ::/Demo/Graphics/FontEd.CC.
 
 U64 waves[4] = {0x0011AA440011AA44,0x0022558800225588,0x0044AA110044AA11,0x0088552200885522};
 
diff --git a/docs/Demo/Graphics/Collision.html b/docs/Demo/Graphics/Collision.html
index e905f3e7..66047956 100755
--- a/docs/Demo/Graphics/Collision.html
+++ b/docs/Demo/Graphics/Collision.html
@@ -59,7 +59,7 @@ body {background-color:#000000;}
 
 U0 Collision()
 {
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->draw_it = &DrawIt;
         PressAKey;
         SettingsPop;
diff --git a/docs/Demo/Graphics/CommonAncestor.html b/docs/Demo/Graphics/CommonAncestor.html
index 24e2b11c..8d4a9e8c 100755
--- a/docs/Demo/Graphics/CommonAncestor.html
+++ b/docs/Demo/Graphics/CommonAncestor.html
@@ -135,7 +135,7 @@ body {background-color:#000000;}
         root = NULL;
         n1 = n2 = common_ancestor = 0;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->draw_it = &DrawIt;
         DocClear;
         "Scroll with {CTRL-Left Grab}.\n";
@@ -155,7 +155,7 @@ body {background-color:#000000;}
 Be careful with recursive routines in ZealOS
 because the stack does not grow and will overflow.
 
-See ::/Demo/StackGrow.CC.
+See ::/Demo/StackGrow.CC.
 */
 
diff --git a/docs/Demo/Graphics/Doodle.html b/docs/Demo/Graphics/Doodle.html index 75d50a64..2b91f56a 100755 --- a/docs/Demo/Graphics/Doodle.html +++ b/docs/Demo/Graphics/Doodle.html @@ -32,7 +32,7 @@ body {background-color:#000000;}
I64 message_code, i, x1, y1, x2, y2, arg1, arg2, color = BLACK; CDC *dc = DCAlias; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->win_inhibit = WIG_TASK_DEFAULT - WIF_SELF_FOCUS - WIF_SELF_BORDER; AutoComplete; diff --git a/docs/Demo/Graphics/Elephant.html b/docs/Demo/Graphics/Elephant.html index 5a4e87f4..2979739e 100755 --- a/docs/Demo/Graphics/Elephant.html +++ b/docs/Demo/Graphics/Elephant.html @@ -218,7 +218,7 @@ body {background-color:#000000;} U0 Main() { - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->draw_it = &DrawIt; Fs->song_task = Spawn(&SongTask, NULL, "Song",, Fs); AutoComplete; diff --git a/docs/Demo/Graphics/FontEd.html b/docs/Demo/Graphics/FontEd.html index 63460f31..8c9a9cbb 100755 --- a/docs/Demo/Graphics/FontEd.html +++ b/docs/Demo/Graphics/FontEd.html @@ -40,11 +40,11 @@ body {background-color:#000000;} If you want to change the system font permanently, save to a file with this font editor program -and cut and paste the code into ::/Kernel/FontStd.CC. -You will need to recompile Kernel by calling BootHDIns(). +and cut and paste the code into ::/Kernel/FontStd.CC. +You will need to recompile Kernel by calling BootHDIns(). -See ::/Demo/ExtChars.CC, ::/Demo/Games/CharDemo.CC, -::/Demo/Graphics/CharAnimation.CC and ::/Demo/ScreenCodes.CC. +See ::/Demo/ExtChars.CC, ::/Demo/Games/CharDemo.CC, +::/Demo/Graphics/CharAnimation.CC and ::/Demo/ScreenCodes.CC. */ #define BLOW_UP_CHAR_X (18 * FONT_WIDTH) @@ -112,7 +112,7 @@ body {background-color:#000000;} { I64 message_code, arg1, arg2, k; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush MenuPush( "File {" " SaveAs(,CH_CTRLA);" " Abort(,CH_SHIFT_ESC);" diff --git a/docs/Demo/Graphics/GrDir.html b/docs/Demo/Graphics/GrDir.html index c8d26413..135b2be3 100755 --- a/docs/Demo/Graphics/GrDir.html +++ b/docs/Demo/Graphics/GrDir.html @@ -108,7 +108,7 @@ body {background-color:#000000;} { // Draw a GrDir sprite into DolDoc: align arg is 0,1,2 for left,center,right. // make into either Link and PopUp, or Left-Macro, // so it can be left/right clicked just like the text links. - // See DocSprite. + // See DocSprite. I64 size; U8 *st; diff --git a/docs/Demo/Graphics/Grid.html b/docs/Demo/Graphics/Grid.html index fef12070..78ebfe23 100755 --- a/docs/Demo/Graphics/Grid.html +++ b/docs/Demo/Graphics/Grid.html @@ -41,7 +41,7 @@ body {background-color:#000000;} MemCopy(&old_grid, &mouse_grid, sizeof(CGridGlobals)); GridInit; - mouse_grid.snap = TRUE; //You can set other stuff. + mouse_grid.snap = TRUE; //You can set other stuff. mouse_grid.x = GRID; mouse_grid.y = GRID; old_draw_mouse = gr.fp_draw_mouse; diff --git a/docs/Demo/Graphics/Hanoi.html b/docs/Demo/Graphics/Hanoi.html index 09a69174..b7df2170 100755 --- a/docs/Demo/Graphics/Hanoi.html +++ b/docs/Demo/Graphics/Hanoi.html @@ -174,7 +174,7 @@ body {background-color:#000000;} U0 Hanoi() { - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Init; DocClear; Fs->draw_it = &DrawIt; diff --git a/docs/Demo/Graphics/Lattice.html b/docs/Demo/Graphics/Lattice.html index f79172a0..6eed36b6 100755 --- a/docs/Demo/Graphics/Lattice.html +++ b/docs/Demo/Graphics/Lattice.html @@ -212,7 +212,7 @@ body {background-color:#000000;} " Layer9(,'9');" "}" ); - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush AutoComplete; WinBorder; WinMax; diff --git a/docs/Demo/Graphics/Life.html b/docs/Demo/Graphics/Life.html index 2c1f5768..9af19ea6 100755 --- a/docs/Demo/Graphics/Life.html +++ b/docs/Demo/Graphics/Life.html @@ -92,7 +92,7 @@ body {background-color:#000000;} cur_dc = 0; restart = FALSE; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush AutoComplete; WinBorder; WinMax; diff --git a/docs/Demo/Graphics/LightTable.html b/docs/Demo/Graphics/LightTable.html index ddb4ec07..c57bf664 100755 --- a/docs/Demo/Graphics/LightTable.html +++ b/docs/Demo/Graphics/LightTable.html @@ -554,9 +554,9 @@ body {background-color:#000000;} "contiguous chunk of physical memory.\n\n" "Mem (0x%0X):", 1024 * 1024 * 16); - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->win_inhibit = WIG_TASK_DEFAULT - WIF_SELF_FOCUS - WIF_SELF_BORDER - WIF_FOCUS_TASK_MENU; - Fs->text_attr = BLACK << 4 + WHITE; //Current CTask is Fs segment register. + Fs->text_attr = BLACK << 4 + WHITE; //Current CTask is Fs segment register. AutoComplete; WinBorder; WinMax; diff --git a/docs/Demo/Graphics/Palette.html b/docs/Demo/Graphics/Palette.html index 6b17b512..82619679 100755 --- a/docs/Demo/Graphics/Palette.html +++ b/docs/Demo/Graphics/Palette.html @@ -33,8 +33,8 @@ body {background-color:#000000;} for (i = 0; i < COLORS_NUM; i++) "$BLACK$$BG,%d$__%-8Z__$FG$$BG$\n", i, i, "ST_COLORS"; - SettingsPush; //See SettingsPush - //Alternatively, use GrPaletteSet(gr_palette_gray); + SettingsPush; //See SettingsPush + //Alternatively, use GrPaletteSet(gr_palette_gray); for (i = 0; i < COLORS_NUM; i++) { j = 0xFF * i / (COLORS_NUM - 1); @@ -50,7 +50,7 @@ body {background-color:#000000;} PressAKey; LFBFlush; - //SettingsPop() restores original palette + //SettingsPop() restores original palette SettingsPop; } diff --git a/docs/Demo/Graphics/Pick.html b/docs/Demo/Graphics/Pick.html index 1977352c..8140ab02 100755 --- a/docs/Demo/Graphics/Pick.html +++ b/docs/Demo/Graphics/Pick.html @@ -47,7 +47,7 @@ body {background-color:#000000;} if (dc->nearest_dist <= best_dist) { //Distance to nearest pix, squared - //Sqrt() is expensive so we work with distance squared. + //Sqrt() is expensive so we work with distance squared. best_dist = dc->nearest_dist; best_apple = i; } @@ -70,7 +70,7 @@ body {background-color:#000000;} x[i] = RandU16 % GR_WIDTH; y[i] = RandU16 % (GR_HEIGHT - FONT_HEIGHT * 3) + FONT_HEIGHT * 3; } - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush AutoComplete; DocCursor; DocClear; @@ -94,7 +94,7 @@ body {background-color:#000000;} while (trigger); //Use screen coordinates, not window (arg1,arg2) - //mouse.pos.x and mouse.pos.y are global vars updated + //mouse.pos.x and mouse.pos.y are global vars updated //updated by the window mgr to hold the //screen coordinates of the mouse. delta_x = x[cur_apple] - mouse.pos.x; diff --git a/docs/Demo/Graphics/Pick3D.html b/docs/Demo/Graphics/Pick3D.html index 0a9dc2a8..590fa950 100755 --- a/docs/Demo/Graphics/Pick3D.html +++ b/docs/Demo/Graphics/Pick3D.html @@ -320,7 +320,7 @@ body {background-color:#000000;} " Restart(,'\n');" "}" ); - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush AutoComplete; WinBorder; WinMax; diff --git a/docs/Demo/Graphics/PoleZeros.html b/docs/Demo/Graphics/PoleZeros.html index 5676fb21..2b41bcbb 100755 --- a/docs/Demo/Graphics/PoleZeros.html +++ b/docs/Demo/Graphics/PoleZeros.html @@ -140,7 +140,7 @@ body {background-color:#000000;} PopUpOk("Drag the poles and zeros with left mouse.\n" "Hold right mouse for phase plot.\n"); - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->win_inhibit = WIG_TASK_DEFAULT - WIF_SELF_FOCUS - WIF_SELF_BORDER; GrPaletteSet(gr_palette_gray); gr_palette[WHITE] = 0xFF0000; //White is red diff --git a/docs/Demo/Graphics/PredatorPrey.html b/docs/Demo/Graphics/PredatorPrey.html index a96dc292..6262311e 100755 --- a/docs/Demo/Graphics/PredatorPrey.html +++ b/docs/Demo/Graphics/PredatorPrey.html @@ -82,7 +82,7 @@ body {background-color:#000000;} PopUpOk("This will plot multiple predator-prey\n" "trajectories. It restarts many times\n" "with different, random, initial populations.\n"); - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush try { AutoComplete; diff --git a/docs/Demo/Graphics/ScreenCapture.html b/docs/Demo/Graphics/ScreenCapture.html index 196e35c0..5224e771 100755 --- a/docs/Demo/Graphics/ScreenCapture.html +++ b/docs/Demo/Graphics/ScreenCapture.html @@ -25,7 +25,7 @@ body {background-color:#000000;}
-//See ::/Demo/Games/Stadium/StadiumGen.CC.
+//See ::/Demo/Games/Stadium/StadiumGen.CC.
 
 U0 Main()
 {
diff --git a/docs/Demo/Graphics/ScrollBars.html b/docs/Demo/Graphics/ScrollBars.html
index 75b9e5d9..f8056ef9 100755
--- a/docs/Demo/Graphics/ScrollBars.html
+++ b/docs/Demo/Graphics/ScrollBars.html
@@ -78,7 +78,7 @@ body {background-color:#000000;}
 
 U0 ScrollBars()
 {
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Init;
         Fs->draw_it = &DrawIt;
         WinBorder(ON);
diff --git a/docs/Demo/Graphics/Shading.html b/docs/Demo/Graphics/Shading.html
index e69d4049..26b27fed 100755
--- a/docs/Demo/Graphics/Shading.html
+++ b/docs/Demo/Graphics/Shading.html
@@ -177,10 +177,10 @@ body {background-color:#000000;}
         }
 }
 
-//See ::/Demo/Graphics/SpritePlot3D.CC.
+//See ::/Demo/Graphics/SpritePlot3D.CC.
 //for a CSprite example.
 
-//See SpriteMeshEd() for a fancy example.
+//See SpriteMeshEd() for a fancy example.
 
 U0 Main()
 {
@@ -191,7 +191,7 @@ body {background-color:#000000;}
         s->sy = 7 * VIEWANGLES_SNAP;
         s->sz = 6 * VIEWANGLES_SNAP;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         WinBorder;
         WinMax;
diff --git a/docs/Demo/Graphics/Shadow.html b/docs/Demo/Graphics/Shadow.html
index d5170696..df9b5f7b 100755
--- a/docs/Demo/Graphics/Shadow.html
+++ b/docs/Demo/Graphics/Shadow.html
@@ -110,7 +110,7 @@ body {background-color:#000000;}
         omega = 0;
         s = 1.5;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         WinMax;
         Fs->draw_it = &DrawIt;
 
diff --git a/docs/Demo/Graphics/Slider.html b/docs/Demo/Graphics/Slider.html
index 02af840d..e050a1cf 100755
--- a/docs/Demo/Graphics/Slider.html
+++ b/docs/Demo/Graphics/Slider.html
@@ -29,7 +29,7 @@ body {background-color:#000000;}
 It's conceptually easy to do a ctrl,
 but tedious.  You have complete freedom.
 
-See CCtrl.
+See CCtrl.
 */
 
 //Start of autocreated Code
diff --git a/docs/Demo/Graphics/Speedline.html b/docs/Demo/Graphics/Speedline.html
index cb5e3ed9..f50d1c0d 100755
--- a/docs/Demo/Graphics/Speedline.html
+++ b/docs/Demo/Graphics/Speedline.html
@@ -34,7 +34,7 @@ body {background-color:#000000;}
 
         dc->color = color;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->win_inhibit = WIG_TASK_DEFAULT - WIF_SELF_FOCUS - WIF_SELF_BORDER;
 
         AutoComplete;
diff --git a/docs/Demo/Graphics/SpritePlot.html b/docs/Demo/Graphics/SpritePlot.html
index 1ab98f6b..c692a3ff 100755
--- a/docs/Demo/Graphics/SpritePlot.html
+++ b/docs/Demo/Graphics/SpritePlot.html
@@ -41,12 +41,12 @@ body {background-color:#000000;}
 $IB...$ DolDoc cmd you can see by toggling
 to text with <CTRL-t>.
 
-IB's behave like string consts in CosmiC when
+IB's behave like string consts in CosmiC when
 compiled.  That is, they are ptrs to data.
 
 This file uses the persistent graphic
-device context CDC, gr.dc, while the other
-demo's use gr.dc2 which must be redrawn at
+device context CDC, gr.dc, while the other
+demo's use gr.dc2 which must be redrawn at
 60 fps by the window mgr task.  This demo
 is simpler because you do not need
 a window update callback routine.
diff --git a/docs/Demo/Graphics/SpritePlot3D.html b/docs/Demo/Graphics/SpritePlot3D.html
index 530158bf..0f26ec0b 100755
--- a/docs/Demo/Graphics/SpritePlot3D.html
+++ b/docs/Demo/Graphics/SpritePlot3D.html
@@ -64,7 +64,7 @@ body {background-color:#000000;}
 {
         F64 theta = 0, phi = 0;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->draw_it = &DrawIt;
         while (!CharScan)
         {
diff --git a/docs/Demo/Graphics/SpritePut.html b/docs/Demo/Graphics/SpritePut.html
index 8af448a8..28412cb6 100755
--- a/docs/Demo/Graphics/SpritePut.html
+++ b/docs/Demo/Graphics/SpritePut.html
@@ -48,7 +48,7 @@ body {background-color:#000000;}
 
 
 
-//Used by ::/Demo/Graphics/SpritePutExt.CC.
+//Used by ::/Demo/Graphics/SpritePutExt.CC.
 
 U0 SpritePut()
 {
diff --git a/docs/Demo/Graphics/SpritePutExt.html b/docs/Demo/Graphics/SpritePutExt.html
index 07623589..bda10f09 100755
--- a/docs/Demo/Graphics/SpritePutExt.html
+++ b/docs/Demo/Graphics/SpritePutExt.html
@@ -30,7 +30,7 @@ body {background-color:#000000;}
 $IB,"<1>",BI=1,BP="::/Demo/Graphics/SpritePut.CC,2"$
 
 That imports an external sprite.        It's
-called a DOCEF_BIN_PTR_LINK.  See BP="".
+called a DOCEF_BIN_PTR_LINK.  See BP="".
 
 Press <CTRL-r> and "Ptr to Sprite".
 Then, enter a file and the number of
@@ -48,7 +48,7 @@ body {background-color:#000000;}
         {
                 "US Map:";
                 Sprite(<1>);
-                "%h12c", '\n'; //"h" is a secondary arg.  Print 12 newline chars.
+                "%h12c", '\n'; //"h" is a secondary arg.  Print 12 newline chars.
         }
 }
 
diff --git a/docs/Demo/Graphics/SpriteRaw.html b/docs/Demo/Graphics/SpriteRaw.html
index a4f9087e..ecdd5ec0 100755
--- a/docs/Demo/Graphics/SpriteRaw.html
+++ b/docs/Demo/Graphics/SpriteRaw.html
@@ -30,7 +30,7 @@ body {background-color:#000000;}
 //See ::/Apps/GrModels.
 
 class MySprite
-{ // See Sprite Elem Types
+{ // See Sprite Elem Types
         CSpriteColor    color;
         CSpritePtPt     line1;
         CSpritePtPt     line2;
diff --git a/docs/Demo/Graphics/SpriteText.html b/docs/Demo/Graphics/SpriteText.html
index 6d527b6e..8f876376 100755
--- a/docs/Demo/Graphics/SpriteText.html
+++ b/docs/Demo/Graphics/SpriteText.html
@@ -63,7 +63,7 @@ body {background-color:#000000;}
         U8              *st;
 
         while (tmpg->type & SPG_TYPE_MASK)
-        {//Study this routine SpriteElem2Summary().
+        {//Study this routine SpriteElem2Summary().
                 st = SpriteElem2Summary(tmpg);
                 "%s\n", st;
                 Free(st);
diff --git a/docs/Demo/Graphics/SunMoon.html b/docs/Demo/Graphics/SunMoon.html
index bb608931..52ba9dc8 100755
--- a/docs/Demo/Graphics/SunMoon.html
+++ b/docs/Demo/Graphics/SunMoon.html
@@ -26,9 +26,9 @@ body {background-color:#000000;}
 
 
 /*
-gr.dc is the persistent layer.  You can access
+gr.dc is the persistent layer.  You can access
 it directly but two tasks accessing it simultaneously
-with no DCAlias() will screw-up color and stuff.
+with no DCAlias() will screw-up color and stuff.
 */
 
 U0 SunMoon()
@@ -39,7 +39,7 @@ body {background-color:#000000;}
         WinBorder;              //No Border
         WinMax;                 //Maximize window
         DocClear;               //Clear command-line text
-        Fs->text_attr = BLACK << 4 + WHITE; //Current CTask is Fs segment register.
+        Fs->text_attr = BLACK << 4 + WHITE; //Current CTask is Fs segment register.
 
         for (i = 0; i < 0x8000; i += 0x200)
         {
diff --git a/docs/Demo/Graphics/Symmetry.html b/docs/Demo/Graphics/Symmetry.html
index bdf2964d..69f175ed 100755
--- a/docs/Demo/Graphics/Symmetry.html
+++ b/docs/Demo/Graphics/Symmetry.html
@@ -35,7 +35,7 @@ body {background-color:#000000;}
         I64  message_code, x1, y1, x2, y2, arg1, arg2;
         CDC *dc = DCAlias;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Fs->win_inhibit = WIG_TASK_DEFAULT - WIF_SELF_FOCUS - WIF_SELF_BORDER;
 
         WinBorder;
diff --git a/docs/Demo/Graphics/Transform.html b/docs/Demo/Graphics/Transform.html
index f162f200..55de4fac 100755
--- a/docs/Demo/Graphics/Transform.html
+++ b/docs/Demo/Graphics/Transform.html
@@ -34,7 +34,7 @@ body {background-color:#000000;}
 Scroll bar works.
 
 The multiplication takes place in the
-Sprite3ZB routine.
+Sprite3ZB routine.
 */
 
 #define SLIDER_SPACING  20
@@ -231,7 +231,7 @@ body {background-color:#000000;}
 
 U0 TransformDemo(I64 _mp_count=mp_count)
 {
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         Init;
         Fs->win_inhibit = WIG_TASK_DEFAULT -
                                                 WIF_SELF_FOCUS - WIF_SELF_BORDER - WIF_SELF_GRAB_SCROLL - WIF_FOCUS_TASK_MENU - WIF_SELF_CTRLS;
diff --git a/docs/Demo/Graphics/WallPaperCtrl.html b/docs/Demo/Graphics/WallPaperCtrl.html
index 98ca178b..edc4a635 100755
--- a/docs/Demo/Graphics/WallPaperCtrl.html
+++ b/docs/Demo/Graphics/WallPaperCtrl.html
@@ -32,8 +32,8 @@ body {background-color:#000000;}
 that you can place ctrls on the
 wall paper.
 
-See ::/Demo/Graphics/Slider.CC
-and ::/Demo/Graphics/WallPaperFish.CC
+See ::/Demo/Graphics/Slider.CC
+and ::/Demo/Graphics/WallPaperFish.CC
 before messing with this program.
 
 It must be "System Included".
diff --git a/docs/Demo/Graphics/WinZBuf.html b/docs/Demo/Graphics/WinZBuf.html
index 48015a6d..e63f1bba 100755
--- a/docs/Demo/Graphics/WinZBuf.html
+++ b/docs/Demo/Graphics/WinZBuf.html
@@ -41,7 +41,7 @@ body {background-color:#000000;}
 
 U0 ScrollBars()
 {
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         DocClear;
         Fs->draw_it = &DrawIt;
         CharGet(, FALSE);
diff --git a/docs/Demo/Graphics/index.html b/docs/Demo/Graphics/index.html
new file mode 100755
index 00000000..2a540077
--- /dev/null
+++ b/docs/Demo/Graphics/index.html
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Demo/Graphics
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+06/26 16:52 028C 32BitColor.CC
+12/23 11:44 095C 3DPoly.CC
+12/19 01:50 0300 BSpline.CC
+12/18 01:31 0309 Blot.CC
+12/18 01:33 0364 Bounce.CC
+12/18 01:34 052B Box.CC
+12/18 01:38 0424 Cartesian.CC
+12/18 01:39 024D CharAnimation.CC
+06/24 16:06 094A Clock.CC
+12/18 01:41 0A11 Collision.CC
+07/01 15:58 0950 CommonAncestor.CC
+12/18 01:44 04D4 Doodle.CC
+12/18 01:47 1A50 EdSprite.CC
+12/18 14:25 142A Elephant.CC
+12/18 01:49 04AA Extents.CC
+12/23 17:04 0EB9 FontEd.CC
+07/02 18:20 20C7 GrDir.CC
+12/18 01:50 02E8 Grid.CC
+12/18 14:22 0D8B Hanoi.CC
+12/17 23:48 1944 Lattice.CC
+12/18 01:57 0945 Life.CC
+12/17 22:35 420E LightTable.CC
+12/18 01:59 02E8 Lines.CC
+12/18 13:09 0573 LowPassFilter.CC
+12/18 13:36 08F3 MathAudioDemo.CC
+12/18 02:00 00A4 MouseDemo.CC
+12/18 02:01 00F4 NetOfDots.CC
+12/18 02:02 026F Palette.CC
+12/18 02:04 01B8 PanText.CC
+12/18 13:14 09FD Pick.CC
+12/23 11:44 1BA4 Pick3D.CC
+12/18 14:53 1030 PoleZeros.CC
+12/18 13:26 068A PredatorPrey.CC
+12/18 02:08 0B5B RotateTank.CC
+02/19 22:55 0100 ScreenCapture.CC
+12/18 02:32 11F7 ScrollBars.CC
+07/01 15:58 13BE Shading.CC
+12/18 13:30 0937 Shadow.CC
+12/18 14:42 0D51 Slider.CC
+12/18 02:12 04EE Speedline.CC
+12/18 02:14 05C6 SpritePlot.CC
+12/23 11:45 038A SpritePlot3D.CC
+12/18 02:16 6143 SpritePut.CC
+12/18 02:17 02F1 SpritePutExt.CC
+12/18 02:19 0353 SpriteRaw.CC
+12/18 02:20 03C9 SpriteText.CC
+12/18 02:23 053B SunMoon.CC
+12/18 02:27 073E Symmetry.CC
+12/18 15:21 2567 Transform.CC
+07/01 18:00 0D6D WallPaperCtrl.CC
+07/01 18:00 19DB WallPaperFish.CC
+07/01 18:01 04A3 WallPaperStars.CC
+12/18 02:29 01BF WinZBuf.CC
+
+ diff --git a/docs/Demo/InFile/InDir.html b/docs/Demo/InFile/InDir.html index 4767a6ba..bf670463 100755 --- a/docs/Demo/InFile/InDir.html +++ b/docs/Demo/InFile/InDir.html @@ -27,8 +27,8 @@ body {background-color:#000000;}
 /* To run this, do a directory, right click on
 this file's name and sel "InFile".
-Or, type InFile(filename);
-See InFile in the glossary for more info.
+Or, type InFile(filename);
+See InFile in the glossary for more info.
 */
 
 I64 i;
diff --git a/docs/Demo/InFile/InEd.html b/docs/Demo/InFile/InEd.html
index a2af9032..f19226c3 100755
--- a/docs/Demo/InFile/InEd.html
+++ b/docs/Demo/InFile/InEd.html
@@ -27,8 +27,8 @@ body {background-color:#000000;}
 
 /* To run this, do a directory, right click on
 this file's name and sel "InFile".
-Or, type InFile(filename);
-See InFile in the glossary for more info.
+Or, type InFile(filename);
+See InFile in the glossary for more info.
 
 This InFile will renum the defines in
 InEd.DD.        Test it by numbering a few wrong
diff --git a/docs/Demo/InFile/InPopUp.html b/docs/Demo/InFile/InPopUp.html
index eeb34e92..5599a1da 100755
--- a/docs/Demo/InFile/InPopUp.html
+++ b/docs/Demo/InFile/InPopUp.html
@@ -25,7 +25,7 @@ body {background-color:#000000;}
 
 
 
-/* This is not an InFile.  It uses InStr
+/* This is not an InFile.  It uses InStr
 to run text as though from an InFile.
 
 This example shows how you can drive pop-up
diff --git a/docs/Demo/InFile/InPopUpWait.html b/docs/Demo/InFile/InPopUpWait.html
index 3410fd12..3701a1c8 100755
--- a/docs/Demo/InFile/InPopUpWait.html
+++ b/docs/Demo/InFile/InPopUpWait.html
@@ -33,7 +33,7 @@ body {background-color:#000000;}
         {
                 "PopUpNoYes;\n ";
 
-//Necessary after a DocEntryRun()
+//Necessary after a DocEntryRun()
 //which occurs when PopUp's close.
                 TaskWait;
 
diff --git a/docs/Demo/InFile/InProfile.html b/docs/Demo/InFile/InProfile.html
index d6e86025..a54bb990 100755
--- a/docs/Demo/InFile/InProfile.html
+++ b/docs/Demo/InFile/InProfile.html
@@ -27,8 +27,8 @@ body {background-color:#000000;}
 
 /* To run this, do a directory, right click on
 this file's name and sel "InFile".
-Or, type InFile(filename);
-See InFile in the glossary for more info.
+Or, type InFile(filename);
+See InFile in the glossary for more info.
 
 Profiling does not require InFiles.
 */
diff --git a/docs/Demo/InFile/index.html b/docs/Demo/InFile/index.html
new file mode 100755
index 00000000..a79fd6f5
--- /dev/null
+++ b/docs/Demo/InFile/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Demo/InFile
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/18 19:26 0124 InPopUp.CC
+12/18 19:26 0118 InSetIP.CC
+03/19 03:24 1729 InEd.DD
+12/18 19:27 0194 InDir.IN
+12/18 19:28 0312 InEd.IN
+12/18 19:28 017B InPopUpWait.IN
+09/27 11:24 0169 InProfile.IN
+
+ diff --git a/docs/Demo/KeyBitMap.html b/docs/Demo/KeyBitMap.html index b1a1101e..50d7631a 100755 --- a/docs/Demo/KeyBitMap.html +++ b/docs/Demo/KeyBitMap.html @@ -47,14 +47,14 @@ body {background-color:#000000;}
while (!Bt(kbd.down_bitmap, i_sc)) Yield; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->draw_it = &DrawIt; - //kbd.down_bitmap is indexed with the + //kbd.down_bitmap is indexed with the //merged scan code. (left shift and //right shift combined for example.) - //kbd.down_bitmap2 is indexed with the - //distinct scan code. See Char and Scan Codes. + //kbd.down_bitmap2 is indexed with the + //distinct scan code. See Char and Scan Codes. while (Bt(kbd.down_bitmap, i_sc)) { diff --git a/docs/Demo/LastClass.html b/docs/Demo/LastClass.html index 9b8805f9..21b29c43 100755 --- a/docs/Demo/LastClass.html +++ b/docs/Demo/LastClass.html @@ -53,12 +53,12 @@ body {background-color:#000000;} StructName(&i); PressAKey; -//lastclass is used in ClassRep() and ClassRepD(). +//lastclass is used in ClassRep() and ClassRepD(). ClassRepD(Gs); PressAKey; ClassRep(Fs); -//See also DocForm(), ::/Demo/Disk/BlkDevRep.CC and ::/Demo/ClassMeta.CC. +//See also DocForm(), ::/Demo/Disk/BlkDevRep.CC and ::/Demo/ClassMeta.CC.
diff --git a/docs/Demo/Lectures/64BitAsmQuiz.html b/docs/Demo/Lectures/64BitAsmQuiz.html index 5777f177..10320b76 100755 --- a/docs/Demo/Lectures/64BitAsmQuiz.html +++ b/docs/Demo/Lectures/64BitAsmQuiz.html @@ -93,11 +93,11 @@ body {background-color:#000000;} 2) The upper 32-bits are set to zero. -3) To set FS or GS, you use WRMSR to write a model specific reg. See
IA32_FS_BASE and SET_FS_BASE. +3) To set FS or GS, you use WRMSR to write a model specific reg. See IA32_FS_BASE and SET_FS_BASE. 4) Displacement addressing is now RIP relative, so RIP would be added to TSS_SOME_MEMBER. (Useless) -5) The R13 instruction takes one more byte because it is like REG_RBP in the ModR. +5) The R13 instruction takes one more byte because it is like REG_RBP in the ModR. 6) The R8 instruction needs a REX byte prefix to specify upper-8 reg. @@ -105,7 +105,7 @@ body {background-color:#000000;} 8) To call a subroutine farther than 2Gig away, you put the address into RAX, then CALL RAX. -9) CALL REL32 is significantly faster. See ::/Demo/Lectures/InterruptDemo.CC. +9) CALL REL32 is significantly faster. See ::/Demo/Lectures/InterruptDemo.CC. 10) IN or OUT instructions happen at a fixed speed based on the original ISA bus clock. diff --git a/docs/Demo/Lectures/FixedPoint.html b/docs/Demo/Lectures/FixedPoint.html index e9f16c9f..0a4879ee 100755 --- a/docs/Demo/Lectures/FixedPoint.html +++ b/docs/Demo/Lectures/FixedPoint.html @@ -39,11 +39,11 @@ body {background-color:#000000;} Terry often used 64-bit ints with upper 32-bits as int and lower 32-bits as fraction. -See ::/Demo/SubIntAccess.CC for how +See ::/Demo/SubIntAccess.CC for how to access upper or lower 32-bits. For a complete list of nonstandard compiler -features, see ::/Doc/CosmiC.DD. +features, see ::/Doc/CosmiC.DD. */ U0 Main() @@ -78,7 +78,7 @@ body {background-color:#000000;} allows a structure to be accessed as a whole. That's why the i variable can be accessed normally in addition to -structure member access I64. The actual +structure member access I64. The actual intrinsic compiler type is U64i. public U64i union I64 @@ -97,7 +97,7 @@ body {background-color:#000000;} penalty. For a complete list of nonstandard compiler -features, see ::/Doc/CosmiC.DD. +features, see ::/Doc/CosmiC.DD. */ "i.u32[0]\t=%X\n", i.u32[0]; @@ -108,7 +108,7 @@ body {background-color:#000000;} Main; DoIt2; -//See ::/Demo/Lectures/FixedPointAdvanced.CC +//See ::/Demo/Lectures/FixedPointAdvanced.CC /*Program Output diff --git a/docs/Demo/Lectures/FixedPointAdvanced.html b/docs/Demo/Lectures/FixedPointAdvanced.html index eaea15af..a5f816ed 100755 --- a/docs/Demo/Lectures/FixedPointAdvanced.html +++ b/docs/Demo/Lectures/FixedPointAdvanced.html @@ -39,7 +39,7 @@ body {background-color:#000000;} Terry often use 64-bit ints with upper 32-bits as int and lower 32-bits as fraction. -See ::/Demo/SubIntAccess.CC for how +See ::/Demo/SubIntAccess.CC for how to access upper or lower 32-bits. */ diff --git a/docs/Demo/Lectures/InterruptDemo.html b/docs/Demo/Lectures/InterruptDemo.html index 7321e018..5c0b3e89 100755 --- a/docs/Demo/Lectures/InterruptDemo.html +++ b/docs/Demo/Lectures/InterruptDemo.html @@ -26,7 +26,7 @@ body {background-color:#000000;}
 //This is the software interrupt num
-//we will use.  See Software Int's for
+//we will use.  See Software Int's for
 //picking a num.  Nums are subject to change.
 
 #define I_F_UNARY_MINUS I_USER
diff --git a/docs/Demo/Lectures/MiniCompiler.html b/docs/Demo/Lectures/MiniCompiler.html
index 0f76d02b..cc6d5128 100755
--- a/docs/Demo/Lectures/MiniCompiler.html
+++ b/docs/Demo/Lectures/MiniCompiler.html
@@ -28,14 +28,14 @@ body {background-color:#000000;}
 /*
 -] Main Compiler
   The mini compiler is like the main compiler, except the main compiler's lexical analyser removes comments and does 
-  preprocessing.  Lex(),Echo(ON).
+  preprocessing.  Lex(),Echo(ON).
   
-  The main compiler generates Intermediate Code at the parser stage.  See ParseExpression(), ParseStatement().
+  The main compiler generates Intermediate Code at the parser stage.  See ParseExpression(), ParseStatement().
   
-  The main compiler optimizes   See Intermediate Code Attributes, Combining Consts, Choosing Reg Vars.  Use PassTrace() to see 
+  The main compiler optimizes   See Intermediate Code Attributes, Combining Consts, Choosing Reg Vars.  Use PassTrace() to see 
   the optimization stages.
   
-  The main compiler makes machine code in the back end.  See IC Struct, COCCompile and OptPass789A(), BackEnd.  Set Trace(ON) to 
+  The main compiler makes machine code in the back end.  See IC Struct, COCCompile and OptPass789A(), BackEnd.  Set Trace(ON) to 
   see the output of the backend.
 
 -] Mini Compiler
@@ -61,7 +61,7 @@ body {background-color:#000000;}
 #define OP_SUB                                  4
 
 I64 Lex(U8 **_src, I64 *num)
-{//See Lex().
+{//See Lex().
         U8 *src = *_src;
         I64 i;
 
@@ -136,7 +136,7 @@ body {background-color:#000000;}
 extern I64 Parse(U8 **_src, U8 **_dst);
 
 U0 ParseTerm(U8 **_src, U8 **_dst, I64 prec)
-{//See ParseExpression().
+{//See ParseExpression().
         I64 i;
         U8 *src2;
         U8 *dst2;
@@ -162,8 +162,8 @@ body {background-color:#000000;}
 }
 
 I64 Parse(U8 **_src, U8 **_dst)
-{//See ParseExpression().
-//See Opcode Formats for details on asm insts.
+{//See ParseExpression().
+//See Opcode Formats for details on asm insts.
         I64 i;
         U8 *dst = *_dst;
 
@@ -280,8 +280,8 @@ body {background-color:#000000;}
                                         throw;
                                 "$RED$This code is not efficient, but the compiler is simple.$FG$\n";
                                 Un(code, dst - code); //Unassemble the code we created.
-//Call() is a function.  See _CALL::
-                                //See also CallInd().  See _CALL_IND::
+//Call() is a function.  See _CALL::
+                                //See also CallInd().  See _CALL_IND::
                                 "$LTBLUE$Answer:%d$FG$\n", Call(code);
                         }
                         catch
diff --git a/docs/Demo/Lectures/Ring3.html b/docs/Demo/Lectures/Ring3.html
index 55865948..858c761f 100755
--- a/docs/Demo/Lectures/Ring3.html
+++ b/docs/Demo/Lectures/Ring3.html
@@ -26,7 +26,7 @@ body {background-color:#000000;}
 
 
 /*ZealOS runs exclusively in ring 0.
-Ring 0 is part of the Charter.
+Ring 0 is part of the Charter.
 This demo is for you to play around
 with ring 3.    ZealOS is for
 recreational programming, after all.
diff --git a/docs/Demo/Lectures/index.html b/docs/Demo/Lectures/index.html
new file mode 100755
index 00000000..c74ac651
--- /dev/null
+++ b/docs/Demo/Lectures/index.html
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Demo/Lectures
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 03:35 03BA AndNotMod.CC
+07/02 04:14 0846 FixedPoint.CC
+07/02 04:15 0FB5 FixedPointAdvanced.CC
+12/18 23:44 06A5 InterruptDemo.CC
+07/01 15:58 17B9 MiniCompiler.CC
+07/01 15:58 0B8C MiniGrLib.CC
+12/19 00:05 03E5 NegDisp.CC
+07/02 03:35 0822 Optimization.CC
+07/02 04:15 05BC PCIInterrupts.CC
+07/01 15:58 05D7 Ring3.CC
+07/02 03:36 0B81 64BitAsmQuiz.DD
+
+ diff --git a/docs/Demo/MessageLoop.html b/docs/Demo/MessageLoop.html index 845be964..34508858 100755 --- a/docs/Demo/MessageLoop.html +++ b/docs/Demo/MessageLoop.html @@ -28,7 +28,7 @@ body {background-color:#000000;} U0 MessageLoop() { I64 arg1, arg2, message_code; - "Use message_code defines in your programs instead of hardcoded nums.\n" + "Use message_code defines in your programs instead of hardcoded nums.\n" "<ESC> to Exit\n"; //We don't want the mouse bttns to reposition the cursor, @@ -50,6 +50,6 @@ body {background-color:#000000;} MessageLoop; -// Press <CTRL-SHIFT-L> and "Insert ASCII/ScanCode". +// Press <CTRL-SHIFT-L> and "Insert ASCII/ScanCode".
diff --git a/docs/Demo/MultiCore/Lock.html b/docs/Demo/MultiCore/Lock.html index cc301e65..94482df5 100755 --- a/docs/Demo/MultiCore/Lock.html +++ b/docs/Demo/MultiCore/Lock.html @@ -31,7 +31,7 @@ body {background-color:#000000;}
read-modify-write statements. It will generate invalid insts if you misuse it and it will crash. -U() to see what code was generated. +U() to see what code was generated. */ #define COUNT 0x1000000 diff --git a/docs/Demo/MultiCore/MPRadix.html b/docs/Demo/MultiCore/MPRadix.html index bcf5d4c8..ca77a6ee 100755 --- a/docs/Demo/MultiCore/MPRadix.html +++ b/docs/Demo/MultiCore/MPRadix.html @@ -46,7 +46,7 @@ body {background-color:#000000;} U0 QuickSortU32(I32 *base, I64 num) {//By customizing, we dramatically improve it! -//Cut and paste from QuickSortI64(). +//Cut and paste from QuickSortI64(). I64 i; I32 *less, *greater, pivot; diff --git a/docs/Demo/MultiCore/index.html b/docs/Demo/MultiCore/index.html new file mode 100755 index 00000000..cbcff95a --- /dev/null +++ b/docs/Demo/MultiCore/index.html @@ -0,0 +1,41 @@ + + + + + + + + +
+Directory of C:/Demo/MultiCore
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/19 00:15 01CB Interrupts.CC
+07/01 16:09 02D1 LoadTest.CC
+12/19 00:17 03D3 Lock.CC
+12/19 00:28 07B2 MPAdd.CC
+12/19 00:18 00FD MPPrint.CC
+12/19 01:08 0BE9 MPRadix.CC
+06/28 05:36 0646 Palindrome.CC
+12/19 00:22 0619 Primes.CC
+
+ diff --git a/docs/Demo/OnceDemo.html b/docs/Demo/OnceDemo.html index 146f60c8..2c81bc95 100755 --- a/docs/Demo/OnceDemo.html +++ b/docs/Demo/OnceDemo.html @@ -36,6 +36,6 @@ body {background-color:#000000;} OnceDemo; -
//There are variants for system_task ZOnce(). +//There are variants for system_task ZOnce().
diff --git a/docs/Demo/Print.html b/docs/Demo/Print.html index 1bd4d697..ba328ef5 100755 --- a/docs/Demo/Print.html +++ b/docs/Demo/Print.html @@ -25,11 +25,11 @@ body {background-color:#000000;}
-//ZealOS supports standard Print()
+//ZealOS supports standard Print()
 //codes and extended ones.
-//See Print("") Format Strings.
+//See Print("") Format Strings.
 
-//Demonstrates aux_format_num codes.
+//Demonstrates aux_format_num codes.
 
 "%10h?d\n", 123456789;
 "%10h?d\n", 12345;
@@ -54,7 +54,7 @@ body {background-color:#000000;}
 
 "%h*c\n", 25, 'y'; //Print 25 y's
 
-'zzzz\n'; //PutChars() up to 8 characters.
+'zzzz\n'; //PutChars() up to 8 characters.
 
 '\n';
 
diff --git a/docs/Demo/Progress.html b/docs/Demo/Progress.html
index 53e8fde8..2016f253 100755
--- a/docs/Demo/Progress.html
+++ b/docs/Demo/Progress.html
@@ -25,16 +25,16 @@ body {background-color:#000000;}
 
 
 
-/*progress1-progress4 are just global vars
+/*progress1-progress4 are just global vars
 shown on the wallpaper. Terry used them in debugging a lot.
 
-If you set progress1_max-progress4_max,
+If you set progress1_max-progress4_max,
 then a progress bar will display.
 
-If you set progress1_t0-progress4_t0
+If you set progress1_t0-progress4_t0
 then the elapsed time will display.
 
-If you set progress1_tf-progress4_tf
+If you set progress1_tf-progress4_tf
 then the estimated time will display.
 */
 
diff --git a/docs/Demo/PullDownMenu.html b/docs/Demo/PullDownMenu.html
index 9a4a588c..fe207283 100755
--- a/docs/Demo/PullDownMenu.html
+++ b/docs/Demo/PullDownMenu.html
@@ -99,7 +99,7 @@ body {background-color:#000000;}
                         case MESSAGE_CMD:
                         //Feel free to make your menu
                         //drive by key strokes, but you can
-                        //use the MESSAGE_CMD val.
+                        //use the MESSAGE_CMD val.
                                 switch (arg1)
                                 {
                                         case M_OPTION1:
diff --git a/docs/Demo/RandDemo.html b/docs/Demo/RandDemo.html
index 7b814113..529e393a 100755
--- a/docs/Demo/RandDemo.html
+++ b/docs/Demo/RandDemo.html
@@ -49,7 +49,7 @@ body {background-color:#000000;}
         I64 i;
 
         "Seed(0) will do timer XORed random numbers.  "
-        "A task starts with Seed(0) by default.\n";
+        "A task starts with Seed(0) by default.\n";
         PressAKey;
         Seed;
         RandPts;
diff --git a/docs/Demo/RevFileDemo/index.html b/docs/Demo/RevFileDemo/index.html
new file mode 100755
index 00000000..03f66b98
--- /dev/null
+++ b/docs/Demo/RevFileDemo/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Demo/RevFileDemo
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/18 19:29 01DB Rev.CC
+09/27 11:24 04B9 DemoPoemBwd.DD
+
+ diff --git a/docs/Demo/ScreenCodes.html b/docs/Demo/ScreenCodes.html index 89798f80..ca15ac86 100755 --- a/docs/Demo/ScreenCodes.html +++ b/docs/Demo/ScreenCodes.html @@ -28,8 +28,8 @@ body {background-color:#000000;} /*See TextBase Layer for the format of the U32 you pass to TextChar() -See ::/Doc/CharOverview.DD, ::/Demo/ExtChars.CC, -and ::/Demo/Graphics/FontEd.CC. +See ::/Doc/CharOverview.DD, ::/Demo/ExtChars.CC, +and ::/Demo/Graphics/FontEd.CC. Hold <ALT> and press a 3 digit decimal number or press <CTRL-ALT-a> to enter extended characters. @@ -45,7 +45,7 @@ body {background-color:#000000;} U0 ScreenCodes() { - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush DocClear; Fs->draw_it = &DrawIt; CharGet(, FALSE); diff --git a/docs/Demo/SortFileDemo/F64FileGen.html b/docs/Demo/SortFileDemo/F64FileGen.html index 78e1cf48..0add488c 100755 --- a/docs/Demo/SortFileDemo/F64FileGen.html +++ b/docs/Demo/SortFileDemo/F64FileGen.html @@ -43,7 +43,7 @@ body {background-color:#000000;} F64FileGenTXT("~/DemoUnsortedF64.DD", 10); U0 F64FileGenDAT(U8 *filename, I64 n) -{//File/CFile, ::/Demo/Disk/DataBase.CC +{//File/CFile, ::/Demo/Disk/DataBase.CC I64 i; F64 *a = MAlloc(n * sizeof(F64)); diff --git a/docs/Demo/SortFileDemo/F64FileSort.html b/docs/Demo/SortFileDemo/F64FileSort.html index a5ccc1a0..b0074ffa 100755 --- a/docs/Demo/SortFileDemo/F64FileSort.html +++ b/docs/Demo/SortFileDemo/F64FileSort.html @@ -76,7 +76,7 @@ body {background-color:#000000;} Type("~/DemoSortedF64.DD"); U0 F64FileSortDAT(U8 *in_name, U8 *out_name) -{//File/CFile, ::/Demo/Disk/DataBase.CC +{//File/CFile, ::/Demo/Disk/DataBase.CC I64 size; F64 *a = FileRead(in_name, &size); @@ -87,7 +87,7 @@ body {background-color:#000000;} F64FileSortDAT("~/DemoUnsortedF64.DATA", "~/DemoSortedF64.DATA"); U0 F64FileDumpDAT(U8 *in_name) -{//File/CFile, ::/Demo/Disk/DataBase.CC +{//File/CFile, ::/Demo/Disk/DataBase.CC I64 i, n, size; F64 *a = FileRead(in_name, &size); diff --git a/docs/Demo/SortFileDemo/index.html b/docs/Demo/SortFileDemo/index.html new file mode 100755 index 00000000..ddfac3a1 --- /dev/null +++ b/docs/Demo/SortFileDemo/index.html @@ -0,0 +1,35 @@ + + + + + + + + +
+Directory of C:/Demo/SortFileDemo
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/18 20:30 0267 F64FileGen.CC
+12/18 20:32 0683 F64FileSort.CC
+
+ diff --git a/docs/Demo/Sound/WaterFowl.html b/docs/Demo/Sound/WaterFowl.html index bc20c60b..e4475fb1 100755 --- a/docs/Demo/Sound/WaterFowl.html +++ b/docs/Demo/Sound/WaterFowl.html @@ -167,7 +167,7 @@ body {background-color:#000000;}
U0 WaterFowl() { - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->song_task = Spawn(&SongTask, NULL, "Song",, Fs); AutoComplete; // WinBorder; diff --git a/docs/Demo/Sound/index.html b/docs/Demo/Sound/index.html new file mode 100755 index 00000000..367fb651 --- /dev/null +++ b/docs/Demo/Sound/index.html @@ -0,0 +1,37 @@ + + + + + + + + +
+Directory of C:/Demo/Sound
+DATE_ TIME_  SIZE
+07/02 23:10 00000 .
+07/02 23:10 00000 ..
+12/19 01:17 0100B ASCIIOrgan.CC
+12/19 01:23 00AAF MorseCode.CC
+12/19 01:18 00412 OhGreat.CC
+12/19 01:53 4B747 WaterFowl.CC
+
+ diff --git a/docs/Demo/StackGrow.html b/docs/Demo/StackGrow.html index 31fcca12..10cf5abe 100755 --- a/docs/Demo/StackGrow.html +++ b/docs/Demo/StackGrow.html @@ -68,7 +68,7 @@ body {background-color:#000000;}
"%X:%X\n", DEPTH, CallStackGrow(DEPTH * 16 + 0x800, DEPTH * 16 + 0x800, &Recurse2, DEPTH); "Time:%7.5fs\n", tS - t0; - //CallStackGrow() works with multiple args. + //CallStackGrow() works with multiple args. t0 = tS; "%X:%X\n", DEPTH, CallStackGrow(DEPTH * 32 + 0x800, DEPTH * 32 + 0x800, &Recurse3, DEPTH, 1000, 2000); "Time:%7.5fs\n", tS - t0; diff --git a/docs/Demo/SubIntAccess.html b/docs/Demo/SubIntAccess.html index ab449a20..0d1fe385 100755 --- a/docs/Demo/SubIntAccess.html +++ b/docs/Demo/SubIntAccess.html @@ -27,13 +27,13 @@ body {background-color:#000000;}
 /*ZealOS has a feature that allows access to bytes and words of larger ints.
 
-See U64i union.
+See U64i union.
  
 The versions with "i" are internal data types. Use "I64" instead of "U64i" and you will have access to subbytes and subwords.
 
 Unfortunately, byte access causes the compiler to not use a reg for the variable.
 
-See ::/Demo/Lectures/FixedPoint.CC.
+See ::/Demo/Lectures/FixedPoint.CC.
 */
 
 I64 q = 0xFEDCBA9876543210, q1;
diff --git a/docs/Demo/SuggestSpelling.html b/docs/Demo/SuggestSpelling.html
index d194576c..d3531870 100755
--- a/docs/Demo/SuggestSpelling.html
+++ b/docs/Demo/SuggestSpelling.html
@@ -112,7 +112,7 @@ body {background-color:#000000;}
 
 U0 CtrlAltL(I64)
 {
-//ac.cur_word is only set if AutoComplete
+//ac.cur_word is only set if AutoComplete
         //is running.
         if (!TaskValidate(ac.task))
         {
@@ -132,6 +132,6 @@ body {background-color:#000000;}
 }
 
 //Note: It would be more appropriate
-//to define a key in MyPutKey().
+//to define a key in MyPutKey().
 
diff --git a/docs/Demo/Templates/Game1.html b/docs/Demo/Templates/Game1.html index af53e092..8a40f8da 100755 --- a/docs/Demo/Templates/Game1.html +++ b/docs/Demo/Templates/Game1.html @@ -62,7 +62,7 @@ body {background-color:#000000;} {
I64 sc; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->text_attr = YELLOW << 4 + BLUE; Fs->song_task = Spawn(&SongTask, NULL, "Song",, Fs); AutoComplete; diff --git a/docs/Demo/Templates/index.html b/docs/Demo/Templates/index.html new file mode 100755 index 00000000..b286cc3a --- /dev/null +++ b/docs/Demo/Templates/index.html @@ -0,0 +1,41 @@ + + + + + + + + +
+Directory of C:/Demo/Templates
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/18 20:42 053A Game1.CC
+12/18 20:43 01C2 Lex1.CC
+12/18 20:44 025A MultiCore1.CC
+12/18 20:46 02B2 ODE1.CC
+12/18 20:46 00B9 Registry1.CC
+12/18 20:47 018D Util1.CC
+12/18 20:48 04CA Util2.CC
+12/18 20:49 023F InEdUtil.IN
+
+ diff --git a/docs/Demo/ToHtmlToTXTDemo/HtmlGen.html b/docs/Demo/ToHtmlToTXTDemo/HtmlGen.html index 698e9e69..57b287a5 100755 --- a/docs/Demo/ToHtmlToTXTDemo/HtmlGen.html +++ b/docs/Demo/ToHtmlToTXTDemo/HtmlGen.html @@ -25,20 +25,20 @@ body {background-color:#000000;}
-/* This converts ::/Demo/ToHtmlToTXTDemo/DemoInPage.DD to
+/* This converts ::/Demo/ToHtmlToTXTDemo/DemoInPage.DD to
 an html document named "OutPage.html".
 
 Notice that an entry like $TX,"GOOGLE",HTML="http://www.google.com"$
 will be converted to text in the html with an html link.
 
-Terry cheated by hardcoding www.templeos.org as the website
-for ZealOS Links.  Why don't you copy
-::/Demo/ToHtmlToTXTDemo/ToHtml.CC to your /Home directory
+Terry cheated by hardcoding www.templeos.org as the website
+for ZealOS Links.  Why don't you copy
+::/Demo/ToHtmlToTXTDemo/ToHtml.CC to your /Home directory
 and modify it?  You are welcome to link to
 http://www.templeos.org if you want file that come on the
 ZealOS distribution.
 
-You can pass html meta data as args to ToHtml().
+You can pass html meta data as args to ToHtml().
 */
 
 Cd(__DIR__);;
@@ -50,62 +50,126 @@ body {background-color:#000000;}
 {
         CDirEntry       *tmpde1 = NULL, *tmpde2;
         I64                      res = 0;
-        U8                      *dest_path, *dest_file, *dest_abs, dest_ext[STR_LEN];
-
-        tmpde1 = FilesFind(src_files_find_mask, FUF_RECURSE);
-        dest_abs = DirNameAbs(dst_files_find_mask);
-
-        if (tmpde1)
-        {
-                while (tmpde1)
-                {
-                        tmpde2 = tmpde1->next;
-                        res++;
-
-                        dest_file = StrNew(tmpde1->name);
-                        FileExtRemove(dest_file, dest_ext);
+        U8                      *dest_path,
+                                *dest_file,
+                                *dest_abs,
+                                *src_abs,
+                                dest_ext[STR_LEN],
+                                *index_path,
+                                *index_path_out,
+                                *index_exe;
+        CTask           *index_task;
+        CDoc            *index_doc;
+
+        tmpde1 = FilesFind(src_files_find_mask, FUF_RECURSE);
+        dest_abs        = DirNameAbs(dst_files_find_mask);
+        src_abs         = DirNameAbs(src_files_find_mask);
 
-                        dest_path = MStrPrint("%s/%s", dest_abs, dest_file);
-
-                        "%s\n", tmpde1->full_name;
-
-                        if (!(tmpde1->attr & RS_ATTR_DIR))
-                        {
-                                if (StrCompare(dest_ext, "BIN.C")       &&
-                                        StrCompare(dest_ext, "BIN")             &&
-                                        StrCompare(dest_ext, "html")    &&
-                                        StrCompare(dest_ext, "DATA")    &&
-                                        StrCompare(dest_ext, "MAP"))
-                                {
-                                        "%s.html\n\n", dest_path;
-                                        ToHtml(tmpde1->full_name, dest_path);
-                                }
-                        }
-                        else
-                                Dir2Html(tmpde1->full_name, dest_path);
-
-                        DirEntryDel(tmpde1);
-                        tmpde1 = tmpde2;
-
-                        Free(dest_path);
-                        Free(dest_file);
-                }
-        }
-
-        Free(dest_abs);
-
-        return res;
-
-}
+        if (tmpde1)
+        {
+                while (tmpde1)
+                {
+                        tmpde2 = tmpde1->next;
+                        res++;
+
+                        dest_file = StrNew(tmpde1->name);
+                        FileExtRemove(dest_file, dest_ext);
+
+                        dest_path = MStrPrint("%s/%s", dest_abs, dest_file);
+
+                        "%s\n", tmpde1->full_name;
+
+                        if (!(tmpde1->attr & RS_ATTR_DIR))
+                        {
+                                if (StrCompare(dest_ext, "BIN.C")       &&
+                                        StrCompare(dest_ext, "BIN")             &&
+                                        StrCompare(dest_ext, "ISO.C")   &&
+                                        StrCompare(dest_ext, "html")    &&
+                                        StrCompare(dest_ext, "DATA")    &&
+                                        StrCompare(dest_ext, "MAP"))
+                                {
+                                        "%s.html\n\n", dest_path;
+                                        ToHtml(tmpde1->full_name, dest_path);
+                                }
+                        }
+                        else
+                        {
+                                index_path              = MStrPrint("%s/index.DD", dest_path);
+                                index_path_out  = MStrPrint("%s/index.html", dest_path);
+                                "%s\n", index_path;
 
-I64 HtmlGen()
-{
-        DocMax;
-        DocMax;
-        DelTree("::/HTML/");
-        Dir2Html("::/", "::/HTML/");
-}
-
-HtmlGen;
+                                index_exe = MStrPrint("Cls;Dir(\"%s\");View;\n", tmpde1->full_name);
+                                PopUp(index_exe,, &index_task);
+                                TaskWait(index_task);
+
+                                index_doc = DocNew(index_path);
+                                DocInsDoc(index_doc, index_task->put_doc);
+                                DocWrite(index_doc);
+                                DocDel(index_doc);
+
+                                TaskWait(index_task);
+                                Kill(index_task);
+
+                                ToHtml(index_path, index_path_out);
+                                Del(index_path);
+
+                                Free(index_path);
+                                Free(index_path_out);
+                                Free(index_exe);
+
+                                if (StrCompare(tmpde1->full_name, dest_abs))
+                                        Dir2Html(tmpde1->full_name, dest_path);
+                        }
+
+                        DirEntryDel(tmpde1);
+                        tmpde1 = tmpde2;
+
+                        Free(dest_path);
+                        Free(dest_file);
+                }
+        }
+
+        Free(dest_abs);
+
+        return res;
+
+}
+
+I64 HtmlGen()
+{
+        U8                      *index_path,
+                                *index_path_out;
+        CTask           *index_task;
+        CDoc            *index_doc;
+
+        DocMax;
+        DocMax;
+        DelTree("::/HTML/");
+
+        index_path              = MStrPrint("::/HTML/index.DD");
+        index_path_out  = MStrPrint("::/HTML/index.html");
+        "%s\n", index_path;
+
+        PopUp("Cls;Dir(\"::/\");View;\n",, &index_task);
+        TaskWait(index_task);
+
+        index_doc = DocNew(index_path);
+        DocInsDoc(index_doc, index_task->put_doc);
+        DocWrite(index_doc);
+        DocDel(index_doc);
+
+        TaskWait(index_task);
+        Kill(index_task);
+
+        ToHtml(index_path, index_path_out);
+        Del(index_path);
+
+        Free(index_path);
+        Free(index_path_out);
+
+        return Dir2Html("::/", "::/HTML/");
+}
+
+//HtmlGen;
 
diff --git a/docs/Demo/ToHtmlToTXTDemo/TXTGen.html b/docs/Demo/ToHtmlToTXTDemo/TXTGen.html index 2282349f..cd24dc28 100755 --- a/docs/Demo/ToHtmlToTXTDemo/TXTGen.html +++ b/docs/Demo/ToHtmlToTXTDemo/TXTGen.html @@ -25,7 +25,7 @@ body {background-color:#000000;}
-/* This converts ::/Demo/ToHtmlToTXTDemo/DemoInPage.DD to
+/* This converts ::/Demo/ToHtmlToTXTDemo/DemoInPage.DD to
 an plain ASCII text document named, "OutPage.DD".
 
 */
diff --git a/docs/Demo/ToHtmlToTXTDemo/ToHtml.html b/docs/Demo/ToHtmlToTXTDemo/ToHtml.html
index a43cf842..5e079266 100755
--- a/docs/Demo/ToHtmlToTXTDemo/ToHtml.html
+++ b/docs/Demo/ToHtmlToTXTDemo/ToHtml.html
@@ -27,7 +27,7 @@ body {background-color:#000000;}
 
 #help_index "DolDoc/Conversion"
 
-//See ::/Doc/Credits.DD.
+//See ::/Doc/Credits.DD.
 
 #define DOCET_UNDEF_COLOR                       0x100000000
 #define DOCET_LINK_UNDERLINE            0x200000000
@@ -120,7 +120,7 @@ body {background-color:#000000;}
         {
                 st = ExtChange(filename, "html");
                 if (st && StrLen(st) > 3 && !StrNCompare(st + 1, ":/", 2))
-                        res = MStrPrint("http://www.tomawezome.github.io/ZealOS/%s#l%d", st + 3, line_num);
+                        res = MStrPrint("https://www.tomawezome.github.io/ZealOS/%s#l%d", st + 3, line_num);
                 Free(st);
         }
 
@@ -198,7 +198,7 @@ body {background-color:#000000;}
 public CDoc *Doc2Html(CDoc *doc_in, U8 *html_header=NULL, U8 *body_header=NULL, 
                                           U8 *body_footer=NULL, U8 *html_footer=NULL, Bool line_anchors=TRUE, 
                                           U8 (*link_convert)(U8 *link_st)=&TOSLinkConvert1, Bool line_nums=FALSE)
-{//Convert DolDocdoc to HTML file.
+{//Convert DolDocdoc to HTML file.
         CDocEntry       *doc_e, *style, *doc_e2;
         I64                      i, y, old_y = I64_MIN, col, old_u32_attr = DOCET_UNDEF_COLOR, old_attr, digits;
         U32                     *hl, *src;
@@ -419,12 +419,12 @@ body {background-color:#000000;}
                                  U8 *body_header=NULL, U8 *body_footer=NULL, U8 *html_footer=NULL, 
                                  I64 width=128, Bool line_anchors=TRUE, 
                                  U8 (*link_convert)(U8 *link_st)=&TOSLinkConvert1, Bool line_nums=FALSE)
-{//Convert DolDocfile to HTML.
+{//Convert DolDocfile to HTML.
 //Supply your own link_convert routine.
         U8       *in_name, *out_name;
         CDoc *doc_in, *doc_out;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         WinHorz(0, width - 1); //Sets doc width for word wrap.
 
         in_name=ExtDefault(_in_name, "CC");
diff --git a/docs/Demo/ToHtmlToTXTDemo/index.html b/docs/Demo/ToHtmlToTXTDemo/index.html
new file mode 100755
index 00000000..98d19e98
--- /dev/null
+++ b/docs/Demo/ToHtmlToTXTDemo/index.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Demo/ToHtmlToTXTDemo
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/03 02:43 0CEC HtmlGen.CC
+12/19 02:44 00B0 TXTGen.CC
+07/03 00:27 2D0E ToHtml.CC
+07/02 03:36 0458 DemoInPage.DD
+
+ diff --git a/docs/Demo/WebLogDemo/index.html b/docs/Demo/WebLogDemo/index.html new file mode 100755 index 00000000..3d9c25bf --- /dev/null +++ b/docs/Demo/WebLogDemo/index.html @@ -0,0 +1,35 @@ + + + + + + + + +
+Directory of C:/Demo/WebLogDemo
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/19 15:04 33B4 WebLogRep.CC
+12/19 02:47 0580 WebLogScramble.CC
+
+ diff --git a/docs/Demo/index.html b/docs/Demo/index.html new file mode 100755 index 00000000..936fdd4f --- /dev/null +++ b/docs/Demo/index.html @@ -0,0 +1,82 @@ + + + + + + + + +
+Directory of C:/Demo
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 23:10 0000 AcctExample
+07/02 23:10 0000 Asm
+07/02 23:10 0000 Disk
+07/02 23:10 0000 DolDoc
+07/02 23:10 0000 Games
+07/02 23:10 0000 Graphics
+07/02 23:10 0000 InFile
+07/02 23:10 0000 Lectures
+07/02 23:10 0000 MultiCore
+07/02 23:10 0000 RevFileDemo
+07/02 23:10 0000 SortFileDemo
+07/02 23:10 0000 Sound
+07/02 23:10 0000 Templates
+07/02 23:10 0000 ToHtmlToTXTDemo
+07/02 23:10 0000 WebLogDemo
+12/18 20:53 0254 Carry.CC
+12/18 20:56 0861 ClassMeta.CC
+12/18 20:58 0306 CompileDemo.CC
+12/18 20:59 010F DateTime.CC
+12/18 20:59 0185 DebugDemo.CC
+07/01 17:18 028C Define.CC
+12/18 21:01 00FE Directives.CC
+12/18 21:03 02F3 Exceptions.CC
+12/18 21:04 02A0 ExtChars.CC
+12/18 21:15 05CF GlobalVars.CC
+12/18 21:16 0358 KeyBitMap.CC
+12/18 21:19 0258 LastClass.CC
+12/18 22:12 1C8F MagicPairs.CC
+12/18 21:22 0645 MemDemo.CC
+02/02 19:30 0302 MessageLoop.CC
+12/18 21:25 01AF NullCase.CC
+07/02 00:52 00F1 OnceDemo.CC
+12/18 21:26 00CD ParenWarn.CC
+07/01 16:15 042A PhoneNumWords.CC
+07/01 15:58 0296 Print.CC
+07/02 03:36 074D Progress.CC
+12/18 21:32 01B0 Prompt.CC
+07/02 03:37 07BA PullDownMenu.CC
+12/18 21:36 02CB RadixSort.CC
+12/18 21:39 04D6 RandDemo.CC
+07/02 00:51 033F RegistryDemo.CC
+12/18 21:40 0269 ScreenCodes.CC
+12/18 21:42 045B Spy.CC
+12/18 21:44 0411 StackGrow.CC
+07/01 15:58 0288 SubIntAccess.CC
+12/18 21:45 0132 SubSwitch.CC
+07/01 18:01 06F0 SuggestSpelling.CC
+12/18 21:48 02C0 TimeIns.CC
+07/01 16:15 0B1B WordSearch.CC
+
+ diff --git a/docs/Doc/AboutZealOS.html b/docs/Doc/AboutZealOS.html index a5ea3b1e..ebfe43e7 100755 --- a/docs/Doc/AboutZealOS.html +++ b/docs/Doc/AboutZealOS.html @@ -59,7 +59,7 @@ body {background-color:#000000;} 2001-2002, making replacement chips for toner printer cartridges so they could be refilled.
Credits: -See ::/Doc/Credits.DD. +See ::/Doc/Credits.DD.
diff --git a/docs/Doc/Asm.html b/docs/Doc/Asm.html index 5e553809..02ecee21 100755 --- a/docs/Doc/Asm.html +++ b/docs/Doc/Asm.html @@ -27,7 +27,7 @@ body {background-color:#000000;}
                                                            Assembler
 
-See ::/Compiler/OpCodes.DD for opcodes. They're not standard.  Some invalid insts are not flagged and some valid insts are not 
+See ::/Compiler/OpCodes.DD for opcodes. They're not standard.  Some invalid insts are not flagged and some valid insts are not 
 implemented. 16-bit asm support is limited.
 
 Here are example inst formats:
@@ -69,10 +69,10 @@ body {background-color:#000000;}
         Align to num boundary and fill with fill_byte.
 
 ORG num
-        Set code addr for JIT or set module Load() addr -- has 16-byte CBinFile header and patch table trailing.
+        Set code addr for JIT or set module Load() addr -- has 16-byte CBinFile header and patch table trailing.
 
 BINFILE "FileName.BIN";
 
-See Assembly Language, ::/Demo/Asm/AsmAndC1.CC, ::/Demo/Asm/AsmAndC2.CC and ::/Demo/Asm/AsmAndC3.CC.
+See Assembly Language, ::/Demo/Asm/AsmAndC1.CC, ::/Demo/Asm/AsmAndC2.CC and ::/Demo/Asm/AsmAndC3.CC.
 
diff --git a/docs/Doc/AutoComplete.html b/docs/Doc/AutoComplete.html index df2cccc2..3691b83a 100755 --- a/docs/Doc/AutoComplete.html +++ b/docs/Doc/AutoComplete.html @@ -25,8 +25,8 @@ body {background-color:#000000;}
-AutoComplete is the LTGRAY window on the right of the screen.  ACInit() collects words from all text files in subdirectories.   
-Normally, the call to ACInit() is in HomeSys.CC.  It provides auto-complete for typing, jump-to-code and jump-to-dictionary 
+AutoComplete is the LTGRAY window on the right of the screen.  ACInit() collects words from all text files in subdirectories.   
+Normally, the call to ACInit() is in HomeSys.CC.  It provides auto-complete for typing, jump-to-code and jump-to-dictionary 
 functionality.
 
 <ALT-SHIFT-A>   Closes the LTGRAY AutoComplete window.
@@ -46,6 +46,6 @@ body {background-color:#000000;}
 <CTRL-n>                Autocompletes the n-th dictionary word in the window.
 
 If you have the raw Project Gutenberg dictionary file, you can generate the ZealOS processed dictionary files with the 
-stand-alone program ::/System/AutoComplete/ACDictGen.CC.
+stand-alone program ::/System/AutoComplete/ACDictGen.CC.
 
diff --git a/docs/Doc/BlkChain.html b/docs/Doc/BlkChain.html index 27561166..48e09825 100755 --- a/docs/Doc/BlkChain.html +++ b/docs/Doc/BlkChain.html @@ -30,7 +30,7 @@ body {background-color:#000000;} There was a technique on the Commodore 64 where disk blocks were chained together with a block pointer at the end of each block. This is far inferior to having a file allocation table, as in FAT32. -The
RedSea file system does not allow files to grow because it only has an allocation bitmap and not a FAT table. This "flaw" +The RedSea file system does not allow files to grow because it only has an allocation bitmap and not a FAT table. This "flaw" is by design. Terry intentionally crippled the operating system, making it a toy with the wisdom that this will prevent commercialization and corruption. The toy spirit of the operating system will be preserved going into the future. The vision for this operating system was a modern Commodore 64, which was a fun toy. @@ -42,19 +42,19 @@ body {background-color:#000000;} When doing large, whole-file operations, immediately memory fragmentation is a serious problem, but not so for allocations in the range under a Meg (with occasional larger ones). -The file compression scheme in ZealOS only works on whole file operations and the DolDoc format cannot have text tacked onto the +The file compression scheme in ZealOS only works on whole file operations and the DolDoc format cannot have text tacked onto the end, since binary data is at the end. -Terry didn't want to spoil fun, so of course offered a way to get awesome performance that is, ironically, superior. FBlkRead() -and FBlkWrite() allow you to read a block offset from the start of a file. Since files are all contiguous, this is incredibly -efficient. You just have to declare the desired file size when you create it with FOpen() and cannot change it. See -::/Demo/Disk/DataBase.CC. +Terry didn't want to spoil fun, so of course offered a way to get awesome performance that is, ironically, superior. FBlkRead() +and FBlkWrite() allow you to read a block offset from the start of a file. Since files are all contiguous, this is incredibly +efficient. You just have to declare the desired file size when you create it with FOpen() and cannot change it. See +::/Demo/Disk/DataBase.CC. -If you like, you are encouraged to to do raw BlkRead() and BlkWrite() directly on a drive. Just get a pointer to a CDrive with -Letter2Drive() and you are on your way! Your computer is supposed to be a fun toy! You can make an entire partition used for a +If you like, you are encouraged to to do raw BlkRead() and BlkWrite() directly on a drive. Just get a pointer to a CDrive with +Letter2Drive() and you are on your way! Your computer is supposed to be a fun toy! You can make an entire partition used for a database, or invent a file system. -On the whole, the RedSea file system with its whole-file-only limitation bring beautiful harmony. It beautifully captures the +On the whole, the RedSea file system with its whole-file-only limitation bring beautiful harmony. It beautifully captures the spirit of ZealOS with simplicity and, ironic speed, since contiguous is fastest. diff --git a/docs/Doc/Boot.html b/docs/Doc/Boot.html index e246477c..9bfecd6f 100755 --- a/docs/Doc/Boot.html +++ b/docs/Doc/Boot.html @@ -39,38 +39,38 @@ body {background-color:#000000;} Not only do boot sectors have a size limit, 512 bytes or 2048 bytes for CD/DVD, the files they load have to fit within 640K because they run in 16-bit mode. This means they usually can't just load the whole operating system and start it running. Some boot loaders, like Grub, have a capability of switching modes before handing-off control to the operating system. The -operating system must load the rest of itself. With ZealOS, the ::/Kernel.BIN.C file is loaded by the boot sector. We try to -put a minimum in the Kernel Module, so that it will always fit in 640K. When Kernel.BIN runs, it switches to 32-bit mode, then, -to 64-bit mode allowing access to more memory. Then, it loads in the rest of ZealOS by executing ::/StartOS.CC. +operating system must load the rest of itself. With ZealOS, the ::/Kernel.BIN.C file is loaded by the boot sector. We try to +put a minimum in the Kernel Module, so that it will always fit in 640K. When Kernel.BIN runs, it switches to 32-bit mode, then, +to 64-bit mode allowing access to more memory. Then, it loads in the rest of ZealOS by executing ::/StartOS.CC. All the boot related code for ZealOS is in the /System/Boot directory. -BootDVD.CC CD/DVD boot sector. -BootDVDIns.CC Prep for CD/DVD install by creating /0000Boot/0000Kernel.BIN.C. -If you are curious about CD/DVDs, see DiskISORedSea.CC. To make a custom bootable CD/DVD, look here Bootable CD. +BootDVD.CC CD/DVD boot sector. +BootDVDIns.CC Prep for CD/DVD install by creating /0000Boot/0000Kernel.BIN.C. +If you are curious about CD/DVDs, see DiskISORedSea.CC. To make a custom bootable CD/DVD, look here Bootable CD. -BootMHD.CC Stage 1 Master HD boot loader. -BootMHD2.CC Stage 2 Master HD boot loader. -BootMHDIns.CC Installs Master HD boot loader. +BootMHD.CC Stage 1 Master HD boot loader. +BootMHD2.CC Stage 2 Master HD boot loader. +BootMHDIns.CC Installs Master HD boot loader. BootMHD goes on block zero. /0000Boot/BootMHD2.BIN.C is stored as a file in a partition, risky and unusual, since most master boot loaders place stage 2 in a gap that's not in any partition. BootMHD2 displays a menu and boots a partition. -BootHD.CC HD partition boot record. -BootHDIns.CC Installs HD partition boot record. +BootHD.CC HD partition boot record. +BootHDIns.CC Installs HD partition boot record. BootHD is the boot record for a ZealOS partition. Each partition has its own partition boot record, the first block of the partition. The boot records don't access directories because that would make them too big for one block and would make them depend on a file system layout. Instead, they get patched with the LBA, logical block addresses, to load files. To update with a new -ZealOS kernel, you must create a ::/Kernel.BIN.C binary file and patch the boot loader so it knows the LBA blocks to load. Ther -efore, you usually recompile the kernel and update the boot sector at the same time with BootHDIns(). BootMHDIns() will +ZealOS kernel, you must create a ::/Kernel.BIN.C binary file and patch the boot loader so it knows the LBA blocks to load. Ther +efore, you usually recompile the kernel and update the boot sector at the same time with BootHDIns(). BootMHDIns() will install a master boot loader. -With ZealOS, ::/Kernel.BIN.C loads ::/Compiler/Compiler.BIN so it can work with source code from then on. It compiles start-up -scripts beginning with ::/StartOS.CC into the System Task's memory including the code in the /System and /Home directories. +With ZealOS, ::/Kernel.BIN.C loads ::/Compiler/Compiler.BIN so it can work with source code from then on. It compiles start-up +scripts beginning with ::/StartOS.CC into the System Task's memory including the code in the /System and /Home directories. -It is possible to do a fast reboot without doing a hardware reset. You might do this when working on ::/Kernel.BIN.C or your -start-up scripts when you want to compile them effect. See BootRAM(). +It is possible to do a fast reboot without doing a hardware reset. You might do this when working on ::/Kernel.BIN.C or your +start-up scripts when you want to compile them effect. See BootRAM(). /* Graphics Not Rendered in HTML */ diff --git a/docs/Doc/ChangeLog.html b/docs/Doc/ChangeLog.html index e71f62de..8f4de854 100755 --- a/docs/Doc/ChangeLog.html +++ b/docs/Doc/ChangeLog.html @@ -34,9 +34,9 @@ body {background-color:#000000;} ----07/02/21 19:30:19---- * Raised version number to 0.04. -* Implemented default NULL filename args for Ed, PopUpEd. +* 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. +* 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. @@ -65,30 +65,30 @@ body {background-color:#000000;} - Zenith/ --> System/ ----06/28/21 06:20:21---- -* Restored /System/God directory, the Bible, Bible Links, and GodBiblePassage with SHIFT-F7. +* 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. +* 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. +* 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. +* 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"); +* R("MSRGet", "MSRRead"); +* R("MSRSet", "MSRWrite"); ----01/28/21 19:08:16---- * Added MSRGet(). @@ -103,238 +103,238 @@ body {background-color:#000000;} * Reformatting of files is virtually complete now. ----06/04/20 18:01:46---- -* Added BIOSRep() as convenience function to view BIOS info from SysRep(). +* 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. +* 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). +* 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"); +* 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 +* 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'. +* 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 FilesRefactored. +* Beginning efforts to reformat files some. Currently, keeping a temp log of progress at FilesRefactored. ----04/10/20 07:44:08---- -* R("PIC1", "PIC_1"); -* R("PIC2", "PIC_2"); -* R("PIT0", "PIT_0"); -* R("PIT2", "PIT_2"); +* 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"); +* 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 +* 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. +* 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 +* '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. +* 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. +* 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. +* 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. +* 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. +* 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. +* 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. +* 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. +* 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. +* Added new bitmap mouse. ----02/23/20 02:36:28---- -* R("err", "error"); +* R("err", "error"); * Removed compression from kernel. Compress.CC, CArcCtrl, CArcCompress, ExpandBuf(), CompressBuf(), DCSF_COMPRESSED, etc. -Updated ::/Demo/Disk/SerializeTree.CC 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.CC. +Updated ::/Demo/Disk/SerializeTree.CC 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.CC. ----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. +* 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 +::/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. +* 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 +* 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. +* 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. +* 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. +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, +* 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. +* 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 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 +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.CC. + - 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.CC. -* 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.CC, as it is present on all x86 CPUs after the P5 +* 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.CC, 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(). +* 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. +* 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 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. +* 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. +* 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 in verted. Dictionary words are BLACK to differentiate between symbols. -* Added more keyboard shortcuts to the AutoComplete standby doc. +* Added more keyboard shortcuts to the AutoComplete standby doc. * Removed "TOS Staff" and "InsReg" related code. -* Renamed /Kernel/KInts.CC to KInterrupts.CC. +* Renamed /Kernel/KInts.CC to KInterrupts.CC. * 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(). +* 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. +* 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 ZCls(). +* Added FR(), for renaming files matching a mask. I used it to do the .HC -> .CC conversion. +* Added Cls() and ZCls(). * 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 +* 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: @@ -392,164 +392,164 @@ body {background-color:#000000;} ----04/30/17 22:24:51---- * CmdLinePmt() doesn't print U0 ans. -* Added comma flag StrPrintJoin(,"%,p"); -* Enhanced PrintErr() and PrintWarn(). +* 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"); +* 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"); +* 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"); +* R("pen_width","thick"); ----02/05/17 16:37:39---- -* Added ::/Doc/BlkChain.DD. +* Added ::/Doc/BlkChain.DD. ----02/03/17 17:27:36---- -* Added multicore ::/Adam/AMathODE.HC. +* Added multicore ::/Adam/AMathODE.HC. * Improved support for sub and super scripts. ----01/31/17 10:22:10---- -* Added ::/Demo/Graphics/LightTable.HC. +* Added ::/Demo/Graphics/LightTable.HC. * Added TOS Linux Setup. ----01/27/17 08:13:37---- -* Added DocLineRead() and DocLineWrite(). +* 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"); +* 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.HC -* R("TreeBranch","Tree"); -* Added DocTreeWrite() and DocTreeAppend(). +* Improved ::/Apps/Psalmody/JukeBox.HC +* 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. +* 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 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"); +* R("MIN_...","..._MIN"); +* R("MAX_...","..._MAX"); +* R("NUM_...","..._NUM"); ----01/14/17 19:16:51---- * Created /Demo/AcctExample/TOS. -* R("MAX_...","_NUM..."); +* R("MAX_...","_NUM..."); ----01/14/17 09:43:12---- -* Improved ::/Demo/AcctExample/TOS/TOSHolySpirit.HC. +* 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"); +* 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()"); +* 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 ::/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"); +* R("a1","arg1"); +* R("a2","arg2"); +* R("r","res"); ----01/09/17 02:30:59---- -* Improved compiler ICSlashOp(). -* Added Panic(). +* Improved compiler ICSlashOp(). +* Added Panic(). * Made it possible to mount just one partition. * Fixed creation of RedSea ISOs. -* Organized ::/PersonalMenu.DD. +* Organized ::/PersonalMenu.DD. * Moved AfterEgypt to the supplemental disk. ----01/06/17 06:07:19---- * Fixed DskChg(). -* Improved ::/Misc/OSTestSuite.HC. +* Improved ::/Misc/OSTestSuite.HC. ----01/05/17 04:53:21---- * No longer support ASCII#12, <CTRL-l> CH_FORM_FEED. -* Fixed sys_var_init_flag. +* Fixed sys_var_init_flag. * GRScrnCaptureRead(). ----01/04/17 18:06:14---- -* Added ::/Demo/AcctExample/TOS/TOSPolicies.DD. -* R("U0 pad;",";"); for align #asserts. +* 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 ::/Adam/WallPaper.HC. +* R("Button","Bttn"); +* R("Handler","Hndlr"); +* R("InputPointer","Mouse"); +* Improved MemRep(). +* Changed ::/Adam/WallPaper.HC. ----01/03/17 12:23:49---- -* R("chars_cmp...","char_bmp..."); +* 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 Collapse(). * Added CursorRem(). ----12/31/16 07:21:20---- -* R("SYS_SEMA_...","SEMA_..."); -* R("SYSf_CTRL_ALT_...","CTRL_ALT_..."); -* R("ThrowBreak()","Break()"); -* Added MemPageRep(). +* 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/Mem/PageTables.HC. -* R("BusyWait()","Busy()"); +* R("Pages512","Pags"); +* Overhauled ::/Kernel/Mem/PageTables.HC. +* R("BusyWait()","Busy()"); ----12/29/16 10:21:44---- * Changed Snd() from freq to a I8 val called an ona. @@ -558,215 +558,215 @@ body {background-color:#000000;} Sup1/Sup1Utils/CvtSong500.HC. ----12/22/16 16:18:32---- -* R("CSrvCmd","CJob"); -* R("CSrvCtrl","CJobCtrl"); +* 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.HC. +* R("SpriteMat3B()","Sprite3Mat4x4B()"); +* R("SpriteX3B()","Sprite3XB()"); +* R("SpriteY3B()","Sprite3YB()"); +* R("SpriteZ3B()","Sprite3ZB()"); +* Improved ::/Demo/Games/Talons.HC. ----12/03/16 10:16:26---- -* Changed __CMD_LINE__. -* Added CProgress.tf. +* Changed __CMD_LINE__. +* Added CProgress.tf. * Added sys_staff_mode_flag. -* R("except_caller","except_callers"); +* R("except_caller","except_callers"); ----11/30/16 22:44:35---- -* Added SpriteTransform(). +* Added SpriteTransform(). ----11/28/16 07:11:41---- -* Improved ::/Apps/Titanium/Titanium.HC. +* Improved ::/Apps/Titanium/Titanium.HC. ----11/26/16 22:43:51---- -* Added solar storms to ::/Apps/X-Caliber/X-Caliber.HC. -* R("TimeOut","Titanium"); +* Added solar storms to ::/Apps/X-Caliber/X-Caliber.HC. +* R("TimeOut","Titanium"); ----11/20/16 19:46:43---- * TempleOS version 4.13 Released -* Improved ::/Apps/Titanium/Titanium.HC. -* Improved ::/Apps/X-Caliber/X-Caliber.HC. +* Improved ::/Apps/Titanium/Titanium.HC. +* Improved ::/Apps/X-Caliber/X-Caliber.HC. ----11/19/16 08:19:51---- * Improved Budget application. ----11/17/16 18:49:51---- -* R("EagleDive","Talons"); -* Improved ::/Demo/Games/RocketScience.HC. -* Improved ::/Demo/Games/Rocket.HC. +* R("EagleDive","Talons"); +* Improved ::/Demo/Games/RocketScience.HC. +* Improved ::/Demo/Games/Rocket.HC. ----10/28/16 05:54:27---- -* Added ::/Demo/RadixSort.HC. +* Added ::/Demo/RadixSort.HC. ----10/26/16 00:21:06---- -* Added CProgress.t0. -* Improved ::/Doc/Boot.DD. +* Added CProgress.t0. +* Improved ::/Doc/Boot.DD. ----10/25/16 18:02:44---- -* Improved ::/Adam/Gr/SpriteEd.HC. -* Improved ::/Demo/AcctExample/TOS/TOSHolySpirit.HC. +* Improved ::/Adam/Gr/SpriteEd.HC. +* Improved ::/Demo/AcctExample/TOS/TOSHolySpirit.HC. ----10/12/16 10:55:26---- -* Added CCF_NO_CHAR_CONST. -* Improved ::/Demo/ToHtmlToTXTDemo/ToHtml.HC. +* Added CCF_NO_CHAR_CONST. +* Improved ::/Demo/ToHtmlToTXTDemo/ToHtml.HC. ----10/03/16 01:09:35---- -* Changed GodWord(). +* Changed GodWord(). ----09/30/16 18:29:59---- -* Improved Rand()'s. -* Improved ::/Adam/Opt/Utils/ToTXT.HC. +* Improved Rand()'s. +* Improved ::/Adam/Opt/Utils/ToTXT.HC. ----09/29/16 10:13:14---- * TempleOS version 4.12 Released * Added TASKf_CMD_LINE_PMT. -* Improved TaskWait(). -* Improved DeathWait(). +* Improved TaskWait(). +* Improved DeathWait(). ----09/27/16 12:40:21---- * Added SndRst(). -* Got rid of crappy reverb in ::/Apps/Psalmody/PsalmodyMain.HC. +* Got rid of crappy reverb in ::/Apps/Psalmody/PsalmodyMain.HC. ----09/27/16 11:09:25---- -* Improved ::/Misc/OSTestSuite.HC. -* Fixed bug in EdCharIns() printing $ cmds. -* Added FUF_JUST_DD and FILEMASK_DD. +* Improved ::/Misc/OSTestSuite.HC. +* Fixed bug in EdCharIns() printing $ cmds. +* Added FUF_JUST_DD and FILEMASK_DD. ----09/27/16 01:05:52---- -* Improved ::/Doc/MemOverview.DD. +* Improved ::/Doc/MemOverview.DD. * Got rid of ::/Demo/Lectures/Mem. * Made filename paths relative to document location in DolDoc links. -* R("Temp","Tmp"); +* R("Temp","Tmp"); ----09/26/16 00:44:42---- -* Added CloseAssault and OverRun to ::/Apps/ToTheFront/ToTheFront.HC. +* Added CloseAssault and OverRun to ::/Apps/ToTheFront/ToTheFront.HC. ----09/22/16 07:53:20---- -* Improved ::/Demo/Graphics/Box.HC. -* Improved ::/Demo/Graphics/SpritePlot3D.HC. +* Improved ::/Demo/Graphics/Box.HC. +* Improved ::/Demo/Graphics/SpritePlot3D.HC. ----09/21/16 17:09:40---- -* Fixed bug in ::/Demo/Games/BomberGolf.HC. +* Fixed bug in ::/Demo/Games/BomberGolf.HC. ----09/20/16 15:57:30---- -* R("Screen","Scrn"); -* R("WinMgrSync","Refresh"); -* R("InDbg","DbgMode"); -* Improved ::/Doc/Boot.DD. +* 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"); +* 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. +* 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"); +* 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(). +* 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.HC. +* Improved ::/Demo/MagicPairs.HC. ----08/27/16 09:45:39---- -* Improved CPURep(). -* Improved ::/Misc/OSTestSuite.HC. -* Added BirthWait() and DeathWait(). +* Improved CPURep(). +* Improved ::/Misc/OSTestSuite.HC. +* Added BirthWait() and DeathWait(). ----08/22/16 04:14:47---- -* R("TK_DOT_DOT_DOT","TK_ELLIPSIS"); +* R("TK_DOT_DOT_DOT","TK_ELLIPSIS"); ----07/17/16 13:03:12---- -* Improved DocOpt(). +* Improved DocOpt(). ----07/17/16 03:23:53---- -* Improved ::/Demo/Games/RawHide.HC. +* Improved ::/Demo/Games/RawHide.HC. ----07/15/16 10:11:10---- * TempleOS version 4.10 Released -* Improved ::/Demo/Games/Talons.HC. +* Improved ::/Demo/Games/Talons.HC. ----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(). +* Added multicore report to CPURep(). ----07/09/16 08:46:36---- -* Changed scoring in ::/Demo/Games/Talons.HC. +* Changed scoring in ::/Demo/Games/Talons.HC. * 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. +* 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. +* 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.HC. +* Fixed multicore bug in Sprite3(). +* Improved ::/Demo/Games/Talons.HC. ----07/05/16 06:03:47---- * TempleOS version 4.09 Released -* Improved ::/Demo/Games/Talons.HC. -* Improved GrFillTri0(). +* Improved ::/Demo/Games/Talons.HC. +* Improved GrFillTri0(). ----07/03/16 04:30:05---- -* Added Unmount(). -* Made BootLoader mandatory in RedSeaISO(). -* Added BDT_ISO_FILE_READ. +* 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. +* Made underscore mandatory on HolyC callable asm functions. ----06/28/16 13:15:08---- -* Changed TaskRep() and MemRep(). -* Changed ::/Adam/WallPaper.HC. +* Changed TaskRep() and MemRep(). +* Changed ::/Adam/WallPaper.HC. ----06/26/16 14:01:16---- -* Added LastFun(), RunFile(), RunFile2() and PopUpRunFile(). +* Added LastFun(), RunFile(), RunFile2() and PopUpRunFile(). * Made boot code modular. ----06/24/16 14:15:13---- -* Added A.I. to ::/Apps/KeepAway/KeepAway.HC and changed scoring. +* Added A.I. to ::/Apps/KeepAway/KeepAway.HC 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"); +* 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(). +* 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. +* 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---- @@ -774,12 +774,12 @@ body {background-color:#000000;} * <CTRL-ALT-n> is next task. ----06/16/16 19:49:39---- -* Added ::/Doc/Comm.HC. -* Added ::/Doc/StdTempleOSPC.DD. -* Added ::/Kernel/FontCyrillic.HC. <CTRL-ALT-f> +* Added ::/Doc/Comm.HC. +* 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.HC. +* Added claws to ::/Demo/Games/Talons.HC.
diff --git a/docs/Doc/CharOverview.html b/docs/Doc/CharOverview.html index 4469ff25..e8efe92b 100755 --- a/docs/Doc/CharOverview.html +++ b/docs/Doc/CharOverview.html @@ -30,7 +30,7 @@ body {background-color:#000000;} A
Character is a single byte holding an ASCII code for a letter, num or sym. The ZealOS term is a U8. Standard ASCII values range from 0 to 127. Values below 32 are ctrl key's. So, an ASCII #3 is a <CTRL-c>. ZealOS uses a -couple nonstandard values below 32. See Char Definitions. +couple nonstandard values below 32. See Char Definitions. ASCII #5 is the cursor location in a saved file. ASCII #28 is <SHIFT-ESC>. @@ -39,19 +39,19 @@ body {background-color:#000000;} Technically, <CTRL-ALT-a> are screen codes. A Key is typically specified with a scan code. ZealOS scan codes contain the key value in the lowest U8, and flags in the upper -3 bytes. See Scan Code Flags and Scan Codes. +3 bytes. See Scan Code Flags and Scan Codes. ZealOS stores scan codes in 8 bytes. Byte 0 is the code. NumPad keys, SHIFT, ALT, CTRL and GUI keys combined. - Byte 1-3 are flags + Byte 1-3 are flags The upper 4-bytes are copied from lower 4-bytes. Byte 4 is the code. Left, Right and NumPad keys distinct. - Byte 5-7 are flags + Byte 5-7 are flags -Run the program ::/Demo/MessageLoop.CC to examine scan code. Press <CTRL-SHIFT-l> and "Insert ASCII/ScanCode". +Run the program ::/Demo/MessageLoop.CC to examine scan code. Press <CTRL-SHIFT-l> and "Insert ASCII/ScanCode". -See Key Allocations and CKbdStateGlobals. +See Key Allocations and CKbdStateGlobals. A String is a bunch of ASCII characters terminated with a zero.
diff --git a/docs/Doc/Charter.html b/docs/Doc/Charter.html index 2a2da504..b80013a9 100755 --- a/docs/Doc/Charter.html +++ b/docs/Doc/Charter.html @@ -44,8 +44,8 @@ body {background-color:#000000;} is no longer blissful. * The metric for resolving all ZealOS code governance issues is how fast the compiler compiles itself and the kernel with
-BootHDIns(). The CosmiC language should be changed to optimize this metric, as Terry Davis did when he changed type casting from -prefix standard C to postfix CosmiC, but we need a rule to prevent degenerating into a brainfuck language. +BootHDIns(). The CosmiC language should be changed to optimize this metric, as Terry Davis did when he changed type casting from +prefix standard C to postfix CosmiC, but we need a rule to prevent degenerating into a brainfuck language. * Minimal abstraction is a goal. Sheep are fools. They always respect a design that is more complicated than another. Any genius can make it complicated. Like in physics, it takes a supra-genius to make it simple. diff --git a/docs/Doc/CmdLineOverview.html b/docs/Doc/CmdLineOverview.html index 79de643b..f52918f2 100755 --- a/docs/Doc/CmdLineOverview.html +++ b/docs/Doc/CmdLineOverview.html @@ -27,12 +27,12 @@ body {background-color:#000000;}
                                                      Command Line Overview
 
-The cmd line feeds into the CosmiC compiler line-by-line as you type.   A stmt outside a function executes immediately.  
+The cmd line feeds into the CosmiC compiler line-by-line as you type.   A stmt outside a function executes immediately.  
 Remember to add a semicolon.
 
 Look-up the function headers with AutoComplete by hitting <CTRL-SHIFT-F1> after typing the first few letters.
 
-Click Here to see the directory cmd header.  It accepts default args from C++.
+Click Here to see the directory cmd header.  It accepts default args from C++.
 
 >Dir("*.DD");
 
@@ -44,7 +44,7 @@ body {background-color:#000000;}
 ude it.  There are several shortcuts for #includeing files.  Right-click or hit <ENTER> on a directory listing or press <F5> 
 while editing.
 
->Ed("NewFile.CC");              Invokes the editor. See Doc Link Type.
+>Ed("NewFile.CC");              Invokes the editor. See Doc Link Type.
 
 Most filenames end in  because they are stored compressed.
 
@@ -52,21 +52,21 @@ body {background-color:#000000;}
 
 >Drive('B');                    B drive
 
-The drive can be specified in a Cd() command as in:
+The drive can be specified in a Cd() command as in:
 
 >Cd("B:/Tmp");                  B drive
 >Cd("::/Demo");                 Boot drive
 
 The home directory is specified with a '~'.
 
->Cd("~/Psalmody");              See ::/Home dir.
+>Cd("~/Psalmody");              See ::/Home dir.
 
 If a file is not found, .Z is added or removed and a search is done, again.  If a file is still not found, all parent 
 directories are searched.
 
-You can place macros in your PersonalMenu for Cd() commands.  <CTRL-m> to access your menu.
+You can place macros in your PersonalMenu for Cd() commands.  <CTRL-m> to access your menu.
 
->Find("needle","/Demo/*.CC;*.DD;"); See File Utils.
+>Find("needle","/Demo/*.CC;*.DD;"); See File Utils.
 
 Cmd Line Routines
 
diff --git a/docs/Doc/CompilerOverview.html b/docs/Doc/CompilerOverview.html
index dc2469f2..97ad3c16 100755
--- a/docs/Doc/CompilerOverview.html
+++ b/docs/Doc/CompilerOverview.html
@@ -27,16 +27,16 @@ body {background-color:#000000;}
 
                                                          Compiler Index
 
-::/Doc/Asm.DD
+::/Doc/Asm.DD
 
-::/Doc/Directives.DD
+::/Doc/Directives.DD
 
-::/Doc/Options.DD
+::/Doc/Options.DD
 
-::/Doc/PreProcessor.DD
+::/Doc/PreProcessor.DD
 
-::/Doc/ScopingLinkage.DD
+::/Doc/ScopingLinkage.DD
 
-See Hello World.
+See Hello World.
 
diff --git a/docs/Doc/CosmiC.html b/docs/Doc/CosmiC.html index 55295859..54e78ea2 100755 --- a/docs/Doc/CosmiC.html +++ b/docs/Doc/CosmiC.html @@ -27,9 +27,9 @@ body {background-color:#000000;}
                                                              CosmiC
 
-* See ::/Doc/CompilerOverview.DD.
+* See ::/Doc/CompilerOverview.DD.
 
-* See Scoping and Linkage for details on extern, import, _extern, _import, etc.
+* See Scoping and Linkage for details on extern, import, _extern, _import, etc.
 
 * Built-in types include I0, I8, I16, I32, I64 for signed 0-8 byte ints and U0, U8, U16, U32, U64 for unsigned 0-8 byte ints and 
 F64 for 8 byte floats.
@@ -60,7 +60,7 @@ body {background-color:#000000;}
   
   Test(, 3);
 
-* A char const all alone is sent to PutChars(). A string with or without args is sent to Print().  An empty string literal 
+* A char const all alone is sent to PutChars(). A string with or without args is sent to Print().  An empty string literal 
 signals a variable format_str follows.
 
   void DemoC(char drv, char *format, char *name, int age)
@@ -83,13 +83,13 @@ body {background-color:#000000;}
 
 * When dealing with function addresses such as for callbacks, precede the name with "&".
 
-* Type casting is postfix.      To typecast int or F64, use ToI64(), ToBool() or ToF64(). (ZealOS follows normal C float<-->int 
+* Type casting is postfix.      To typecast int or F64, use ToI64(), ToBool() or ToF64(). (ZealOS follows normal C float<-->int 
 conversion, but sometimes you want to override. These functions are better than multiplying by "1.0" to convert to float.)
 
 * There is no main() function.  Any code outside of functions gets executed upon start-up, in order.
 
 * There are no bit fields, but there are bit access routines and you can access bytes or words within any int.  See 
-I64 declaration.        A class can be accessed as a whole are subints, if you put a type in front of the class declaration.
+I64 declaration.        A class can be accessed as a whole are subints, if you put a type in front of the class declaration.
   
   public I64i union I64         //"I64i" is intrinsic.  We are defining "I64".
   {
@@ -123,9 +123,9 @@ body {background-color:#000000;}
   
   public U0 GrPrint(CDC *dc, I64 x, I64 y, U8 *format, ...)
   {
-        U8 *buf = StrPrintJoin(NULL, format, argc, argv); //SPrintF() with MAlloc()ed string.
+        U8 *buf = StrPrintJoin(NULL, format, argc, argv); //SPrintF() with MAlloc()ed string.
   
-        GrPutS(dc, x, y, buf); //Plot string at x,y pixels. GrPutS is not public.
+        GrPutS(dc, x, y, buf); //Plot string at x,y pixels. GrPutS is not public.
         Free(buf);
   }
   
@@ -148,7 +148,7 @@ body {background-color:#000000;}
 
 * Allows ranges like "case 4...7:" in switch statements.
 
-* A no case number causes next higher int case in switch statements.    See ::/Demo/NullCase.CC.
+* A no case number causes next higher int case in switch statements.    See ::/Demo/NullCase.CC.
 
   I64 i;
   
@@ -165,7 +165,7 @@ body {background-color:#000000;}
 
 * Switch statements can be nestled with a single switch expression!  This is known as a "sub_switch" statement.  start/end are 
 used to group cases.  Don't goto out of, throw an exception out of, or return out of the start front porch area.  See 
-::/Demo/SubSwitch.CC.
+::/Demo/SubSwitch.CC.
 
   I64 i;
   
@@ -195,7 +195,7 @@ body {background-color:#000000;}
 
   U0 Main()
   {
-        //Only use REGG_LOCAL_VARS or REGG_LOCAL_NON_PTR_VARS for reg vars or else clobbered.
+        //Only use REGG_LOCAL_VARS or REGG_LOCAL_NON_PTR_VARS for reg vars or else clobbered.
         I64 reg R15 i = 5, noreg j = 4;
         no_warn i;
         asm {
@@ -210,9 +210,9 @@ body {background-color:#000000;}
         }
   }
 
-* interrupt, haserrcode, public, argpop or noargpop are function flags. See IRQKbd().
+* interrupt, haserrcode, public, argpop or noargpop are function flags. See IRQKbd().
 
-* A single quote can encompass multiple characters.  'ABC' is equ to 0x434241.  PutChars() takes multiple characters.
+* A single quote can encompass multiple characters.  'ABC' is equ to 0x434241.  PutChars() takes multiple characters.
 
   asm {
   HELLO_WORLD::
@@ -233,7 +233,7 @@ body {background-color:#000000;}
 
 * There is no question-colon operator.
 
-* ZealOS operator precedence
+* ZealOS operator precedence
         `, >>, <<
         *, /, %
         &
@@ -247,13 +247,13 @@ body {background-color:#000000;}
         ||
         =, <<=, >>=, *=, /=, &=, |=, ^=, +=, -=
 
-* You can use Option(OPTf_WARN_PAREN, ON) to find unnecessary parentheses in code.
+* You can use Option(OPTf_WARN_PAREN, ON) to find unnecessary parentheses in code.
 
-* You can use Option(OPTf_WARN_DUP_TYPES, ON) to find dup local var type statements.
+* You can use Option(OPTf_WARN_DUP_TYPES, ON) to find dup local var type statements.
 
 * With the #exe{} feature in your src code, you can place programs that insert text into the stream of code being compiled.  See 
-#exe {} for an example where the date/time and compile-time prompting for configuration data is placed into a program.  
-StreamPrint() places text into a src program stream following the conclusion of the #exe{} blk.
+#exe {} for an example where the date/time and compile-time prompting for configuration data is placed into a program.  
+StreamPrint() places text into a src program stream following the conclusion of the #exe{} blk.
 
 * No #define functions exist (I'm not a fan)
 
@@ -263,22 +263,22 @@ body {background-color:#000000;}
 
 * Can't use <> with #include, use "".
 
-* "$" is an escape character.   Two dollar signs signify an ordinary $. See DolDoc.     In asm or CosmiC code, it also refers to the 
+* "$" is an escape character.   Two dollar signs signify an ordinary $. See DolDoc.     In asm or CosmiC code, it also refers to the 
 inst's address or the offset in a class definition.
 
 * union is more like a class, so you don't reference it with a union label after you define it.  Some common unions are declared 
-in KernelA.HH for 1,2,4 and 8 byte objects.     If you place a type in front of a union declaration, that is the type when used by 
-itself. See ::/Demo/SubIntAccess.CC.
+in KernelA.HH for 1,2,4 and 8 byte objects.     If you place a type in front of a union declaration, that is the type when used by 
+itself. See ::/Demo/SubIntAccess.CC.
 
 * class member vars can have meta data. format and data are two meta data types now used.  All compiler structures are saved and 
-you can access the compiler's info about classes and vars.  See ::/Demo/ClassMeta.CC and        DocForm().
+you can access the compiler's info about classes and vars.  See ::/Demo/ClassMeta.CC and        DocForm().
 
 * There is a keyword lastclass you use as a default arg.        It is set to the class name of the prev arg.    See 
-::/Demo/LastClass.CC, ClassRep(), DocForm()  and ::/Demo/Disk/BlkDevRep.CC.
+::/Demo/LastClass.CC, ClassRep(), DocForm()  and ::/Demo/Disk/BlkDevRep.CC.
 
-* See ::/Demo/Exceptions.CC.  try{} catch{} and throw are different from C++. throw is a function with an 8-byte or less char 
+* See ::/Demo/Exceptions.CC.  try{} catch{} and throw are different from C++. throw is a function with an 8-byte or less char 
 arg.  The char string passed in throw() can be accessed from within a catch{} using the Fs->except_ch.  Within a catch {} blk, 
-set the var Fs->catch_except to TRUE if you want to terminate the search for a handler.  Use PutExcept() as a handler, if you 
+set the var Fs->catch_except to TRUE if you want to terminate the search for a handler.  Use PutExcept() as a handler, if you 
 like.
 
 * A function is available similar to sizeof which provides the offset of a member of a class.  It's called offset.      You place 
@@ -288,21 +288,21 @@ body {background-color:#000000;}
 * There is no continue stmt.    Use goto.
 
 * lock{} can be used to apply asm LOCK prefixes to code for safe multicore read-modify-write accesses.  The code bracked with 
-have LOCK asm prefix's applied to relevant insts within.        It's a little shoddy.  See ::/Demo/MultiCore/Lock.CC.
+have LOCK asm prefix's applied to relevant insts within.        It's a little shoddy.  See ::/Demo/MultiCore/Lock.CC.
 
-* There is a function called MSize() which gives the size of an object alloced off the heap.    For larger size allocations, the 
+* There is a function called MSize() which gives the size of an object alloced off the heap.    For larger size allocations, the 
 system rounds-up to a power of two, so MSize() lets you know the real size and you can take full advantage of it.
 
-* You CAN Free() a NULL ptr.  Useful variants of MAlloc() can be found Here.  Each task has a heap and you can MAlloc and Free 
-off-of other task's heaps, or make an independent heap with HeapCtrlInit().     See HeapLog() for an example.
+* You CAN Free() a NULL ptr.  Useful variants of MAlloc() can be found Here.  Each task has a heap and you can MAlloc and Free 
+off-of other task's heaps, or make an independent heap with HeapCtrlInit().     See HeapLog() for an example.
 
 * The stack does not grow because virtual mem is not used.      It's recommended to allocate large local vars from the heap.    You 
-can change MEM_DEFAULT_STACK and recompile Kernel or request more when doing a Spawn().  You can use CallStackGrow(), but it's 
-odd.  See ::/Demo/StackGrow.CC.
+can change MEM_DEFAULT_STACK and recompile Kernel or request more when doing a Spawn().  You can use CallStackGrow(), but it's 
+odd.  See ::/Demo/StackGrow.CC.
 
 * Only one base class is allowed.
 
-* printf() has new codes.  See Print("") Format Strings.
+* printf() has new codes.  See Print("") Format Strings.
 
 * All values are extended to 64-bit when accessed.      Intermediate calculations are done with 64-bit values.
 
diff --git a/docs/Doc/Credits.html b/docs/Doc/Credits.html
index c34443c4..cdbd3f50 100755
--- a/docs/Doc/Credits.html
+++ b/docs/Doc/Credits.html
@@ -33,12 +33,12 @@ body {background-color:#000000;}
 independent and stands alone.  100% of the src code is including on all distro's, from the kernel to the compiler to the boot 
 loaders!        It is public domain, not GPL.
 
-*) ATA Reg and Cmd Definitions are originally from Linux.  Later, Terry got the spec.
+*) ATA Reg and Cmd Definitions are originally from Linux.  Later, Terry got the spec.
 
-*) The heap algorithm, ::/Kernel/Memory/MAllocFree.CC, is adapted from one Terry saw at Ticketmaster when he worked on their VAX 
+*) The heap algorithm, ::/Kernel/Memory/MAllocFree.CC, is adapted from one Terry saw at Ticketmaster when he worked on their VAX 
 operating system.
 
-*) The adaptive-step-size-Runge-Kutta algorithm, ::/System/ZMathODE.CC, is adapted from the book, Numeric Recipies in C.
+*) The adaptive-step-size-Runge-Kutta algorithm, ::/System/ZMathODE.CC, is adapted from the book, Numeric Recipies in C.
 
 *) The mountain in some games is from http://www.public-domain-photos.com.      The wolf in BlackDiamond is also from there.    Terr
 y took watermarked photos and converted to 16 color.
@@ -51,7 +51,7 @@ body {background-color:#000000;}
 *) Terry included PCIDevice List File.
 
 *) Thanks to whoever wrote this CppHtml.CC.  I'm a novice on web stuff and you helped me with html.  See 
-::/Demo/ToHtmlToTXTDemo/ToHtml.CC.
+::/Demo/ToHtmlToTXTDemo/ToHtml.CC.
 
 *) Terry looked at bootable CD boot sects, but didn't learn anything, finding it easier to make his own.
 
@@ -62,12 +62,12 @@ body {background-color:#000000;}
 
 *) Thanks to http://www.osdev.org for a couple tips.
 
-*) I got Webster's Dictionary and The King James Bible from Project Gutenberg.
+*) I got Webster's Dictionary and The King James Bible from Project Gutenberg.
 
-*) John Carmack inspired Terry to use "Clamp" as a name instead of "Limit".     He inspired Terry to use "needle" and "haystack" as 
+*) John Carmack inspired Terry to use "Clamp" as a name instead of "Limit".     He inspired Terry to use "needle" and "haystack" as 
 names.  He inspired Terry to simplify his Frames-Per-Second code.
 
-*) Bill Gates inspired Terry to add comments to the Help & Index.
+*) Bill Gates inspired Terry to add comments to the Help & Index.
 
 *) Terry hired an artist, Cody Rigby, for $3,000 worth of pixel art.
 
diff --git a/docs/Doc/Ctrls.html b/docs/Doc/Ctrls.html
index 80b3b8b1..c36b37a8 100755
--- a/docs/Doc/Ctrls.html
+++ b/docs/Doc/Ctrls.html
@@ -25,8 +25,8 @@ body {background-color:#000000;}
 
 
 
-To create a ZealOS graphic ctrl, you define callback functions and insert a CCtrl structure in the CTask queue.  See 
-::/Demo/Graphics/Slider.CC, ::/Demo/Graphics/ScrollBars.CC and TermBttnNew.  There is a template-code ctrl generator, if you 
+To create a ZealOS graphic ctrl, you define callback functions and insert a CCtrl structure in the CTask queue.  See 
+::/Demo/Graphics/Slider.CC, ::/Demo/Graphics/ScrollBars.CC and TermBttnNew.  There is a template-code ctrl generator, if you 
 press <CTRL-SHIFT-L>.
 
diff --git a/docs/Doc/Customize.html b/docs/Doc/Customize.html index d2d49d0f..f10945ec 100755 --- a/docs/Doc/Customize.html +++ b/docs/Doc/Customize.html @@ -26,11 +26,11 @@ body {background-color:#000000;}
 
-* You can adjust the mouse movement rate by setting global vars in your start-up file.  See mouse scale.
+* You can adjust the mouse movement rate by setting global vars in your start-up file.  See mouse scale.
 
-* You can set your local time zone by setting the local_time_offset global var in a start-up file.      It's units are CDATE_FREQ.  
-See local time.
+* You can set your local time zone by setting the local_time_offset global var in a start-up file.      It's units are CDATE_FREQ.  
+See local time.
 
-* Get rid of this message here.
+* Get rid of this message here.
 
diff --git a/docs/Doc/CutCorners.html b/docs/Doc/CutCorners.html index fedb050f..88efad42 100755 --- a/docs/Doc/CutCorners.html +++ b/docs/Doc/CutCorners.html @@ -32,15 +32,15 @@ body {background-color:#000000;} * The type-casting operator was made post-fix because it makes the compiler way cleaner. -* ZealOS does not figure-out
FAT32 short name alias numbers. FAT32DirNew(). It can cause hard drive corruption, so it might +* ZealOS does not figure-out FAT32 short name alias numbers. FAT32DirNew(). It can cause hard drive corruption, so it might have to do it eventually. It would really take a lot of junky code for this hatefully, detestable, legacy issue. "Please don't make us ruin the beautiful shiny-new ZealOS with that!" FAT32 is also unappealing because it is in patent limbo. FAT32 might -get removed from ZealOS. There is the RedSea 64-bit file system that works perfectly well. FAT32 is useful, however, because +get removed from ZealOS. There is the RedSea 64-bit file system that works perfectly well. FAT32 is useful, however, because it assists in transferring between dual booted operating systems. -* The asm opcodes names were changed to remove the ambiguity between insts with different numbers of arguments, making the -assembler simpler and minimal 16-bit asm support was done, since 64-bit is what you should be using, unless you're doing a -boot loader. +* The asm opcodes names were changed to remove the ambiguity between insts with different numbers of arguments, making the +assembler simpler and minimal 16-bit asm support was done, since 64-bit is what you should be using, unless you're doing a +boot loader. * There are no user-controlled file-sharing locks. However, the drive and file system have locks and concurrent operations should be fine. @@ -51,8 +51,8 @@ body {background-color:#000000;} * Even if a local function variable is declared less than 64 bits, the compiler does calculations with 64-bit. -* Print() uses StrPrintJoin(). You cannot use vastly over-sized fields for %f. +* Print() uses StrPrintJoin(). You cannot use vastly over-sized fields for %f. -* GrEllipse3() is broken on transformations. +* GrEllipse3() is broken on transformations.
diff --git a/docs/Doc/DebugOverview.html b/docs/Doc/DebugOverview.html index 79f81918..8c15ee5b 100755 --- a/docs/Doc/DebugOverview.html +++ b/docs/Doc/DebugOverview.html @@ -27,59 +27,59 @@ body {background-color:#000000;}
                                                        Debugging Overview
 
-* You can enter the debugger with Debug() or <CTRL-ALT-d>.      You might enter the debugger through a fault.  Enter G() or G2() to 
-continue execution.     Place a call to Debug() in your code at fatal error points to enter the debugger.  If you see a stack dump, 
-record the label+offset and unassemble, U(). U(_RIP);
+* You can enter the debugger with Debug() or <CTRL-ALT-d>.      You might enter the debugger through a fault.  Enter G() or G2() to 
+continue execution.     Place a call to Debug() in your code at fatal error points to enter the debugger.  If you see a stack dump, 
+record the label+offset and unassemble, U(). U(_RIP);
 
-* U(&FunName+offset) to unassemble mem or Uf("FunName") to unassemble a function. U(_RIP-16);
+* U(&FunName+offset) to unassemble mem or Uf("FunName") to unassemble a function. U(_RIP-16);
 
-* While debugging, you specify addresses of assembly routines with just the label, as in _MALLOC+0x20.  You specify CosmiC 
+* While debugging, you specify addresses of assembly routines with just the label, as in _MALLOC+0x20.  You specify CosmiC 
 function names with & before functions as in &Print+0x10.
 
-* You can use progress1-progress4 for debugging because they show on the wallpaper.  They're just global int vars.
+* You can use progress1-progress4 for debugging because they show on the wallpaper.  They're just global int vars.
 
-* You can use SysLog() to send text to the System Task window.  It works like Print().  You could also use RawPrint().
+* You can use SysLog() to send text to the System Task window.  It works like Print().  You could also use RawPrint().
 
-* D(), DocD(), RawD() to do 16 column hex dump mem with numbering from zero.    With DocD the values are updated continually and 
+* D(), DocD(), RawD() to do 16 column hex dump mem with numbering from zero.    With DocD the values are updated continually and 
 you can alter mem by editing.
 
-* Dm(), DocDm(), RawDm() to do 16 column hex dump mem with addresses showing.
+* Dm(), DocDm(), RawDm() to do 16 column hex dump mem with addresses showing.
 
-* Da() to do one column address dump (for stack, etc.) with symbolic addresses.
+* Da() to do one column address dump (for stack, etc.) with symbolic addresses.
 
-* Dr() dumps regs.  You can display and modify regs in the debugger with var-like labels, _RAX, _RBX, etc.
+* Dr() dumps regs.  You can display and modify regs in the debugger with var-like labels, _RAX, _RBX, etc.
 
-* ClassRep() and the dynamic version ClassRepD() can be used to dump structures.
+* ClassRep() and the dynamic version ClassRepD() can be used to dump structures.
 
-* Prof() and ProfRep() provide code profiling.  See ::/Demo/InFile/InProfile.IN (This is an InFile.)
+* Prof() and ProfRep() provide code profiling.  See ::/Demo/InFile/InProfile.IN (This is an InFile.)
 
-* Use RawPrint() to print debug info bypassing the window framework.  You pass these routines a count in milliseconds for how 
-long it should be displayed.  You can use Raw(TRUE) to make all output bypass the window framework.     The WinMgr runs on Core0 and 
+* Use RawPrint() to print debug info bypassing the window framework.  You pass these routines a count in milliseconds for how 
+long it should be displayed.  You can use Raw(TRUE) to make all output bypass the window framework.     The WinMgr runs on Core0 and 
 will overwrite raw text from other cores when it updates the screen.
 
-* Use SysDebug() to set a flag which you can read with IsSysDebug() when you wish to trigger some debug activity.  It's just a 
+* Use SysDebug() to set a flag which you can read with IsSysDebug() when you wish to trigger some debug activity.  It's just a 
 handy simple flag, nothing fancy.
 
 * There are flags for various trace options that can help debugging when there are compiler bugs.  Often, you place them in #exe
 {} blocks.
   
-  Echo() turns on or off raw data going into the lexical analyzer.
+  Echo() turns on or off raw data going into the lexical analyzer.
   
-  Trace() unassembles code generated from the CosmiC compiler.
+  Trace() unassembles code generated from the CosmiC compiler.
   
-  PassTrace() shows intermediate code coming-out after optimization.    The bits ctrl which passes are displayed.
+  PassTrace() shows intermediate code coming-out after optimization.    The bits ctrl which passes are displayed.
 
 
-* There is a heap check utility which can find leaks.  Use HeapLog(), HeapLogAddrRep() and HeapLogSizeRep().    It's a really 
-simple program which intercepts MAlloc() and Free().    You can customize the code to find other heap issues.
+* There is a heap check utility which can find leaks.  Use HeapLog(), HeapLogAddrRep() and HeapLogSizeRep().    It's a really 
+simple program which intercepts MAlloc() and Free().    You can customize the code to find other heap issues.
 
-* You can define handler functions for <CTRL-ALT-letter> keys with CtrlAltCBSet().  They operate either in a interrupt 
-environment or in the window mgr when it queues kbd messages.  You can do Raw() output.  <CTRL-ALT-letter> handlers take a 
+* You can define handler functions for <CTRL-ALT-letter> keys with CtrlAltCBSet().  They operate either in a interrupt 
+environment or in the window mgr when it queues kbd messages.  You can do Raw() output.  <CTRL-ALT-letter> handlers take a 
 scan_code as an arg.
 
-* If you recompile Kernel with BootHDIns(), you can set the MemInit, option to initialize memory to a value at boot, the HeapIni
+* If you recompile Kernel with BootHDIns(), you can set the MemInit, option to initialize memory to a value at boot, the HeapIni
 t option to cause mem alloced off the heap to be initialized or VarInit option so both global and local vars will be initialized 
 to a value, but global AOT variables are always zero if not initialized.  Pick a non-zero value to discover uninitialized var 
-bugs.   You can set sys_var_init_flag, and sys_heap_init_flag directly after booting.
+bugs.   You can set sys_var_init_flag, and sys_heap_init_flag directly after booting.
 
diff --git a/docs/Doc/Define.html b/docs/Doc/Define.html index 199fd53e..176e399c 100755 --- a/docs/Doc/Define.html +++ b/docs/Doc/Define.html @@ -25,18 +25,18 @@ body {background-color:#000000;}
-ZealOS has a string indirection feature implemented with the same hash symbol table entry as #define macros, HTT_DEFINE_STR.  
+ZealOS has a string indirection feature implemented with the same hash symbol table entry as #define macros, HTT_DEFINE_STR.  
 Support for string lists is also provided, but it's not very efficient, though, you can make a hash table with a list using 
-HashDefineListAdd().  See ::/System/DolDoc/DocInit.CC.
+HashDefineListAdd().  See ::/System/DolDoc/DocInit.CC.
 
 If you have an @ as the first char of a define list entry, it is an alias for the prev entry num.
 
 Each task can load its own Define strings.      Remember, when a Hash table is searched for a string, if it is not found, the parent 
 task's table is searched.
 
-The DolDoc framework supports text that changes based on entries in the task's symbol table.  Set a text entry with a D= arg, as 
-in $TX,"",D="DD_MYSTRING"$.  See ::/Demo/DolDoc/DefineStr.CC, ::/System/ZDefine.CC and ::/Doc/MemoryOverview.DD.
+The DolDoc framework supports text that changes based on entries in the task's symbol table.  Set a text entry with a D= arg, as 
+in $TX,"",D="DD_MYSTRING"$.  See ::/Demo/DolDoc/DefineStr.CC, ::/System/ZDefine.CC and ::/Doc/MemoryOverview.DD.
 
-See ::/Demo/Define.CC.
+See ::/Demo/Define.CC.
 
diff --git a/docs/Doc/DemoIndex.html b/docs/Doc/DemoIndex.html index 3a5adefe..e083d160 100755 --- a/docs/Doc/DemoIndex.html +++ b/docs/Doc/DemoIndex.html @@ -32,7 +32,7 @@ body {background-color:#000000;}
<SPACE> to edit a file and <F5> to run it. -::/Doc/HelloWorld.DD +::/Doc/HelloWorld.DD +] Games: Beginner +] Games: Intermediate diff --git a/docs/Doc/Directives.html b/docs/Doc/Directives.html index 1d6f350c..84378873 100755 --- a/docs/Doc/Directives.html +++ b/docs/Doc/Directives.html @@ -32,6 +32,6 @@ body {background-color:#000000;} #define __FILE__ #exe{StreamPrint("\"%s\"", Fs->last_cc->lex_include_stack->full_name);} #define __DIR__ #exe{StreamDir;} -See ::/Demo/Directives.CC. +See ::/Demo/Directives.CC.
diff --git a/docs/Doc/DolDoc.html b/docs/Doc/DolDoc.html index ca359937..ee0d0c5d 100755 --- a/docs/Doc/DolDoc.html +++ b/docs/Doc/DolDoc.html @@ -25,9 +25,9 @@ body {background-color:#000000;}
-A DolDoc in memory is a Circular Queue of cmds and graphics.  See CDocEntry for the entry structure.  See TipOfDay() for a nice 
+A DolDoc in memory is a Circular Queue of cmds and graphics.  See CDocEntry for the entry structure.  See TipOfDay() for a nice 
 example.
 
-DolDoc's are used for the editor, viewer, browser, and cmd line.
+DolDoc's are used for the editor, viewer, browser, and cmd line.
 
diff --git a/docs/Doc/DolDocOverview.html b/docs/Doc/DolDocOverview.html index 6d759cf0..e5c629b3 100755 --- a/docs/Doc/DolDocOverview.html +++ b/docs/Doc/DolDocOverview.html @@ -33,19 +33,19 @@ body {background-color:#000000;} Here is the grammar: -<DolDocCmd> :=
$<TwoLetterCmd>[<FlagList>][,<ArgList>]$ | $ColorName$ +<DolDocCmd> := $<TwoLetterCmd>[<FlagList>][,<ArgList>]$ | $ColorName$ -<FlagList> := +|- <FlagCode>[<FlagList>] +<FlagList> := +|- <FlagCode>[<FlagList>] -<ArgList> := <ArgCode>=<ArgExpression>[,<ArgList>] +<ArgList> := <ArgCode>=<ArgExpression>[,<ArgList>] The format of DolDoc cmds is a two character code, +/-flags, a comma and args separated by commas. Some commands have mandatory -args. Optional args are indicated with <ArgCode>=. A ColorName bracked by dollars, will change the foreground color. +args. Optional args are indicated with <ArgCode>=. A ColorName bracked by dollars, will change the foreground color. -See ::/Doc/Widget.DD, ::/Demo/DolDoc/DemoDoc.DD, and ::/Demo/ToHtmlToTXTDemo/ToHtml.CC. +See ::/Doc/Widget.DD, ::/Demo/DolDoc/DemoDoc.DD, and ::/Demo/ToHtmlToTXTDemo/ToHtml.CC. -<TwoLetterCmd> See Type Defines and ParseDollarCmd(). +<TwoLetterCmd> See Type Defines and ParseDollarCmd(). +] TX Text +] CR Hard New Line +] SR Soft New Line @@ -86,7 +86,7 @@ body {background-color:#000000;} +] HC html +] ER Error -<
FlagCode> See Flag Defines and Simple Flags. +<FlagCode> See Flag Defines and Simple Flags. +] +H Hold +] +L Link +] +TR Tree @@ -102,7 +102,7 @@ body {background-color:#000000;} +] +LC Left CallBack +] +RC Right CallBack -<ArgCode> See Arg Defines. +
<ArgCode> See Arg Defines. +] T="" Tag Str +] LEN="" Field Length +] A="" Auxilliary Str diff --git a/docs/Doc/Features.html b/docs/Doc/Features.html index 09383def..55c40196 100755 --- a/docs/Doc/Features.html +++ b/docs/Doc/Features.html @@ -36,7 +36,7 @@ body {background-color:#000000;} * Free, public domain, 100% open source. -* 64-bit compiler/assembler for CosmiC. Truly compiles, doesn't interpret. Just-in-Time and Ahead-of-Time compilation. With JI +* 64-bit compiler/assembler for CosmiC. Truly compiles, doesn't interpret. Just-in-Time and Ahead-of-Time compilation. With JI T, no need for object or exe files. * No 32-bit krufty code. @@ -45,13 +45,13 @@ body {background-color:#000000;} * Keyboard & Mouse support. -* AHCI ATA Hard drives, support for FAT32 and RedSea file systems with file compression. +* AHCI ATA Hard drives, support for FAT32 and RedSea file systems with file compression. * AHCI ATAPI CD/DVD support with RedSea file system. Can make bootable ISO files so you can roll-your-own distro's. -* Partitioning tool, installer, boot loaders for CD/DVD and hard disk. +* Partitioning tool, installer, boot loaders for CD/DVD and hard disk. -* Editor/Browser for a new Document Format. Source files and the command line window can have graphics, links, icons, trees, +* Editor/Browser for a new Document Format. Source files and the command line window can have graphics, links, icons, trees, colors, super/sub scripts, margins. Everything is seamless through-out the tool chain. No need for separate resource files. * 8-bit ASCII, not just 7-bit. Supported in entire tool chain. <CTRL-ALT-a> @@ -74,13 +74,13 @@ body {background-color:#000000;} * File Manager, <CTRL-d>. -* Code profiler, merge, diff utils. +* Code profiler, merge, diff utils. * PC Speaker support with many hymns. * Music composing tool. -* Many games, demos and documentation. +* Many games, demos and documentation. * All source code included. Only compiles with the included ZealOS compiler and assembler.
diff --git a/docs/Doc/FileLowLevel.html b/docs/Doc/FileLowLevel.html index a8e6a1b9..79d3f75c 100755 --- a/docs/Doc/FileLowLevel.html +++ b/docs/Doc/FileLowLevel.html @@ -36,7 +36,7 @@ body {background-color:#000000;} -
BlkRead() BlkWrite() + BlkRead() BlkWrite() diff --git a/docs/Doc/FileMgr.html b/docs/Doc/FileMgr.html index 626371e9..843f898a 100755 --- a/docs/Doc/FileMgr.html +++ b/docs/Doc/FileMgr.html @@ -76,27 +76,27 @@ body {background-color:#000000;} Unmount drive(s). 'm' - Make CD/DVD ISO.C file. This creates a RedSea ISO file image of the dir the cursor is on. The name of the ISO file is - "::/Tmp/CDDVD.ISO.C" blkdev.default_iso_c_filename and can be redefined in your start-up scripts. You may wish to place it on + Make CD/DVD ISO.C file. This creates a RedSea ISO file image of the dir the cursor is on. The name of the ISO file is + "::/Tmp/CDDVD.ISO.C" blkdev.default_iso_c_filename and can be redefined in your start-up scripts. You may wish to place it on a different drive. 'B' - Burn CD/DVD ISO file. This burns a CD/DVD using the image file, "::/Tmp/CDDVD.ISO" blkdev.default_iso_filename to the drive + Burn CD/DVD ISO file. This burns a CD/DVD using the image file, "::/Tmp/CDDVD.ISO" blkdev.default_iso_filename to the drive the cursor is on. Instructions on Using CD/DVD's - If you have not recompiled Kernel and defined your CD/DVD drive, exit the FileMgr and use Mount to define your CD/DVD drive. - Place a CD/DVD in the drive and press 'c' when on top of the CD/DVD drive letter to mount the drive. It will call DiskChange( + If you have not recompiled Kernel and defined your CD/DVD drive, exit the FileMgr and use Mount to define your CD/DVD drive. + Place a CD/DVD in the drive and press 'c' when on top of the CD/DVD drive letter to mount the drive. It will call DiskChange( ), the ZealOS cmd to mount removable media. Instructions on Burning CD/DVD's Create a temporary dir to hold files and copy files into the holding dir. Make an ISO image of the dir by pressing 'M' when on top of the dir. Press 'B' when on top of the CD/DVD ROM drive to burn the ISO, "::/Tmp/CDDVD.ISO" - blkdev.default_iso_filename, to disk. If you have not recompiled Kernel and defined your CD/DVD drive, exit the FileMgr and - use Mount. + blkdev.default_iso_filename, to disk. If you have not recompiled Kernel and defined your CD/DVD drive, exit the FileMgr and + use Mount. - Making Your Own Distro + Making Your Own Distro
diff --git a/docs/Doc/FileUtils.html b/docs/Doc/FileUtils.html index 02f54959..adca9fdf 100755 --- a/docs/Doc/FileUtils.html +++ b/docs/Doc/FileUtils.html @@ -27,7 +27,7 @@ body {background-color:#000000;}
                                                            File Utils
 
-File util FilesFind() wildcard mask consists of a single base dir with multiple file masks separated by ';'.    The '*' and '?' 
+File util FilesFind() wildcard mask consists of a single base dir with multiple file masks separated by ';'.    The '*' and '?' 
 wildcard chars are accepted.    The '~' is your home directory and '!' indicates an exclusion mask.
 
  
@@ -35,23 +35,23 @@ body {background-color:#000000;}
 "/Demo/*.BMP*;*.GR*"    BaseDir: /Demo                          Mask: *.BMP* | *.GR*
 "/*.DD*;!*/Bible*"              BaseDir: Root                           Mask: *.DD* but not */Bible*
 
-See FilesFindMatch().
+See FilesFindMatch().
 
 Flags are either text or int values.
 
-        FUF_RECURSE             +r Recurse
-        FUF_SINGLE                      +s Single File (Optimization for one file in mask.)
-        FUF_FLATTEN_TREE        +f use with '+F'.  Just use +F, probably.
-        FUF_JUST_DIRS           +D just directories
-        FUF_JUST_FILES          +F just files (Flattens trees)
-        FUF_CLUS_ORDER          +O sort by clus (move head one direction)
-        FUF_JUST_TXT            +T just text files              : FILEMASK_TXT
-        FUF_JUST_DD             +$ just DolDoc files    : FILEMASK_DD
-        FUF_JUST_SRC            +S just src files               : FILEMASK_SRC
-        FUF_JUST_AOT            +A just aot files               : FILEMASK_AOT
-        FUF_JUST_JIT            +J just jit files               : FILEMASK_JIT
-        FUF_JUST_GR             +G just graphic files   : FILEMASK_GR
+        FUF_RECURSE             +r Recurse
+        FUF_SINGLE                      +s Single File (Optimization for one file in mask.)
+        FUF_FLATTEN_TREE        +f use with '+F'.  Just use +F, probably.
+        FUF_JUST_DIRS           +D just directories
+        FUF_JUST_FILES          +F just files (Flattens trees)
+        FUF_CLUS_ORDER          +O sort by clus (move head one direction)
+        FUF_JUST_TXT            +T just text files              : FILEMASK_TXT
+        FUF_JUST_DD             +$ just DolDoc files    : FILEMASK_DD
+        FUF_JUST_SRC            +S just src files               : FILEMASK_SRC
+        FUF_JUST_AOT            +A just aot files               : FILEMASK_AOT
+        FUF_JUST_JIT            +J just jit files               : FILEMASK_JIT
+        FUF_JUST_GR             +G just graphic files   : FILEMASK_GR
 
-See ST_FILE_UTIL_FLAGS when used in calling program taking text flags.
+See ST_FILE_UTIL_FLAGS when used in calling program taking text flags.
 
diff --git a/docs/Doc/Frame.html b/docs/Doc/Frame.html index e3935d2e..ea0058ec 100755 --- a/docs/Doc/Frame.html +++ b/docs/Doc/Frame.html @@ -25,7 +25,7 @@ body {background-color:#000000;}
-If you require separate global vars for multiple instances of a routine, you can use Frames.    See SpriteMeshEd(), 
-::/Demo/Graphics/Pick3D.CC or Noise().
+If you require separate global vars for multiple instances of a routine, you can use Frames.    See SpriteMeshEd(), 
+::/Demo/Graphics/Pick3D.CC or Noise().
 
diff --git a/docs/Doc/GRFiles.html b/docs/Doc/GRFiles.html index 5fb60372..2006c332 100755 --- a/docs/Doc/GRFiles.html +++ b/docs/Doc/GRFiles.html @@ -66,11 +66,11 @@ body {background-color:#000000;}
I32 width; I32 width_internal; //Rounded-up to multiple of 8. I32 height; - I32 flags; //DCF_COMPRESSED? See ::/Kernel/Compress.CC. + I32 flags; //DCF_COMPRESSED? See ::/Kernel/Compress.CC. CBGR48 palette[16]; //Included if DCF_PALETTE. U8 body[]; }; -See DCSave(), GRWrite(), DCLoad(), and GRRead(). +See DCSave(), GRWrite(), DCLoad(), and GRRead().
diff --git a/docs/Doc/Glossary.html b/docs/Doc/Glossary.html index 9658c7c4..42702ab3 100755 --- a/docs/Doc/Glossary.html +++ b/docs/Doc/Glossary.html @@ -41,14 +41,14 @@ body {background-color:#000000;}
Bt, Bts, Btr, Btc, BEqual Define -DolDoc -Editor Link Types -files_find_mask +DolDoc +Editor Link Types +files_find_mask Hash Table InFile Ona Pag -RedSea File System +RedSea File System Sprite +] CLI, STI, PUSHFD, POPFD diff --git a/docs/Doc/GraphicsOverview.html b/docs/Doc/GraphicsOverview.html index cd4aedaa..57aef994 100755 --- a/docs/Doc/GraphicsOverview.html +++ b/docs/Doc/GraphicsOverview.html @@ -27,7 +27,7 @@ body {background-color:#000000;}
                                                        Graphics Overview
 
-Dive into Demo Index to learn.
+Dive into Demo Index to learn.
 
 The order layers are drawn on top of each other is:
 
@@ -69,60 +69,60 @@ body {background-color:#000000;}
 
 
 
-* See GrUpdateScreen(), GrUpdateTasks() and GrUpdateTaskWin() called by the WinMgr task 60fps.  Notice the task's draw_it() 
+* See GrUpdateScreen(), GrUpdateTasks() and GrUpdateTaskWin() called by the WinMgr task 60fps.  Notice the task's draw_it() 
 callback being called.  Only tasks on Core0 are allowed to have windows.        There is one window per task, no child windows.  You 
 can have pop-up child tasks.
 
-* CDCs (device contexts) are a data type for controlling graphics on the screen or graphics in mem.  The device context 
-structure has thick and color.  You use DCAlias() to create your own structure, with its own color and thick.  Free it with 
-DCDel() when finished.
+* CDCs (device contexts) are a data type for controlling graphics on the screen or graphics in mem.  The device context 
+structure has thick and color.  You use DCAlias() to create your own structure, with its own color and thick.  Free it with 
+DCDel() when finished.
 
 * gr.dc is a device context for persistent data on the screen, not needing to be redrawn.  You create an alias for this by using 
-DCAlias() and work with that.   See ::/Demo/Graphics/NetOfDots.CC.
+DCAlias() and work with that.   See ::/Demo/Graphics/NetOfDots.CC.
 
-* There are various flavors of line and point plotting routines.        GrLine() and GrPlot() are the simplest.  The others allow 3D 
+* There are various flavors of line and point plotting routines.        GrLine() and GrPlot() are the simplest.  The others allow 3D 
 graphics and rotations.
 
-* See ::/Doc/Transform.DD for adding a transformation.
+* See ::/Doc/Transform.DD for adding a transformation.
 
 * You change the Fs->draw_it var to point to your DrawIt() function which gets called each screen refresh (60 fps).  You draw 
-everything in the window over and over again.  See ::/Demo/Graphics/Box.CC.
+everything in the window over and over again.  See ::/Demo/Graphics/Box.CC.
 
-* Use the graphic sprite resource editor, <CTRL-r>, to create a sprite that can be plotted with Sprite3() or output to the cmd 
-line with Sprite().  Use $IB,"",BI=1$ in a src program to insert the addr of sprite binary data item #1.        To learn how the 
+* Use the graphic sprite resource editor, <CTRL-r>, to create a sprite that can be plotted with Sprite3() or output to the cmd 
+line with Sprite().  Use $IB,"",BI=1$ in a src program to insert the addr of sprite binary data item #1.        To learn how the 
 numbers work, after creating a sprite with <CTRL-r>, toggle to plain text with <CTRL-t> and check its num.  Make an assignment 
-to a ptr var or pass to Sprite3() with $IB,"",BI=n$.    Use <CTRL-r>'s "Pointer to Sprite" to make a $IB...$ entry.  See 
-::/Demo/Graphics/SpritePlot.CC and ::/Demo/Graphics/SpritePlot3D.CC.  The origin (zero point) for a sprite is defined by the 
+to a ptr var or pass to Sprite3() with $IB,"",BI=n$.    Use <CTRL-r>'s "Pointer to Sprite" to make a $IB...$ entry.  See 
+::/Demo/Graphics/SpritePlot.CC and ::/Demo/Graphics/SpritePlot3D.CC.  The origin (zero point) for a sprite is defined by the 
 cursor location when you pressed <CTRL-r> to make it.  You can edit a sprite by clicking the cursor on it and pressing <CTRL-r> 
 again.
 
-* Set DCF_SYMMETRY in the CDC.flags and call DCSymmetrySet() or DCSymmetry3Set().  This will plot a mirror image in addition to 
-the primary image.      Set DCF_JUST_MIRROR to plot just the image, but this required DCF_SYMMETRY to be set at the same time.  
-Note: You can only have one symmetry active at a time including in CSprites.
+* Set DCF_SYMMETRY in the CDC.flags and call DCSymmetrySet() or DCSymmetry3Set().  This will plot a mirror image in addition to 
+the primary image.      Set DCF_JUST_MIRROR to plot just the image, but this required DCF_SYMMETRY to be set at the same time.  
+Note: You can only have one symmetry active at a time including in CSprites.
 
-* Use DCNew() to create a mem bitmap which can be used to work off-screen and which can be GrBloted onto the screen.  If you set 
-brush member of CDC to another CDC, all the graphic routines will GrBlot() the brush instead of GrPlot().  See 
-::/Demo/Graphics/Blot.CC.
+* Use DCNew() to create a mem bitmap which can be used to work off-screen and which can be GrBloted onto the screen.  If you set 
+brush member of CDC to another CDC, all the graphic routines will GrBlot() the brush instead of GrPlot().  See 
+::/Demo/Graphics/Blot.CC.
 
-* There are a few raster operations available.  They go in bits 8-11 of the dc->color member var which is a CColorROPU32.       
-ROP_COLLISION is special.  It counts the num of pixs drawn on non-background locations.  Using ROP_COLLISION with vector 
-CSprite's is tricky because overlapping pixs from lines in the CSprite reg as collisions.       You can either work with a nonzero 
-count or convert your CSprite to a bitmap if your subelements draw on top of each other.  Be sure to set ->bkcolor before using 
-ROP_COLLISION.  See ::/Demo/Graphics/Collision.CC and Titanium.
+* There are a few raster operations available.  They go in bits 8-11 of the dc->color member var which is a CColorROPU32.       
+ROP_COLLISION is special.  It counts the num of pixs drawn on non-background locations.  Using ROP_COLLISION with vector 
+CSprite's is tricky because overlapping pixs from lines in the CSprite reg as collisions.       You can either work with a nonzero 
+count or convert your CSprite to a bitmap if your subelements draw on top of each other.  Be sure to set ->bkcolor before using 
+ROP_COLLISION.  See ::/Demo/Graphics/Collision.CC and Titanium.
  
-* The ->dither_probability_u16 member of CDC is a U16 used to statistically sel between two colors to get something resembling 
-more shades of color.   See ::/Demo/Graphics/SunMoon.CC and ::/Demo/Graphics/Shading.CC.        It works with many graphic routines, 
+* The ->dither_probability_u16 member of CDC is a U16 used to statistically sel between two colors to get something resembling 
+more shades of color.   See ::/Demo/Graphics/SunMoon.CC and ::/Demo/Graphics/Shading.CC.        It works with many graphic routines, 
 but not those with pens.
 
 * There is a mechanism built-in for generating motion based on differential equations, which allows realistic physics.  You 
-create an CMathODE struct with ODENew(), passing it the num of vars in the state vect.  For realistic physics, you usually have 
+create an CMathODE struct with ODENew(), passing it the num of vars in the state vect.  For realistic physics, you usually have 
 2 state vars for each dimension (for each mass) because motion is governed by F=mA which is a 2nd order equation.  The two 
 states are pos and velocity and to solve these you need to supply the derivative of pos and velocity.   The derivative of pos is 
 usually simply the current velocity and the derivative of velocity is the acceleration (the sum of forces on a mass divided by 
-mass).  To help provide meaningful names for values in the state vect, you can create an COrder2D3 ptr and point it to a mass in 
+mass).  To help provide meaningful names for values in the state vect, you can create an COrder2D3 ptr and point it to a mass in 
 the state vect. Six elements in the state vect are required for each mass.
 
 See Math/CMathODE.
-See ::/Demo/Games/Rocket.CC.
+See ::/Demo/Games/Rocket.CC.
 
diff --git a/docs/Doc/GuideLines.html b/docs/Doc/GuideLines.html index 17c912d4..a396c8e1 100755 --- a/docs/Doc/GuideLines.html +++ b/docs/Doc/GuideLines.html @@ -40,36 +40,36 @@ body {background-color:#000000;}
/Doc Here you can find documentation. /Kernel The core of the operating system is found here. Since priviledge levels are not used, calling it a kernel is deceptive. -It is AOT compiled by BootHDIns(). It is loaded by the boot loader and must fit in 640K. +It is AOT compiled by BootHDIns(). It is loaded by the boot loader and must fit in 640K. /Compiler The compiler module src code is found here. The compiler is AOT compiled to produce a binary file which is loaded at -boot. It, too, is AOT compiled by BootHDIns(). +boot. It, too, is AOT compiled by BootHDIns(). -/System The non-kernel part of the operating system is found here. It is JIT compiled during boot. The System Task is the most +/System The non-kernel part of the operating system is found here. It is JIT compiled during boot. The System Task is the most important task. It never dies. /0000Boot Boot files go here. Stage 2 of the ZealOS hard drive master boot loader, the old hard drive master boot record which -is just blk#0, and the CD/DVD 0000Kernel.BIN.C file go here. ASCII 0000 is near the top, alphabetically, in case you use +is just blk#0, and the CD/DVD 0000Kernel.BIN.C file go here. ASCII 0000 is near the top, alphabetically, in case you use MagicISO. ::/Home Files -The home dir is specified with '~'. The home dir is ::/Home unless you change it with HomeSet() or compile the kernel with a +The home dir is specified with '~'. The home dir is ::/Home unless you change it with HomeSet() or compile the kernel with a config option. An empty /Home dir should be valid because it will get default files from the root dir. -~/PersonalMenu.DD a menu viewed with the <CTRL-m> key or by clicking "MENU" in the upper left border area of a window. +~/PersonalMenu.DD a menu viewed with the <CTRL-m> key or by clicking "MENU" in the upper left border area of a window. -~/PersonalNotes.DD a personal note file viewed with the <CTRL-SHIFT-M> key. +~/PersonalNotes.DD a personal note file viewed with the <CTRL-SHIFT-M> key. -~/MakeHome.CC a file compiled by the System Task during StartOS. +~/MakeHome.CC a file compiled by the System Task during StartOS. -~/Home* Copy Home* files from the root into ~ and customize them. These files are invoked when the System Task starts-up. +~/Home* Copy Home* files from the root into ~ and customize them. These files are invoked when the System Task starts-up. -~/Once.CC a file invoked at the start-up of the first user. Customize this! +~/Once.CC a file invoked at the start-up of the first user. Customize this! -~/Registry.CC can be edited by hand or deleted to reset to defaults. Takes affect next boot. +~/Registry.CC can be edited by hand or deleted to reset to defaults. Takes affect next boot. @@ -82,7 +82,7 @@ body {background-color:#000000;} * Make a file called Run.CC to load and run the application, preferable by #includeing the Load.CC file. * Place user data in a subdirectory of /Home, preferably naming the subdirectory the same as the /Apps subdirectory. Or, -place data in the Registry.CC file. See ::/Demo/RegistryDemo.CC. +place data in the Registry.CC file. See ::/Demo/RegistryDemo.CC. * If the app needs files in the /Home directory, make an /Apps file called Install.CC or Install.IN to create the /Home subdirectory. @@ -92,16 +92,16 @@ body {background-color:#000000;} Programming Guidelines * Virtual mem/Paging is not used -- it is identity mapped in x86_64 mode. The stack does not grow, so alloc enough when the -task (process) is Spawned and use the heap for most things. (The heap refers to MAlloc() and Free().) +task (process) is Spawned and use the heap for most things. (The heap refers to MAlloc() and Free().) -* You can Free(NULL). +* You can Free(NULL). -* See Naming Convention and Abbreviations. +* See Naming Convention and Abbreviations. -* There are two modes of compiling, AOT Compile Mode and JIT Compile Mode. Compilation is done in both -- neither is -"interpreted". Use JIT Mode. +* There are two modes of compiling, AOT Compile Mode and JIT Compile Mode. Compilation is done in both -- neither is +"interpreted". Use JIT Mode. -* CosmiC +* CosmiC * Use I64 instead of smaller int sizes because the compiler converts everything to 64-bit. Don't use unsigned unless it actually breaks. A policy of signed keeps it simple so you don't have to agonize over choices. @@ -119,7 +119,7 @@ body {background-color:#000000;} * In-order, short circuit logic is assumed. * Avoid boolean expression assignments. Boolean assignments don't have short circuit logic and are not compiled efficiently. -The Bool type is just an alias for a 1 byte signed int -- nothing forces it to 1 or 0. There is a ToBool() function that will +The Bool type is just an alias for a 1 byte signed int -- nothing forces it to 1 or 0. There is a ToBool() function that will for to 1 ot 0, however. * Global vars in AOT BIN modules are initialized to zero. They occupy space in BIN files. @@ -128,7 +128,7 @@ body {background-color:#000000;} against multiple cores, you need a locked semaphore. Semaphores might need to be in their own cache line. Lock bits are used in a lot of places not aligned. -* SysDebug() and IsSysDebug() are really handy when working on the compiler or kernel. It's just a bit you can set and test. +* SysDebug() and IsSysDebug() are really handy when working on the compiler or kernel. It's just a bit you can set and test. * U0 * is not used because the size is zero for ptr arithmetic. @@ -138,36 +138,36 @@ body {background-color:#000000;} Hash Sym Tables -* See ::/System/ZHash.CC for examples of how the hash tables are set-up. Basically, syms are placed into hash tables and child +* See ::/System/ZHash.CC for examples of how the hash tables are set-up. Basically, syms are placed into hash tables and child process hash tables are chained to parents. This provides scopes for vars and functions. -* sys_task->hash_table holds the CosmiC syms loaded in on start-up. +* sys_task->hash_table holds the CosmiC syms loaded in on start-up. * Fs->hash_table holds user CosmiC syms and if a sym is not found, it checks parents. When a duplicate sym is added to the table, it overshadows the prev sym. When developing software, typically you include the file at the cmd prompt, make changes and reinclude it. Old syms are overshadowed but they are still there. Periodically, kill the TASK and start fresh when mem is -low. If you wish your applications to free themselves instead of staying in mem, spawn or PopUp() a task to run the +low. If you wish your applications to free themselves instead of staying in mem, spawn or PopUp() a task to run the application and kill it when it's done. -* To display the contents of a hash table, use the Who() routine or the varients. HashDepthRep() gives a histogram of how long +* To display the contents of a hash table, use the Who() routine or the varients. HashDepthRep() gives a histogram of how long the chains are, in case you wish to make hash table sizes bigger. Assembly Language -See ::/Doc/Asm.DD. +See ::/Doc/Asm.DD. -* FS must always point to the cur CTask. +* FS must always point to the cur CTask. -* GS must always point to the cur CCPU. +* GS must always point to the cur CCPU. -* Don't change the segment regs unless interrupts are off. It's hard to do, anyway. SET_FS_BASE and SET_GS_BASE. +* Don't change the segment regs unless interrupts are off. It's hard to do, anyway. SET_FS_BASE and SET_GS_BASE. -* When interacting with CosmiC compiled code, preserve RBP, RSI, RDI, R10-R15 because the compiler uses these for reg vars. You -are free to clobber RAX, RBX, RCX, RDX, R8 and R9. See Compiler Reg Masks, PUSH_C_REGS and POP_C_REGS +* When interacting with CosmiC compiled code, preserve RBP, RSI, RDI, R10-R15 because the compiler uses these for reg vars. You +are free to clobber RAX, RBX, RCX, RDX, R8 and R9. See Compiler Reg Masks, PUSH_C_REGS and POP_C_REGS -* It is recommended to use the standard stack frame for functions because Caller() is used to display the call stack, such as +* It is recommended to use the standard stack frame for functions because Caller() is used to display the call stack, such as for the wallpaper. PUSH RBP MOV RBP, RSP diff --git a/docs/Doc/Hash.html b/docs/Doc/Hash.html index 288424b3..627303de 100755 --- a/docs/Doc/Hash.html +++ b/docs/Doc/Hash.html @@ -55,22 +55,22 @@ body {background-color:#000000;} There is a symbol (hash) table for each task. When a sym is not found, the parent task's sym table is checked. All tasks chain back to the System task. -ZealOS sym tables are implemented with an array of linked-lists. A num is generated from a string by HashStr() to index into +ZealOS sym tables are implemented with an array of linked-lists. A num is generated from a string by HashStr() to index into the array of linked-lists. Multiple strings can generate the same num, so linked-lists are built. Newer entries overshadow older ones. -There are various types of entries. See Hash Entry Types. +There are various types of entries. See Hash Entry Types. -Symbol Look-up (Used many places including the JIT Compiler and Loader.) -1) Symbol name is hashed by adding and shifting the ASCII of all chars. -2) hash table->body[] array is indexed. +Symbol Look-up (Used many places including the JIT Compiler and Loader.) +1) Symbol name is hashed by adding and shifting the ASCII of all chars. +2) hash table->body[] array is indexed. 3) Linked-list is traversed until match of text and type of entry. -4) If not found, hash table->next table is searched. +4) If not found, hash table->next table is searched. Duplicate entries are allowed -- they overshadow old entries. Address-to-Symbol Look-up (Slow because not important. We could use trees.) -1) FunSeg Cache is scanned. -2) Hash Tables are scanned. +1) FunSeg Cache is scanned. +2) Hash Tables are scanned.
diff --git a/docs/Doc/HeapDebug.html b/docs/Doc/HeapDebug.html index 2b274a66..e8c225d3 100755 --- a/docs/Doc/HeapDebug.html +++ b/docs/Doc/HeapDebug.html @@ -25,6 +25,6 @@ body {background-color:#000000;}
-Recompile the kernel with _CONFIG_HEAP_DEBUG=TRUE if you want more heap debugging.  You are on your own.
+Recompile the kernel with _CONFIG_HEAP_DEBUG=TRUE if you want more heap debugging.  You are on your own.
 
diff --git a/docs/Doc/HelpIndex.html b/docs/Doc/HelpIndex.html index cac92cf8..5db99a36 100755 --- a/docs/Doc/HelpIndex.html +++ b/docs/Doc/HelpIndex.html @@ -31,15 +31,15 @@ body {background-color:#000000;} +] Mouse Ctrls +] Keyboard-Mouse Ctrls
-Welcome About ZealOS -Command Line Take Tour -Demo Index Key Map -Features Requirements -Charter Strategic Decisions -F.A.Q. Glossary -CosmiC Compiler Index -Why Not More? Demands -The Std ZealOS PC +Welcome About ZealOS +Command Line Take Tour +Demo Index Key Map +Features Requirements +Charter Strategic Decisions +F.A.Q. Glossary +CosmiC Compiler Index +Why Not More? Demands +The Std ZealOS PC +] User Help +] Admin Help @@ -52,59 +52,59 @@ body {background-color:#000000;} Bit Boot Call -Char Overview +Char Overview Char Routines Circular Queue -Cmd Line Overview +Cmd Line Overview Cmd Line Routines -Compiler Overview +Compiler Overview Compiler Routines Compression Ctrls Data Types Date -Debugging Overview +Debugging Overview Debugging Routines Define Devices Disk -Doc Overview +Doc Overview Doc Routines Exceptions File -File Utils +File Utils Frames God -Graphics Overview +Graphics Overview Graphics Routines Hash Help System -CosmiC +CosmiC InFile Info Install I/O Job -Key Allocations +Key Allocations Keyboard Devices -Link Types +Link Types Math -Memory Overview +Memory Overview Memory Routines Menus Messages Misc Mouse MultiCore -OpCodes -Operator Precedences +OpCodes +Operator Precedences PCI -Print("") Format Strings +Print("") Format Strings Processor Profiler -RedSea +RedSea Registry -Scan Codes +Scan Codes ScreenCast Sound Sprites @@ -115,7 +115,7 @@ body {background-color:#000000;} TextBase Layer Time Training -TOSZ +TOSZ Utils Windows
diff --git a/docs/Doc/HelpSystem.html b/docs/Doc/HelpSystem.html index d3b14d1b..2c176ec4 100755 --- a/docs/Doc/HelpSystem.html +++ b/docs/Doc/HelpSystem.html @@ -27,11 +27,11 @@ body {background-color:#000000;}
 #help_index "Topic/SubTopic;OtherTopic"
 The help index preprocessor compiler directive sets the topics for syms subsequently defined.  You specify subtopics with a '/' 
-tree hierarchy and separate multiple topics with a ';'.  The index ctrls HI:index links.
+tree hierarchy and separate multiple topics with a ';'.  The index ctrls HI:index links.
 
 public causes a sym to appear in help_index reports.
 
 #help_file "filename[.DD]"
-The help file preprocessor directive makes a file into the heading of a HI:index report for the current help index.
+The help file preprocessor directive makes a file into the heading of a HI:index report for the current help index.
 
diff --git a/docs/Doc/InFile.html b/docs/Doc/InFile.html index c69688d7..2f5c88c7 100755 --- a/docs/Doc/InFile.html +++ b/docs/Doc/InFile.html @@ -28,16 +28,16 @@ body {background-color:#000000;} InFiles are used to generate user input to automate operations. The ZealOS tour is done with an InFile. It is akin to a Unix pipe because StdOut of one gets chained into StdIn of another. -When an InFile runs, a child task is Spawn()ed which intercepts real user input and generates fake input. InFiles are CosmiC -programs run by the child whose stdout goes to the parent's input buffer. Message() can be included in an InFile to send +When an InFile runs, a child task is Spawn()ed which intercepts real user input and generates fake input. InFiles are CosmiC +programs run by the child whose stdout goes to the parent's input buffer. Message() can be included in an InFile to send special keys or mouse cmds to the parent. While an InFile is running, the normal input gets diverted to the InFile task and can be filtered and sent back to the parent task. Unless you are driving functions which prompt for data, you can probably use an #include file in place of an InFile. -See ::/Demo/InFile/InDir.IN. +See ::/Demo/InFile/InDir.IN. -Note: In("") can be used if all you need is to send ASCII characters. It differs from InStr(). You'll probably use In() a -lot and not InStr(). With In(), for example, you can place answers to the prompts for recompiling the Kernel module during -BootHDIns(). +Note: In("") can be used if all you need is to send ASCII characters. It differs from InStr(). You'll probably use In() a +lot and not InStr(). With In(), for example, you can place answers to the prompts for recompiling the Kernel module during +BootHDIns().
diff --git a/docs/Doc/Install.html b/docs/Doc/Install.html index 93c0eb05..064b3e1a 100755 --- a/docs/Doc/Install.html +++ b/docs/Doc/Install.html @@ -35,46 +35,46 @@ body {background-color:#000000;} with a restore disk that does not allow repartitioning. It's recommended to connect a spare additional hard drive and use the
B IOS to select which drive to boot. -The ::/Misc/OSInstall.CC script will automate much of this. It runs if you boot the CD/DVD-ROM. +The ::/Misc/OSInstall.CC script will automate much of this. It runs if you boot the CD/DVD-ROM. -See Boot.DD for an overview of booting. See Requirements for supported hardware. +See Boot.DD for an overview of booting. See Requirements for supported hardware. Two ZealOS partitions are highly recommended, so you can boot to a back-up and fix the primary when you work on it. Odds are, you only need a couple gigabytes for your ZealOS partitions. 1) - Mount() use if the drive is partitioned. + Mount() use if the drive is partitioned. This command mounts a drive making it accessible. For simplicity, sel 'C' as the first drive letter for your hard drive. The first partition will be 'C', second, 'D', etc. ZealOS needs only 1 number to utilize a hard drive -- port. - DiskPart('C') use if drive is not partitioned + DiskPart('C') use if drive is not partitioned - This will perform a special Mount() automatically. + This will perform a special Mount() automatically. WARNING: This command erases everything on a hard drive. It repartitions a whole drive and formats the partitions. This command should be skipped if you already have your hard drive partitioned. - WARNING: This command doesn't play well with other operating systems. You'll need to do a BootMHDZero() to restore + WARNING: This command doesn't play well with other operating systems. You'll need to do a BootMHDZero() to restore your drive to a state where other operating systems can partition it. -2) Format('D', TRUE, FALSE, FSt_FAT32) - This command formats a drive with FAT32 or the RedSea file system type. Use the drive letter of the partition in place of 'D +2) Format('D', TRUE, FALSE, FSt_FAT32) + This command formats a drive with FAT32 or the RedSea file system type. Use the drive letter of the partition in place of 'D '. WARNING: If you are upgrading, be sure not to lose the file, /0000Boot/OldMBR.BIN.C. -3) CopyTree("T:/", "D:/") +3) CopyTree("T:/", "D:/") This command is used to copy files onto a hard drive partition from the CD/DVD. Use the drive letter of the partition in place of 'D'. -4) BootHDIns('D') - This command recompiles the source code on a drive and writes to the drive's boot record. You'll need to reenter the Mount +4) BootHDIns('D') + This command recompiles the source code on a drive and writes to the drive's boot record. You'll need to reenter the Mount information so it can be stored in the kernel. -5) Use Linux's Grub or ZealOS' BootMHDIns('D') +5) Use Linux's Grub or ZealOS' BootMHDIns('D') - The BootMHDIns() command places a boot loader on a drive. It saves the old master boot record to /0000Boot/OldMBR.BIN.C and + The BootMHDIns() command places a boot loader on a drive. It saves the old master boot record to /0000Boot/OldMBR.BIN.C and replaces it. When you boot, you will have the option of booting the old master boot record. This command can be skipped if you already have a boot loader. Be sure not to lose the copy of the old boot record, like if you reformat the drive. diff --git a/docs/Doc/Job.html b/docs/Doc/Job.html index ea65c9ad..9dd7d0be 100755 --- a/docs/Doc/Job.html +++ b/docs/Doc/Job.html @@ -26,43 +26,43 @@ body {background-color:#000000;}
 /* Graphics Not Rendered in HTML */
-               PopUpPrint                                 User          ExePrint
+               PopUpPrint                                 User          ExePrint
 
 
 
-                  PopUp                                                 ExePutS
+                  PopUp                                                 ExePutS
 
 
 
- Core0 SystemTask  ServerCmdLine   AP ExecutiveTask       UserCmdLine
+ Core0 SystemTask  ServerCmdLine   AP ExecutiveTask       UserCmdLine
 
 
 
 
 
 
-         ServerTaskCont                                UserTaskCont
+         ServerTaskCont                                UserTaskCont
 
 
 
-        JobsHandler
+        JobsHandler
 
 
 
-         JobRunOne           JobRunOne                  ExeCmdLine      ExeCmdLine
+         JobRunOne           JobRunOne                  ExeCmdLine      ExeCmdLine
 
 
 
 
-CJob nodes are one of five types.       User applications deal with text or messages.  JobRunOne() will call a function, spawn a 
+CJob nodes are one of five types.       User applications deal with text or messages.  JobRunOne() will call a function, spawn a 
 task or execute some text src code.
 
-#define JOBT_TEXT_INPUT 0 //TaskText()          Feed StdIn
-#define JOBT_MESSAGE    1 //TaskMessage()       Post message
-#define JOBT_EXE_STR    2 //TaskExe()           Compile & execute src code text
-#define JOBT_CALL               3 //JobQueue()          Tell MP to call function
-#define JOBT_SPAWN_TASK 4 //Spawn()             Tell MP to spawn task
+#define JOBT_TEXT_INPUT 0 //TaskText()          Feed StdIn
+#define JOBT_MESSAGE    1 //TaskMessage()       Post message
+#define JOBT_EXE_STR    2 //TaskExe()           Compile & execute src code text
+#define JOBT_CALL               3 //JobQueue()          Tell MP to call function
+#define JOBT_SPAWN_TASK 4 //Spawn()             Tell MP to spawn task
 
-Several other routines include a call to JobsHandler() that gives them powerful ability to execute servant cmds.
+Several other routines include a call to JobsHandler() that gives them powerful ability to execute servant cmds.
 
diff --git a/docs/Doc/KeyAlloc.html b/docs/Doc/KeyAlloc.html index 34e6a2b9..73ef21ad 100755 --- a/docs/Doc/KeyAlloc.html +++ b/docs/Doc/KeyAlloc.html @@ -32,15 +32,15 @@ body {background-color:#000000;} See
Key Map for a detailed list of key commands. When you are at the cmd line, editing documents, browsing documentation and help, entering items in forms or in menu's, the -DolDoc editor handles keys. It allows you to define your own key handlers in a MyPutKey() function. If you choose, you can catch -keys, overriding the default handlers. See DocPutKey(). The following is an overview of key allocations. +DolDoc editor handles keys. It allows you to define your own key handlers in a MyPutKey() function. If you choose, you can catch +keys, overriding the default handlers. See DocPutKey(). The following is an overview of key allocations. -<ALT-keys> and <ALT-SHIFT-keys> Free for user configurations in your MyPutKey() handler, except for ALT-BACKSPACE (undo). +<ALT-keys> and <ALT-SHIFT-keys> Free for user configurations in your MyPutKey() handler, except for ALT-BACKSPACE (undo). There are a few examples pre-defined, but you can change them if you wish. -<CTRL-ALT-keys> and <CTRL-ALT-SHIFT-keys> Handled at a system level, NOT by the CDoc editor. You can define your own handlers -with CtrlAltCBSet(). They operate either in a interrupt environment or in the window mgr when it queues kbd messages. You -can do Raw() output. <CTRL-ALT-letter> handlers take a scan_code as an arg. +<CTRL-ALT-keys> and <CTRL-ALT-SHIFT-keys> Handled at a system level, NOT by the CDoc editor. You can define your own handlers +with CtrlAltCBSet(). They operate either in a interrupt environment or in the window mgr when it queues kbd messages. You +can do Raw() output. <CTRL-ALT-letter> handlers take a scan_code as an arg. <CTRL-function key> Auto-completes local words. diff --git a/docs/Doc/KeyDev.html b/docs/Doc/KeyDev.html index 3b3b96bf..7b178bbc 100755 --- a/docs/Doc/KeyDev.html +++ b/docs/Doc/KeyDev.html @@ -25,23 +25,23 @@ body {background-color:#000000;}
-The editor mostly stays in a KeyGet()/PutKey() loop.    The putkey portion is where keys are acted-upon.        ZealOS has a chain 
+The editor mostly stays in a KeyGet()/PutKey() loop.    The putkey portion is where keys are acted-upon.        ZealOS has a chain 
 of putkey handlers in a Circular Queue with priorities.  The highest priority handlers can choose to terminate handling, 
 otherwise, the keys get sent on down the chain.
 
-KeyDevAdd() defines a putkey device with a priority.    "Device" might be a misnomer.  Currently, the following are defined:
+KeyDevAdd() defines a putkey device with a priority.    "Device" might be a misnomer.  Currently, the following are defined:
 
 Priority                Handler
 ---------- ---------
-0x20000000 MyPutKey() user handler
-0x40000000 KDInputFilterPutKey() for In(), InStr(), and InFile() handling.
-0x60000000 KDRawPutKey() nonwindowed direct to video mem debug output.
-0x80000000 KDDocPutKey() standard document cmds
+0x20000000 MyPutKey() user handler
+0x40000000 KDInputFilterPutKey() for In(), InStr(), and InFile() handling.
+0x60000000 KDRawPutKey() nonwindowed direct to video mem debug output.
+0x80000000 KDDocPutKey() standard document cmds
 
 Since handling individual keys is slow, ZealOS supports PutS() as well.  If no puts handler is defined, individual keys are 
 sent.
 
-CDoc.user_put_key and CDoc.user_put_s are call back routines which offer some neat tricks.      See ::/Apps/Psalmody/JukeBox.CC.  
-There is a var CDoc.user_put_data which gets passed to them.
+CDoc.user_put_key and CDoc.user_put_s are call back routines which offer some neat tricks.      See ::/Apps/Psalmody/JukeBox.CC.  
+There is a var CDoc.user_put_data which gets passed to them.
 
diff --git a/docs/Doc/Lex.html b/docs/Doc/Lex.html index 5ee1b7bc..d7134210 100755 --- a/docs/Doc/Lex.html +++ b/docs/Doc/Lex.html @@ -25,8 +25,8 @@ body {background-color:#000000;}
-The compiler's lexical analyzer can be used in your programs to simplify parsing.  See Doc Parsing or Parse Opcode File.
+The compiler's lexical analyzer can be used in your programs to simplify parsing.  See Doc Parsing or Parse Opcode File.
 
-See Tokens.
+See Tokens.
 
diff --git a/docs/Doc/MemoryOverview.html b/docs/Doc/MemoryOverview.html index b432e20e..a60996de 100755 --- a/docs/Doc/MemoryOverview.html +++ b/docs/Doc/MemoryOverview.html @@ -36,57 +36,57 @@ body {background-color:#000000;} Therefore, ZealOS keeps all code in the lowest 2Gig memory addresses including what would normally be called "the kernel". Two Gig is plenty for code, don't worry. -You can create new, independent heaps using
HeapCtrlInit(). Then, use the CHeapCtrl as the 2nd arg to MAlloc(). See HeapLog() +You can create new, independent heaps using HeapCtrlInit(). Then, use the CHeapCtrl as the 2nd arg to MAlloc(). See HeapLog() for an example. -Memory alloced by a task will be freed when the task is killed. The System Task is a task that never dies. His memory is like -kernel memory in other operating systems. See ZCAlloc(), ZMAlloc(), ZMAllocIdent() and ZStrNew(). +Memory alloced by a task will be freed when the task is killed. The System Task is a task that never dies. His memory is like +kernel memory in other operating systems. See ZCAlloc(), ZMAlloc(), ZMAllocIdent() and ZStrNew(). All of the regular page tables are marked, "cached". When accessing hardware, however, you need uncached page table. The -lowest 4Gig addresses have an alias to access hardware located toward the top of mapped space, 0x0100000000. See -dev.uncached_alias. +lowest 4Gig addresses have an alias to access hardware located toward the top of mapped space, 0x0140000000. See +dev.uncached_alias. During an extended powered-on session of ZealOS, in theory, memory will become fragmented, requiring a reboot. It has never happens to me. -See MemRep() and ::/Demo/MemDemo.CC. +See MemRep() and ::/Demo/MemDemo.CC. Single System-wide Memory Map 0x0000007C00- 0x0000036FFF - Kernel module, placed here by the boot-loader, BOOT_RAM_BASE. + Kernel module, placed here by the boot-loader, BOOT_RAM_BASE. 0x0000096600- 0x0000096FFF - Boot block relocated here before loading the Kernel module, BootDVD & BootHD. + Boot block relocated here before loading the Kernel module, BootDVD & BootHD. - 0x0000097000- 0x0000097030 Multicore start-up vect code, MPN_VECT. + 0x0000097000- 0x0000097030 Multicore start-up vect code, MPN_VECT. ~0x000009F000- 0x000009FFFF Extended BIOS data area. - 0x00000A0000- 0x00000BFFFF VGA graphics mem with alias at text.vga_alias. - 0x0000100000- 0x0000101FFF CSysFixedArea for misc. - 0x0000104000- 0x007FF7F3FF Code Heap mem. + 0x00000A0000- 0x00000BFFFF VGA graphics mem with alias at text.vga_alias. + 0x0000100000- 0x0000101FFF CSysFixedArea for misc. + 0x0000104000- 0x00356DFCFF Code Heap mem. 0x00E0000000- 0x00FFFFFFFF 32-bit devices could alloc memory at 0xF0000000 going up, but this is wrong, since some PCs already have devices at - 0xF0000000. PCI devices are supported, so Mem32DevAlloc() flaws could become an issue. + 0xF0000000. PCI devices are supported, so Mem32DevAlloc() flaws could become an issue. 0x0080000000-~0x00DFFFFFFF - 0x0100000000-~0x00FFFFFFFF + 0x0100000000-~0x0115BFFFFF Data Heap mem. (The physical memory that exists in this range is data heap.) - 0x0100000000- 0x01FFFFFFFF + 0x0140000000- 0x023FFFFFFF Uncached alias of first 4Gig. (For 32-bit device access.) - - 0x01FFFFFFFF - 64-bit devices are alloced with Mem64DevAlloc() counting backward. + - 0x023FFFFFFF + 64-bit devices are alloced with Mem64DevAlloc() counting backward. * Note: There is a break in the data-heap block pool. This has no effect except the obvious effect that fragmentation has on -contiguous requests. You can MAlloc() an 8Gig chunk on a 12Gig machine. You can MAlloc() a 32Gig chunk on a 64Gig machine. +contiguous requests. You can MAlloc() an 8Gig chunk on a 12Gig machine. You can MAlloc() a 32Gig chunk on a 64Gig machine. * Note: For systems with less than 2Gig RAM, the code and data heap block pools are the same. For systems with 2-4Gig of RAM, -the code heap is 1/4 of the total. See BlkPoolsInit(). +the code heap is 1/4 of the total. See BlkPoolsInit(). History @@ -106,16 +106,16 @@ body {background-color:#000000;} In 2016, Terry came-up with an alternate idea. He double mapped the lowest memory with an alias that was uncached. Accessing the lowest 2Meg area directly was cached but the alias he created up at the top of address space was uncached. See -UncachedAliasAlloc(). Unfortunately, he could no longer boast of the simplicity of identity mapping everything. Since many of +UncachedAliasAlloc(). Unfortunately, he could no longer boast of the simplicity of identity mapping everything. Since many of the users are familiar with A0000-BFFFF, it is actually pretty seriously unfortunate that they cannot use the easy-to-understand -numbers of A0000-BFFFF, but must access the relocated alias location. See text.vga_alias. We also no longer cause a fault +numbers of A0000-BFFFF, but must access the relocated alias location. See text.vga_alias. We also no longer cause a fault when dereferencing NULL. Then, Terry switched to 1Gig page sizes. For the lowest 4Gig, he set-up an alias up at the top of address space. See -UncachedAliasAlloc(). Not all computers support 1Gig page tables, however, so he also supported 2Meg. +UncachedAliasAlloc(). Not all computers support 1Gig page tables, however, so he also supported 2Meg. Terry's original plan was to allow changing the page tables as needed, so he had code for taking control of 2Meg pages and marking them uncached or whatever. When he did an HDAudio driver, he requested some 32-bit address space as uncached. Today, -all of the first 4Gig can be accessed without caching at the dev.uncached_alias. +all of the first 4Gig can be accessed without caching at the dev.uncached_alias.
diff --git a/docs/Doc/Menus.html b/docs/Doc/Menus.html index 37c3b815..bc3acc3b 100755 --- a/docs/Doc/Menus.html +++ b/docs/Doc/Menus.html @@ -25,8 +25,8 @@ body {background-color:#000000;}
-A pull-down menu appears when you move the mouse to the top of the screen.      Menus are created with MenuPush(), MenuFilePush(), 
-MenuNew() or MenuFile() and assigned to Fs->cur_menu.  The format is:
+A pull-down menu appears when you move the mouse to the top of the screen.      Menus are created with MenuPush(), MenuFilePush(), 
+MenuNew() or MenuFile() and assigned to Fs->cur_menu.  The format is:
 
 
 File
@@ -49,12 +49,12 @@ body {background-color:#000000;}
         About(,'/');
 }
 
-The first arg is the message code and it is optional with the default being MESSAGE_KEY_DOWN_UP.        The second arg is the 
-message arg1 value which is ASCII of the key in the case of MESSAGE_KEY_DOWN.  The third arg is the message arg2 value which is 
-the scan_code of the key in the case of MESSAGE_KEY_DOWN.
+The first arg is the message code and it is optional with the default being MESSAGE_KEY_DOWN_UP.        The second arg is the 
+message arg1 value which is ASCII of the key in the case of MESSAGE_KEY_DOWN.  The third arg is the message arg2 value which is 
+the scan_code of the key in the case of MESSAGE_KEY_DOWN.
 
 Press <CTRL-SHIFT-l> and "Insert ASCII/ScanCode".
 
-See ::/Demo/PullDownMenu.CC.
+See ::/Demo/PullDownMenu.CC.
 
diff --git a/docs/Doc/Messages.html b/docs/Doc/Messages.html index c9829c00..1b54e961 100755 --- a/docs/Doc/Messages.html +++ b/docs/Doc/Messages.html @@ -25,6 +25,6 @@ body {background-color:#000000;}
-There are a maximum of 63 message types, so a bitmask can be passed.    Messages have two args.  See Message Codes.
+There are a maximum of 63 message types, so a bitmask can be passed.    Messages have two args.  See Message Codes.
 
diff --git a/docs/Doc/Mouse.html b/docs/Doc/Mouse.html index bb3d1b2d..1b3ae968 100755 --- a/docs/Doc/Mouse.html +++ b/docs/Doc/Mouse.html @@ -25,12 +25,12 @@ body {background-color:#000000;}
-mouse.pos.x and mouse.pos.y can be used to access the x and y coordinates of the mouse.  They are relative to the screen, not 
-window.  These can be used if you don't want to use message passing.    mouse.pos.z is the wheel.
+mouse.pos.x and mouse.pos.y can be used to access the x and y coordinates of the mouse.  They are relative to the screen, not 
+window.  These can be used if you don't want to use message passing.    mouse.pos.z is the wheel.
 
-mouse.pos_text.x and mouse.pos_text.y are the text column and row.      See ::/Demo/Games/Maze.CC.
+mouse.pos_text.x and mouse.pos_text.y are the text column and row.      See ::/Demo/Games/Maze.CC.
 
-See CMouseStateGlobals and CMouseHardStateGlobals.
+See CMouseStateGlobals and CMouseHardStateGlobals.
 
 The hard designation, as in mouse_hard, represents hardware layer items before the application of an abstraction layer.
 
diff --git a/docs/Doc/MultiCore.html b/docs/Doc/MultiCore.html
index 075222e1..25d1ea9f 100755
--- a/docs/Doc/MultiCore.html
+++ b/docs/Doc/MultiCore.html
@@ -29,19 +29,19 @@ body {background-color:#000000;}
 computational jobs to other cores and the ZealOS scheduler does not move tasks between cores.
 
 There are multicore safe locks for file access and heap allocations, however, so ZealOS is symmetrical in some sense.  See 
-::/Demo/MultiCore/LoadTest.CC.
+::/Demo/MultiCore/LoadTest.CC.
 
 Only tasks on Core0 can have windows, but other cores can help render them.
 
-Each core has an Executive Task which is the father of all tasks on that core.  System is the Executive Task on Core0.
+Each core has an Executive Task which is the father of all tasks on that core.  System is the Executive Task on Core0.
 
-You give a job to an Executive Task with JobQueue() and get the result with JobResGet().  You spawn a task on any core with 
-Spawn().
+You give a job to an Executive Task with JobQueue() and get the result with JobResGet().  You spawn a task on any core with 
+Spawn().
 
-Note: You must use the LOCK asm prefix when changing shared structures in a multicore environment.      The LBts(), LBtr() and LBtc(
-) insts have LOCK prefixes.     The compiler has a lock{} feature but it doesn't work well.  See ::/Demo/MultiCore/Lock.CC.
+Note: You must use the LOCK asm prefix when changing shared structures in a multicore environment.      The LBts(), LBtr() and LBtc(
+) insts have LOCK prefixes.     The compiler has a lock{} feature but it doesn't work well.  See ::/Demo/MultiCore/Lock.CC.
 
-See ::/Demo/Graphics/Transform.CC.
-See ::/Kernel/MultiProc.CC.
+See ::/Demo/Graphics/Transform.CC.
+See ::/Kernel/MultiProc.CC.
 
diff --git a/docs/Doc/ODE.html b/docs/Doc/ODE.html index d80c6c64..131afb3e 100755 --- a/docs/Doc/ODE.html +++ b/docs/Doc/ODE.html @@ -28,10 +28,10 @@ body {background-color:#000000;} ZealOS has an advanced algorithm for integrating ordinary differential equations suitable for use in video games. (Not scientific work.) It also has some support for systems of masses and springs, to save you some work. -See CMathODE and ODEsUpdate for an overview. -See ODECallDerivative to see what support there is for masses and springs. +See CMathODE and ODEsUpdate for an overview. +See ODECallDerivative to see what support there is for masses and springs. -See ::/Demo/Games/Whap.CC, ::/Demo/Games/Rocket.CC, ::/Demo/Games/MassSpring.CC, ::/Apps/Span/SpanMain.CC or -::/Apps/X-Caliber/X-Caliber.CC. +See ::/Demo/Games/Whap.CC, ::/Demo/Games/Rocket.CC, ::/Demo/Games/MassSpring.CC, ::/Apps/Span/SpanMain.CC or +::/Apps/X-Caliber/X-Caliber.CC.
diff --git a/docs/Doc/Once.html b/docs/Doc/Once.html index e237c88c..a85b3ac9 100755 --- a/docs/Doc/Once.html +++ b/docs/Doc/Once.html @@ -25,19 +25,19 @@ body {background-color:#000000;}
-KMain()
-        includes ::/StartOS.CC
-                includes ~/MakeHome.CC
-                        includes ~/HomeSys.CC
-                                calls StartUpTasks()
-                                        includes ~/Once.CC
-                                                calls OnceExe().
+KMain()
+        includes ::/StartOS.CC
+                includes ~/MakeHome.CC
+                        includes ~/HomeSys.CC
+                                calls StartUpTasks()
+                                        includes ~/Once.CC
+                                                calls OnceExe().
 
-ZOnce() appends src code to ~/Registry.CC Once/System tree, executed at next boot by System.
+ZOnce() appends src code to ~/Registry.CC Once/System tree, executed at next boot by System.
 
-Once()  appends src code to ~/Registry.CC Once/User tree, executed at next boot by first User term.
+Once()  appends src code to ~/Registry.CC Once/User tree, executed at next boot by first User term.
 
-At boot, OnceExe(), executes Once/System tree, ZOnceFlush()s it,
-executes Once/User tree and OnceFlush()s.
+At boot, OnceExe(), executes Once/System tree, ZOnceFlush()s it,
+executes Once/User tree and OnceFlush()s.
 
diff --git a/docs/Doc/Options.html b/docs/Doc/Options.html index 1c769d2a..489681bf 100755 --- a/docs/Doc/Options.html +++ b/docs/Doc/Options.html @@ -27,25 +27,25 @@ body {background-color:#000000;}
                                                         Compiler Options
 
-Use Option().   You might need to do #exe {Option();}.
+Use Option().   You might need to do #exe {Option();}.
 
-OPTf_GLOBALS_ON_DATA_HEAP without this option, global vars are placed in the code heap which is limited to 2Gig.        In AOT 
+OPTf_GLOBALS_ON_DATA_HEAP without this option, global vars are placed in the code heap which is limited to 2Gig.        In AOT 
 modules, global vars take-up room in the .BIN file, so you might want to use this option, instead.  You might wish to turn it on 
 and off around specific vars.  A disadvantage of data heap global vars in AOT modules is they can't be initialized.
 
-OPTf_EXTERNS_TO_IMPORTS and OPTf_KEEP_PRIVATE are strange options, you'll never need.  They're to allow the same header file for 
+OPTf_EXTERNS_TO_IMPORTS and OPTf_KEEP_PRIVATE are strange options, you'll never need.  They're to allow the same header file for 
 Kernel to act as externs when compiling itself and imports when compiled by AOT modules.
 
-OPTf_WARN_UNUSED_VAR            warning if unused var.  It is applied to functions.
+OPTf_WARN_UNUSED_VAR            warning if unused var.  It is applied to functions.
 
-OPTf_WARN_PAREN                         warning if parenthesis are not needed.
+OPTf_WARN_PAREN                         warning if parenthesis are not needed.
 
-OPTf_WARN_DUP_TYPES             warning if dup local var type statements.
+OPTf_WARN_DUP_TYPES             warning if dup local var type statements.
 
-OPTf_WARN_HEADER_MISMATCH       warning if fun header does not match.
+OPTf_WARN_HEADER_MISMATCH       warning if fun header does not match.
 
-OPTf_NO_REG_VAR                         forces all function local vars to the stack not regs.  Applied to functions.
+OPTf_NO_REG_VAR                         forces all function local vars to the stack not regs.  Applied to functions.
 
-OPTf_NO_BUILTIN_CONST           Disable 10-byte float consts for pi, log2_10, log10_2, loge_2.  Applied to functions.
+OPTf_NO_BUILTIN_CONST           Disable 10-byte float consts for pi, log2_10, log10_2, loge_2.  Applied to functions.
 
diff --git a/docs/Doc/PIT.html b/docs/Doc/PIT.html index a8f8c0c4..dbe0a693 100755 --- a/docs/Doc/PIT.html +++ b/docs/Doc/PIT.html @@ -29,14 +29,14 @@ body {background-color:#000000;} It has 3 channels:
-Channel 0 can generate an interrupt, IRQ 0, at a defined frequency. We set it up in TimerInit(), and use it in SysTimerRead(). +Channel 0 can generate an interrupt, IRQ 0, at a defined frequency. We set it up in TimerInit(), and use it in SysTimerRead(). Channel 1 was used historically to refresh the DRAM, but now it is obsolete as the hardware does this itself. Channel 1 is useless and might not even be implemented anymore on modern machines. -Channel 2's output is connected to the PC speaker. +Channel 2's output is connected to the PC speaker. -The Command port is used to control each of these 3 channels. The relevant flags are defined. +The Command port is used to control each of these 3 channels. The relevant flags are defined. -See Sound() for how the PC speaker frequency is changed.
+See
Sound() for how the PC speaker frequency is changed.
diff --git a/docs/Doc/Pags.html b/docs/Doc/Pags.html index fe98b102..59f6e9a2 100755 --- a/docs/Doc/Pags.html +++ b/docs/Doc/Pags.html @@ -25,7 +25,7 @@ body {background-color:#000000;}
-The word Pag refers to an arbitrilly created MEM_PAG_SIZE unit of heap allocation.  ZealOS does not alter the CPU page tables 
-after setting them up at boot in SYS_INIT_PAGE_TABLES, so the CPU hardware page size is rarely important.
+The word Pag refers to an arbitrilly created MEM_PAG_SIZE unit of heap allocation.  ZealOS does not alter the CPU page tables 
+after setting them up at boot in SYS_INIT_PAGE_TABLES, so the CPU hardware page size is rarely important.
 
diff --git a/docs/Doc/PreProcessor.html b/docs/Doc/PreProcessor.html index 86e9db7a..18aba195 100755 --- a/docs/Doc/PreProcessor.html +++ b/docs/Doc/PreProcessor.html @@ -27,7 +27,7 @@ body {background-color:#000000;}
                                                           PreProcessor
 
-There is no separate preprocessor pass.  The parser front-end calls Lex() which has the preprocessor built-in.  The compiler 
+There is no separate preprocessor pass.  The parser front-end calls Lex() which has the preprocessor built-in.  The compiler 
 looks ahead a token, most of the time, so you might throw an extra semicolon after a directive if it's not taking affect right 
 away.
 
@@ -35,7 +35,7 @@ body {background-color:#000000;}
 
 #include ""     There is no angle bracket <> form of this directive.
 #exe {}                 Will execute code at compile-time and can be used to insert code into the stream being compiled using 
-StreamPrint().
+StreamPrint().
 #define                 Define string const
 #assert                 Print a warning during compilation if an expression is not true.
 #if                     Include code if an expresion is true.
@@ -44,8 +44,8 @@ body {background-color:#000000;}
 #ifdef,#ifndef  Include code if a sym is defined.
 #ifaot,#ifjit   Include code if in AOT compiler mode.
 defined()               Is a function that can be used in expressions.
-#help_index, #help_file See Help System.
+#help_index, #help_file See Help System.
 
-See PreProcessor.
+See PreProcessor.
 
diff --git a/docs/Doc/Print.html b/docs/Doc/Print.html index 432160f9..c18959e8 100755 --- a/docs/Doc/Print.html +++ b/docs/Doc/Print.html @@ -29,7 +29,7 @@ body {background-color:#000000;} <format_arg> :=
%[-][0][<width>][.<decimals>][<flags>][h<aux_format_num>]<format_code> -See StrPrintJoin(). +See StrPrintJoin(). <flags>: @@ -42,7 +42,7 @@ body {background-color:#000000;} For "%n", "%d" or "%u", the <aux_format_num> causes thousands mode. "%h?n" will pick a var exponent multiples of three unit, while "%h-3n" will display milli units or "%h6n" will display mega units. The 'k' flag is always on for "%n". See - ::/Demo/Print.CC. + ::/Demo/Print.CC. For "%c" or "%C", the <aux_format_num> repeats the char that many times. @@ -51,9 +51,9 @@ body {background-color:#000000;} "%n" floating point in engineering notation, exponents being multiples of three. If it has a <aux_format> code, it will display scientific units letters. - "%S" Define() entry. + "%S" Define() entry. - "%C" ToUpper() character. + "%C" ToUpper() character. "%h25c",'\n'; 25 new-lines. @@ -61,7 +61,7 @@ body {background-color:#000000;} "%F" text file by filename. - "%$F" DolDoc file in memory. + "%$F" DolDoc file in memory. "%p" ptr. @@ -71,13 +71,13 @@ body {background-color:#000000;} "%,P" link to ptr with no offset. - "%D" date. Pass a CDate. + "%D" date. Pass a CDate. - "%T" time. Pass a CDate. + "%T" time. Pass a CDate. - "%z" sub_entry of an enumerated list of text entries. See ListSub(). Pass sub_entry_num first, list second. + "%z" sub_entry of an enumerated list of text entries. See ListSub(). Pass sub_entry_num first, list second. - "%Z" DefineListLoad() subentry. Pass sub_entry_num first, define_name second. + "%Z" DefineListLoad() subentry. Pass sub_entry_num first, define_name second. "%Q" convert "\" to "\\" and quote to backslash quote. (For use in creating strs in strs.) @@ -86,45 +86,45 @@ body {background-color:#000000;} Print Family -MStrPrint(U8 *format, ...) is like StrPrint(U8 *dst,U8 *format,...) but it returns a MAllocated str. It is vary handy because +MStrPrint(U8 *format, ...) is like StrPrint(U8 *dst,U8 *format,...) but it returns a MAllocated str. It is vary handy because you don't have to worry about overflow. -CatPrint(U8 *_dst, U8 *format, ...) concatenates a formated string. +CatPrint(U8 *_dst, U8 *format, ...) concatenates a formated string. -In(U8 *format, ...) sends text to the current task's input buffer. -InStr(U8 *format, ...) sends text of an InFile to the keyboard stream of the current TASK but can also do mouse cmds. +In(U8 *format, ...) sends text to the current task's input buffer. +InStr(U8 *format, ...) sends text of an InFile to the keyboard stream of the current TASK but can also do mouse cmds. -XTalk(CTask *task, U8 *format, ...) and text to another task's input buffer. -XTalkStr(CTask *task, U8 *format, ...) sends text of an InFile to the keyboard stream of another TASK but can also do mouse +XTalk(CTask *task, U8 *format, ...) and text to another task's input buffer. +XTalkStr(CTask *task, U8 *format, ...) sends text of an InFile to the keyboard stream of another TASK but can also do mouse cmds. -DocPrint(CDoc *doc, U8 *format, ...) sends text to a document. You can buffer to a Doc and save it, providing the functionality -of fprintf. See ::/Demo/Disk/FPrintF.CC. +DocPrint(CDoc *doc, U8 *format, ...) sends text to a document. You can buffer to a Doc and save it, providing the functionality +of fprintf. See ::/Demo/Disk/FPrintF.CC. -Sys(U8 *format, ...) sends text to the System Task to be compiled and run. -SysLog(U8 *format, ...) and SysErr(U8 *format,...) send text to the System Task to be displayed. +Sys(U8 *format, ...) sends text to the System Task to be compiled and run. +SysLog(U8 *format, ...) and SysErr(U8 *format,...) send text to the System Task to be displayed. -StreamPrint(U8 *format, ...) sends text to the stream of code being compiled and must reside in a #exe{} blk. +StreamPrint(U8 *format, ...) sends text to the stream of code being compiled and must reside in a #exe{} blk. -GrPrint(CDC *dc, I64 x, I64 y, U8 *format,...) and GrVPrint() plots text in graphics mode. +GrPrint(CDC *dc, I64 x, I64 y, U8 *format,...) and GrVPrint() plots text in graphics mode. -TextPrint(CTask *task, I64 x, I64 y, I64 attr, U8 *format, ...) plots to gr.text_base. +TextPrint(CTask *task, I64 x, I64 y, I64 attr, U8 *format, ...) plots to gr.text_base. -ExePrint(U8 *format, ...) compiles and execute a string. Note: It returns the res of the last executed expression. +ExePrint(U8 *format, ...) compiles and execute a string. Note: It returns the res of the last executed expression. -Once(U8 *format, ...) Writes User code to Registry to be executed next boot. +Once(U8 *format, ...) Writes User code to Registry to be executed next boot. -ZOnce(U8 *format, ...) Writes System code to Registry to be executed next boot. +ZOnce(U8 *format, ...) Writes System code to Registry to be executed next boot. -InPrint(I64 mS, U8 *format, ...) PutChars()s one at a time with a delay. +InPrint(I64 mS, U8 *format, ...) PutChars()s one at a time with a delay. -RawPrint(I64 mS, U8 *format, ...) sends direct to screen memory, bypassing window manager. +RawPrint(I64 mS, U8 *format, ...) sends direct to screen memory, bypassing window manager. -User(U8 *format, ...) Spawns a user and execute a string on start-up. +User(U8 *format, ...) Spawns a user and execute a string on start-up. -PopUpPrint(U8 *format, ...) compiles and execute a string in a pop-up win. Note: It returns the res of the last executed +PopUpPrint(U8 *format, ...) compiles and execute a string in a pop-up win. Note: It returns the res of the last executed expression. -PopUpViewPrint(U8 *format, ...) creates a pop-up window and views text. +PopUpViewPrint(U8 *format, ...) creates a pop-up window and views text. Note: Use Print("%s",src) if you need an unmodified string.
diff --git a/docs/Doc/Profiler.html b/docs/Doc/Profiler.html index a4ff6301..9c95cb74 100755 --- a/docs/Doc/Profiler.html +++ b/docs/Doc/Profiler.html @@ -27,9 +27,9 @@ body {background-color:#000000;}
 The profiler records where the CPU was executing when the 1000Hz timer interrupt occured, so you can learn where time is spent.
 
-Use the Prof() depth argument to record a hit in the N routines which called the current routine, as well.
+Use the Prof() depth argument to record a hit in the N routines which called the current routine, as well.
 
-When done collecting statistics, use ProfRep() for a report.    You might need a DocMax() to expand the command line window 
+When done collecting statistics, use ProfRep() for a report.    You might need a DocMax() to expand the command line window 
 buffer to fit it all.
 
 Study the code.  The profiler is very simple.  You might want to enhance it or modify it to debug something in particular.
diff --git a/docs/Doc/Queue.html b/docs/Doc/Queue.html
index 38e44ba5..c1de90b5 100755
--- a/docs/Doc/Queue.html
+++ b/docs/Doc/Queue.html
@@ -25,7 +25,7 @@ body {background-color:#000000;}
 
 
 
-A Queue is a bunch of MAlloc()ed chunks of mem linked together in a circle with one ptr to the next value and another ptr to the 
+A Queue is a bunch of MAlloc()ed chunks of mem linked together in a circle with one ptr to the next value and another ptr to the 
 last value.  These ptrs must be stored in the first locations in the structure.
 
diff --git a/docs/Doc/Quirks.html b/docs/Doc/Quirks.html index 9d1488da..a6102752 100755 --- a/docs/Doc/Quirks.html +++ b/docs/Doc/Quirks.html @@ -31,28 +31,28 @@ body {background-color:#000000;} mechanism. Generally, the last write wins. * When using
FAT32, ZealOS does not generate unique short-entry names, the ones with the ~s. Not all FAT32 filenames are -valid ZealOS names and it will complain. Do not access FAT32 drives not dedicated to ZealOS. Disable them with DriveEnable(O +valid ZealOS names and it will complain. Do not access FAT32 drives not dedicated to ZealOS. Disable them with DriveEnable(O FF), or they will generate error messages. FAT32 involves a long and short name for each file. * The stack does not grow because virtual mem is not used. It is recommended that you allocate large local vars from the heap. -You can change MEM_DEFAULT_STACK and recompile Kernel or request more when doing a Spawn(). +You can change MEM_DEFAULT_STACK and recompile Kernel or request more when doing a Spawn(). * The syntax highlighting occassionally glitches. The compiler doesn't. -* Call DiskChange() when you insert a new removable media. +* Call DiskChange() when you insert a new removable media. -* Accessing CD/DVD's is flacky. Try Drive() or DiskChange() twice. +* Accessing CD/DVD's is flacky. Try Drive() or DiskChange() twice. * You can only extern something once. There is a varient called _extern which binds a CosmiC definition to a asm sym. This, too, can only be done once. -* A terminal task has a CDoc document structure that remains active even when you change Fs->draw_it. To prevent links in the -CDoc from being activated when the user clicks in the window, do one of three things: +* A terminal task has a CDoc document structure that remains active even when you change Fs->draw_it. To prevent links in the +CDoc from being activated when the user clicks in the window, do one of three things: - A) DocBottom() followed by DocClear() to clear the CDoc so it has no active widgets. + A) DocBottom() followed by DocClear() to clear the CDoc so it has no active widgets. - B) Disable window mgr bttn click checking with Fs->win_inhibit set to mask WIF_SELF_MS_L|WIF_FOCUS_TASK_MS_L_D|WIF_SELF_MS_R| - WIF_FOCUS_TASK_MS_R_D. This inhibits window mgr operations but still generates messages from bttn clicks. + B) Disable window mgr bttn click checking with Fs->win_inhibit set to mask WIF_SELF_MS_L|WIF_FOCUS_TASK_MS_L_D|WIF_SELF_MS_R| + WIF_FOCUS_TASK_MS_R_D. This inhibits window mgr operations but still generates messages from bttn clicks. * switch/case statements alloc a single jump table--do not use with wide, sparse ranges of case values. @@ -61,9 +61,9 @@ body {background-color:#000000;} * A goto label name must not match a global scope object's name. (It's not worth slowing-down the compiler to handle this case.) -* MemCopy() only goes forward. +* MemCopy() only goes forward. -* A Cd() cmd must be followed by two semicolons if a #include is after it. This is because the preprocessor processes the next +* A Cd() cmd must be followed by two semicolons if a #include is after it. This is because the preprocessor processes the next token ahead. * The assembler's error messages are often off by a line and undefines are cryptic. diff --git a/docs/Doc/RedSea.html b/docs/Doc/RedSea.html index e294968a..1052de2f 100755 --- a/docs/Doc/RedSea.html +++ b/docs/Doc/RedSea.html @@ -39,11 +39,11 @@ body {background-color:#000000;} public class CDirEntry //64-byte fixed-size { - U16 attr; //See RS_ATTR_DIR. Terry wanted to change these. - U8 name[CDIR_FILENAME_LEN]; //See char_bmp_filename, FileNameCheck + U16 attr; //See RS_ATTR_DIR. Terry wanted to change these. + U8 name[CDIR_FILENAME_LEN]; //See char_bmp_filename, FileNameCheck I64 clus; (blk) //One sector per clus. I64 size; //In bytes - CDate datetime; //See DateTime, Implementation of DateTime + CDate datetime; //See DateTime, Implementation of DateTime }; public class CRedSeaBoot //RedSea is type FAT32 in partition table to fool BIOS. @@ -59,9 +59,9 @@ body {background-color:#000000;} U16 signature2; //0xAA55 }; -See ::/Kernel/BlkDev/FileSysRedSea.CC and ::/System/Boot/DiskISORedSea.CC. +See ::/Kernel/BlkDev/FileSysRedSea.CC and ::/System/Boot/DiskISORedSea.CC. -Files with names ending in are compressed. See ::/Kernel/Compress.CC. +Files with names ending in are compressed. See ::/Kernel/Compress.CC. To replace ISO9660, make hard-drive partition image of a measured size and copy onto a CD/DVD starting at about sector 20, with EL TORITO booting. 512-byte sectors will be placed on top of 2048-byte CD/DCD sectors, so there will be four blocks per CD/DVD @@ -69,8 +69,8 @@ body {background-color:#000000;} RedSea file system has no bad block table and no redundant allocation table. -See Block Chain for RedSea allocation bitmap discussion. +See Block Chain for RedSea allocation bitmap discussion. -See Reliability for RedSea reliability discussion. +See Reliability for RedSea reliability discussion.
diff --git a/docs/Doc/Reliability.html b/docs/Doc/Reliability.html index dad54a50..e185e2f6 100755 --- a/docs/Doc/Reliability.html +++ b/docs/Doc/Reliability.html @@ -38,7 +38,7 @@ body {background-color:#000000;} Obviously, we don't do bad block tables, or redundant FATs. -We use the simplest possible technique, a contiguous-file-only allocation bitmap, not
Block Chains or FAT tables. +We use the simplest possible technique, a contiguous-file-only allocation bitmap, not Block Chains or FAT tables. You can be a good toy or you can be a good professional tool, but not both. ZealOS's file manager will start too slowly once a few thousand files exist because the file manager makes a list of all files on start-up. diff --git a/docs/Doc/Resource.html b/docs/Doc/Resource.html index b70226c8..2c06f9e0 100755 --- a/docs/Doc/Resource.html +++ b/docs/Doc/Resource.html @@ -29,9 +29,9 @@ body {background-color:#000000;} A sprite is an ordered list of elements such as lines, rectangles, bitmaps and color changes. In a program's source code, you first make a sprite somewhere outside a function. Then, you insert a pointer to the sprite as an "*elems" arg when calling -Sprite() or Sprite3(). See Sprites. +Sprite() or Sprite3(). See Sprites. -You can create a sprite macro on your PersonalMenu with a payload of CosmiC source code to execute when it ESC's back to the cmd +You can create a sprite macro on your PersonalMenu with a payload of CosmiC source code to execute when it ESC's back to the cmd line. If you check "Pop-Up", it will spawn a new task and run the payload. A pop-up macro can be placed in any document.
diff --git a/docs/Doc/ScopingLinkage.html b/docs/Doc/ScopingLinkage.html index fc223ca6..6c2b9574 100755 --- a/docs/Doc/ScopingLinkage.html +++ b/docs/Doc/ScopingLinkage.html @@ -27,27 +27,27 @@ body {background-color:#000000;}
                                                       Scoping and Linkage
 
-JIT Compile Mode makes use of the current task's hash sym table and its parent tasks' tables.  It fetches syms from parent 
+JIT Compile Mode makes use of the current task's hash sym table and its parent tasks' tables.  It fetches syms from parent 
 tasks' tables if not found locally in the current task's table and it places new syms in the current task's table.  
 Conceptually, syms are at the scope of environment vars in other operating systems.
 
 When a sym is placed into a table, older syms with ident names will be overshadowed if they exist.      Duplicates are not allowed 
 in many cases, especially in asm blks.  Dupicates are allowed, by design in other cases, so that you can repeatedly #include the 
 same file from the cmd line while developing it.        Or, so you can repeatedly declare a function with a standard name, like Draw
-It().  This case might occur when the System Task is starting-up loading-in many little utilities.
+It().  This case might occur when the System Task is starting-up loading-in many little utilities.
 
-extern binds a new HTT_FUN or HTT_GLOBAL_VAR sym to an existing sym of the same name if it exists in the sym table (just in 
+extern binds a new HTT_FUN or HTT_GLOBAL_VAR sym to an existing sym of the same name if it exists in the sym table (just in 
 just-in-time code).     It also can be used to generate a forward reference.
 
-import binds a new HTT_FUN or HTT_GLOBAL_VAR sym to a sym of the same name imported from the task's sym table at Load() time.  
-If no sym exists to bind to at Load() time, the code using this sym will be left incomplete until the sym is defined.
+import binds a new HTT_FUN or HTT_GLOBAL_VAR sym to a sym of the same name imported from the task's sym table at Load() time.  
+If no sym exists to bind to at Load() time, the code using this sym will be left incomplete until the sym is defined.
 
 
-_extern binds a new HTT_FUN or HTT_GLOBAL_VAR sym to an existing sym, of a different name.  It must exists in the sym table.  
+_extern binds a new HTT_FUN or HTT_GLOBAL_VAR sym to an existing sym, of a different name.  It must exists in the sym table.  
 Basically, this binds C to asm.
 
-_import binds a new HTT_FUN or HTT_GLOBAL_VAR sym to a sym, of a different name imported from the task's sym table at Load() 
-time.   If no sym exists to bind to at Load() time, the code using this sym will be left incomplete until the sym is defined.   
+_import binds a new HTT_FUN or HTT_GLOBAL_VAR sym to a sym, of a different name imported from the task's sym table at Load() 
+time.   If no sym exists to bind to at Load() time, the code using this sym will be left incomplete until the sym is defined.   
 Basically, this binds C to asm from elsewhere.
 
 
@@ -149,16 +149,16 @@ body {background-color:#000000;}
 
 * The sizeof() and CosmiC structure members can be used in asm blks.
 
-* Using &i in CosmiC or i.u8[2] on a local var, i, will force it to noreg.
+* Using &i in CosmiC or i.u8[2] on a local var, i, will force it to noreg.
 
 * Using try/catch in a function will force all local vars to noreg.
 
 * An unused gap on the stack is left for reg vars.
 
-* Note: static function vars do not go on the data heap, no matter the setting of the OPTf_GLOBALS_ON_DATA_HEAP.        They may in 
+* Note: static function vars do not go on the data heap, no matter the setting of the OPTf_GLOBALS_ON_DATA_HEAP.        They may in 
 the future.
 
-* OPTf_EXTERNS_TO_IMPORTS will treat _extern as _import and extern as import.  This allows a header to be used either as a JIT 
+* OPTf_EXTERNS_TO_IMPORTS will treat _extern as _import and extern as import.  This allows a header to be used either as a JIT 
 compiled or AOT compiled header.
 
diff --git a/docs/Doc/Sound.html b/docs/Doc/Sound.html index 4a280d5a..59be8ed4 100755 --- a/docs/Doc/Sound.html +++ b/docs/Doc/Sound.html @@ -25,7 +25,7 @@ body {background-color:#000000;}
-Sound is generated with I8 vals called ona's, which are 88 piano key nums, with 0 as a rest.    See Note2Ona() and Ona2Freq().  
+Sound is generated with I8 vals called ona's, which are 88 piano key nums, with 0 as a rest.    See Note2Ona() and Ona2Freq().  
 God does not want death screams, perhaps, because God has PTSD or soldiers have PTSD.  (Imagine wounded on battlefields.)  Ona's 
 will allow elegant wave files for export and will allow the creation of simple hardware over the next centuries.
 
diff --git a/docs/Doc/Sprite.html b/docs/Doc/Sprite.html index 7cf8ac61..7fc95fd3 100755 --- a/docs/Doc/Sprite.html +++ b/docs/Doc/Sprite.html @@ -25,15 +25,15 @@ body {background-color:#000000;}
-A CSprite is an ordered list of these elements, created with <CTRL-r>.  Normally, they are packed together in a list and the 
+A CSprite is an ordered list of these elements, created with <CTRL-r>.  Normally, they are packed together in a list and the 
 address of the first is passed to routines.
 
-See ::/Demo/Graphics/SpritePlot.CC, ::/Demo/Graphics/SpritePlot3D.CC, ::/Demo/Graphics/SpritePut.CC, 
-::/Demo/Graphics/SpriteRaw.CC and SpriteMeshEd().
+See ::/Demo/Graphics/SpritePlot.CC, ::/Demo/Graphics/SpritePlot3D.CC, ::/Demo/Graphics/SpritePut.CC, 
+::/Demo/Graphics/SpriteRaw.CC and SpriteMeshEd().
 
 Be aware that copying SP, IB, or IS entries with the clip results in duplicate entries with different nums.  You can manually 
 remove dups by editing with <CTRL-t> and setting to the original num.
 
-See ::/System/Gr/GrSpritePlot.CC for how CSprite are stored.
+See ::/System/Gr/GrSpritePlot.CC for how CSprite are stored.
 
diff --git a/docs/Doc/SpriteEd.html b/docs/Doc/SpriteEd.html index 96e3eff4..a23ec181 100755 --- a/docs/Doc/SpriteEd.html +++ b/docs/Doc/SpriteEd.html @@ -33,6 +33,6 @@ body {background-color:#000000;} You can set the current insert point element by clicking the element in the side-bar and making it RED.
Insert Shift Suborigin is an element which shifts subsequent elements. Perhaps, you inserted a sprite's elements from the clip -and want to shift it around? This command is also useful if you call SpriteInterpolate() in programs. +and want to shift it around? This command is also useful if you call SpriteInterpolate() in programs.
diff --git a/docs/Doc/SpriteEdText.html b/docs/Doc/SpriteEdText.html index ec649a79..d3c04134 100755 --- a/docs/Doc/SpriteEdText.html +++ b/docs/Doc/SpriteEdText.html @@ -27,6 +27,6 @@ body {background-color:#000000;}
                                                     Sprite Edit as Text Help
 
-See the format for CSprites.
+See the format for CSprites.
 
diff --git a/docs/Doc/StandBy.html b/docs/Doc/StandBy.html index e244b6bf..b58c2267 100755 --- a/docs/Doc/StandBy.html +++ b/docs/Doc/StandBy.html @@ -27,7 +27,7 @@ body {background-color:#000000;}
                                                    AutoComplete is in StandBy
 
-                                                    System Keys Quick Guide
+                                                    System Keys Quick Guide
                                                        (Works Everywhere)
       <SPACE> Left-Click
       <ENTER> Right-Click
diff --git a/docs/Doc/Start.html b/docs/Doc/Start.html
index 70455c9c..1ebd0a42 100755
--- a/docs/Doc/Start.html
+++ b/docs/Doc/Start.html
@@ -30,6 +30,6 @@ body {background-color:#000000;}
 
                                                  Public Domain Operating System
 
-Help & Index, Quick Start: Cmd line
+Help & Index, Quick Start: Cmd line
 
diff --git a/docs/Doc/StdOutTask.html b/docs/Doc/StdOutTask.html index b8672a8b..1c0aaef0 100755 --- a/docs/Doc/StdOutTask.html +++ b/docs/Doc/StdOutTask.html @@ -25,7 +25,7 @@ body {background-color:#000000;}
-There is one CDoc for the task's border: Fs->border_doc.  There is a pair for the task's client area: Fs->put_doc and Fs->displa
-y_doc.  You can, optionally, do double buffering, otherwise Fs->put_doc is the same as Fs->display_doc. See ::/Demo/Spy.CC.
+There is one CDoc for the task's border: Fs->border_doc.  There is a pair for the task's client area: Fs->put_doc and Fs->displa
+y_doc.  You can, optionally, do double buffering, otherwise Fs->put_doc is the same as Fs->display_doc. See ::/Demo/Spy.CC.
 
diff --git a/docs/Doc/Strategy.html b/docs/Doc/Strategy.html index 8c8de626..6e0159e3 100755 --- a/docs/Doc/Strategy.html +++ b/docs/Doc/Strategy.html @@ -37,7 +37,7 @@ body {background-color:#000000;} complexity. Linux and Windows are general purpose operating systems. They attempt to do any task you want. ZealOS cherry-picks tasks and -is designed to do the same things a C64 did. This saves and order of magnitude complexity. For example, the
RedSea file system +is designed to do the same things a C64 did. This saves and order of magnitude complexity. For example, the RedSea file system allocates just contiguous files -- you load and save whole files at once. A benefit is this allows compression. Also, ZealOS does not do multimedia. In theory, memory will fragment with lots of big files. The system would fall to pieces with multimedia. @@ -71,7 +71,7 @@ body {background-color:#000000;} * Whole files are processed almost exclusively. -* One language and compiler for command-line, scripts, songs, automations and code. +* One language and compiler for command-line, scripts, songs, automations and code. * One editor/word processor/browser for the command-line window, source code, documentation browser, dialog forms. @@ -79,10 +79,10 @@ body {background-color:#000000;} * No distinction between thread, process or task. -* The Scheduler is for home systems. It is not preemptiove. Disk requests are not broken-up, so sharing is bad. It's +* The Scheduler is for home systems. It is not preemptiove. Disk requests are not broken-up, so sharing is bad. It's wonderfully simple. -* MultiCore is done master/slave, instead of SMP. Core0 applications explicitly assigns jobs. Locks are present allowing +* MultiCore is done master/slave, instead of SMP. Core0 applications explicitly assigns jobs. Locks are present allowing multicore file, heap, and hardware access, though. * Sound has single-voice 8-bit signed MIDI-like samples. @@ -91,9 +91,9 @@ body {background-color:#000000;} the command line or you run programs by #includeing them, the syms go in the table. If a sym is not found, the parent task's table is checked. The father of all tasks has the API syms you'll need waiting in it's table. No need to #include headers. -* No need for namespaces -- scoping occurs automatically based on task symbol table hierarchy with the System Task's symbol +* No need for namespaces -- scoping occurs automatically based on task symbol table hierarchy with the System Task's symbol system-wide global. -* Sometimes, we cut corners in the interest of keeping the code beautiful. +* Sometimes, we cut corners in the interest of keeping the code beautiful.
diff --git a/docs/Doc/Streams.html b/docs/Doc/Streams.html index 6ff8117a..2104972d 100755 --- a/docs/Doc/Streams.html +++ b/docs/Doc/Streams.html @@ -27,15 +27,15 @@ body {background-color:#000000;}
 There are no streams in the traditional sense.  The cmd line output gets sent to the cursor location of a document being edited 
 and by using cursor keys, text can be injected all over the document.  Sprites can be injected and are not serialized!  Furtherm
-ore, the input can come from triggering macro widgets.  See Doc Overview and Doc Routines.
+ore, the input can come from triggering macro widgets.  See Doc Overview and Doc Routines.
 
-If you had a remote term and sent key Scan Codes, the user would press <CTRL-m> to access his Personal Menu to trigger his 
-macros.  However, the local ~/PersonalMenu.DD might differ from the remote, causing loss of sync between local and remote 
+If you had a remote term and sent key Scan Codes, the user would press <CTRL-m> to access his Personal Menu to trigger his 
+macros.  However, the local ~/PersonalMenu.DD might differ from the remote, causing loss of sync between local and remote 
 sessions.       Also, the window size of local and remote might differ, so word-wrapped text would be different.        Injecting output 
 text with different windows sizes would cause remote and local documents to not be in sync.
 
-See Char Overview and Char Routines.
+See Char Overview and Char Routines.
 
-You can send characters into StdIn.  See In(), XTalk() and InFile.
+You can send characters into StdIn.  See In(), XTalk() and InFile.
 
diff --git a/docs/Doc/TextBase.html b/docs/Doc/TextBase.html index 8558d8b9..a6621f59 100755 --- a/docs/Doc/TextBase.html +++ b/docs/Doc/TextBase.html @@ -25,22 +25,22 @@ body {background-color:#000000;}
-gr.text_base must be updated 60fps in your Fs->draw_it() callback.  You probably want GrPrint() or just Print().  The DolDoc 
-code takes care of plotting text to gr.text_base.
+gr.text_base must be updated 60fps in your Fs->draw_it() callback.  You probably want GrPrint() or just Print().  The DolDoc 
+code takes care of plotting text to gr.text_base.
 
 Bits 0-7                        8-Bit ASCII Screen Code
-Bits 8-11                       Foreground color
-Bits 12-15                      Background color
+Bits 8-11                       Foreground color
+Bits 12-15                      Background color
 Bits 16-20                      Signed X pos shift val
 Bits 21-25                      Signed Y pos shift val
-Bit  28                         Blink
-Bit  29                         Inverted (Swap foreground and background)
-Bit  30                         Sel (XOR colors with FF)
-Bit  31                         Underline
+Bit  28                         Blink
+Bit  29                         Inverted (Swap foreground and background)
+Bit  30                         Sel (XOR colors with FF)
+Bit  31                         Underline
 
-GrUpdateTaskWin() calls DocUpdateTaskDocs() which calls DocRecalc() where the document text is plotted into gr.text_base.       Then
-, GrUpdateTextBG() and GrUpdateTextFG() render the gr.text_base onto gr.dc2, a raw graphic bitmap.
+GrUpdateTaskWin() calls DocUpdateTaskDocs() which calls DocRecalc() where the document text is plotted into gr.text_base.       Then
+, GrUpdateTextBG() and GrUpdateTextFG() render the gr.text_base onto gr.dc2, a raw graphic bitmap.
 
-See ::/Demo/Games/Maze.CC.
+See ::/Demo/Games/Maze.CC.
 
diff --git a/docs/Doc/TimeCycles.html b/docs/Doc/TimeCycles.html index ae879bae..822d111e 100755 --- a/docs/Doc/TimeCycles.html +++ b/docs/Doc/TimeCycles.html @@ -26,5 +26,5 @@ body {background-color:#000000;}
 Intel/AMD have an inst that returns the num of CPU cycles since boot.  This is not a steady, calibrated real time value.        Zeal
-OS measures it and you can convert with counts.time_stamp_freq, a value continuously calibrated from other counts.
+OS measures it and you can convert with
counts.time_stamp_freq, a value continuously calibrated from other counts. diff --git a/docs/Doc/TimeDate.html b/docs/Doc/TimeDate.html index d0c185a2..4f4d40f7 100755 --- a/docs/Doc/TimeDate.html +++ b/docs/Doc/TimeDate.html @@ -25,9 +25,9 @@ body {background-color:#000000;}
-ZealOS uses a 64-bit value, CDate, for date/time.  The upper 32-bits are the days since Christ.  The lower 32-bits store time of 
-day divided by 4 billion which works out to 49710ths of a second.       You can subtract two CDate's to get a time span.
+ZealOS uses a 64-bit value, CDate, for date/time.  The upper 32-bits are the days since Christ.  The lower 32-bits store time of 
+day divided by 4 billion which works out to 49710ths of a second.       You can subtract two CDate's to get a time span.
 
-Use CDATE_FREQ to convert.
+Use CDATE_FREQ to convert.
 
diff --git a/docs/Doc/TimeJiffy.html b/docs/Doc/TimeJiffy.html index e8c5d617..0a8ca805 100755 --- a/docs/Doc/TimeJiffy.html +++ b/docs/Doc/TimeJiffy.html @@ -25,12 +25,12 @@ body {background-color:#000000;}
-One jiffy is one time slice.    counts.jiffies returns time slices since boot.
+One jiffy is one time slice.    counts.jiffies returns time slices since boot.
 
-SysTimerRead reads the timer ticks since boot.  It's not as fast as TSCGet.
+SysTimerRead reads the timer ticks since boot.  It's not as fast as TSCGet.
 
-Use JIFFY_FREQ to convert counts.jiffies.
+Use JIFFY_FREQ to convert counts.jiffies.
 
-Use SYS_TIMER_FREQ to convert SysTimerRead.
+Use SYS_TIMER_FREQ to convert SysTimerRead.
 
diff --git a/docs/Doc/Tips.html b/docs/Doc/Tips.html index 18299d6f..81c77734 100755 --- a/docs/Doc/Tips.html +++ b/docs/Doc/Tips.html @@ -29,26 +29,26 @@ body {background-color:#000000;} * Turn-off or reboot (<CTRL-ALT-DEL>) at any time, except during disk writes. Writes are not cached. -* Use Seed() and the cmd line to switch Rand() to non-timer mode and replay games you like. +* Use Seed() and the cmd line to switch Rand() to non-timer mode and replay games you like. * 64-bit values are most efficient for the compiler. -* See Key Map for a list of defined keys. Define your own keys in MyPutKey(). See Keyboard Devices. +* See Key Map for a list of defined keys. Define your own keys in MyPutKey(). See Keyboard Devices. * <ALT-m> maximizes a window. <ALT-SHIFT-a> closes AutoComplete. <ALT-a> brings back AutoComplete. <ALT-v> vertically tiles -windows. <ALT-h> horizontally tiles windows. The ALT keys are defined in ~/HomeKeyPlugIns.CC. You can customize them. +windows. <ALT-h> horizontally tiles windows. The ALT keys are defined in ~/HomeKeyPlugIns.CC. You can customize them. * If you make changes to ZealOS files in your /Home directory, generally you reboot to make them take effect. (You don't compile anything.) You should have two ZealOS partitions on your hard drive because a syntax error in a start-up file will make -the partition unbootable. Boot to the second partition or boot to a standard ZealOS CD/DVD and use Mount() to mount your hard +the partition unbootable. Boot to the second partition or boot to a standard ZealOS CD/DVD and use Mount() to mount your hard drive. -* You can copy your files to a mirrored ident partition, periodically with CopyTree() commands in scripts. You can do merge +* You can copy your files to a mirrored ident partition, periodically with CopyTree() commands in scripts. You can do merge commands with a menu entry like this: Merge(\"C:/*\",\"D:/*\",\"+r+d\"); to check your changes. * <CTRL-m> at the cmd line to access your PersonalMenu. Place macros there with <CTRL-l>, or icon-like sprites with <CTRL-r>. -Use the Pop-Up option on macros to Spawn() a task to run a file. It dies when it is finished. This returns mem to the system. Be +Use the Pop-Up option on macros to Spawn() a task to run a file. It dies when it is finished. This returns mem to the system. Be sure to press <CTRL-s> to save your macro/menu area after making changes. * You can use ans in cmd line expressions. It holds the res the last cmd line operation. You can use the cmd prompt as a @@ -56,66 +56,66 @@ body {background-color:#000000;} * Use the PullDown menu at the top of the screen to learn commands, or for finding the keyboard controls to games. -* You can adjust the mouse movement rate by setting global vars in your start-up file. See mouse scale. +* You can adjust the mouse movement rate by setting global vars in your start-up file. See mouse scale. -* You can set your local time zone by setting the local_time_offset global var in a start-up file. It's units are CDATE_FREQ. -See local time. +* You can set your local time zone by setting the local_time_offset global var in a start-up file. It's units are CDATE_FREQ. +See local time. -* <CTRL-SHIFT-L> in the editor to reindent a CosmiC function or renumber an asm routine's local labels. +* <CTRL-SHIFT-L> in the editor to reindent a CosmiC function or renumber an asm routine's local labels. * You can use filter_lines in the editor text search form (<CTRL-f>) to temporarily display just lines near each match. A value of filter lines set to 5 will display lines within 5 lines of matches. Then, you can do another find to a different string and achieve a AND search. When finished, press <ESC>. -* You can recompile and reinstall the kernel with BootHDIns(). You'll probably want to make a function for recompiling that uses -the In() function to answer the config questions. See the technique Config Strs, Update Funs. +* You can recompile and reinstall the kernel with BootHDIns(). You'll probably want to make a function for recompiling that uses +the In() function to answer the config questions. See the technique Config Strs, Update Funs. -* Scale2Mem(min,max,limit=2*1024*1024*1024) can be used for config questions when recompiling. The BootHDIns() config prompts +* Scale2Mem(min,max,limit=2*1024*1024*1024) can be used for config questions when recompiling. The BootHDIns() config prompts accept expressions, not just numbers. The default disk cache is Scale2Mem(0x80000,0x8000000). -* You can permanently disable AutoComplete commenting-out ACInit() in ~/HomeSys.CC. +* You can permanently disable AutoComplete commenting-out ACInit() in ~/HomeSys.CC. * Boolean expressions not in if statements don't have short circuit logic and are compiled inefficiently. -* You can use progress1-progress4 in your programs for whatever you like. They're just global vars that are shown on the +* You can use progress1-progress4 in your programs for whatever you like. They're just global vars that are shown on the wallpaper. The original intent was to indicate how far along operations were. There's no coordination, so different apps might -interfere. They're most often used for debugging--just values easily viewed. See ::/Demo/Progress.CC. +interfere. They're most often used for debugging--just values easily viewed. See ::/Demo/Progress.CC. -* Use DocMax() to adjust the size of the cmd line buf. It counts CDoc entries, not lines. +* Use DocMax() to adjust the size of the cmd line buf. It counts CDoc entries, not lines. -* Many data structures have a user_data member. Those are available for you to store a data item, for convenience. CTask, -CDocEntry and CDirEntry have them. You shouldn't encounter conflicts with ZealOS using them. +* Many data structures have a user_data member. Those are available for you to store a data item, for convenience. CTask, +CDocEntry and CDirEntry have them. You shouldn't encounter conflicts with ZealOS using them. * If, for some strange reason, you wanted to reduce mem usage, make a smaller disk cache when you recompile the kernel; -disabling AutoComplete; Specify smaller stack sizes when doing Spawn(), change MEM_DEFAULT_STACK, and using DocMax() to reduce +disabling AutoComplete; Specify smaller stack sizes when doing Spawn(), change MEM_DEFAULT_STACK, and using DocMax() to reduce the cmd line buffer size. -* Merge() can be used to see what's changed. The +d flag will show differences of files which have changed and allow you to +* Merge() can be used to see what's changed. The +d flag will show differences of files which have changed and allow you to merge code. (The +r flag will recurse.) -* There is a utility LinkCheck() which will check for broken links in documentation. +* There is a utility LinkCheck() which will check for broken links in documentation. -* You can use Option(OPTf_WARN_PAREN, ON) to find unnecessary parentheses in code. +* You can use Option(OPTf_WARN_PAREN, ON) to find unnecessary parentheses in code. -* You can use Option(OPTf_WARN_DUP_TYPES, ON) to find unnecessary local var type statements. +* You can use Option(OPTf_WARN_DUP_TYPES, ON) to find unnecessary local var type statements. -* Option(OPTf_ECHO, ON) can be placed in StartOS.CC to echo start-up scripts. +* Option(OPTf_ECHO, ON) can be placed in StartOS.CC to echo start-up scripts. -* Use Plain() to edit a plain text file. You'll need this if your file has $'s. Use the ToDolDoc() utility to convert plain text +* Use Plain() to edit a plain text file. You'll need this if your file has $'s. Use the ToDolDoc() utility to convert plain text to DolDoc's by doubling $'s. -* Use Silent() to disable screen text output. +* Use Silent() to disable screen text output. * Grab-scroll any window at any time with {CTRL-LEFT-MOUSE-DRAG}. Null grab-scrolling with {CTRL-RIGHT-MOUSE}. * Use <CTRL-ALT-z> to zoom-in and <CTRL-ALT-SHIFT-Z> to zoom-out. You can scroll by moving to the edge of the window. Set -gr.continuous_scroll to TRUE if you want. +gr.continuous_scroll to TRUE if you want. * Use <CTRL-ALT-g> and <CTRL-ALT-SHIFT-G> to display a grid on the screen. * Use <CTRL-ALT-a> to enter an extended ASCII char. -* Use <CTRL-ALT-f> to toggle between the VGA ROM Font and Std Font. +* Use <CTRL-ALT-f> to toggle between the VGA ROM Font and Std Font. * Use <CTRL-ALT-s> will capture the screen as a sprite on the clip. You can save the cmd line doc as text with <CTRL-a>. @@ -123,12 +123,12 @@ body {background-color:#000000;} * You can eye-dropper colors in the <CTRL-r> sprite editor by pressing 'c'. Press 't' for transparent. -* There are handy functions--F(),R(),FD() and RD() which are defined in ~/HomeWrappers.CC. You are encouraged to change them and +* There are handy functions--F(),R(),FD() and RD() which are defined in ~/HomeWrappers.CC. You are encouraged to change them and add more. They will perform find-and-replace operations across multiple files. The +l flag is particularly useful since it limits to whole labels. The +lb and +la flags limit to whole labels just before or after. You are encouraged to add or modify handy wrapper functions to make cmd line operations easier. -* When using Find() while modifying code, work from the bottom-up so that line numbers are correct. If you work top-down, then +* When using Find() while modifying code, work from the bottom-up so that line numbers are correct. If you work top-down, then inserting or deleting lines causes the lower file links to become incorrect. * You can save files after making changes, anytime you are within the editor, like when viewing help/macro files. <CTRL-a> saves @@ -139,17 +139,17 @@ body {background-color:#000000;} automatically based on other entries. * There is a feature of the precompiler that allows code to be executed in the middle of compilation and data inserted into the -compilation stream. Click here for an example: #exe {. +compilation stream. Click here for an example: #exe {. -* If you output to the cmd line and wish to allow users to scroll around and view data, you can use View(). +* If you output to the cmd line and wish to allow users to scroll around and view data, you can use View(). -* Use View() in Pop-up macros to linger until the user presses <ESC> or <SHIFT-ESC>. +* Use View() in Pop-up macros to linger until the user presses <ESC> or <SHIFT-ESC>. -* You can access the word under the cursor at ac.cur_word. +* You can access the word under the cursor at ac.cur_word. * You can reactivate AutoComplete after closing it by pressing <CTRL-Fun Key> or <ALT-a>. -* <CTRL-SHIFT-T> to toggle to/from plain text just the CDoc cmd under the cursor. See ::/Demo/DolDoc/TextDemo.CC. +* <CTRL-SHIFT-T> to toggle to/from plain text just the CDoc cmd under the cursor. See ::/Demo/DolDoc/TextDemo.CC. * If you toggle to plain text when you are working with graphics in a document, you can add duplicate entries for sprites by entering a $SP...$ cmd with the same num. @@ -164,9 +164,9 @@ body {background-color:#000000;} * It's recommended to keep CSprite in vector format until you are done creating them, so you can edit the ctrl points. Then, convert them to bitmaps, so the flood fills work well. If you are doing interpolation, however, they must be vector. -* GrFloodFill() is slow. GrRect() is fast. +* GrFloodFill() is slow. GrRect() is fast. -* You can customize the wallpaper. See ::/Demo/Graphics/WallPaperFish.CC. +* You can customize the wallpaper. See ::/Demo/Graphics/WallPaperFish.CC. * Your RAM disks will not be reformatted when you reboot if the memory location has not changed and it finds the disk intact. @@ -177,35 +177,35 @@ body {background-color:#000000;} * You can delete the ~/Registry.CC file. The policy is that deleting it will restore defaults. It is a text doc, if you want to edit it. Be careful of tree indentations. -* Study ::/System/Utils/MemRep.CC and WallPaper() to learn how the system resources are put together. +* Study ::/System/Utils/MemRep.CC and WallPaper() to learn how the system resources are put together. * The editor's sel-text mechanism allows for disjoint portions of sel text. This is a feature, not a bug -- you can cut-and-paste disjoint text. -* counts.time_stamp_freq is continuously calibrated. Be careful because expressions might decrease. Take a snap-shot, like this: -timeout = TSCGet + counts.time_stamp_freq x seconds; and compare against TSCGet(). It's recommended to just use tS or -counts.jiffies. +* counts.time_stamp_freq is continuously calibrated. Be careful because expressions might decrease. Take a snap-shot, like this: +timeout = TSCGet + counts.time_stamp_freq x seconds; and compare against TSCGet(). It's recommended to just use tS or +counts.jiffies. -* Use HeapLog(), HeapLogAddrRep() and HeapLogSizeRep() to find leaks. Don't be confused by CDoc allocations. Those are generated +* Use HeapLog(), HeapLogAddrRep() and HeapLogSizeRep() to find leaks. Don't be confused by CDoc allocations. Those are generated when text is written to the cmd line buffer. -* For advanced heap debugging, play with _CONFIG_HEAP_DEBUG. You're on your own. +* For advanced heap debugging, play with _CONFIG_HEAP_DEBUG. You're on your own. -* You can use Type() to display .GR files. +* You can use Type() to display .GR files. -* Use Man() to jump to short sym name src code. +* Use Man() to jump to short sym name src code. -* Use Fix() to edit and fix the last compiler error. +* Use Fix() to edit and fix the last compiler error. * You can use <CTRL-SHIFT-L> to do a check for compile errors. -* You can use DocOpt() to optimize links. +* You can use DocOpt() to optimize links. * With start/end, common trailing code is fast. Common leading code is slow. -* The first line of the Psalmody CosmiC song files is a comment with a category recognized by JukeBox(). The categories are "no +* The first line of the Psalmody CosmiC song files is a comment with a category recognized by JukeBox(). The categories are "no nothing", "has words", "has graphics", or "special". The third character in the song comment is a digit rating number, shown in -JukeBox(). You can set the song rating in JukeBox() by pressing 0-9. You can press <DEL> to delete songs. +JukeBox(). You can set the song rating in JukeBox() by pressing 0-9. You can press <DEL> to delete songs. * "Linux" is a trademark owned by Linus Torvalds. diff --git a/docs/Doc/Transform.html b/docs/Doc/Transform.html index 94fa4237..11c90d72 100755 --- a/docs/Doc/Transform.html +++ b/docs/Doc/Transform.html @@ -25,25 +25,25 @@ body {background-color:#000000;}
-CDC's have a 4x4 matrix for rotating, scaling, skewing and shifting in 3 dimensions.    To make the graphics routines use the 
-transform, you must set the DCF_TRANSFORMATION flag.
+CDC's have a 4x4 matrix for rotating, scaling, skewing and shifting in 3 dimensions.    To make the graphics routines use the 
+transform, you must set the DCF_TRANSFORMATION flag.
 
-The matrix consists of ints that have been scaled 32 bits (GR_SCALE).   See ::/Demo/Lectures/FixedPoint.CC to learn why.
+The matrix consists of ints that have been scaled 32 bits (GR_SCALE).   See ::/Demo/Lectures/FixedPoint.CC to learn why.
 
-See Mat4x4IdentEqu(), Mat4x4IdentNew(), Mat4x4Equ() and Mat4x4New().    See Mat4x4RotX(), Mat4x4RotY(), Mat4x4RotZ() and 
-Mat4x4Scale() to rotate about axes and scale.  Combine them with Mat4x4MulMat4x4Equ()/Mat4x4MulMat4x4New() and assign them to 
-the CDC.dc with DCMat4x4Set().  See ::/Demo/Graphics/Box.CC.
+See Mat4x4IdentEqu(), Mat4x4IdentNew(), Mat4x4Equ() and Mat4x4New().    See Mat4x4RotX(), Mat4x4RotY(), Mat4x4RotZ() and 
+Mat4x4Scale() to rotate about axes and scale.  Combine them with Mat4x4MulMat4x4Equ()/Mat4x4MulMat4x4New() and assign them to 
+the CDC.dc with DCMat4x4Set().  See ::/Demo/Graphics/Box.CC.
 
-You can rotate single points using Mat4x4MulXYZ().
+You can rotate single points using Mat4x4MulXYZ().
 
-The 4th dimension allows a neat trick where you can place pos shifts (translations), into the matrix and Mat4x4MulMat4x4Equ/
-Mat4x4MulMat4x4New them to combine rotation/shift operations.  Normally, you can't combine pos shift operations.        See 
-Mat4x4TranslationEqu() and ::/Demo/Graphics/Transform.CC.
+The 4th dimension allows a neat trick where you can place pos shifts (translations), into the matrix and Mat4x4MulMat4x4Equ/
+Mat4x4MulMat4x4New them to combine rotation/shift operations.  Normally, you can't combine pos shift operations.        See 
+Mat4x4TranslationEqu() and ::/Demo/Graphics/Transform.CC.
 
-Finally, CDC's have an x, y and z which is an additional shift (translation).
+Finally, CDC's have an x, y and z which is an additional shift (translation).
 
-The transformation is implemented as a callback on the CDC's transform() member.        The default transform() callback is 
-DCTransform().  See ::/Demo/Games/Talons.CC or ::/Demo/Games/CastleFrankenstein.CC to see how to change the transform() callback 
+The transformation is implemented as a callback on the CDC's transform() member.        The default transform() callback is 
+DCTransform().  See ::/Demo/Games/Talons.CC or ::/Demo/Games/CastleFrankenstein.CC to see how to change the transform() callback 
 for foreshortening.
 
diff --git a/docs/Doc/Welcome.html b/docs/Doc/Welcome.html index 64311f98..6221e113 100755 --- a/docs/Doc/Welcome.html +++ b/docs/Doc/Welcome.html @@ -35,64 +35,64 @@ body {background-color:#000000;} * Teenagers doing projects * Non-professional, older-persons projects -Simplicity is a goal to keep the line count down, so it's easy to tinker with. As it turns-out, simplicity makes it faster in +Simplicity is a goal to keep the line count down, so it's easy to tinker with. As it turns-out, simplicity makes it faster in some ways, too. It never switches privilege levels, never changes address maps, tends to load whole contiguous files and other, similar things which boost speed. It's only 80,849 lines of code including the kernel, the 64-bit compiler, the graphics -library and all the tools. More importantly, it's designed to keep the user's line count down -- you can do a Hello World +library and all the tools. More importantly, it's designed to keep the user's line count down -- you can do a Hello World application in one line of code and can put graphics on the screen with a three line program! It's a kayak, not a Titanic -- it will crash if you do something wrong. You quickly reboot, however. DOS and the 8-bit home computers of the 80's worked fine without memory protection and most computers in the world -- the embedded ones -- operate without protection. The resulting simplicity of no protections is why ZealOS has value. In facts, that's the point of -ZealOS. See the ZealOS Charter. +ZealOS. See the ZealOS Charter. Conventional thinking is "failure is not an option" for general purpose operating systems. Since this OS is used in addition to Windows or Linux, however, failure is an option -- just use Windows or Linux if you can't do something. We cherry-pick what it will and won't do, to make it maximally beautiful. The following applications more or less form a basis that spans the range of use that ZealOS is intended for: -/Demo/Games/BattleLines.CC -/Demo/Games/BigGuns.CC -/Demo/Games/BlackDiamond.CC -/Demo/Games/BomberGolf.CC -/Demo/Games/CastleFrankenstein.CC -/Demo/Games/CharDemo.CC -/Demo/Games/CircleTrace.CC -/Demo/Games/Collision.CC -/Demo/Games/Digits.CC -/Demo/Games/DunGen.CC -/Demo/Games/Talons.CC -/Demo/Games/ElephantWalk.CC -/Demo/Games/FlapBat.CC -/Demo/Games/FlatTops.CC -/Demo/Games/Halogen.CC -/Demo/Games/MassSpring.CC -/Demo/Games/Maze.CC -/Demo/Games/RainDrops.CC -/Demo/Games/RawHide.CC -/Demo/Games/Rocket.CC -/Demo/Games/RocketScience.CC -/Demo/Games/Squirt.CC -/Demo/Games/TheDead.CC -/Demo/Games/TicTacToe.CC -/Demo/Games/TreeCheckers.CC -/Demo/Games/Varoom.CC -/Demo/Games/Wenceslas.CC -/Demo/Games/Whap.CC -/Demo/Games/Zing.CC -/Demo/Games/ZoneOut.CC -/Apps/Psalmody/Examples/childish.CC -/Apps/Psalmody/Examples/night.CC -/Apps/Psalmody/Examples/prosper.CC +/Demo/Games/BattleLines.CC +/Demo/Games/BigGuns.CC +/Demo/Games/BlackDiamond.CC +/Demo/Games/BomberGolf.CC +/Demo/Games/CastleFrankenstein.CC +/Demo/Games/CharDemo.CC +/Demo/Games/CircleTrace.CC +/Demo/Games/Collision.CC +/Demo/Games/Digits.CC +/Demo/Games/DunGen.CC +/Demo/Games/Talons.CC +/Demo/Games/ElephantWalk.CC +/Demo/Games/FlapBat.CC +/Demo/Games/FlatTops.CC +/Demo/Games/Halogen.CC +/Demo/Games/MassSpring.CC +/Demo/Games/Maze.CC +/Demo/Games/RainDrops.CC +/Demo/Games/RawHide.CC +/Demo/Games/Rocket.CC +/Demo/Games/RocketScience.CC +/Demo/Games/Squirt.CC +/Demo/Games/TheDead.CC +/Demo/Games/TicTacToe.CC +/Demo/Games/TreeCheckers.CC +/Demo/Games/Varoom.CC +/Demo/Games/Wenceslas.CC +/Demo/Games/Whap.CC +/Demo/Games/Zing.CC +/Demo/Games/ZoneOut.CC +/Apps/Psalmody/Examples/childish.CC +/Apps/Psalmody/Examples/night.CC +/Apps/Psalmody/Examples/prosper.CC -Two things to know about ZealOS are that tasks have MAlloc/Free heap memory, not applications, and tasks have compiler symbol +Two things to know about ZealOS are that tasks have MAlloc/Free heap memory, not applications, and tasks have compiler symbol tables that persist at a scope like environment variables in other operating systems, and the symbols can include functions. -With ZealOS, the command line feeds right into the CosmiC compiler, line by line, and it places code into memory it MAlloc()s. +With ZealOS, the command line feeds right into the CosmiC compiler, line by line, and it places code into memory it MAlloc()s. The compiler is paused at the command line, waiting for input. Naturally, you #include a program to load it into memory and, usually, start it. -During the boot process, many files get compiled before you have access to the command line. (Don't worry, booting takes only +During the boot process, many files get compiled before you have access to the command line. (Don't worry, booting takes only two seconds.) All the header declarations for the operating system are compiled and are available for use in your programs without needing to #include them. Everything is truly compiled to native x86_64 machine code, nothing is interpreted and there is no byte code. @@ -113,26 +113,26 @@ body {background-color:#000000;} >Dir; -The syntax change created an ambiguity when specifying function addresses, like for calling QuickSort(). To resolve it, I +The syntax change created an ambiguity when specifying function addresses, like for calling QuickSort(). To resolve it, I made a '&' required in front of function names when specifying an address of a function, which is better anyway. -Once Terry was no longer using standard C/C++ syntax, he decided to change everything he didn't like and call it HolyC. Here are -the new operator precedence rules. It's Biblical! See Luke 5:37. +Once Terry was no longer using standard C/C++ syntax, he decided to change everything he didn't like and call it HolyC. Here are +the new operator precedence rules. It's Biblical! See Luke 5:37. There are no object files in ZealOS and, normally, you don't make executable files either, but you can. That's known as -Ahead-of-Time compilation. Instead, you Just in Time compile. +Ahead-of-Time compilation. Instead, you Just in Time compile. Tasks have no priority and are never removed from the queue. Instead, they often poll whatever they are waiting on and -swap-out. (Swapping tasks takes half a microsecond and does not involve disk activity or memory maps.) See Scheduler. Polling +swap-out. (Swapping tasks takes half a microsecond and does not involve disk activity or memory maps.) See Scheduler. Polling keeps it simple. It might be a problem if you had lots of tasks busy, which rarely happens on a home computer. The order of the tasks in the queue determines front-to-back window order. The FAT32 filesystem is supported to makes exchanging files with a dual booted other operating system easy and there is the -simple, 64-bit ZealOS RedSea filesystem. The RedSea has allocation bitmap for clus and all files are stored contiguously. You +simple, 64-bit ZealOS RedSea filesystem. The RedSea has allocation bitmap for clus and all files are stored contiguously. You can't grow files. ZealOS is geared toward reading and writing whole files. There is support for direct block random access into files, however -- -FBlkRead() and FBlkWrite(). +FBlkRead() and FBlkWrite(). There is no PATH, but parent directories are searched when a file is not found. This feature is especially useful for default account files. @@ -141,28 +141,28 @@ body {background-color:#000000;} all-important so symmetrical multiprocessing is almost pointless. Why does it matter running two apps at the same time twice as fast when you really want to run one faster? You could say ZealOS does master/slave multiprocessing. The anticipated use for multicore is primarily putting graphics on the screen. Hardware graphics acceleration is not used, so this is possible. See -ZealOS MultiCore. +ZealOS MultiCore. -There is no distinction between the terms task, process or thread. All have a task record, CTask, pointed to by the FS segment -reg and are accessed with Fs-> while Gs-> points to a CCPU for the current CPU core. Each task can have just one window, but a +There is no distinction between the terms task, process or thread. All have a task record, CTask, pointed to by the FS segment +reg and are accessed with Fs-> while Gs-> points to a CCPU for the current CPU core. Each task can have just one window, but a task can have children with windows. (The segment regs are just used as extra regs -- there is nothing segmented about ZealOS' memory.) It is approximately the case that ZealOS is multi-threading, single-processing. -In ZealOS, System Task refers to the father of all tasks. He's never supposed to die. Since tasks inherit the symbols of +In ZealOS, System Task refers to the father of all tasks. He's never supposed to die. Since tasks inherit the symbols of parents, system-wide stuff is associated with System. His heap is like kernel memory in other operating systems. Since System is immortal, it's safe to alloc objects, not tied to any mortal task, from System's heap. He stays in a server mode, taking requests, so you can ask him to #include something, placing that code system-wide. A funny story is that originally Terry Davis -called it the root task and even had a /Root directory :-) System executes ::/StartOS.CC at boot time. +called it the root task and even had a /Root directory :-) System executes ::/StartOS.CC at boot time. -For easy back-ups, place everything you author in your /Home directory and subdirectories. Then, use CopyTree(). That should +For easy back-ups, place everything you author in your /Home directory and subdirectories. Then, use CopyTree(). That should make upgrading easy, too. Customizable start-up scripts go in your /Home directory. The default start-up scripts are in the -root directory. Copy the start-up files you wish to customize into /Home and modify them. See Home Files. You can make your -own distro that includes everything and is a bootable live CD with ::/Misc/DoDistro.CC. +root directory. Copy the start-up files you wish to customize into /Home and modify them. See Home Files. You can make your +own distro that includes everything and is a bootable live CD with ::/Misc/DoDistro.CC. -Typically, your usage pattern through the day will be repeatedly left or right clicking on filenames in a cmd line Dir() -listing. You left-click files to edit them and right-click to #include them. To begin a project, type Ed("filename");, +Typically, your usage pattern through the day will be repeatedly left or right clicking on filenames in a cmd line Dir() +listing. You left-click files to edit them and right-click to #include them. To begin a project, type Ed("filename");, supplying a filename. You can also run programs with <F5> when in the editor. <ESC> to save and exit the file. You'll need -to do a new Dir() cmd, periodically, so make a macro on your PersonalMenu. Access your PersonalMenu by pressing <CTRL-m>, +to do a new Dir() cmd, periodically, so make a macro on your PersonalMenu. Access your PersonalMenu by pressing <CTRL-m>, cursoring until you are on top of it and pressing <SPACE>. <CTRL-t> toggles plain text mode, showing format commands, a little like viewing html code. @@ -176,31 +176,31 @@ body {background-color:#000000;} <ALT-a> brings back AutoComplete. <ALT-v> vertically tiles windows. <ALT-h> horizontally tiles windows. -The ALT keys are defined in ~/HomeKeyPlugIns.CC. You can customize them. +The ALT keys are defined in ~/HomeKeyPlugIns.CC. You can customize them. <CTRL-ALT-t> new terminal window. <CTRL-ALT-n> switches to the next window. <CTRL-ALT-x> kills a window. -Find() is your best friend. There's a wrapper function called F() in your ~/HomeWrappers.CC file. Feel free to make wrapper -functions for functions you use often and customize the args. By the way, Find() or R() can be used to replace strings across -multiple files. You can access Find() using <CTRL-SHIFT-f>. +Find() is your best friend. There's a wrapper function called F() in your ~/HomeWrappers.CC file. Feel free to make wrapper +functions for functions you use often and customize the args. By the way, Find() or R() can be used to replace strings across +multiple files. You can access Find() using <CTRL-SHIFT-f>. As you browse code, use the AutoComplete window to look-up functions, etc. <CTRL-SHIFT-F1> (or whatever number) to follow a sym to it's source. You can browse deeper and deeper. You go back with <SHIFT-ESC>. -Use the Help & Index or Demo Index to find-out what exists. Press <F1> for help or use the links on your menu (<CTRL-m>). Also +Use the Help & Index or Demo Index to find-out what exists. Press <F1> for help or use the links on your menu (<CTRL-m>). Also , look in the /Demo or /Apps directories for inspiration. -Software is distributed as RedSea ISO files. Burn a CD/DVD, or set your CD/DVD in QEMU, VMware or VirtualBox to the ISO file. -Then, access the 'T' drive. Or, Mount() the ISO.C file and access the 'M' drive in ZealOS. It must be a contiguous ISO.C file, +Software is distributed as RedSea ISO files. Burn a CD/DVD, or set your CD/DVD in QEMU, VMware or VirtualBox to the ISO file. +Then, access the 'T' drive. Or, Mount() the ISO.C file and access the 'M' drive in ZealOS. It must be a contiguous ISO.C file, so rename it under ZealOS to ISO.C. Ideally, do not install applications such as games onto your hard drive because we wish to keep hard drive usage low, so the -whole 'C' drive can be copied quickly to 'D'. Also, the FileMgr() <CTRL-d> starts too slowly when there are lots of hard drive +whole 'C' drive can be copied quickly to 'D'. Also, the FileMgr() <CTRL-d> starts too slowly when there are lots of hard drive files, but that is how we want it. -3rd party libraries are banned, since they circumvent the 100,000 line of code limit in the ZealOS Charter. All applications +3rd party libraries are banned, since they circumvent the 100,000 line of code limit in the ZealOS Charter. All applications must only depend on the core ZealOS files and whatever they bring along in the ISO. This is similar to how Commodore 64 applications only depended on the ROM. diff --git a/docs/Doc/WhyNotMore.html b/docs/Doc/WhyNotMore.html index 2f22d9ca..fe7733a7 100755 --- a/docs/Doc/WhyNotMore.html +++ b/docs/Doc/WhyNotMore.html @@ -34,18 +34,18 @@ body {background-color:#000000;} leave behind much trouble, but plenty remains. The PCI bus interface is what modern hardware uses. Before PCI, life was simple and devices used I/O ports. After studying -PCI Interrupts and attempting to do a HDAudio driver, Terry Davis came to realize that modern PCI devices require ten times more +PCI Interrupts and attempting to do a HDAudio driver, Terry Davis came to realize that modern PCI devices require ten times more code and he cannot even come close to making them work on everyone's machine because with PCI devices there are several models to worry about, unlike with the older ISA bus devices which can be done with one driver. Currently, ZealOS has no PCI drivers beyond AHCI and networking. Most drivers use I/O ports and operate in ISA bus mode. At -this point, we only have one driver for each type of device and it is delightfully simple that way. ZealOS has one keyboard -driver, one mouse driver, one ATA hard drive driver, one ATAPI CD/DVD driver, one 32-bit color high-res VBE graphics video -driver and one PC Speaker driver. We use the PIT timer and PIC Interrupt Controller. We use IRQ0 for timer, IRQ1 for +this point, we only have one driver for each type of device and it is delightfully simple that way. ZealOS has one keyboard +driver, one mouse driver, one ATA hard drive driver, one ATAPI CD/DVD driver, one 32-bit color high-res VBE graphics video +driver and one PC Speaker driver. We use the PIT timer and PIC Interrupt Controller. We use IRQ0 for timer, IRQ1 for keyboard, and IRQ12 for mouse. If IRQ12 is not firing, we are able to poll the mouse. -In the CPU department, ZealOS has state of the art 64-bit long mode with multicore support. We use the APIC and start-up -multicore operation. +In the CPU department, ZealOS has state of the art 64-bit long mode with multicore support. We use the APIC and start-up +multicore operation. Terry Davis made an incredible accomplishment by getting it to work on practically everyone's computer as long as it is 64-bit and they run inside VMware, QEMU or VirtualBox. diff --git a/docs/Doc/Widget.html b/docs/Doc/Widget.html index bfcda01b..bd4a3efa 100755 --- a/docs/Doc/Widget.html +++ b/docs/Doc/Widget.html @@ -27,11 +27,11 @@ body {background-color:#000000;}
                                                        DolDoc Widget Help
 
-DolDoc is a ZealOS document type.
+DolDoc is a ZealOS document type.
 
 "Expression" a num or CosmiC algebraic term with operators and CosmiC syms can be entered.
 "Macro" Most entries can behave like macro entries if you assign them macro strs.
-"InStr" Like a macro except it is an InFile.    You can't have both an in_str and macro text defined.
+"InStr" Like a macro except it is an InFile.    You can't have both an in_str and macro text defined.
 
 Tag Text is the text that will be displayed for the item.  For links, you can leave it blank and the details of the link will be 
 shown.
@@ -55,7 +55,7 @@ body {background-color:#000000;}
 
 Tree The item will behave like a tree widget, with this as the root.
 Collapsed The tree or hidden widget will begin collapsed.
-Define Str will substitute a #define or DefineLoad() string for the tag.
+Define Str will substitute a #define or DefineLoad() string for the tag.
 
 Quote Make the res suitable for including in a program, in quotes, especially format entries in class definitions.
 
@@ -70,6 +70,6 @@ body {background-color:#000000;}
 Refresh Data    updates $DA...$ entry continuously.
 
 Html Link  stores a link which will be embedded if you generate a html version of a document with 
-::/Demo/ToHtmlToTXTDemo/ToHtml.CC.
+::/Demo/ToHtmlToTXTDemo/ToHtml.CC.
 
diff --git a/docs/Doc/index.html b/docs/Doc/index.html new file mode 100755 index 00000000..a02123da --- /dev/null +++ b/docs/Doc/index.html @@ -0,0 +1,126 @@ + + + + + + + + +
+Directory of C:/Doc
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/01 18:01 0B00 Comm.CC
+07/02 03:38 05C9 AboutZealOS.DD
+12/21 23:22 06A7 Asm.DD
+07/01 16:15 063B AutoComplete.DD
+12/21 23:24 028A Bit.DD
+07/02 03:39 09D8 BlkChain.DD
+07/02 14:00 1517 Boot.DD
+07/03 00:02 99EF ChangeLog.DD
+07/01 15:58 0645 CharOverview.DD
+07/02 03:40 1058 Charter.DD
+12/21 23:34 0810 CmdLineOverview.DD
+09/27 11:24 00EB CompilerOverview.DD
+07/02 03:41 2E98 CosmiC.DD
+07/02 03:44 0F2B Credits.DD
+07/01 16:15 017F Ctrls.DD
+02/19 22:55 01C4 Customize.DD
+07/02 04:16 089A CutCorners.DD
+07/01 15:58 01DE D3.DD
+09/27 11:24 0087 Date.DD
+09/27 11:24 0076 DebugFunSeg.DD
+07/02 02:24 11D7 DebugOverview.DD
+07/01 16:15 0439 Define.DD
+07/01 18:01 1C19 DemoIndex.DD
+12/21 23:44 01F3 Directives.DD
+02/15 16:35 0176 DolDoc.DD
+07/02 03:46 52EC DolDocOverview.DD
+07/01 15:58 0688 EdPullDown.DD
+07/02 03:46 3335 FAQ.DD
+07/02 02:37 0ABB Features.DD
+07/02 02:38 0222 FileLowLevel.DD
+07/01 18:09 0A38 FileMgr.DD
+07/01 15:58 0172 FileMgrPullDown.DD
+12/21 23:47 0824 FileUtils.DD
+02/19 22:55 00DE Frame.DD
+07/01 15:58 04EA GRFiles.DD
+07/02 03:48 3867 Glossary.DD
+07/01 16:15 1A79 GraphicsOverview.DD
+07/02 02:46 220B GuideLines.DD
+07/01 17:48 0829 Hash.DD
+02/16 01:57 0090 HeapDebug.DD
+12/21 23:51 06BE HelloWorld.DD
+07/01 17:17 1B14 HelpIndex.DD
+02/15 13:23 0237 HelpSystem.DD
+07/02 02:47 0527 InFile.DD
+07/02 03:48 0EEF Install.DD
+07/02 00:27 08D0 Job.DD
+07/02 02:53 070C KeyAlloc.DD
+07/01 15:58 057A KeyDev.DD
+07/01 16:15 010A Lex.DD
+07/02 04:16 1B30 MemoryOverview.DD
+02/19 22:55 046B Menus.DD
+02/19 22:55 0092 Messages.DD
+12/22 00:01 041E Mouse.DD
+07/02 00:23 058F MultiCore.DD
+07/01 15:58 01CA NewASCII.DD
+07/01 15:58 025E ODE.DD
+07/02 00:50 02F5 Once.DD
+12/22 00:02 0622 Options.DD
+04/10 07:43 033C PIT.DD
+07/01 15:58 0136 Pags.DD
+02/22 20:58 04B2 PreProcessor.DD
+07/02 00:49 13D7 Print.DD
+02/19 22:55 0253 Profiler.DD
+02/15 16:35 010A Queue.DD
+07/02 03:03 0E5A Quirks.DD
+07/02 03:49 0892 RedSea.DD
+07/02 04:16 06EF Reliability.DD
+07/02 03:07 0325 Requirements.DD
+02/19 22:55 02F1 Resource.DD
+07/02 03:07 1D36 ScopingLinkage.DD
+02/19 22:55 01C0 Sound.DD
+07/01 16:15 030F Sprite.DD
+02/19 22:55 011A SpriteBitMap.DD
+02/19 22:55 027B SpriteEd.DD
+09/27 11:24 0067 SpriteEdText.DD
+02/19 22:55 048E SpriteMain.DD
+09/27 11:24 016E SpriteSideBar.DD
+07/02 16:53 0339 StandBy.DD
+07/01 15:58 00DA Start.DD
+02/19 22:55 014E StdOutTask.DD
+07/02 03:49 106B Strategy.DD
+02/19 22:55 0494 Streams.DD
+07/02 03:14 01B5 TOSZ.DD
+12/22 00:10 04D2 TextBase.DD
+07/01 15:58 0112 TimeCycles.DD
+07/01 15:58 0157 TimeDate.DD
+03/19 03:26 01B2 TimeJiffy.DD
+07/02 03:16 33EB Tips.DD
+02/19 22:55 07C6 Transform.DD
+07/02 03:20 3820 Welcome.DD
+07/02 03:28 0E98 WhyNotMore.DD
+07/01 15:58 09F9 Widget.DD
+02/19 22:55 010C Windows.DD
+
+ diff --git a/docs/Downloads/Linux/index.html b/docs/Downloads/Linux/index.html new file mode 100755 index 00000000..90f662ee --- /dev/null +++ b/docs/Downloads/Linux/index.html @@ -0,0 +1,37 @@ + + + + + + + + +
+Directory of C:/Downloads/Linux
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/31 17:06 7260 TOSZ
+06/04 07:53 0090 gw
+06/21 04:18 004B make_tosz
+06/25 00:15 6D2C TOSZ.CPP
+
+ diff --git a/docs/Downloads/index.html b/docs/Downloads/index.html new file mode 100755 index 00000000..72413a61 --- /dev/null +++ b/docs/Downloads/index.html @@ -0,0 +1,35 @@ + + + + + + + + +
+Directory of C:/Downloads
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 23:10 0000 Linux
+07/01 15:58 042B ReadMe.TXT
+
+ diff --git a/docs/HTML/index.html b/docs/HTML/index.html new file mode 100755 index 00000000..7c3a8dcc --- /dev/null +++ b/docs/HTML/index.html @@ -0,0 +1,40 @@ + + + + + + + + +
+Directory of C:/HTML
+DATE_ TIME_ SIZE
+07/03 02:37 0000 .
+07/03 02:37 0000 ..
+07/03 02:43 0000 0000Boot
+07/03 02:43 0000 Apps
+07/03 02:43 0000 Compiler
+07/03 02:43 0000 Demo
+07/03 02:44 0000 Doc
+07/03 02:44 0000 Downloads
+07/03 02:43 0F88 index.html
+
+ diff --git a/docs/Home/DoDistro.html b/docs/Home/DoDistro.html index 5ae9a6e2..7bb33f5a 100755 --- a/docs/Home/DoDistro.html +++ b/docs/Home/DoDistro.html @@ -31,7 +31,7 @@ body {background-color:#000000;}
U0 MakeMyISO(U8 *_out_iso_filename) {//Does everything with current drive. -//If you have not recompiled Kernel and defined your CD/DVD drive, use Mount. +//If you have not recompiled Kernel and defined your CD/DVD drive, use Mount. U8 *out_iso_filename = FileNameAbs(_out_iso_filename); @@ -81,6 +81,6 @@ body {background-color:#000000;} MakeMyISO("/Tmp/MyDistro.ISO.C"); -// Study the account examples Config Strs, Update Funs. +// Study the account examples Config Strs, Update Funs. diff --git a/docs/Home/Net/Docs/NetworkingNotes.html b/docs/Home/Net/Docs/NetworkingNotes.html index 7c958b85..4166e0de 100755 --- a/docs/Home/Net/Docs/NetworkingNotes.html +++ b/docs/Home/Net/Docs/NetworkingNotes.html @@ -47,7 +47,7 @@ body {background-color:#000000;} Stack progress: (# done, ~ WIP, . N/A) # PCNet-II Driver - . Other Network Card Drivers? See Roadmap. + . Other Network Card Drivers? See Roadmap. # NetQueue diff --git a/docs/Home/Net/Docs/index.html b/docs/Home/Net/Docs/index.html new file mode 100755 index 00000000..b879089d --- /dev/null +++ b/docs/Home/Net/Docs/index.html @@ -0,0 +1,36 @@ + + + + + + + + +
+Directory of C:/Home/Net/Docs
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+05/10 19:15 0BF6 NetFuncSummary.DD
+07/01 15:58 06F8 NetworkingNotes.DD
+07/01 15:58 0C0C ZealStackNotes.DD
+
+ diff --git a/docs/Home/Net/Drivers/index.html b/docs/Home/Net/Drivers/index.html new file mode 100755 index 00000000..37812aaa --- /dev/null +++ b/docs/Home/Net/Drivers/index.html @@ -0,0 +1,34 @@ + + + + + + + + +
+Directory of C:/Home/Net/Drivers
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+05/17 21:47 5EE8 PCNet.CC
+
+ diff --git a/docs/Home/Net/Programs/index.html b/docs/Home/Net/Programs/index.html new file mode 100755 index 00000000..a25ed4fe --- /dev/null +++ b/docs/Home/Net/Programs/index.html @@ -0,0 +1,36 @@ + + + + + + + + +
+Directory of C:/Home/Net/Programs
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+05/24 00:56 0BDD TCPChatClient.CC
+05/24 00:56 13B4 TCPChatServer.CC
+02/27 22:05 0C73 UDPChat.CC
+
+ diff --git a/docs/Home/Net/Protocols/TCP/index.html b/docs/Home/Net/Protocols/TCP/index.html new file mode 100755 index 00000000..465ebdcd --- /dev/null +++ b/docs/Home/Net/Protocols/TCP/index.html @@ -0,0 +1,37 @@ + + + + + + + + +
+Directory of C:/Home/Net/Protocols/TCP
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+05/24 00:31 9C9D TCP.CC
+05/17 02:53 2845 TCPHandler.CC
+05/11 16:26 106D TCPTree.CC
+05/18 00:58 0CE1 TCP.HH
+
+ diff --git a/docs/Home/Net/Protocols/UDP/index.html b/docs/Home/Net/Protocols/UDP/index.html new file mode 100755 index 00000000..52c4df94 --- /dev/null +++ b/docs/Home/Net/Protocols/UDP/index.html @@ -0,0 +1,36 @@ + + + + + + + + +
+Directory of C:/Home/Net/Protocols/UDP
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+05/17 21:41 4722 UDP.CC
+05/12 00:33 1048 UDPTree.CC
+04/29 01:21 0470 UDP.HH
+
+ diff --git a/docs/Home/Net/Protocols/index.html b/docs/Home/Net/Protocols/index.html new file mode 100755 index 00000000..08a24f99 --- /dev/null +++ b/docs/Home/Net/Protocols/index.html @@ -0,0 +1,42 @@ + + + + + + + + +
+Directory of C:/Home/Net/Protocols
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 23:10 0000 TCP
+07/02 23:10 0000 UDP
+05/17 22:41 16C2 ARP.CC
+05/18 00:59 32A3 DHCP.CC
+05/17 22:47 3D97 DNS.CC
+05/17 21:14 0538 Ethernet.CC
+05/03 21:36 0807 ICMP.CC
+05/17 22:11 1C33 IPV4.CC
+05/17 21:22 2770 Sockets.CC
+
+ diff --git a/docs/Home/Net/Tests/index.html b/docs/Home/Net/Tests/index.html new file mode 100755 index 00000000..87d73243 --- /dev/null +++ b/docs/Home/Net/Tests/index.html @@ -0,0 +1,55 @@ + + + + + + + + +
+Directory of C:/Home/Net/Tests
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+05/17 20:17 0171 ARPTest.CC
+05/17 20:18 00A4 DHCPTest0.CC
+05/17 20:19 0250 DHCPTest1.CC
+05/17 20:19 033A DHCPTest2.CC
+05/17 20:19 029F DNSTest.CC
+05/17 20:20 0177 EthernetTest.CC
+07/01 18:29 00DD HostTest0.CC
+07/01 18:29 0168 HostTest1.CC
+05/17 20:20 01B8 ICMPTest.CC
+05/17 20:20 01EA IPV4Test.CC
+05/17 20:21 0105 PCNetTest.CC
+02/24 00:49 0A5A PCP.CC
+05/12 19:13 04F8 TCPEchoClient.CC
+05/12 19:29 0608 TCPEchoServer.CC
+05/10 18:53 0297 TCPTest0.CC
+05/12 02:22 02A0 TCPTest1.CC
+05/12 00:37 0256 TCPTest2.CC
+05/09 12:59 02DB UDPSocketTest0.CC
+03/01 01:03 078A UDPSocketTest1.CC
+03/01 02:02 01CA UDPSocketTest2.CC
+05/17 20:21 01DE UDPTest0.CC
+07/01 18:29 026B UDPTest1.CC
+
+ diff --git a/docs/Home/Net/Utilities/JSON/index.html b/docs/Home/Net/Utilities/JSON/index.html new file mode 100755 index 00000000..547a3403 --- /dev/null +++ b/docs/Home/Net/Utilities/JSON/index.html @@ -0,0 +1,39 @@ + + + + + + + + +
+Directory of C:/Home/Net/Utilities/JSON
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+06/24 14:58 191B JSON.CC
+06/24 14:38 0140 JSON0.TXT
+06/24 14:43 0164 JSON1.TXT
+06/24 14:57 0247 JSON2.TXT
+06/24 14:57 025B JSON3.TXT
+06/24 14:57 0D8D JSON4.TXT
+
+ diff --git a/docs/Home/Net/Utilities/index.html b/docs/Home/Net/Utilities/index.html new file mode 100755 index 00000000..35b5faf4 --- /dev/null +++ b/docs/Home/Net/Utilities/index.html @@ -0,0 +1,39 @@ + + + + + + + + +
+Directory of C:/Home/Net/Utilities
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 23:10 0000 JSON
+04/26 03:26 0BDB BST.CC
+05/17 22:37 07EC NetHandler.CC
+07/01 16:07 057D NetLog.CC
+07/01 15:58 0815 NetQueue.CC
+02/06 01:05 023F Net.HH
+
+ diff --git a/docs/Home/Net/index.html b/docs/Home/Net/index.html new file mode 100755 index 00000000..e49e282a --- /dev/null +++ b/docs/Home/Net/index.html @@ -0,0 +1,41 @@ + + + + + + + + +
+Directory of C:/Home/Net
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 23:10 0000 Docs
+07/02 23:10 0000 Drivers
+07/02 23:10 0000 Programs
+07/02 23:10 0000 Protocols
+07/02 23:10 0000 Tests
+07/02 23:10 0000 Utilities
+07/01 16:33 02AC Load.CC
+07/01 16:36 01BC Run.CC
+
+ diff --git a/docs/Home/index.html b/docs/Home/index.html new file mode 100755 index 00000000..e8ae0f5e --- /dev/null +++ b/docs/Home/index.html @@ -0,0 +1,39 @@ + + + + + + + + +
+Directory of C:/Home
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 23:10 0000 Net
+07/02 23:49 0709 DoDistro.CC
+07/01 16:06 02B1 K.CC
+07/03 02:43 0110 Registry.CC
+03/12 21:37 0EA8 Basics.DD
+07/01 18:32 03F0 Roadmap.DD
+
+ diff --git a/docs/HomeKeyPlugIns.html b/docs/HomeKeyPlugIns.html index 17f72e99..82c7bf0e 100755 --- a/docs/HomeKeyPlugIns.html +++ b/docs/HomeKeyPlugIns.html @@ -39,12 +39,12 @@ body {background-color:#000000;} {
//ch=ASCII; sc=scan_code //See Char for definition of scan codes. - //See Key Allocations . + //See Key Allocations . //See Keyboard Devices. //You can customize keys. This routine //is called before the main editor - //key handler DocPutKey(). + //key handler DocPutKey(). //You can intercept any key. //Return TRUE if you completely diff --git a/docs/Kernel/BlkDev/DiskAHCI.html b/docs/Kernel/BlkDev/DiskAHCI.html index 9a69cc68..ed5de4f3 100755 --- a/docs/Kernel/BlkDev/DiskAHCI.html +++ b/docs/Kernel/BlkDev/DiskAHCI.html @@ -143,7 +143,7 @@ body {background-color:#000000;} if (!Bt(&port->cmd_issue, cmd_slot)) //When command has been processed break; - if (Bt(&port->interrupt_status, AHCI_PxIf_TFE)) //Task File Error (ATAS_ERR) + if (Bt(&port->interrupt_status, AHCI_PxIf_TFE)) //Task File Error (ATAS_ERR) { error: SysErr("AHCI: Port %d: Command failed!\n", port_num); diff --git a/docs/Kernel/BlkDev/DiskBlkDev.html b/docs/Kernel/BlkDev/DiskBlkDev.html index ae8166cf..a2dcdb88 100755 --- a/docs/Kernel/BlkDev/DiskBlkDev.html +++ b/docs/Kernel/BlkDev/DiskBlkDev.html @@ -177,7 +177,7 @@ body {background-color:#000000;} } CBlkDev *BlkDevNextFreeSlot(U8 first_drive_let, I64 type) -{//Locate free slot for new BlkDev, like during Mount(). +{//Locate free slot for new BlkDev, like during Mount(). I64 i = 0; CBlkDev *res; diff --git a/docs/Kernel/BlkDev/DiskCFile.html b/docs/Kernel/BlkDev/DiskCFile.html index e3970069..b23941b1 100755 --- a/docs/Kernel/BlkDev/DiskCFile.html +++ b/docs/Kernel/BlkDev/DiskCFile.html @@ -35,7 +35,7 @@ body {background-color:#000000;} CFile *FOpen(U8 *filename, U8 *flags, I64 count=0) {//Allows flags "r","w","w+". "c" for contiguous. -//(It uses StrOcc() for 'w', 'r', '+', 'c') +//(It uses StrOcc() for 'w', 'r', '+', 'c') CFile *f = CAlloc(sizeof(CFile)); CDirContext *dirc; U8 *full_name; diff --git a/docs/Kernel/BlkDev/DiskDirA.html b/docs/Kernel/BlkDev/DiskDirA.html index 19ed21e1..1c302216 100755 --- a/docs/Kernel/BlkDev/DiskDirA.html +++ b/docs/Kernel/BlkDev/DiskDirA.html @@ -26,7 +26,7 @@ body {background-color:#000000;}
 Bool DirNew(CDrive *drive, U8 *cur_dir, CDirEntry *tmpde, Bool free_old_chain=TRUE)
-{//Makes a directory entry in the directory from a CDirEntry node.
+{//Makes a directory entry in the directory from a CDirEntry node.
         switch (drive->fs_type)
         {
                 case FSt_REDSEA:
@@ -42,7 +42,7 @@ body {background-color:#000000;}
 }
 
 U0 DirEntryDel(CDirEntry *tmpde)
-{//Free node returned from FilesFind().  Doesn't Free user_data.
+{//Free node returned from FilesFind().  Doesn't Free user_data.
 //Does not change the directory on disk.
         if (tmpde)
         {
@@ -52,7 +52,7 @@ body {background-color:#000000;}
 }
 
 U0 DirEntryDel2(CDirEntry *tmpde)
-{//Free node returned from FilesFind().  Frees user_data
+{//Free node returned from FilesFind().  Frees user_data
 //Does not change the directory on disk.
         if (tmpde)
         {
@@ -63,7 +63,7 @@ body {background-color:#000000;}
 }
 
 U0 DirTreeDel(CDirEntry *tmpde)
-{//Free tree returned from FilesFind().  Doesn't Free user_data.
+{//Free tree returned from FilesFind().  Doesn't Free user_data.
 //Does not change the directory on disk.
         CDirEntry *tmpde2;
 
@@ -78,7 +78,7 @@ body {background-color:#000000;}
 }
 
 U0 DirTreeDel2(CDirEntry *tmpde)
-{//Free tree returned from FilesFind().  Frees user_data
+{//Free tree returned from FilesFind().  Frees user_data
 //Does not change the directory on disk.
         CDirEntry *tmpde2;
 
@@ -209,7 +209,7 @@ body {background-color:#000000;}
 }
 
 U0 PutFileLink(U8 *filename, U8 *full_name=NULL, I64 line=0, Bool plain_text=FALSE)
-{//Put DolDoc file,line link to StdOut, DocPut.
+{//Put DolDoc file,line link to StdOut, DocPut.
         U8 *st;
 
         if (!filename)
@@ -226,7 +226,7 @@ body {background-color:#000000;}
 //LK_DOC,LK_DOC_ANCHOR,LK_DOC_FIND,LK_DOC_LINE
                 if (filename[0] == 'A'&&filename[2] == ':')
                 {
-                        if (line) //See SpriteEdText()
+                        if (line) //See SpriteEdText()
                                 "$LK,\"%s,%04d\",A=\"AL:%s,%d\"$", filename + 3, line, filename + 3, line;
                         else
                                 "$LK,\"%s\",A=\"AI:%s\"$", filename + 3, filename + 3;
@@ -257,7 +257,7 @@ body {background-color:#000000;}
 }
 
 U0 PutDirLink(U8 *dirname, U8 *full_name=NULL)
-{//Put DolDoc dir macro to StdOut, DocPut.
+{//Put DolDoc dir macro to StdOut, DocPut.
         U8 *st;
 
         if (!dirname)
diff --git a/docs/Kernel/BlkDev/DiskDirB.html b/docs/Kernel/BlkDev/DiskDirB.html
index b9f0b4e5..9c006976 100755
--- a/docs/Kernel/BlkDev/DiskDirB.html
+++ b/docs/Kernel/BlkDev/DiskDirB.html
@@ -209,7 +209,7 @@ body {background-color:#000000;}
 }
 
 Bool DirMake(U8 *filename, I64 entry_count=0)
-{//Make directory. Cd() can also make directories.
+{//Make directory. Cd() can also make directories.
 //entry_count is for preallocating dir blks, leave it zero if you like.
         U8                      *name;
         CDirContext     *dirc;
diff --git a/docs/Kernel/BlkDev/DiskDrive.html b/docs/Kernel/BlkDev/DiskDrive.html
index 1db7f6ed..717183da 100755
--- a/docs/Kernel/BlkDev/DiskDrive.html
+++ b/docs/Kernel/BlkDev/DiskDrive.html
@@ -69,7 +69,7 @@ body {background-color:#000000;}
 }
 
 CDrive *DriveMakeFreeSlot(U8 drv_let)
-{//Make a slot free for a new drv, like during Mount().
+{//Make a slot free for a new drv, like during Mount().
         I64              i = Letter2Letter(drv_let) - 'A';
         CDrive  *res;
 
@@ -82,7 +82,7 @@ body {background-color:#000000;}
 }
 
 U8 DriveNextFreeLet(U8 first_drive_let='C')
-{//Locate free slot for new drv, like during Mount().
+{//Locate free slot for new drv, like during Mount().
         I64 i = Letter2Letter(first_drive_let) - 'A', type = Letter2BlkDevType(first_drive_let);
 
         if (!(0 <= i < DRIVES_NUM))
@@ -218,7 +218,7 @@ body {background-color:#000000;}
 }
 
 I64 Letter2BlkDevType(U8 drv_let)
-{//Drive letter to BlkDev Type. drv_let=0 not allowed. See BDT_NULL.
+{//Drive letter to BlkDev Type. drv_let=0 not allowed. See BDT_NULL.
         drv_let = Letter2Letter(drv_let);
 
         if ('A' <= drv_let <= 'B')
@@ -272,7 +272,7 @@ body {background-color:#000000;}
 }
 
 U0 DiskCacheInvalidate(CDrive *drive)
-{//Needed for removable media. Called by DiskChange().
+{//Needed for removable media. Called by DiskChange().
         Bool     unlock;
         CBlkDev *bd = drive->bd;
 
@@ -311,7 +311,7 @@ body {background-color:#000000;}
 }
 
 Bool Drive(U8 drv_let)
-{//Change drive.        You can set drive with Cd() as well.
+{//Change drive.        You can set drive with Cd() as well.
         CDrive  *drive = Letter2Drive(drv_let);
         CBlkDev *bd;
 
diff --git a/docs/Kernel/BlkDev/DiskFind.html b/docs/Kernel/BlkDev/DiskFind.html
index 8cef4f90..f7a93b7a 100755
--- a/docs/Kernel/BlkDev/DiskFind.html
+++ b/docs/Kernel/BlkDev/DiskFind.html
@@ -57,12 +57,12 @@ body {background-color:#000000;}
 }
 
 CDirEntry *FilesFind(U8 *files_find_mask, I64 fuf_flags=0)
-{/* See ::/Doc/FileUtils.DD.
+{/* See ::/Doc/FileUtils.DD.
 
 Find files and make a directory tree in memory.
 
-When done,  you free with DirEntryDel(), DirEntryDel2(), 
-DirTreeDel() or DirTreeDel2().
+When done,  you free with DirEntryDel(), DirEntryDel2(), 
+DirTreeDel() or DirTreeDel2().
 
 */
         CDirEntry       *res;
@@ -90,7 +90,7 @@ body {background-color:#000000;}
 }
 
 Bool FileFind(U8 *filename, CDirEntry *_de=NULL, I64 fuf_flags=0)
-{//FUF_JUST_DIRS,  FUF_JUST_FILES, FUF_SCAN_PARENTS
+{//FUF_JUST_DIRS,  FUF_JUST_FILES, FUF_SCAN_PARENTS
 //If you pass _de,  you must Free(_de->full_name);
         I64                      cur_dir_clus;
         U8                      *full_name = NULL;
diff --git a/docs/Kernel/BlkDev/DiskFormat.html b/docs/Kernel/BlkDev/DiskFormat.html
index b94a440c..ace9c56a 100755
--- a/docs/Kernel/BlkDev/DiskFormat.html
+++ b/docs/Kernel/BlkDev/DiskFormat.html
@@ -95,7 +95,7 @@ body {background-color:#000000;}
 {//Format hard drive or RAM drive.
 //Warning: Destroys all prev info.
         //quick=FALSE means fill entire drive with zeros.
-        //Choose FSt_FAT32 or FSt_REDSEA.
+        //Choose FSt_FAT32 or FSt_REDSEA.
         //You don't format a CD/DVD with this.
         CDrive  *drive = Letter2Drive(drv_let);
         Bool     old_silent = IsSilent;
diff --git a/docs/Kernel/BlkDev/DiskStrA.html b/docs/Kernel/BlkDev/DiskStrA.html
index 3ff9abaa..afc26ea5 100755
--- a/docs/Kernel/BlkDev/DiskStrA.html
+++ b/docs/Kernel/BlkDev/DiskStrA.html
@@ -63,7 +63,7 @@ body {background-color:#000000;}
 }
 
 Bool FilesFindMatch(U8 *_test_name,U8 *files_find_mask,I64 fuf_flags=0)
-{//Does filename meet Files Find mask?
+{//Does filename meet Files Find mask?
         I64  tn_len = StrLen(_test_name), mask_len = StrLen(files_find_mask);
         U8      *mask1  = MAlloc(mask_len + 1), *mask2 = MAlloc(mask_len + 1), *ptr, *test_name1, *test_name2;
         Bool res    = FALSE;
@@ -216,7 +216,7 @@ body {background-color:#000000;}
 }
 
 U8 *FileNameAbs(U8 *_filename, I64 fuf_flags=NONE)
-{//Absolute filename. Accepts FUF_SCAN_PARENTS.
+{//Absolute filename. Accepts FUF_SCAN_PARENTS.
         U8                      *res, *filename, *buf, *buf_file, *buf_dir, *free_filename, *free_buf;
         CDirEntry        de;
 
diff --git a/docs/Kernel/BlkDev/FileSysFAT.html b/docs/Kernel/BlkDev/FileSysFAT.html
index 822aaa00..252da116 100755
--- a/docs/Kernel/BlkDev/FileSysFAT.html
+++ b/docs/Kernel/BlkDev/FileSysFAT.html
@@ -346,7 +346,7 @@ body {background-color:#000000;}
 }
 
 Bool FAT32FileFind(CDrive *drive, I64 cur_dir_clus, U8 *name, CDirEntry *_res, I64 fuf_flags=0)
-{//FUF_JUST_DIRS, FUF_JUST_FILES
+{//FUF_JUST_DIRS, FUF_JUST_FILES
         Bool                     res = FALSE, unlock;
         CFAT32DirEntry  *buf;
         I64                              xsum = 0, attr, cur_dir_entry, entries_per_clus;
@@ -672,7 +672,7 @@ body {background-color:#000000;}
 
 Bool FAT32DirNew(CDrive *drive, U8 *cur_dir, CDirEntry *tmpde, Bool free_old_chain)
 {
-//See ::/Doc/CutCorners.DD.
+//See ::/Doc/CutCorners.DD.
         CFAT32DirEntry  *buf, *last_buf, *tmp_buf, de[3];
         I64                              i, attr, avail_count, de_count, c, cur_dir_entry,
                                          entries_per_clus, cur_dir_clus, xsum = 0, last_dir_clus = INVALID_CLUS;
diff --git a/docs/Kernel/BlkDev/FileSysRedSea.html b/docs/Kernel/BlkDev/FileSysRedSea.html
index 1d5aa0c2..1f583fae 100755
--- a/docs/Kernel/BlkDev/FileSysRedSea.html
+++ b/docs/Kernel/BlkDev/FileSysRedSea.html
@@ -25,7 +25,7 @@ body {background-color:#000000;}
 
 
 
-// See RedSea File System
+// See RedSea File System
 
 U0 RedSeaFreeFreeList(CDrive *drive)
 {
@@ -196,7 +196,7 @@ body {background-color:#000000;}
 }
 
 Bool RedSeaFileFind(CDrive *drive, I64 cur_dir_clus, U8 *name, CDirEntry *_res, I64 fuf_flags=0)
-{//FUF_JUST_DIRS, FUF_JUST_FILES
+{//FUF_JUST_DIRS, FUF_JUST_FILES
         CDirEntry       *buf, *buf2, *ptr;
         U8                       dname[CDIR_FILENAME_LEN];
         I64                      ch;
diff --git a/docs/Kernel/BlkDev/index.html b/docs/Kernel/BlkDev/index.html
new file mode 100755
index 00000000..7cf84f1d
--- /dev/null
+++ b/docs/Kernel/BlkDev/index.html
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Kernel/BlkDev
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 17:00 6018 DiskAHCI.CC
+07/02 17:09 2BC4 DiskATA.CC
+07/02 17:10 193C DiskATAId.CC
+07/02 17:11 16D2 DiskAddDev.CC
+07/02 17:03 0B1F DiskBlk.CC
+07/02 17:06 1488 DiskBlkDev.CC
+07/02 17:08 1804 DiskCDDVD.CC
+11/24 13:53 19B2 DiskCFile.CC
+09/13 22:14 0E5D DiskCache.CC
+12/22 03:10 0CAC DiskClus.CC
+12/22 02:48 0A8A DiskCopy.CC
+12/22 02:48 1456 DiskDirA.CC
+12/22 02:49 13E9 DiskDirB.CC
+09/13 23:00 08E8 DiskDirContext.CC
+07/02 17:05 2484 DiskDrive.CC
+07/01 16:07 0A92 DiskFile.CC
+12/22 02:49 0E1E DiskFind.CC
+07/02 17:04 08F9 DiskFormat.CC
+06/29 17:26 1F86 DiskStrA.CC
+12/22 02:50 07F2 DiskStrB.CC
+12/22 02:50 6F4D FileSysFAT.CC
+09/14 15:18 41E5 FileSysRedSea.CC
+05/26 20:03 01F5 MakeBlkDev.CC
+
+ diff --git a/docs/Kernel/Display.html b/docs/Kernel/Display.html index 0cc96b73..f4086a21 100755 --- a/docs/Kernel/Display.html +++ b/docs/Kernel/Display.html @@ -28,10 +28,10 @@ body {background-color:#000000;} U0 RawPutChar(I64 ch) {/*For RAW output during boot and in debugger. -See GrUpdateTextFG for +See GrUpdateTextFG for the normal screen text output routine. -See also GrUpdateScreen(). +See also GrUpdateScreen(). */ I64 i, row, col, x, y; U32 *framebuffer; diff --git a/docs/Kernel/FunSeg.html b/docs/Kernel/FunSeg.html index aa5fb3db..d24b85e1 100755 --- a/docs/Kernel/FunSeg.html +++ b/docs/Kernel/FunSeg.html @@ -411,7 +411,7 @@ body {background-color:#000000;} } Bool PutSrcLink(U8 *addr, I64 count=1, U8 *buf=NULL) -{//Put to StdOut a DolDoc file,line link to src of addr. +{//Put to StdOut a DolDoc file,line link to src of addr. U8 *src; if (src = SrcEdLink(addr, count)) diff --git a/docs/Kernel/Job.html b/docs/Kernel/Job.html index 3ce238d9..d54f6ac8 100755 --- a/docs/Kernel/Job.html +++ b/docs/Kernel/Job.html @@ -169,7 +169,7 @@ body {background-color:#000000;} CJob *TaskMessage(CTask *_server, CTask *master, I64 message_code, I64 arg1, I64 arg2, I64 flags) {//Post message to servant task. Tell who the master task is. -//See flags and message_code. +//See flags and message_code. CJob *tmpc1, *tmpc; CTask *server = _server; @@ -267,7 +267,7 @@ body {background-color:#000000;} } I64 JobResGet(CJob *request=NULL) -{//See ::/Demo/MultiCore/Lock.CC +{//See ::/Demo/MultiCore/Lock.CC I64 res; CJob *tmpc1; @@ -320,7 +320,7 @@ body {background-color:#000000;} } U0 MessagePost(CTask *task, I64 message_code, I64 arg1, I64 arg2, I64 flags=0) -{//Post message to a task and return immediately. See message_code. +{//Post message to a task and return immediately. See message_code. if (TaskValidate(task)) { if (Bt(&task->task_flags, TASKf_INPUT_FILTER_TASK)) @@ -331,13 +331,13 @@ body {background-color:#000000;} } U0 MessagePostWait(CTask *task, I64 message_code, I64 arg1, I64 arg2, I64 flags=0) -{//Post message to a task and wait until task is idle.See message_code. +{//Post message to a task and wait until task is idle.See message_code. MessagePost(task, message_code, arg1, arg2, flags); TaskWait(task); } U0 Message(I64 message_code, I64 arg1, I64 arg2, I64 flags=0) -{//Post message to current task and return immediately. See message_code. +{//Post message to current task and return immediately. See message_code. MessagePost(Fs, message_code, arg1, arg2, flags); } @@ -472,7 +472,7 @@ body {background-color:#000000;} } I64 PopUp(U8 *buf, CTask *parent=NULL, CTask **_pu_task=NULL) -{//Execute code in PopUp task. +{//Execute code in PopUp task. I64 res; CJob *tmpc; CTask *task = Spawn(&ServerCmdLine, NULL, "Server",, parent); @@ -500,7 +500,7 @@ body {background-color:#000000;} } I64 PopUpPrint(U8 *format, ...) -{//Execute code in PopUp task. +{//Execute code in PopUp task. U8 *buf = StrPrintJoin(NULL, format, argc, argv); I64 res; @@ -567,7 +567,7 @@ body {background-color:#000000;} } U0 XTalk(CTask *task, U8 *format, ...) -{//Sends text to other task. See ::/Misc/OSTestSuite.CC. +{//Sends text to other task. See ::/Misc/OSTestSuite.CC. U8 *buf = StrPrintJoin(NULL, format, argc, argv), *st = ZStrNew(buf), *st2 = MStrPrint("\"%%s\",%d;Free(%d);", st, st); TaskText(task, NULL, st2, 0); @@ -605,7 +605,7 @@ body {background-color:#000000;} } U0 In(U8 *format, ...) -{//Send text to own input buffer. See ::/Demo/AcctExample/TOS/TOSDistro.CC. +{//Send text to own input buffer. See ::/Demo/AcctExample/TOS/TOSDistro.CC. U8 *buf = StrPrintJoin(NULL, format, argc, argv), *st = ZStrNew(buf); InStr("\"%%s\",%d;Free(%d);", st, st); diff --git a/docs/Kernel/KConfig.html b/docs/Kernel/KConfig.html index 4ce187b7..2f24d0c6 100755 --- a/docs/Kernel/KConfig.html +++ b/docs/Kernel/KConfig.html @@ -25,7 +25,7 @@ body {background-color:#000000;}
-//This is run in a #exe{}.
+//This is run in a #exe{}.
 
 U8 *kernel_config_options = "MemInit\0"
                                                         "HeapInit\0"
diff --git a/docs/Kernel/KDate.html b/docs/Kernel/KDate.html
index d4a59fc4..41adfbb2 100755
--- a/docs/Kernel/KDate.html
+++ b/docs/Kernel/KDate.html
@@ -25,7 +25,7 @@ body {background-color:#000000;}
 
 
 
-//See ::/Doc/TimeDate.DD
+//See ::/Doc/TimeDate.DD
 
 U16 month_start_days[12]                = {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334};
 U16 month_start_days_leap[12]   = {0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335};
@@ -163,21 +163,21 @@ body {background-color:#000000;}
 }
 
 U8 CMOSRegRead(I64 register)
-{//Read val from CMOS register. See CMOS Registers.
+{//Read val from CMOS register. See CMOS Registers.
         OutU8(CMOS_SEL, register);
 
         return InU8(CMOS_DATA);
 }
 
 U0 CMOSRegWrite(I64 register, I64 val)
-{//Write val to CMOS register. See CMOS Registers.
+{//Write val to CMOS register. See CMOS Registers.
         OutU8(CMOS_SEL, register);
         OutU8(CMOS_DATA, val);
 }
 
 Bool CMOSIsBcd()
 {//Check of CMOS is in binary-coded decimal mode.
-// Ex: 15:32:44 == 0x15:0x32:0x44 (not good). We use Bcd2Binary() to convert.
+// Ex: 15:32:44 == 0x15:0x32:0x44 (not good). We use Bcd2Binary() to convert.
         return !(CMOSRegRead(CMOSR_STATUS_B) & CMOSF_BINARY);
 }
 
@@ -247,8 +247,8 @@ body {background-color:#000000;}
 }
 
 U0 TimeSet(CDateStruct *ds)
-{//Set CMOS time from user crafted CDateStruct.
-//Make sure to use hex as decimals if BCD mode. Check using CMOSIsBcd().
+{//Set CMOS time from user crafted CDateStruct.
+//Make sure to use hex as decimals if BCD mode. Check using CMOSIsBcd().
 //Ex: if bcd mode and we want 12/30, 10:45:15 -- 0x12/0x30, 0x10:0x45:0x15.
 //Pass year as double digit number (obviously 20XX is too big for a U8).
         U8 *b = ds;
diff --git a/docs/Kernel/KDebug.html b/docs/Kernel/KDebug.html
index f6b18d7c..568a12e9 100755
--- a/docs/Kernel/KDebug.html
+++ b/docs/Kernel/KDebug.html
@@ -209,7 +209,7 @@ body {background-color:#000000;}
 
 U0 D(U8 *addr, I64 count=0x80, Bool show_offset=TRUE)
 {//Dump mem, showing offsets.
-//See DocD() for a live dump.
+//See DocD() for a live dump.
         I64 i, j, ch;
         U8 *ptr = addr;
 
@@ -257,7 +257,7 @@ body {background-color:#000000;}
 }
 
 U0 RawPrint(I64 mS=100, U8 *format, ...)
-{//Print using Raw screen output for a length of time.
+{//Print using Raw screen output for a length of time.
 //Your heap must be good.
         U8  *buf = StrPrintJoin(NULL, format, argc, argv);
         Bool old_raw, old_input_filter;
@@ -276,7 +276,7 @@ body {background-color:#000000;}
 }
 
 U0 RawD(I64 mS=100, U8 *addr, I64 count=0x80)
-{//Dumps a block of mem using Raw
+{//Dumps a block of mem using Raw
 //screen output for a fixed length
         //of time.
         Bool old_raw, old_input_filter;
@@ -294,7 +294,7 @@ body {background-color:#000000;}
 }
 
 U0 RawDm(I64 mS=100, U8 *addr, I64 count=0x80)
-{//Dumps a block of mem using Raw
+{//Dumps a block of mem using Raw
 //screen output for a fixed length
         //of time.
         Bool old_raw, old_input_filter;
@@ -700,7 +700,7 @@ body {background-color:#000000;}
 }
 
 U0 Fault2(I64 fault_num, I64 fault_err_code)
-{//Called from Fault2.
+{//Called from Fault2.
 //Be careful not to swap-out and ruin the saved context
         Bool was_raw, was_single_user, was_silent, was_in_debug, was_mouse_enabled;
         I64  i, old_raw_flags = text.raw_flags;
diff --git a/docs/Kernel/KDefine.html b/docs/Kernel/KDefine.html
index a268f68b..1844c21a 100755
--- a/docs/Kernel/KDefine.html
+++ b/docs/Kernel/KDefine.html
@@ -128,7 +128,7 @@ body {background-color:#000000;}
 }
 
 U0 DefinePrint(U8 *dname, U8 *src, ...)
-{//Create DEFINE entry with Print()ed string.
+{//Create DEFINE entry with Print()ed string.
         U8 *buf = StrPrintJoin(NULL, src, argc, argv);
 
         DefineLoad(dname, buf);
@@ -299,7 +299,7 @@ body {background-color:#000000;}
 }
 
 U8 *Color2Str(U8 *buf, CColorROPU32 c)
-{//CColorROPU32 with flags to DCLighting str.
+{//CColorROPU32 with flags to DCLighting str.
         *buf = 0;
         if (c.c0.rop & ROPBF_TWO_SIDED)
                 CatPrint(buf, "TWO|");
@@ -332,7 +332,7 @@ body {background-color:#000000;}
 U8 *str2color_list = "/,)}>";
 
 CColorROPU16 Str2ColorU16(U8 *st)
-{//DCLighting color str with flags to CColorROPU16.
+{//DCLighting color str with flags to CColorROPU16.
         CColorROPU16     res = COLOR_INVALID;
         I64                              i;
         U8                              *ptr, *ptr2, *st2;
@@ -387,7 +387,7 @@ body {background-color:#000000;}
 }
 
 CColorROPU32 Str2ColorU32(U8 *st)
-{//DCLighting color str with flags to CColorROPU32.
+{//DCLighting color str with flags to CColorROPU32.
         U8                              *st2;
         CColorROPU32     res = 0;
 
diff --git a/docs/Kernel/KExcept.html b/docs/Kernel/KExcept.html
index 5fee22ad..ec612bc4 100755
--- a/docs/Kernel/KExcept.html
+++ b/docs/Kernel/KExcept.html
@@ -111,7 +111,7 @@ body {background-color:#000000;}
 }
 
 U0 throw(I64 ch=0, Bool no_log=FALSE)
-{//ch can be up to 8 chars like PutChars().
+{//ch can be up to 8 chars like PutChars().
 //In the catcher, fetch ch from Fs->except_ch.
         CExcept *tmpt = Fs->last_except;
         Bool     was_raw;
diff --git a/docs/Kernel/KExterns.html b/docs/Kernel/KExterns.html
index aa6f8fc1..792c923f 100755
--- a/docs/Kernel/KExterns.html
+++ b/docs/Kernel/KExterns.html
@@ -137,7 +137,7 @@ body {background-color:#000000;}
 
 extern U0 Print(U8 *format, ...);
 extern U0 PutChars(U64 ch);
-extern U0 PutS(U8 *st); //Use Print()
+extern U0 PutS(U8 *st); //Use Print()
 
 extern U0 Reboot(Bool format_ramdisks=FALSE);
 
diff --git a/docs/Kernel/KGlobals.html b/docs/Kernel/KGlobals.html
index a6c327dd..1070c419 100755
--- a/docs/Kernel/KGlobals.html
+++ b/docs/Kernel/KGlobals.html
@@ -26,7 +26,7 @@ body {background-color:#000000;}
 
 
 //Compiler initializes globals in AOT bin modules to zero.
-//Globals Set to Zero Here.
+//Globals Set to Zero Here.
 
 CJob     sys_macro_head;
 CTask   *sys_macro_task;
@@ -48,7 +48,7 @@ body {background-color:#000000;}
 CCountsGlobals                   counts = {1, 0, 2676302000, 2676302, 2676302000, FALSE};
 CDebugGlobals                    debug;
 CDevGlobals                      dev;
-CGridGlobals                     mouse_grid; //See ::/Demo/Graphics/Grid.CC.
+CGridGlobals                     mouse_grid; //See ::/Demo/Graphics/Grid.CC.
 CMouseStateGlobals               mouse, mouse_last;
 CKbdStateGlobals                 kbd;
 CKeyDevGlobals                   keydev;
diff --git a/docs/Kernel/KHashB.html b/docs/Kernel/KHashB.html
index 446e32f7..6b7d3c6e 100755
--- a/docs/Kernel/KHashB.html
+++ b/docs/Kernel/KHashB.html
@@ -108,7 +108,7 @@ body {background-color:#000000;}
                         Free(tmph->debug_info);
                 if (tmph->type & (HTT_FUN | HTT_CLASS))
 //Assumes code not on heap, so doesn't Free.
-                //ClassMemberListDel() is an import to the Kernel module
+                //ClassMemberListDel() is an import to the Kernel module
                         ClassMemberListDel(tmph);
                 else if (tmph->type & HTT_DEFINE_STR)
                         Free(tmph(CHashDefineStr *)->data);
@@ -127,7 +127,7 @@ body {background-color:#000000;}
 }
 
 U0 HashTableDel(CHashTable *table)
-{//Free std system hash table, calling HashDel() on entries.
+{//Free std system hash table, calling HashDel() on entries.
         I64                      i;
         CHashSrcSym     *tmph, *tmph1;
 
@@ -207,7 +207,7 @@ body {background-color:#000000;}
 }
 
 U0 HashSrcFileSet(CCompCtrl *cc, CHashSrcSym *h, I64 line_num_offset=0)
-{//Set CHashSrcSym link and help_index by cur cc pos.
+{//Set CHashSrcSym link and help_index by cur cc pos.
         CLexFile        *tmpf = cc->lex_include_stack;
         I64                      line_num = tmpf->line_num + line_num_offset;
 
@@ -225,7 +225,7 @@ body {background-color:#000000;}
 }
 
 CHashGeneric *HashPublic(U8 *st, I64 mask, Bool val=TRUE)
-{//Mark a hash entry as public and HashSrcFileSet().
+{//Mark a hash entry as public and HashSrcFileSet().
         CHashGeneric *res;
 
         if (res = HashFind(st, Fs->hash_table, mask))
@@ -268,7 +268,7 @@ body {background-color:#000000;}
 }
 
 I64 HashDefineListAdd(U8 *dname, I64 type, CHashTable *table)
-{//Add define list to a hash table. See ::/System/DolDoc/DocInit.CC.
+{//Add define list to a hash table. See ::/System/DolDoc/DocInit.CC.
         CHashDefineStr *tmph;
 
         if (tmph = HashFind(dname, Fs->hash_table, HTT_DEFINE_STR))
diff --git a/docs/Kernel/KInterrupts.html b/docs/Kernel/KInterrupts.html
index 8cfb3a42..4fa64982 100755
--- a/docs/Kernel/KInterrupts.html
+++ b/docs/Kernel/KInterrupts.html
@@ -65,7 +65,7 @@ body {background-color:#000000;}
                 TEST    RAX, RAX
                 JZ              @@10
                 PUSH    RSI
-                CALL    RAX             //See ProfTimerInt().
+                CALL    RAX             //See ProfTimerInt().
                 JMP     @@15
 @@10:   ADD     RSP, 8
 @@15:   CLI
@@ -89,7 +89,7 @@ body {background-color:#000000;}
 INT_FAULT::
                 PUSH    RBX
                 PUSH    RAX
-                MOV     BL, U8 16[RSP]  //We pushed fault_num IntFaultHandlersNew().
+                MOV     BL, U8 16[RSP]  //We pushed fault_num IntFaultHandlersNew().
                 XOR     RAX, RAX
                 MOV     FS:U8 CTask.fault_num[RAX], BL
                 POP     RAX
@@ -115,7 +115,7 @@ body {background-color:#000000;}
                 PUSH    U64 CTask.fault_err_code[RSI]
                 PUSH    U64 CTask.fault_num[RSI]
                 MOV     RSI, CTask.rsi[RSI]
-                CALL    &Fault2                                 //See Fault2
+                CALL    &Fault2                                 //See Fault2
                 JMP     I32 RESTORE_FS_TASK
 
 INT_FAULT_ERR_CODE_BITMAP::
@@ -135,9 +135,9 @@ body {background-color:#000000;}
 }
 
 U8 *IntEntrySet(I64 irq, U0 (*fp_new_handler)(), I64 type=IDTET_IRQ)
-{//Set interrupt handler. Returns old handler. See IDTET_IRQ.
-//See ::/Demo/Lectures/InterruptDemo.CC.
-//See ::/Demo/MultiCore/Interrupts.CC.
+{//Set interrupt handler. Returns old handler. See IDTET_IRQ.
+//See ::/Demo/Lectures/InterruptDemo.CC.
+//See ::/Demo/MultiCore/Interrupts.CC.
         I64                      fp = fp_new_handler;
         U8                      *old_handler;
         CIDTEntry       *entry;
@@ -218,7 +218,7 @@ body {background-color:#000000;}
         I64                             i;
         CSysLimitBase   tmp_ptr;
 
-        if (!Gs->num) //Gs is current CCPU struct
+        if (!Gs->num) //Gs is current CCPU struct
         {
                 dev.idt = CAllocAligned(sizeof(CIDTEntry) * 256, 8);
                 for (i = 0; i < 256; i++)
@@ -242,7 +242,7 @@ body {background-color:#000000;}
 /*In theory, we use the PIC mask reg to insure we don't get
 anything but keyboard, mouse and timer IRQs.    In practice, I've
 gotten IRQ 0x27, perhaps because I didn't initialize the APIC.
-I go ahead and ACK PIC in IntNop().
+I go ahead and ACK PIC in IntNop().
 I have no idea why I got a IRQ 0x27.
 */
         IntEntrySet(I_NMI,               _SYS_HLT);
diff --git a/docs/Kernel/KLoad.html b/docs/Kernel/KLoad.html
index 5085b0d0..86a33892 100755
--- a/docs/Kernel/KLoad.html
+++ b/docs/Kernel/KLoad.html
@@ -246,7 +246,7 @@ body {background-color:#000000;}
                 return NULL;
         }
 
-        //See Patch Table Generation
+        //See Patch Table Generation
         module_align = 1 << bfh->module_align_bits;
         if (!module_align || bfh->bin_signature != BIN_SIGNATURE_VAL)
         {
@@ -307,7 +307,7 @@ body {background-color:#000000;}
 {
         HashGenericAdd(KERNEL_MODULE_NAME, HTT_MODULE | HTF_PUBLIC, mem_boot_base - sizeof(CBinFile));
 
-        //Abs patches done here CPatchTableAbsAddr.
+        //Abs patches done here CPatchTableAbsAddr.
         LoadPass1(sys_boot_patch_table_base, mem_boot_base, LDF_NO_ABSS | LDF_SILENT);
 
         //No main routines
diff --git a/docs/Kernel/KMain.html b/docs/Kernel/KMain.html
index b0600315..0ebc123b 100755
--- a/docs/Kernel/KMain.html
+++ b/docs/Kernel/KMain.html
@@ -144,7 +144,7 @@ body {background-color:#000000;}
 }
 
 U0 TimerInit()
-{//See ::/Doc/PIT.DD.
+{//See ::/Doc/PIT.DD.
         OutU8(PIT_CMD, PIT_CMDF_CHANNEL0 | PIT_CMDF_OPMODE_RATE_GEN | PIT_CMDF_ACCESS_WORD);
         OutU8(PIT_0, SYS_TIMER0_PERIOD);
         OutU8(PIT_0, SYS_TIMER0_PERIOD >> 8);
@@ -171,7 +171,7 @@ body {background-color:#000000;}
 }
 
 U0 KMain()
-{//Continued from KStart64.CC
+{//Continued from KStart64.CC
         CBlkDev *bd;
 
         OutU8(PCSPKR, InU8(PCSPKR) & ~3); //Sound;
@@ -193,8 +193,8 @@ body {background-color:#000000;}
         Core0Init;
         IntInit1;
 
-        //Before this point use Sound() and Busy()
-        //to debug.  After this point, use RawPrint()
+        //Before this point use Sound() and Busy()
+        //to debug.  After this point, use RawPrint()
         LBts(&sys_run_level, RLf_RAW);
         "ZealOS V%0.2f\t%D %T\n\n", sys_os_version, sys_compile_time, sys_compile_time;
 
@@ -260,7 +260,7 @@ body {background-color:#000000;}
         counts.time_stamp_freq_initial = TimeCal;
         Cd("/");
         try
-                ExeFile("StartOS"); //Continues /StartOS.CC
+                ExeFile("StartOS"); //Continues /StartOS.CC
         catch
         {
                 Raw(ON);
diff --git a/docs/Kernel/KMathB.html b/docs/Kernel/KMathB.html
index faca63b5..2c8942d8 100755
--- a/docs/Kernel/KMathB.html
+++ b/docs/Kernel/KMathB.html
@@ -103,7 +103,7 @@ body {background-color:#000000;}
         }
 }
 
-//See ::/Doc/Credits.DD.
+//See ::/Doc/Credits.DD.
 #define LIN_CONGRUE_A   6364136223846793005
 #define LIN_CONGRUE_C   1442695040888963407
 
@@ -164,7 +164,7 @@ body {background-color:#000000;}
 }
 
 I64 Seed(I64 seed=0, CTask *task=NULL)
-{//Set Rand() seed. Zero for timer-based.
+{//Set Rand() seed. Zero for timer-based.
         if (!task)
                 task = Fs;
         if (seed)
diff --git a/docs/Kernel/KMisc.html b/docs/Kernel/KMisc.html
index ca4cd25b..3ace2191 100755
--- a/docs/Kernel/KMisc.html
+++ b/docs/Kernel/KMisc.html
@@ -32,7 +32,7 @@ body {background-color:#000000;}
 }
 
 U0 IntCore0TimerHandler(CTask *)
-{//Called from IntCore0TimerHandler
+{//Called from IntCore0TimerHandler
         I64 i;
 
         if (mp_count > 1)
@@ -169,7 +169,7 @@ body {background-color:#000000;}
                 {
                         screencast.ona = ona;
                         period = ClampI64(SYS_TIMER_FREQ / Ona2Freq(ona), 1, U16_MAX);
-                        //See ::/Doc/PIT.DD.
+                        //See ::/Doc/PIT.DD.
                         OutU8(PIT_CMD, PIT_CMDF_CHANNEL2 | PIT_CMDF_OPMODE_SQUARE_WAVE | PIT_CMDF_ACCESS_WORD);
                         OutU8(PIT_2, period);
                         OutU8(PIT_2, period.u8[1]);
diff --git a/docs/Kernel/KStart16.html b/docs/Kernel/KStart16.html
index a36ef859..24524817 100755
--- a/docs/Kernel/KStart16.html
+++ b/docs/Kernel/KStart16.html
@@ -25,17 +25,17 @@ body {background-color:#000000;}
 
 
 
-asm {/* See ::/Doc/Boot.DD.
-ZealOS starts in real, calls some BIOS routines, switches to 32 bit, and 64 bit mode and continues in CosmiC at KMain().
+asm {/* See ::/Doc/Boot.DD.
+ZealOS starts in real, calls some BIOS routines, switches to 32 bit, and 64 bit mode and continues in CosmiC at KMain().
 
 The boot loader jumps here in real-mode (16-bit).
-It actually jumps to the CBinFile header which is placed just before this by the compiler.
+It actually jumps to the CBinFile header which is placed just before this by the compiler.
 The header begins with a short jmp to the start of this file's code which begins with the following small jump past some data.
 
-This file is first in the Kernel image because it is #included first.  Kernel.PRJ
+This file is first in the Kernel image because it is #included first.  Kernel.PRJ
 */
 USE16
-SYS_KERNEL:: //This must match CKernel.
+SYS_KERNEL:: //This must match CKernel.
                 JMP             I16 CORE0_16BIT_INIT
 
 //************************************
@@ -64,13 +64,13 @@ body {background-color:#000000;}
 
                 ALIGN   16, OC_NOP
 
-SYS_GDT:: //See CGDT
+SYS_GDT:: //See CGDT
 GDT_NULL:               DU64    0,0;
 GDT_BOOT_DS:    DU64    0x00CF92000000FFFF, 0; //Gets patched.
 GDT_BOOT_CS:    DU64    0x00CF9A000000FFFF, 0; //Gets patched.
 GDT_CS32:               DU64    0x00CF9A000000FFFF, 0;
-GDT_CS64:               DU64    0x00209A0000000000, 0; //The Charter says just ring0.
-GDT_CS64_RING3: DU64    0x0020FA0000000000, 0; //Ring3, so you can play with.
+GDT_CS64:               DU64    0x00209A0000000000, 0; //The Charter says just ring0.
+GDT_CS64_RING3: DU64    0x0020FA0000000000, 0; //Ring3, so you can play with.
 GDT_DS:                 DU64    0x00CF92000000FFFF, 0;
 GDT_DS_RING3:   DU64    0x00CFF2000000FFFF, 0;
 GDT_TR:                 DU8     MP_PROCESSORS_NUM * 16 DUP(0);
@@ -97,12 +97,12 @@ body {background-color:#000000;}
 
 //************************************
 CORE0_16BIT_INIT::
-//EAX is SYS_BOOT_SRC. (Val passed from boot blk, BootHD, BootDVD, & BootRAM.)
+//EAX is SYS_BOOT_SRC. (Val passed from boot blk, BootHD, BootDVD, & BootRAM.)
                 MOV             ECX, EAX
                 MOV             AX, (BOOT_RAM_LIMIT - BOOT_STACK_SIZE) / 16
                 MOV             SS, AX
                 MOV             SP, BOOT_STACK_SIZE
-                PUSH    ECX             //Will be SYS_BOOT_SRC. See BootHD, BootDVD & BootRAM.
+                PUSH    ECX             //Will be SYS_BOOT_SRC. See BootHD, BootDVD & BootRAM.
                 PUSH    EBX
                 CALL    U16 GET_IP
 GET_IP: POP     BX
@@ -335,7 +335,7 @@ body {background-color:#000000;}
                 OUT             0x92, AL
 
                 POP             U32 [SYS_BOOT_BLK]
-                POP             U32 [SYS_BOOT_SRC]      //See BootHD, BootDVD, & BootRAM.
+                POP             U32 [SYS_BOOT_SRC]      //See BootHD, BootDVD, & BootRAM.
 
                 CLD             
                 XOR     EAX, EAX
diff --git a/docs/Kernel/KStart32.html b/docs/Kernel/KStart32.html
index 5137a5cd..b4ec3b42 100755
--- a/docs/Kernel/KStart32.html
+++ b/docs/Kernel/KStart32.html
@@ -104,7 +104,7 @@ body {background-color:#000000;}
 //************************************
                 ALIGN   16, OC_NOP
 
-CORE0_32BIT_INIT:: //Entry point for BootRAM.
+CORE0_32BIT_INIT:: //Entry point for BootRAM.
                 PUSH    U32 RFLAGG_START
                 POPFD
                 MOV     EAX, SYS_START_CR0
@@ -145,7 +145,7 @@ body {background-color:#000000;}
                 PUSH    U32 0   //Return from next call will be 64-bit
                 CALL    SYS_ENTER_LONG_MODE
 
-                //We fall-through to KStart64, next.
+                //We fall-through to KStart64, next.
 }
 
diff --git a/docs/Kernel/KStart64.html b/docs/Kernel/KStart64.html index d77d3d0d..ccd4d771 100755 --- a/docs/Kernel/KStart64.html +++ b/docs/Kernel/KStart64.html @@ -108,7 +108,7 @@ body {background-color:#000000;}
RET //************************************ -SYS_RAM_REBOOT:: //This gets copied high. SYS_RAM_REBOOT +SYS_RAM_REBOOT:: //This gets copied high. SYS_RAM_REBOOT PUSH U32 CGDT.ds //stack seg PUSH U32 BOOT_RAM_LIMIT //stack PUSH U32 0 //flags diff --git a/docs/Kernel/KTask.html b/docs/Kernel/KTask.html index 2b917de3..d7080b2b 100755 --- a/docs/Kernel/KTask.html +++ b/docs/Kernel/KTask.html @@ -155,7 +155,7 @@ body {background-color:#000000;} #exe {Option(OPTf_NO_REG_VAR, ON);}; argpop I64 CallStackGrow(I64 stack_size_threshold, I64 stack_size, /*argpop*/I64 (*fp_addr)(...), ...) {//Grow stack in call with any fixed num of args. -//See ::/Demo/StackGrow.CC. +//See ::/Demo/StackGrow.CC. CTaskStack *tmps, *tmps2, **_stack; I64 res, *rsp, *rsp2, *old_stack; @@ -276,7 +276,7 @@ body {background-color:#000000;} task->win_bottom = text.rows - 2; if (blkdev.home_dir) - {//Beware System TaskInit. I guess ok until DiskChange(). + {//Beware System TaskInit. I guess ok until DiskChange(). task->cur_dv = blkdev.let_to_drive[*blkdev.home_dir - 'A']; task->cur_dir = StrNew(blkdev.home_dir + 2, task); } @@ -289,12 +289,12 @@ body {background-color:#000000;} } CTask *Spawn(U0 (*fp_start_addr)(U8 *data), U8 *data=NULL, U8 *task_name=NULL, - I64 target_cpu=-1, // -1 for current CPU. See multi-core. + I64 target_cpu=-1, // -1 for current CPU. See multi-core. CTask *parent=NULL, // NULL means system_task I64 stack_size=0, // 0=default I64 flags=1 << JOBf_ADD_TO_QUE) {//Create task on core running at address. -//Alloc CTask structure from code heap so addr will be short. +//Alloc CTask structure from code heap so addr will be short. //Could be alloced off of data heap. CTask *task; @@ -617,7 +617,7 @@ body {background-color:#000000;} U0 TaskKillDying() {//Delay freeing to prevent asking for trouble with quick reincarnations. -//What if the user is doing this: DoTreeCheckers. +//What if the user is doing this: DoTreeCheckers. CTaskDying *task, *task1; if (Gs->kill_jiffy < counts.jiffies) diff --git a/docs/Kernel/KUtils.html b/docs/Kernel/KUtils.html index d5ca4c2c..2094d474 100755 --- a/docs/Kernel/KUtils.html +++ b/docs/Kernel/KUtils.html @@ -439,7 +439,7 @@ body {background-color:#000000;} RET1 16 /***********************************/ -_CALL_IND:: //See _LAST_FUN +_CALL_IND:: //See _LAST_FUN PUSH RBP MOV RBP, RSP PUSH RSI diff --git a/docs/Kernel/Kernel.html b/docs/Kernel/Kernel.html index 0bd76174..402dde1d 100755 --- a/docs/Kernel/Kernel.html +++ b/docs/Kernel/Kernel.html @@ -25,8 +25,8 @@ body {background-color:#000000;}
-//Compile this by calling BootHDIns().
-//Don't do it directly.  See Comp("/Kernel/Kernel").
+//Compile this by calling BootHDIns().
+//Don't do it directly.  See Comp("/Kernel/Kernel").
 
 #exe {
         Cd(__DIR__);;
diff --git a/docs/Kernel/KernelA.html b/docs/Kernel/KernelA.html
index 56d939f2..f0041adf 100755
--- a/docs/Kernel/KernelA.html
+++ b/docs/Kernel/KernelA.html
@@ -69,7 +69,7 @@ body {background-color:#000000;}
 #define STR_LEN         144
 
 //(Int to F64 conversion is signed)
-//Turn off 80-bit float constants with OPTf_NO_BUILTIN_CONST.
+//Turn off 80-bit float constants with OPTf_NO_BUILTIN_CONST.
 #define U64_F64_MAX (0x43F0000000000000(F64))
 #define F64_MAX         (0x7FEFFFFFFFFFFFFF(F64))
 #define F64_MIN         (0xFFEFFFFFFFFFFFFF(F64))
@@ -87,7 +87,7 @@ body {background-color:#000000;}
 
 #help_index "Data Types/Simple"
 //CosmiC union structure is treated as a whole if no member is specified, similar to bit fields.
-//See ::/Demo/SubIntAccess.CC.
+//See ::/Demo/SubIntAccess.CC.
 
 U16i union U16
 {
@@ -265,8 +265,8 @@ body {background-color:#000000;}
 public class CMass
 {
         CMass           *next, *last;
-        COrder2D3       *state,         //Point to entries in CMathODE.state[]
-                                *DstateDt;      //Point to entries in CMathODE.DstateDt[]
+        COrder2D3       *state,         //Point to entries in CMathODE.state[]
+                                *DstateDt;      //Point to entries in CMathODE.DstateDt[]
 
         U0                       start;
         U32              flags,
@@ -362,7 +362,7 @@ body {background-color:#000000;}
 #define I_MP_CRASH              0x30
 #define I_WAKE                  0x31
 #define I_DEBUG                 0x32
-//See ST_INT_NAMES
+//See ST_INT_NAMES
 
 //You might want to start backward from
 //0xFF for your own interrupts.
@@ -425,8 +425,8 @@ body {background-color:#000000;}
                           boot_ds,
                           boot_cs,
                           cs32,
-                          cs64,                         //The Charter says just ring-0.
-                          cs64_ring3, //Ring3, in case you want to play around.
+                          cs64,                         //The Charter says just ring-0.
+                          cs64_ring3, //Ring3, in case you want to play around.
                           ds,
                           ds_ring3,
                           tr[MP_PROCESSORS_NUM],
@@ -476,25 +476,25 @@ body {background-color:#000000;}
 
 #define BIN_SIGNATURE_VAL       'ZCCB' //Zeal CosmiC Binary
 class CBinFile
-{//Bin File Header Generation by compiler.
+{//Bin File Header Generation by compiler.
         U16 jmp;
         U8      module_align_bits,
                 reserved;
         U32 bin_signature;
         I64 org,
-                patch_table_offset, //Patch Table Generation
+                patch_table_offset, //Patch Table Generation
                 file_size;
 };
 
 class CPatchTableAbsAddr
 {
-        U8      eit_abs_addr;   //IET_ABS_ADDR
+        U8      eit_abs_addr;   //IET_ABS_ADDR
         U32 abs_addres_count;
         U8      zero;
         U32 abs_addres[1];
 };
 
-//CAOTImportExport Types. Used in PatchTable.
+//CAOTImportExport Types. Used in PatchTable.
 #define IET_END                         0
 //reserved
 #define IET_REL_I0                      2 //Fictitious
@@ -572,7 +572,7 @@ body {background-color:#000000;}
 
 #help_index "Boot"
 class CKernel
-{//Must match OSStartUp
+{//Must match OSStartUp
         CBinFile                h;
         U32                             jmp,
                                         boot_src,
@@ -721,8 +721,8 @@ body {background-color:#000000;}
 
 public class CCountsGlobals
 {
-        I64     jiffies,                                //JIFFY_FREQ
-                        timer,                                  //SYS_TIMER_FREQ. Use SysTimerRead().
+        I64     jiffies,                                //JIFFY_FREQ
+                        timer,                                  //SYS_TIMER_FREQ. Use SysTimerRead().
                         time_stamp_freq,
                         time_stamp_kHz_freq,
                         time_stamp_freq_initial; //Initial freq, sampled once at boot time.
@@ -753,7 +753,7 @@ body {background-color:#000000;}
 };
 
 //Asm callable function pointers.
-//They work with CallExtNum() when calling from CosmiC.
+//They work with CallExtNum() when calling from CosmiC.
 #define EXT_WIN_TO_TOP          0
 #define EXT_WIN_FOCUS           1
 #define EXT_HEAPLOG_MALLOC      2
@@ -814,7 +814,7 @@ body {background-color:#000000;}
 };
 
 #help_index "Hash/System"
-//Hash table types: ST_HTT_TYPES
+//Hash table types: ST_HTT_TYPES
 #define HTt_EXPORT_SYS_SYM      0
 #define HTt_IMPORT_SYS_SYM      1
 #define HTt_DEFINE_STR          2
@@ -854,8 +854,8 @@ body {background-color:#000000;}
 #define HTT_FUN                         0x00040 //CHashFun
 #define HTT_WORD                        0x00080 //CHashAC only in AutoComplete table
 #define HTT_DICT_WORD           0x00100 //CHashGeneric only in AutoComplete tbl
-#define HTT_KEYWORD             0x00200 //CHashGeneric KEYWORD
-#define HTT_ASM_KEYWORD         0x00400 //CHashGeneric ASM_KEYWORD
+#define HTT_KEYWORD             0x00200 //CHashGeneric KEYWORD
+#define HTT_ASM_KEYWORD         0x00400 //CHashGeneric ASM_KEYWORD
 #define HTT_OPCODE                      0x00800 //CHashOpcode
 #define HTT_REG                         0x01000 //CHashReg
 #define HTT_FILE                        0x02000 //CHashGeneric
@@ -997,7 +997,7 @@ body {background-color:#000000;}
 #define Cf_INTERNAL_TYPE                                1
 
 public class CHashClass:CHashSrcSym
-{//See ParseClassNew(). base_class of CHashFun
+{//See ParseClassNew(). base_class of CHashFun
         I64              size, neg_offset;
         U32              member_count;
         U8                       ptr_stars_count, raw_type;
@@ -1020,7 +1020,7 @@ body {background-color:#000000;}
 #define Ff_RET1                         15
 
 public class CHashFun:CHashClass
-{//See ParseFunNew().
+{//See ParseFunNew().
         CHashClass              *return_class;
         U32                              arg_count, pad,
                                          used_reg_mask, clobbered_reg_mask;
@@ -1171,7 +1171,7 @@ body {background-color:#000000;}
 #define DOCEF_CHECK_COLLAPSABLE 0x100000000000
 #define DOCEF_REFRESH_DATA              0x200000000000
 #define DOCEF_UPDATE_DATA               0x400000000000
-//DOCEF_DEREF_DATA is confusing. DocForm() makes doc_e->data point to members
+//DOCEF_DEREF_DATA is confusing. DocForm() makes doc_e->data point to members
 //of class. For ints, it derefs doc_e->data as a ptr.  For strings, it doesn't.
 #define DOCEF_DEREF_DATA                0x800000000000
 #define DOCEF_REMALLOC_DATA     0x1000000000000
@@ -1376,7 +1376,7 @@ body {background-color:#000000;}
                           *my_format_data;
         I64        hex_ed_width;
         I32        scroll_len,
-                           len, //DOCE_LEN_DEFAULT
+                           len, //DOCE_LEN_DEFAULT
                            bin_num;
         U8                 raw_type, pad[3];
         CDocBin   *bin_data;
@@ -1384,7 +1384,7 @@ body {background-color:#000000;}
 #assert !($ & 7)
 };
 
-//DocForm() DocMenu() DocEd() PopUpMenu()
+//DocForm() DocMenu() DocEd() PopUpMenu()
 #define DOF_SIZE_MIN                    0x01
 #define DOF_INTERCEPT_TASK_END  0x02
 #define DOF_DONT_HOME                   0x04
@@ -1392,7 +1392,7 @@ body {background-color:#000000;}
 #define DOF_DONT_TEXT_ATTR              0x10
 #define DOF_DONT_WINMGR_SYNC    0x20
 #define DOF_DONT_SHOW                   0x40
-//Combines with  Editor Flags
+//Combines with  Editor Flags
 
 class CEdFindText
 {
@@ -1414,12 +1414,12 @@ body {background-color:#000000;}
         U8                      name[256] format "$DA-P,LEN=255,A=\"FileName:%s\"$";
 };
 
-//Ed()
+//Ed()
 #define EDF_BAIL                0x100
 #define EDF_COLLAPSE    0x200
 #define EDF_UNCOLLAPSE  0x400
 #define EDF_WAS_WRITE   0x800 //Was exit ESC or SHIFT_ESC?
-//Combines with Document Flags
+//Combines with Document Flags
 
 #define EDf_BAIL                8
 #define EDf_COLLAPSE    9
@@ -1438,9 +1438,9 @@ body {background-color:#000000;}
 #define DOCF_BORDER_DOC                         0x100
 #define DOCF_FORM                                       0x200
 #define DOCF_SIZE_MIN                           0x400
-#define DOCF_HIDE_CURSOR                        0x800  //use DocCursor
-#define DOCF_DONT_HIGHLIGHT_CURSOR      0x1000 //use DocHighlightCursor
-#define DOCF_NO_SCROLL_BARS             0x2000 //use DocScroll
+#define DOCF_HIDE_CURSOR                        0x800  //use DocCursor
+#define DOCF_DONT_HIGHLIGHT_CURSOR      0x1000 //use DocHighlightCursor
+#define DOCF_NO_SCROLL_BARS             0x2000 //use DocScroll
 #define DOCF_ALLOW_UNDO                         0x4000
 #define DOCF_DONT_SHOW                          0x8000
 #define DOCF_HAS_SONG                           0x10000
@@ -1475,9 +1475,9 @@ body {background-color:#000000;}
 #define DOCf_BORDER_DOC                         8
 #define DOCf_FORM                                       9
 #define DOCf_SIZE_MIN                           10
-#define DOCf_HIDE_CURSOR                        11      //use DocCursor
-#define DOCf_DONT_HIGHLIGHT_CURSOR      12  //use DocHighlightCursor
-#define DOCf_NO_SCROLL_BARS             13      //use DocScroll
+#define DOCf_HIDE_CURSOR                        11      //use DocCursor
+#define DOCf_DONT_HIGHLIGHT_CURSOR      12  //use DocHighlightCursor
+#define DOCf_NO_SCROLL_BARS             13      //use DocScroll
 #define DOCf_ALLOW_UNDO                         14
 #define DOCf_DONT_SHOW                          15
 #define DOCf_HAS_SONG                           16
@@ -1511,7 +1511,7 @@ body {background-color:#000000;}
         U8                      *body;
 };
 
-//See DocMenu()
+//See DocMenu()
 #define DOCM_CANCEL                     (-1)
 
 #define DOC_SIGNATURE_VAL               'DocS'
@@ -1548,13 +1548,13 @@ body {background-color:#000000;}
         I64                        (*left_click_link)(CDoc *doc, CDocEntry *doc_e);
         I64                (*right_click_link)(CDoc *doc, CDocEntry *doc_e);
 
-        //See ::/Apps/Psalmody/JukeBox.CC
+        //See ::/Apps/Psalmody/JukeBox.CC
         U8                              *user_put_data; //Passed to user_put_key() and user_put_s()
         Bool               (*user_put_key)(CDoc *doc, U8 *data, I64 ch, I64 sc);
         Bool               (*user_put_s)(CDoc *doc, U8 *data, U8 *st);
 
         CDoc                    *parent_doc; //(When browsing deeper, opening deeper docs.)
-        U64                              desc; //8 characters. See DocBorderListDraw().
+        U64                              desc; //8 characters. See DocBorderListDraw().
 
         CDocBin                  bin_head;
         CDocSettings     settings_head;
@@ -1695,7 +1695,7 @@ body {background-color:#000000;}
 };
 
 #help_index "Compiler/Directive"
-//Compiler Option()s
+//Compiler Option()s
 //You might need to do #exe {Option();}
 //Note: The #exe stmt is lexed-ahead,
 //so it takes effect earlier than you might expect.
@@ -1718,7 +1718,7 @@ body {background-color:#000000;}
 #define OPTF_ECHO                                       (1 << OPTf_ECHO)
 
 #help_index "Compiler/Intermediate Code"
-//See ST_RAW_TYPES
+//See ST_RAW_TYPES
 #define RT_I0                   2
 #define RT_U0                   3
 #define RT_I8                   4
@@ -1728,7 +1728,7 @@ body {background-color:#000000;}
 #define RT_I32                  8
 #define RT_U32                  9
 #define RT_I64                  10
-#define RT_PTR                  10 //Signed to allow negative error codes. DOCM_CANCEL
+#define RT_PTR                  10 //Signed to allow negative error codes. DOCM_CANCEL
 #define RT_U64                  11
 #define RT_F32                  12 //Not implemented
 #define RT_UF32                 13 //Not implemented, Fictitious
@@ -1828,7 +1828,7 @@ body {background-color:#000000;}
                                  ic_line;
         CHashClass      *ic_class, *ic_class2;
         CICArg           arg1, arg2, res;
-        U8                       arg1_type_pointed_to; //Used for IST_ASSIGN and IST_DEREF ic_codes.
+        U8                       arg1_type_pointed_to; //Used for IST_ASSIGN and IST_DEREF ic_codes.
         union
         {
                 U8 ic_body[IC_BODY_SIZE];
@@ -1910,7 +1910,7 @@ body {background-color:#000000;}
 //Slash value
 #define SV_R_REG                8
 #define SV_I_REG                9
-#define SV_STI_LIKE     10 //uasm_slash_val only.
+#define SV_STI_LIKE     10 //uasm_slash_val only.
 #define SV_NONE                 11
 class CInst
 {
@@ -1982,7 +1982,7 @@ body {background-color:#000000;}
 };
 
 class CAsmUndefHash
-{//Only place created is Exp Parser when an undef is found in an ASM exp.
+{//Only place created is Exp Parser when an undef is found in an ASM exp.
         CAsmUndefHash   *next;
         CHashExport     *hash;
 };
@@ -2649,7 +2649,7 @@ body {background-color:#000000;}
 
 #help_index "Devices;PCI"
 
-//PCI Registers, used with PCIRead functions.
+//PCI Registers, used with PCIRead functions.
 #define PCIR_VENDOR_ID                  0x00
 #define PCIR_DEVICE_ID                  0x02
 #define PCIR_COMMAND                    0x04
@@ -2784,7 +2784,7 @@ body {background-color:#000000;}
 #define AHCI_PxSIG_PM           0x96690101 //Port multiplier... not relevant to PC-type systems.
 
 //Interrupt flags (same in PxIE and PxIS)
-#define AHCI_PxIf_TFE   30      //Task File Error, see ATAS_ERR.
+#define AHCI_PxIf_TFE   30      //Task File Error, see ATAS_ERR.
 
 //COMRESET flags
 //SATA Control register flags
@@ -2840,7 +2840,7 @@ body {background-color:#000000;}
 class CFisH2D
 {//Host To Device
         U8      type,
-                desc,   //We are concerned with bit #7 (AHCI_CF_DESCf_C) 1=command, 0=control.
+                desc,   //We are concerned with bit #7 (AHCI_CF_DESCf_C) 1=command, 0=control.
                 command,
                 feature_low,
                 lba0,
@@ -2882,7 +2882,7 @@ body {background-color:#000000;}
 Bits of first U32:
         4:0 - Command FIS Length, in U32s
           5 - ATAPI bit (A) for ATAPI command
-          6 - Write bit (W) for write commands AHCI_CH_DESCf_W 1=write 0=read
+          6 - Write bit (W) for write commands AHCI_CH_DESCf_W 1=write 0=read
           7 - Prefetchable (P)
           8 - Reset (R)
           9 - Built-in Self Test (BIST)
@@ -2925,7 +2925,7 @@ body {background-color:#000000;}
 #define ATA_IDENT_MODEL_NUM                     27
 #define ATA_IDENT_LBA48_CAPACITY        100
 
-//See ::/Doc/Credits.DD.
+//See ::/Doc/Credits.DD.
 #define ATA_NOP                                 0x00
 #define ATA_DEV_RST                     0x08
 #define ATA_PACKET                              0xA0
@@ -3169,7 +3169,7 @@ body {background-color:#000000;}
 };
 
 //Red Sea Attributes
-//See ST_FILE_ATTRS
+//See ST_FILE_ATTRS
 #define RS_ATTR_READ_ONLY               0x01 //R
 #define RS_ATTR_HIDDEN                  0x02 //H
 #define RS_ATTR_SYSTEM                  0x04 //S
@@ -3184,12 +3184,12 @@ body {background-color:#000000;}
 #define RS_ATTR_FIXED                   0x800 //F
 
 #help_index "File/CD DVD"
-//Media types for DVDImageWrite()
+//Media types for DVDImageWrite()
 #define MT_CD                                   1
 #define MT_DVD                                  2
 
 #help_index "File/Low Level;File/Program Routines"
-//CDirEntry flags (Used by FileMgr())
+//CDirEntry flags (Used by FileMgr())
 #define CDIR_FILENAME_LEN                       38 //Must include terminator zero
 public class CDirEntry
 {
@@ -3207,7 +3207,7 @@ body {background-color:#000000;}
 
 #help_index "File/Program Routines"
 //File Util Flags
-//See ST_FILE_UTIL_FLAGS
+//See ST_FILE_UTIL_FLAGS
 #define FUf_RECURSE                     0       // r
 #define FUf_DIFF                                1       // d
 #define FUf_DEL                                 1       // d
@@ -3263,7 +3263,7 @@ body {background-color:#000000;}
 #define FUG_FILE_FIND   (FUF_JUST_DIRS | FUF_JUST_FILES | FUF_SCAN_PARENTS)
 
 #help_index "File/Low Level"
-//See ST_BLKDEV_TYPES
+//See ST_BLKDEV_TYPES
 #define BDT_NULL                                0
 #define BDT_RAM                                 1
 #define BDT_ATA                                 2
@@ -3332,7 +3332,7 @@ body {background-color:#000000;}
 //Drive locked_flags
 #define DVlf_LOCKED     0
 
-//See ST_DRIVE_TYPES
+//See ST_DRIVE_TYPES
 #define FSt_NULL                0
 #define FSt_REDSEA              1 //Supported
 #define FSt_FAT32               2 //Supported except for short names, to some degree
@@ -3366,7 +3366,7 @@ body {background-color:#000000;}
 public class CDrive
 {
 //Don't access ->drv_let directly in case a drive has been remapped.
-        //Use Drive2Letter().
+        //Use Drive2Letter().
         I64                                      locked_flags;
         U32                                      drive_signature;
         U8                                       drv_let, pad;
@@ -3451,7 +3451,7 @@ body {background-color:#000000;}
 #define FF_CONTIGUOUS                   16
 #define FF_USE_OLD_DATETIME     32
 
-public class CFile //See ::/Demo/Disk/DataBase.CC.
+public class CFile //See ::/Demo/Disk/DataBase.CC.
 {
         I64                      flags;
         CDirEntry        de;
@@ -3524,7 +3524,7 @@ body {background-color:#000000;}
 #define MEM_PAG_SIZE                    (1 << MEM_PAG_BITS)
 #define MEM_HEAP_HASH_SIZE              1024
 #define MEM_FREE_PAG_HASH_SIZE  0x100
-//It is common to MAlloc() exact powers of two. There is some overhead.
+//It is common to MAlloc() exact powers of two. There is some overhead.
 //We add 2 pags, so a request is not rounded-up to next power of two.
 #define MEM_EXTRA_HASH2_PAGS    2
 
@@ -3591,8 +3591,8 @@ body {background-color:#000000;}
 #define ROP_COLLISION   (ROPB_COLLISION << 8)
 #define ROP_MONO                (ROPB_MONO << 8)
 
-//These are just for ROPF_PROBABILITY_DITHER
-//See DCLighting().
+//These are just for ROPF_PROBABILITY_DITHER
+//See DCLighting().
 #define ROPF_HALF_RANGE_COLOR   0x1000
 #define ROPF_TWO_SIDED                  0x2000
 
@@ -3656,15 +3656,15 @@ body {background-color:#000000;}
 
 public class CKbdStateGlobals
 {
-        I64                      scan_code,                     //See scan codes
+        I64                      scan_code,                     //See scan codes
                                  last_down_scan_code,
                                  count,                         //Count of keys pressed since boot.
                                  timestamp,                     //Output: TSCGet when event.
                                  new_key_timestamp;     //Output: TSCGet when new key event.
         CFifoU8         *fifo, *fifo2;          //Private
         CFifoI64        *scan_code_fifo;
-        U32                      down_bitmap[8],        //BitTest, Bt(), with a merged scan code. (Left and right shift merged, for example.)
-                                 down_bitmap2[8];       //BitTest, Bt(), with an unmerged scan code.
+        U32                      down_bitmap[8],        //BitTest, Bt(), with a merged scan code. (Left and right shift merged, for example.)
+                                 down_bitmap2[8];       //BitTest, Bt(), with an unmerged scan code.
         Bool             reset,                         //Private: Reset KbdMouse
                                  irqs_working;          //Private
 };
@@ -3832,12 +3832,12 @@ body {background-color:#000000;}
 #define JOBf_FREE_ON_COMPLETE   7
 #define JOBf_ADD_TO_QUE                 8
 
-#define JOBT_TEXT_INPUT 0 //TaskText()  Feed StdIn
-#define JOBT_MESSAGE    1 //TaskMessage()               Post message
-#define JOBT_EXE_STR    2 //TaskExe()           Compile & execute src code text
+#define JOBT_TEXT_INPUT 0 //TaskText()  Feed StdIn
+#define JOBT_MESSAGE    1 //TaskMessage()               Post message
+#define JOBT_EXE_STR    2 //TaskExe()           Compile & execute src code text
 //MP cmds
-#define JOBT_CALL               3 //JobQueue()  Tell MP to call function
-#define JOBT_SPAWN_TASK 4 //Spawn() Tell MP to spawn task
+#define JOBT_CALL               3 //JobQueue()  Tell MP to call function
+#define JOBT_SPAWN_TASK 4 //Spawn() Tell MP to spawn task
 
 class CJob
 {
@@ -3865,11 +3865,11 @@ body {background-color:#000000;}
 };
 
 #help_index "Messages"
-//See ::/Demo/MessageLoop.CC
+//See ::/Demo/MessageLoop.CC
 #define MESSAGE_NULL                    0
 #define MESSAGE_CMD                     1
-#define MESSAGE_KEY_DOWN                2  //(ASCII,scan code) Press <CTRL-SHIFT-L>
-#define MESSAGE_KEY_UP                  3  //(ASCII,scan code) Press <CTRL-SHIFT-L>
+#define MESSAGE_KEY_DOWN                2  //(ASCII,scan code) Press <CTRL-SHIFT-L>
+#define MESSAGE_KEY_UP                  3  //(ASCII,scan code) Press <CTRL-SHIFT-L>
 #define MESSAGE_MS_MOVE                 4  //(x,y)
 #define MESSAGE_MS_L_DOWN               5  //(x,y)
 #define MESSAGE_MS_L_UP                 6  //(x,y)
@@ -3993,7 +3993,7 @@ body {background-color:#000000;}
                                          scroll_x, scroll_y, scroll_z;
 
         //These must be in this order
-        //for TASK_CONTEXT_SAVE and _TASK_CONTEXT_RESTORE
+        //for TASK_CONTEXT_SAVE and _TASK_CONTEXT_RESTORE
         I64                              rip, rflags, rsp, rsi, rax, rcx, rdx, rbx, rbp, rdi, r8, r9, r10, r11, r12, r13, r14, r15;
         CCPU                    *gs;
         CFPU                    *fpu_mmx;
@@ -4186,7 +4186,7 @@ body {background-color:#000000;}
 
 //ZealOS places a 1 in bit 7 for
 //keys with an E0 prefix.
-//See ::/Doc/CharOverview.DD and KbdHandler().
+//See ::/Doc/CharOverview.DD and KbdHandler().
 #define SC_ESC                  0x01
 #define SC_BACKSPACE    0x0E
 #define SC_TAB                  0x0F
@@ -4254,15 +4254,15 @@ body {background-color:#000000;}
 #help_index "Graphics/Device Contexts"
 //Low 8 bits reserved for flags that go into saved bitmaps
 #define DCF_PALETTE                     1
-#define DCF_NO_TRANSPARENTS     2 //Can be used to optimized GrBlot().
+#define DCF_NO_TRANSPARENTS     2 //Can be used to optimized GrBlot().
 
 #define DCF_TRANSFORMATION              0x100
 
-//See DCSymmetrySet() or DCSymmetry3Set()
+//See DCSymmetrySet() or DCSymmetry3Set()
 #define DCF_SYMMETRY                    0x200
 
 //Must be used with DCF_SYMMETRY set also.
-//See ::/Demo/Games/BigGuns.CC
+//See ::/Demo/Games/BigGuns.CC
 #define DCF_JUST_MIRROR                 0x400
 
 #define DCF_LOCATE_NEAREST              0x800
@@ -4273,7 +4273,7 @@ body {background-color:#000000;}
 #define DCF_RECORD_EXTENTS              0x10000
 #define DCF_ON_TOP                              0x20000
 
-//DCSave() flags.
+//DCSave() flags.
 #define DCSF_PALETTE_GET        1
 
 #define DCS_SIGNATURE_VAL       'DvCS'
@@ -4298,21 +4298,21 @@ body {background-color:#000000;}
 
         //public (Change directly)
         CColorROPU32     color,
-                                         bkcolor, //Set for use with ROP_COLLISION
-                                         color2; //Internally used for GrFloodFill()
+                                         bkcolor, //Set for use with ROP_COLLISION
+                                         color2; //Internally used for GrFloodFill()
         CD3I32                   ls; //Light source (should be normalized to 65536).
 
         //dither_probability_u16 is basically a U16.
-        //It is activated by ROPF_PROBABILITY_DITHER.
+        //It is activated by ROPF_PROBABILITY_DITHER.
         //0x0000 =100% color.c0
         //0x8000 =50%  color.c0         50% color.c1
         //0x10000=100% color.c1
-        //See ::/Demo/Graphics/SunMoon.CC and   ::/Demo/Graphics/Shading.CC.
+        //See ::/Demo/Graphics/SunMoon.CC and   ::/Demo/Graphics/Shading.CC.
         U64                              dither_probability_u16;
 
         CDC                             *brush;
 
-        //Set with DCMat4x4Set().  Free() before setting.
+        //Set with DCMat4x4Set().  Free() before setting.
         I64                             *r, //rotation matrix of quads decimal in lo
                                          r_norm; //shifted 32 bits.     Used for scaling thick
 
@@ -4320,27 +4320,27 @@ body {background-color:#000000;}
         I32                              x, y, z,
                                          thick;
 
-        //Can be changed from the default DCTransform()
+        //Can be changed from the default DCTransform()
         U0                         (*transform)(CDC *dc, I64 *x, I64 *y, I64 *z);
 
-        //Can be changed from the default DCLighting()
+        //Can be changed from the default DCLighting()
         U0                         (*lighting)(CDC *dc, CD3I32 *p1, CD3I32 *p2, CD3I32 *p3, CColorROPU32 color);
 
-        //Set by DCSymmetrySet() or DCSymmetry3Set()
+        //Set by DCSymmetrySet() or DCSymmetry3Set()
         CGrSym                   sym;
 
         I32                              cur_x, cur_y, cur_z, pad;
         I64                              collision_count;
 
         I64                              nearest_dist,
-                                         min_x, max_x, min_y, max_y; //Set by DCF_RECORD_EXTENTS (screen coordinates)
+                                         min_x, max_x, min_y, max_y; //Set by DCF_RECORD_EXTENTS (screen coordinates)
 
         U32                              dc_signature, pad;
         CTask                   *mem_task, *win_task;
         CDC                             *alias;
         U8                              *body;
 
-        //Set by DCDepthBufAlloc()
+        //Set by DCDepthBufAlloc()
         I32                             *depth_buf;
         I64                              db_z; //private
 #assert !($ & 7)
@@ -4473,11 +4473,11 @@ body {background-color:#000000;}
 #define BOOT_SRC_HARDDRIVE      3
 #define BOOT_SRC_DVD            4
 
-// In("") StdIn for call to BootHDIns().
+// In("") StdIn for call to BootHDIns().
 #define STD_DISTRO_DVD_CONFIG   "TB\nScale2Mem(2048,0x40000)\nT \n\n\n\n"
 
 #help_index "Registry"
-//Registry sys_message_flags. RegOneTimePopUp()
+//Registry sys_message_flags. RegOneTimePopUp()
 #define ARf_FLOODFILL                           0
 #define ARf_CSPRITE_INS_CLIP            1
 #define ARf_PLANAR_SYMMETRY             2
diff --git a/docs/Kernel/KernelB.html b/docs/Kernel/KernelB.html
index d97f002a..8d3dcac2 100755
--- a/docs/Kernel/KernelB.html
+++ b/docs/Kernel/KernelB.html
@@ -26,9 +26,9 @@ body {background-color:#000000;}
 
 
 /*      Kernel ASM symbols.
-KernelB Kernel.PRJ
-KernelB Compiler.PRJ
-KernelB StartOS.CC
+KernelB Kernel.PRJ
+KernelB Compiler.PRJ
+KernelB StartOS.CC
 */
 
 #help_index "Bit"
@@ -62,7 +62,7 @@ body {background-color:#000000;}
 public _extern _CALL_IND        I64 CallInd(/*argpop*/I64 (*fp_addr)(...), ...); //Call with fixed number of args.
 
 #help_index "Call/System Extern Num"
-public _extern SYS_EXTERN_TABLE /*argpop*/      I64 (**ext)(...); //Array of fun ptrs.  See Extern Num Definitions
+public _extern SYS_EXTERN_TABLE /*argpop*/      I64 (**ext)(...); //Array of fun ptrs.  See Extern Num Definitions
 public _extern _CALLEXTNUM                                      I64 CallExtNum(I64 num, ...); //Call ext num with fixed number of args.
 
 #help_index "Char/Conversion"
@@ -214,20 +214,20 @@ body {background-color:#000000;}
 
 #help_index "MultiCore"
 #help_file "::/Doc/MultiCore"
-public _extern SYS_CPU_STRUCTS  CCPU *cpu_structs; //Gs points to cur CCPU.
+public _extern SYS_CPU_STRUCTS  CCPU *cpu_structs; //Gs points to cur CCPU.
 public _extern SYS_MP_COUNT             I64   mp_count; //Count of cores
-_extern SYS_MP_COUNT_INITIAL    I64   mp_count_initial; //only used during Core0StartMP
+_extern SYS_MP_COUNT_INITIAL    I64   mp_count_initial; //only used during Core0StartMP
 _extern SYS_MP_COUNT_LOCK               I64   mp_count_lock;
 _extern SYS_SEMAS                               CSema sys_semas[SEMA_SEMAS_NUM];
 
 #help_index "MultiCore;Processor"
-public _intern IC_GS CCPU *Gs(); //GS points to current CCPU.
+public _intern IC_GS CCPU *Gs(); //GS points to current CCPU.
 
 #help_index "PCI"
 public _extern SYS_PCI_BUSES U16 sys_pci_buses; //Number of PCI buses.
 
 #help_index "Processor"
-public _intern IC_CARRY I64 Carry(); //See ::/Demo/Carry.CC
+public _intern IC_CARRY I64 Carry(); //See ::/Demo/Carry.CC
 public _intern IC_RAX_GET               I64             RAXGet(); //Get RAX register value.
 public _intern IC_RBP_GET               U8         *RBPGet(); //Get RBP register value.
 public _intern IC_RFLAGS_GET    I64             RFlagsGet(); //Get RFlags register value.
@@ -246,8 +246,8 @@ body {background-color:#000000;}
 public _extern _LXCHG_U16               U16             LXchgU16(U16 *dst, U16 d); //Locked eXchange U16s.
 public _extern _LXCHG_U32               U32             LXchgU32(U32 *dst, U32 d); //Locked eXchange U32s.
 public _extern _LXCHG_U8                U8              LXchgU8(  U8 *dst,  U8 d); //Locked eXchange U8s.
-public _extern _MSR_READ                I64             MSRRead(I64 model_specific_reg); //Model Specific Reg See MSRs.
-public _extern _MSR_WRITE               U0              MSRWrite(I64 model_specific_reg, I64 val); //Model Specific Reg See MSRs.
+public _extern _MSR_READ                I64             MSRRead(I64 model_specific_reg); //Model Specific Reg See MSRs.
+public _extern _MSR_WRITE               U0              MSRWrite(I64 model_specific_reg, I64 val); //Model Specific Reg See MSRs.
 public _extern _SYS_HLT                 U0              SysHlt(); //Loops doing HLT inst.
 public _extern _XCHG_I64                I64             XchgI64(I64 *dst, I64 d); //eXchange I64s.
 public _extern _XCHG_U16                U16             XchgU16(U16 *dst, U16 d); //eXchange U16s.
@@ -264,7 +264,7 @@ body {background-color:#000000;}
 public _extern MEM_PAGE_SIZE    U64 mem_page_size;
 
 #help_index "Task;Processor"
-public _intern IC_FS CTask *Fs(); //FS seg reg points to the current CTask.
+public _intern IC_FS CTask *Fs(); //FS seg reg points to the current CTask.
 
 #help_index "Time/CPU Cycles"
 #help_file "::/Doc/TimeCycles"
diff --git a/docs/Kernel/KernelC.html b/docs/Kernel/KernelC.html
index 47cbfe66..04071837 100755
--- a/docs/Kernel/KernelC.html
+++ b/docs/Kernel/KernelC.html
@@ -128,7 +128,7 @@ body {background-color:#000000;}
 public extern   U0               PutChars(U64 ch);
 extern                  U0               PutHex(I64 num, I64 width);
 public extern   U0               PutKey(I64 ch=0, I64 sc=0);
-extern                  U0               PutS(U8 *st); //Use Print()
+extern                  U0               PutS(U8 *st); //Use Print()
 public extern   Bool     Silent(Bool val=ON);
 extern                  U8              *StrPrintHex(U8 *dst, I64 num;I64 width);
 
@@ -516,7 +516,7 @@ body {background-color:#000000;}
 extern                  CTask                   *sys_macro_task;
 
 #help_index "Keyboard Devices;Char/Input;StdIn"
-extern                  U8 *(*fp_getstr2)(I64 flags=0); //StrGet Flags
+extern                  U8 *(*fp_getstr2)(I64 flags=0); //StrGet Flags
 public extern   Bool                             AreYouSure();
 public extern   I64                                      CharGet(I64 *_scan_code=NULL, Bool echo=TRUE,  Bool raw_cursor=FALSE);
 public extern   I64                                      KeyGet( I64 *_scan_code=NULL, Bool echo=FALSE, Bool raw_cursor=FALSE);
diff --git a/docs/Kernel/KeyDev.html b/docs/Kernel/KeyDev.html
index 5563dd1f..cbe41e98 100755
--- a/docs/Kernel/KeyDev.html
+++ b/docs/Kernel/KeyDev.html
@@ -49,7 +49,7 @@ body {background-color:#000000;}
 
 U0 PutChars(U64 ch)
 {//Output chars. Up to 8 chars in a single U64.
-//Don't use this.  See Print() shortcut.
+//Don't use this.  See Print() shortcut.
         while (ch)
         {
                 PutKey(ch & 255, 0);
@@ -58,8 +58,8 @@ body {background-color:#000000;}
 }
 
 U0 PutS(U8 *st)
-{//Use Print(). See Keyboard Devices.
-//Don't use this.  See Print() shortcut.
+{//Use Print(). See Keyboard Devices.
+//Don't use this.  See Print() shortcut.
         I64                              ch;
         U8                              *ptr;
         Bool                     cont = TRUE;
@@ -91,7 +91,7 @@ body {background-color:#000000;}
 }
 
 U0 KeyDescSet(U8 *format, ...)
-{//Call this from key handler to report desc in KeyMap().
+{//Call this from key handler to report desc in KeyMap().
         U8 *buf = StrPrintJoin(NULL, format, argc, argv);
 
         StrCopy(keydev.desc, buf);
diff --git a/docs/Kernel/Memory/BlkPool.html b/docs/Kernel/Memory/BlkPool.html
index 5df402f3..cc970be4 100755
--- a/docs/Kernel/Memory/BlkPool.html
+++ b/docs/Kernel/Memory/BlkPool.html
@@ -70,7 +70,7 @@ body {background-color:#000000;}
         else
                 code_heap_limit = 0x80000000;
 
-        i = code_heap_limit - SYS_16MEG_AREA_LIMIT; //See RLf_16MEG_SYS_CODE_BP
+        i = code_heap_limit - SYS_16MEG_AREA_LIMIT; //See RLf_16MEG_SYS_CODE_BP
         BlkPoolAdd(sys_code_bp, SYS_16MEG_AREA_LIMIT, i >> MEM_PAG_BITS);
         mem_heap_limit = i + SYS_16MEG_AREA_LIMIT - 1;
 
diff --git a/docs/Kernel/Memory/HeapCtrl.html b/docs/Kernel/Memory/HeapCtrl.html
index 9463e02a..48e5df1a 100755
--- a/docs/Kernel/Memory/HeapCtrl.html
+++ b/docs/Kernel/Memory/HeapCtrl.html
@@ -26,8 +26,8 @@ body {background-color:#000000;}
 
 
 CHeapCtrl *HeapCtrlInit(CHeapCtrl *hc=NULL, CTask *task=NULL, CBlkPool *bp)
-{//See HeapLog() for an example.
-//Duplicated for System Task.
+{//See HeapLog() for an example.
+//Duplicated for System Task.
         if (!hc)
                 hc = ZCAlloc(sizeof(CHeapCtrl));
         hc->hc_signature        = HEAP_CTRL_SIGNATURE_VAL;
diff --git a/docs/Kernel/Memory/MAllocFree.html b/docs/Kernel/Memory/MAllocFree.html
index 2fb655ce..810a4133 100755
--- a/docs/Kernel/Memory/MAllocFree.html
+++ b/docs/Kernel/Memory/MAllocFree.html
@@ -27,7 +27,7 @@ body {background-color:#000000;}
 
 asm {
 //************************************
-//See ::/Doc/Credits.DD.
+//See ::/Doc/Credits.DD.
 _MALLOC::
 // Throws 'OutMem'
                                 PUSH            RBP
@@ -249,7 +249,7 @@ body {background-color:#000000;}
 
 //************************************
 _FREE::
-//Be aware of heap_hash in MemPagTaskAlloc().
+//Be aware of heap_hash in MemPagTaskAlloc().
                                 PUSH            RBP
                                 MOV             RBP, RSP
                                 PUSH            RSI
@@ -285,7 +285,7 @@ body {background-color:#000000;}
                                 MOV             RAX, U64 CMemUsed.size - CMemUsed.start[RSI]
                                 TEST            RAX, RAX
                                 JGE             @@20            //Aligned alloced chunks have neg size.
-                                                                                //The neg size is offset to start of CMemUsed struct.
+                                                                                //The neg size is offset to start of CMemUsed struct.
                                 ADD             RSI, RAX
 
 @@20:                   PUSHFD
@@ -411,12 +411,12 @@ body {background-color:#000000;}
                                 RET1            8
 }
 
-_extern _FREE           U0                       Free(U8 *addr); //Free MAlloc()ed memory chunk.
+_extern _FREE           U0                       Free(U8 *addr); //Free MAlloc()ed memory chunk.
 _extern _MSIZE          I64                      MSize(    U8 *src); //Size of heap object.
 _extern _MSIZE2         I64                      MSize2(   U8 *src); //Internal size of heap object.
-_extern _MHEAP_CTRL     CHeapCtrl       *MHeapCtrl(U8 *src); //CHeapCtrl of object.
+_extern _MHEAP_CTRL     CHeapCtrl       *MHeapCtrl(U8 *src); //CHeapCtrl of object.
 _extern _MALLOC         U8                      *MAlloc(I64 size, CTask *mem_task=NULL); //Alloc memory chunk.
-//Accepts a CTask or CHeapCtrl. NULL allocs off current task's heap.
+//Accepts a CTask or CHeapCtrl. NULL allocs off current task's heap.
 
 U8 *ZMAlloc(I64 size)
 {//Alloc memory in System task's heap.
@@ -424,7 +424,7 @@ body {background-color:#000000;}
 }
 
 U8 *CAlloc(I64 size, CTask *mem_task=NULL)
-{//Accepts a CTask or CHeapCtrl.  NULL allocs off current task's heap.
+{//Accepts a CTask or CHeapCtrl.  NULL allocs off current task's heap.
         U8 *res = MAlloc(size, mem_task);
 
         MemSet(res, 0, size);
@@ -438,7 +438,7 @@ body {background-color:#000000;}
 }
 
 U8 *MAllocIdent(U8 *src, CTask *mem_task=NULL)
-{//Accepts a CTask or CHeapCtrl.  NULL allocs off current task's heap.
+{//Accepts a CTask or CHeapCtrl.  NULL allocs off current task's heap.
         U8 *res;
         I64 size;
 
@@ -509,7 +509,7 @@ body {background-color:#000000;}
 }
 
 U8 *StrNew(U8 *buf, CTask *mem_task=NULL)
-{//Accepts a CTask or CHeapCtrl.  NULL allocs off current task's heap.
+{//Accepts a CTask or CHeapCtrl.  NULL allocs off current task's heap.
         U8 *res;
         I64 size;
 
diff --git a/docs/Kernel/Memory/MemPag.html b/docs/Kernel/Memory/MemPag.html
index de5ecf9a..c107fce2 100755
--- a/docs/Kernel/Memory/MemPag.html
+++ b/docs/Kernel/Memory/MemPag.html
@@ -166,7 +166,7 @@ body {background-color:#000000;}
 
 CMemBlk *MemPagTaskAlloc(I64 pags, CHeapCtrl *hc)
 {/*hc must be locked.  Don't preempt this routine.
-Currently, this is only called from MAlloc().
+Currently, this is only called from MAlloc().
 Return: NULL if out of memory.
 */
         CMemBlk         *res;
diff --git a/docs/Kernel/Memory/MemPhysical.html b/docs/Kernel/Memory/MemPhysical.html
index 86d5af44..d68578e4 100755
--- a/docs/Kernel/Memory/MemPhysical.html
+++ b/docs/Kernel/Memory/MemPhysical.html
@@ -220,7 +220,7 @@ body {background-color:#000000;}
 
 I64 Scale2Mem(I64 min, I64 max, I64 limit=2*1024*1024*1024)
 {//Helps pick DiskCache and RAMDisk sizes.
-//Can be used in BootHDIns() config scripts.
+//Can be used in BootHDIns() config scripts.
         I64 i;
 
         if (sys_data_bp)
diff --git a/docs/Kernel/Memory/PageTables.html b/docs/Kernel/Memory/PageTables.html
index 0733ce02..13d47b2b 100755
--- a/docs/Kernel/Memory/PageTables.html
+++ b/docs/Kernel/Memory/PageTables.html
@@ -26,7 +26,7 @@ body {background-color:#000000;}
 
 
 asm {
-// ::/Doc/MemoryOverview.DD
+// ::/Doc/MemoryOverview.DD
 
 USE32
 SYS_INIT_PAGE_TABLES::
@@ -78,7 +78,7 @@ body {background-color:#000000;}
                                 MOV             [MEM_512GIG_NUM],     EAX
                                 MOV             [MEM_512GIG_NUM + 4], EDX
 
-//Set CSysFixedArea to zero
+//Set CSysFixedArea to zero
                                 MOV             EDI, SYS_FIXED_AREA
                                 XOR             EAX, EAX
                                 MOV             ECX, sizeof(CSysFixedArea) / 4
@@ -182,7 +182,7 @@ body {background-color:#000000;}
 
 SYS_INIT_16MEG_SYS_CODE_BP::
 // Init sys_code_bp to BIOS E801 lowest 16Meg val.
-// BlkPoolsInit() adds the rest.
+// BlkPoolsInit() adds the rest.
                                 MOV             U32 [SYS_CODE_BP],     SYS_FIXED_AREA + CSysFixedArea.sys_code_bp
                                 MOV             U32 [SYS_CODE_BP + 4], 0
 
diff --git a/docs/Kernel/Memory/index.html b/docs/Kernel/Memory/index.html
new file mode 100755
index 00000000..4500fc40
--- /dev/null
+++ b/docs/Kernel/Memory/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Kernel/Memory
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+11/24 13:57 07D8 BlkPool.CC
+07/01 17:17 034D HeapCtrl.CC
+07/01 18:12 32AC MAllocFree.CC
+11/24 13:57 00A3 MakeMemory.CC
+12/22 01:50 1048 MemPag.CC
+12/17 20:58 1297 MemPhysical.CC
+11/24 13:58 12E7 PageTables.CC
+
+ diff --git a/docs/Kernel/MultiProc.html b/docs/Kernel/MultiProc.html index 195d0993..cffffb01 100755 --- a/docs/Kernel/MultiProc.html +++ b/docs/Kernel/MultiProc.html @@ -28,10 +28,10 @@ body {background-color:#000000;} asm { ALIGN 16, OC_NOP USE16 -//See ZealOS MultiCore. +//See ZealOS MultiCore. -//This code gets copied to MP_VECT_ADDR. -//See MemCopy(MP_VECT_ADDR. +//This code gets copied to MP_VECT_ADDR. +//See MemCopy(MP_VECT_ADDR. COREAP_16BIT_INIT:: JMP @@05 @@ -43,7 +43,7 @@ body {background-color:#000000;} WBINVD MOV AX, MP_VECT_ADDR / 16 MOV DS, AX - LGDT U32 [CAP16BitInit.ap_gdt_ptr] //See mp->ap_gdt_ptr + LGDT U32 [CAP16BitInit.ap_gdt_ptr] //See mp->ap_gdt_ptr MOV EAX, SYS_START_CR0 MOV_CR0_EAX @@ -96,7 +96,7 @@ body {background-color:#000000;} } U0 TSSBusy(I64 tr, Bool val=OFF) -{//See ::/Demo/Lectures/Ring3.CC. +{//See ::/Demo/Lectures/Ring3.CC. LBEqual((&sys_gdt)(U8 *) + tr + 4, 9, val); } @@ -154,7 +154,7 @@ body {background-color:#000000;} LBts(&c->idle_task->task_flags, TASKf_IDLE); c->tss = TSSNew(num); } - c->executive_task = executive_task;// It waits for this to be filled-in: executive_task + c->executive_task = executive_task;// It waits for this to be filled-in: executive_task return c; } @@ -203,7 +203,7 @@ body {background-color:#000000;} U0 MPAPICInit() {//Called by system_task during start-up //and other cores during initialization - //after Core0StartMP(). + //after Core0StartMP(). *(dev.uncached_alias + LAPIC_SVR)(U32 *) |= LAPICF_APIC_ENABLED; dev.mp_apic_ids[Gs->num] = *(dev.uncached_alias + LAPIC_APIC_ID)(U32 *) >> 24; *(dev.uncached_alias + LAPIC_LDR)(U32 *) = dev.mp_apic_ids[Gs->num] << 24; @@ -252,7 +252,7 @@ body {background-color:#000000;} I64 job_code=JOBT_CALL, U8 *aux_str=NULL, I64 aux1=0, I64 aux2=0) {//Queue multicore jobs, handled by Executive tasks. //Set flags to zero if you wish to get the res. - //See ::/Demo/MultiCore/Lock.CC + //See ::/Demo/MultiCore/Lock.CC CJobCtrl *ctrl; CJob *tmpc; CTask *executive; @@ -315,7 +315,7 @@ body {background-color:#000000;} } U0 CoreAPExecutiveInit() -{//Called by multicore's executive task after Core0StartMP() +{//Called by multicore's executive task after Core0StartMP() //as the first thing a CPU does before waiting for jobs. MPAPICInit; Fs->rip = &CoreAPExecutiveTask; @@ -323,7 +323,7 @@ body {background-color:#000000;} } U0 Core0StartMP() -{//Called by system_task during start-up. +{//Called by system_task during start-up. CTask *task; U8 buf[STR_LEN]; CAP16BitInit *mp = MP_VECT_ADDR; @@ -346,15 +346,15 @@ body {background-color:#000000;} MemSet(&cpu_structs[1], 0, sizeof(CCPU) * (MP_PROCESSORS_NUM - 1)); //When you start-up other cores, they jump to an addr - //specified by a byte vect number, MPN_VECT which corresponds - //to a location 4096*vect number, MP_VECT_ADDR. + //specified by a byte vect number, MPN_VECT which corresponds + //to a location 4096*vect number, MP_VECT_ADDR. MemCopy(mp, COREAP_16BIT_INIT, COREAP_16BIT_INIT_END-COREAP_16BIT_INIT); MemCopy(&mp->ap_gdt_ptr, SYS_GDT_PTR, sizeof(CSysLimitBase)); mp_count_initial = mp_count = 1; mp_count_lock = 0; *(dev.uncached_alias + LAPIC_LVT_ERR)(U32 *) = *(dev.uncached_alias + LAPIC_LVT_ERR)(U32 *) & 0xFFFFFF00 + MPN_VECT; - WBINVD //Not sure why this is needed. Might just need delay. MemCopy above? + WBINVD //Not sure why this is needed. Might just need delay. MemCopy above? *(dev.uncached_alias + LAPIC_ICR_LOW)(U32 *) = 0xC4500; //assert init IPI Busy(10000); @@ -376,7 +376,7 @@ body {background-color:#000000;} StrPrint(buf, "Executive Task CPU%02X", i); task = Spawn(&CoreAPExecutiveInit, NULL, buf,,, MEM_EXECUTIVE_STACK, 0); task->rflags = RFLAGG_START; -//CTask alloced off this core's executive_task's heap (Which is System task) +//CTask alloced off this core's executive_task's heap (Which is System task) CPUStructInit(i, &cpu_structs[i], task); WBINVD //Not sure why this is needed. Might just need delay. } diff --git a/docs/Kernel/QuickSort.html b/docs/Kernel/QuickSort.html index ecbcd0c0..47ab79e0 100755 --- a/docs/Kernel/QuickSort.html +++ b/docs/Kernel/QuickSort.html @@ -32,7 +32,7 @@ body {background-color:#000000;} For ascending strings: return StrCompare(e1,e2); For ascending ints : return e1-e2; -Maybe, look at ::/Demo/MultiCore/MPRadix.CC. +Maybe, look at ::/Demo/MultiCore/MPRadix.CC. */ I64 i, *left, *right, pivot; @@ -130,7 +130,7 @@ body {background-color:#000000;} For ascending ints : return *e1-*e2; Don't return e1-e2 if numbers can overflow, return -1,0 or 1. -Maybe, look at ::/Demo/MultiCore/MPRadix.CC. +Maybe, look at ::/Demo/MultiCore/MPRadix.CC. */ U8 *tmp; diff --git a/docs/Kernel/Sched.html b/docs/Kernel/Sched.html index 79f86278..f7e20869 100755 --- a/docs/Kernel/Sched.html +++ b/docs/Kernel/Sched.html @@ -44,9 +44,9 @@ body {background-color:#000000;} waiting for a certain time or waiting on a message and skips if not ready. A task runs until it voluntarily yields ctrl -with a call to Yield(). Tasks waiting on I/O +with a call to Yield(). Tasks waiting on I/O often loop, checking for a status and -Yielding. This does not really degrade +Yielding. This does not really degrade performance, but pegs the CPU Load. The scheduler checks for a few keys: @@ -59,7 +59,7 @@ body {background-color:#000000;} Each core has its own circular task queue. For AP processors, they have an "Executive" task which stays in a loop waiting for jobs or -requests to spawn tasks. See CoreAPExecutiveTask(). +requests to spawn tasks. See CoreAPExecutiveTask(). */ U0 TaskFocusNext() @@ -334,7 +334,7 @@ body {background-color:#000000;} U0 TaskQueueRemove(CTask *task) {//Remove a task from the scheduler running task queue. -//Use Suspend(). +//Use Suspend(). CTask *next, *last; PUSHFD diff --git a/docs/Kernel/SerialDev/Message.html b/docs/Kernel/SerialDev/Message.html index eaa2a564..dd33ca87 100755 --- a/docs/Kernel/SerialDev/Message.html +++ b/docs/Kernel/SerialDev/Message.html @@ -70,7 +70,7 @@ body {background-color:#000000;} {/*Check for a message of type specified by a one in the mask. Throw-out messages not in mask. If no message fit mask, return NULL immediately. -Remove desired message, return message_code. +Remove desired message, return message_code. Note: This delivers messages from parent down to pop-up. */ I64 res, old_flags; @@ -136,7 +136,7 @@ body {background-color:#000000;} I64 MessageGet(I64 *_arg1=NULL, I64 *_arg2=NULL, I64 mask=~1, CTask *task=NULL) {//Wait for a message of type specified by a one in the mask. //Throw-out all messages not in mask. - //Returns message_code. See ::/Demo/MessageLoop.CC. + //Returns message_code. See ::/Demo/MessageLoop.CC. I64 res; if (!task) @@ -153,25 +153,25 @@ body {background-color:#000000;} } I64 CharScan() -{//Checks for MESSAGE_KEY_DOWN and returns 0 immediately if no key. -//Waits for MESSAGE_KEY_UP of non-zero ASCII key and returns ASCII if key. - //MessageScan() throws away other message types. +{//Checks for MESSAGE_KEY_DOWN and returns 0 immediately if no key. +//Waits for MESSAGE_KEY_UP of non-zero ASCII key and returns ASCII if key. + //MessageScan() throws away other message types. I64 arg1a, arg2a, arg1b, arg2b; if (!MessageScan(&arg1a, &arg2a, 1 << MESSAGE_KEY_DOWN) || !arg1a) return 0; else do MessageGet(&arg1b, &arg2b, 1 << MESSAGE_KEY_UP); - while (!arg1b); //Be careful of SC_SHIFT and SC_CTRL, etc. + while (!arg1b); //Be careful of SC_SHIFT and SC_CTRL, etc. return arg1a; } Bool KeyScan(I64 *_ch=NULL, I64 *_scan_code=NULL, Bool echo=FALSE) -{//Checks for MESSAGE_KEY_DOWN and returns FALSE immediately if no key. -//Sets ASCII and scan_code. +{//Checks for MESSAGE_KEY_DOWN and returns FALSE immediately if no key. +//Sets ASCII and scan_code. //Removes key message and returns TRUE. - //MessageScan() throws away other message types. + //MessageScan() throws away other message types. I64 ch = 0, sc = 0; if (MessageScan(&ch, &sc, 1 << MESSAGE_KEY_DOWN)) @@ -195,9 +195,9 @@ body {background-color:#000000;} } I64 KeyGet(I64 *_scan_code=NULL, Bool echo=FALSE, Bool raw_cursor=FALSE) -{//Waits for MESSAGE_KEY_DOWN message and returns ASCII. -//Sets scan_code. - //KeyScan() throws away other message types. +{//Waits for MESSAGE_KEY_DOWN message and returns ASCII. +//Sets scan_code. + //KeyScan() throws away other message types. I64 ch, sc; Bool cursor_on = FALSE; @@ -245,8 +245,8 @@ body {background-color:#000000;} } I64 CharGet(I64 *_scan_code=NULL, Bool echo=TRUE, Bool raw_cursor=FALSE) -{//Waits for non-zero ASCII key. -//Sets scan_code. +{//Waits for non-zero ASCII key. +//Sets scan_code. I64 ch1; do ch1 = KeyGet(_scan_code, FALSE, raw_cursor); @@ -258,7 +258,7 @@ body {background-color:#000000;} } U8 *StrGet(U8 *message=NULL, U8 *default=NULL, I64 flags=NONE) -{//Returns a MAlloc()ed prompted string. See Flags. +{//Returns a MAlloc()ed prompted string. See Flags. U8 *st; if (message) diff --git a/docs/Kernel/SerialDev/Mouse.html b/docs/Kernel/SerialDev/Mouse.html index f2a98074..cdf3fdf2 100755 --- a/docs/Kernel/SerialDev/Mouse.html +++ b/docs/Kernel/SerialDev/Mouse.html @@ -26,7 +26,7 @@ body {background-color:#000000;}
 U0 GridInit()
-{//Init mouse grid struct. See ::/Demo/Graphics/Grid.CC.
+{//Init mouse grid struct. See ::/Demo/Graphics/Grid.CC.
         mouse_grid.x            = mouse_grid.y                  = mouse_grid.z                  = 8;
         mouse_grid.x_offset     = mouse_grid.y_offset   = mouse_grid.z_offset   = 0;
         mouse_grid.x_speed      = mouse_grid.y_speed    = mouse_grid.z_speed    = 1;
@@ -72,7 +72,7 @@ body {background-color:#000000;}
 }
 
 U0 MouseSet(I64 x=I64_MAX, I64 y=I64_MAX, I64 z=I64_MAX, I64 l=I64_MAX, I64 r=I64_MAX)
-{//Note: Generates a message. See MouseSet().
+{//Note: Generates a message. See MouseSet().
         if (!(0 <= x < sys_vbe_mode.width))
                 x = mouse.pos.x;
         if (!(0 <= y < sys_vbe_mode.height))
diff --git a/docs/Kernel/SerialDev/index.html b/docs/Kernel/SerialDev/index.html
new file mode 100755
index 00000000..6492b222
--- /dev/null
+++ b/docs/Kernel/SerialDev/index.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/Kernel/SerialDev
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/23 17:22 34F6 Keyboard.CC
+11/24 13:58 005F MakeSerialDev.CC
+12/23 11:35 1AD7 Message.CC
+07/02 04:17 2787 Mouse.CC
+
+ diff --git a/docs/Kernel/StrA.html b/docs/Kernel/StrA.html index 6f46681c..47c5fada 100755 --- a/docs/Kernel/StrA.html +++ b/docs/Kernel/StrA.html @@ -346,7 +346,7 @@ body {background-color:#000000;}
_extern _STRIMATCH U8 *StrIMatch(U8 *needle, U8 *haystack_str);//Scan for string in string, ignoring case. _extern _STRCOPY U0 StrCopy(U8 *dst, U8 *src); //Copy string. -//These bitmaps go to 0-511 so that Lex() can use them with Token Codes. +//These bitmaps go to 0-511 so that Lex() can use them with Token Codes. U32 char_bmp_alpha[16] = {0x0000000, 0x00000000, 0x87FFFFFF, 0x07FFFFFE, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0, 0, 0, 0, 0, 0, 0, 0}, @@ -553,7 +553,7 @@ body {background-color:#000000;} } U8 *StrUtil(U8 *_src, I64 flags) -{//Modifies in place. See flags for all the options. +{//Modifies in place. See flags for all the options. U8 *src = _src, *dst = _src; I64 ch; diff --git a/docs/Kernel/StrB.html b/docs/Kernel/StrB.html index 6fb88308..c2a14639 100755 --- a/docs/Kernel/StrB.html +++ b/docs/Kernel/StrB.html @@ -95,7 +95,7 @@ body {background-color:#000000;} } U8 *MStrUtil(U8 *src, I64 flags, F64 indent_scale_factor=0) -{//MAlloc StrUtil(). +{//MAlloc StrUtil(). U8 *dst = StrNew(src), *dst2, *tmp; StrUtil(dst, flags); @@ -152,7 +152,7 @@ body {background-color:#000000;} } I64 PressAKey() -{//Print "Press a key" and wait for non-zero ASCII key. +{//Print "Press a key" and wait for non-zero ASCII key. "$BK,1$PRESS A KEY$BK,0$\n"; return CharGet(, FALSE); } @@ -175,7 +175,7 @@ body {background-color:#000000;} {/*More than 64 flags. Flags passed by ref. Examples: -FlagsScan(&fuf_flags,Define("ST_FILE_UTIL_FLAGS"),fu_flags); +FlagsScan(&fuf_flags,Define("ST_FILE_UTIL_FLAGS"),fu_flags); I64 flags=0; FlagsScan(&flags,"R\0L\0Dump\0Scan\0","+Dump-R"); //Sets Bit#2, Clears Bit#0. diff --git a/docs/Kernel/StrPrint.html b/docs/Kernel/StrPrint.html index 2d623d25..f972e323 100755 --- a/docs/Kernel/StrPrint.html +++ b/docs/Kernel/StrPrint.html @@ -274,7 +274,7 @@ body {background-color:#000000;} #define SLOP 8 U8 *StrPrintJoin(U8 *dst, U8 *format, I64 argc, I64 *argv) -{/*Print("") Format Strings +{/*Print("") Format Strings In float formatting, do not exceed 18-digits before or after the decimal point because the numbers before and after @@ -1119,12 +1119,12 @@ body {background-color:#000000;} } U8 *StrPrint(U8 *dst, U8 *format, ...) -{//See StrPrintJoin(). +{//See StrPrintJoin(). return StrPrintJoin(dst, format, argc, argv); } U8 *CatPrint(U8 *_dst, U8 *format, ...) -{//StrCat(). See StrPrintJoin(). +{//StrCat(). See StrPrintJoin(). U8 *dst = _dst; while (*dst) @@ -1135,16 +1135,16 @@ body {background-color:#000000;} } U0 Print(U8 *format, ...) -{//Print("") Format Strings. See StrPrintJoin(). -//Don't use this. See Print() shortcut. +{//Print("") Format Strings. See StrPrintJoin(). +//Don't use this. See Print() shortcut. U8 *buf = StrPrintJoin(NULL, format, argc, argv); - PutS(buf);//Don't use PutS(). See Print() shortcut. + PutS(buf);//Don't use PutS(). See Print() shortcut. Free(buf); } U8 *MStrPrint(U8 *format, ...) -{//MAlloc StrPrint. See StrPrintJoin(). +{//MAlloc StrPrint. See StrPrintJoin(). U8 *res, *buf = StrPrintJoin(NULL, format, argc, argv); res = StrNew(buf); diff --git a/docs/Kernel/index.html b/docs/Kernel/index.html new file mode 100755 index 00000000..5f0c272a --- /dev/null +++ b/docs/Kernel/index.html @@ -0,0 +1,77 @@ + + + + + + + + +
+Directory of C:/Kernel
+DATE_ TIME_  SIZE
+07/02 23:10 00000 .
+07/02 23:10 00000 ..
+07/02 23:10 00000 BlkDev
+07/02 23:10 00000 Memory
+07/02 23:10 00000 SerialDev
+11/24 04:53 00CC3 Display.CC
+06/29 17:27 020FC EdLite.CC
+07/02 16:57 016C4 FontStd.CC
+07/02 00:18 0238E FunSeg.CC
+07/01 16:09 03542 Job.CC
+12/22 02:51 015A2 KConfig.CC
+11/24 04:58 016F4 KDataTypes.CC
+11/24 04:59 0155B KDate.CC
+07/01 15:58 039DA KDebug.CC
+11/24 05:00 01E0C KDefine.CC
+07/01 16:09 00EF7 KExcept.CC
+07/02 16:20 01551 KExterns.CC
+07/03 00:00 00421 KGlobals.CC
+09/07 12:56 015A5 KHashA.CC
+07/01 16:15 01AC1 KHashB.CC
+07/02 00:20 0161E KInterrupts.CC
+12/23 11:29 01A1E KLoad.CC
+07/02 18:25 01986 KMain.CC
+09/08 17:39 0348A KMathA.CC
+11/24 05:03 008DA KMathB.CC
+07/01 16:08 0177C KMisc.CC
+07/01 16:15 02674 KStart16.CC
+09/07 02:53 00C77 KStart32.CC
+07/02 00:54 00945 KStart64.CC
+07/02 00:18 03714 KTask.CC
+02/09 05:00 0258E KUtils.CC
+06/20 04:32 01451 KeyDev.CC
+07/02 00:39 028AD MultiProc.CC
+06/23 03:58 009A0 PCI.CC
+06/22 18:47 017FC PCIBIOS.CC
+09/09 00:27 00AD0 QuickSort.CC
+07/02 00:21 01FE4 Sched.CC
+11/24 05:08 03D09 StrA.CC
+07/01 16:15 01009 StrB.CC
+12/22 01:53 055F4 StrPrint.CC
+11/24 05:09 01CD5 StrScan.CC
+07/02 00:53 1B2C9 KernelA.HH
+02/09 05:00 03C66 KernelB.HH
+07/02 17:04 08389 KernelC.HH
+07/03 02:43 3D2AC Kernel.MAP
+07/01 16:15 00585 Kernel.PRJ
+
+ diff --git a/docs/Misc/DoDistro.html b/docs/Misc/DoDistro.html index 804d69ab..49b87a31 100755 --- a/docs/Misc/DoDistro.html +++ b/docs/Misc/DoDistro.html @@ -31,7 +31,7 @@ body {background-color:#000000;}
U0 MakeMyISO(U8 *_out_iso_filename) {//Does everything with current drive. -//If you have not recompiled Kernel and defined your CD/DVD drive, use Mount. +//If you have not recompiled Kernel and defined your CD/DVD drive, use Mount. U8 *out_iso_filename = FileNameAbs(_out_iso_filename); if (!DriveIsWritable) { @@ -74,6 +74,6 @@ body {background-color:#000000;} MakeMyISO("/Tmp/MyDistro.ISO.C"); -// Study the account examples Config Strs, Update Funs. +// Study the account examples Config Strs, Update Funs.
diff --git a/docs/Misc/OSInstall.html b/docs/Misc/OSInstall.html index 8d80553c..e13e713d 100755 --- a/docs/Misc/OSInstall.html +++ b/docs/Misc/OSInstall.html @@ -75,7 +75,7 @@ body {background-color:#000000;} }
U0 OSFilesMerge(U8 *dst_files_find_mask="/*", U8 *src_files_find_mask="/*", U8 *fu_flags=NULL) -{ // See Merge. +{ // See Merge. I64 df_flags = 0, fuf_flags = 0; CDirEntry *tmpde1 = NULL, *tmpde2 = NULL; diff --git a/docs/Misc/OSMerge.html b/docs/Misc/OSMerge.html index 0377ef8b..cc8f6533 100755 --- a/docs/Misc/OSMerge.html +++ b/docs/Misc/OSMerge.html @@ -75,7 +75,7 @@ body {background-color:#000000;} } U0 OSFilesMerge(U8 *dst_files_find_mask="/*", U8 *src_files_find_mask="/*", U8 *fu_flags=NULL) -{ // See Merge. +{ // See Merge. I64 df_flags = 0, fuf_flags = 0; CDirEntry *tmpde1 = NULL, *tmpde2 = NULL; diff --git a/docs/Misc/OSTestSuite.html b/docs/Misc/OSTestSuite.html index ffa87f72..9911a24f 100755 --- a/docs/Misc/OSTestSuite.html +++ b/docs/Misc/OSTestSuite.html @@ -29,7 +29,7 @@ body {background-color:#000000;} F64 ts_t0; U0 TS(U8 *desc) -{//We must set these because an app can call ProgressBarsReset. +{//We must set these because an app can call ProgressBarsReset. U8 *st = MStrPrint("%d. %s", ts_i, desc); if (*desc) diff --git a/docs/Misc/Tour/Tour1.html b/docs/Misc/Tour/Tour1.html index f5e534a6..f3e0cc4f 100755 --- a/docs/Misc/Tour/Tour1.html +++ b/docs/Misc/Tour/Tour1.html @@ -34,7 +34,7 @@ body {background-color:#000000;} "The $GREEN$<F1>$FG$ key works both in " "the editor and at the command line.\n" "\n" - "You can find the Demo Index on the help index.\n"); + "You can find the Demo Index on the help index.\n"); InKeyGet(SC_F1); TourPut("Press $GREEN$<SHIFT-ESC>$FG$ to abort and exit.\n"); diff --git a/docs/Misc/Tour/Tour3.html b/docs/Misc/Tour/Tour3.html index ae37b0e6..ca14a34a 100755 --- a/docs/Misc/Tour/Tour3.html +++ b/docs/Misc/Tour/Tour3.html @@ -110,7 +110,7 @@ body {background-color:#000000;} InUntilChar(CH_ESC, CH_SHIFT_ESC); -TourPut( "Explore the $RED$DemoIndex$FG$. " +TourPut( "Explore the $RED$DemoIndex$FG$. " "You'll find it on your menu. It's arranged by difficulty. " "Hit $GREEN$<SPACE>$FG$ on a demo index listing " "and $GREEN$<F5>$FG$ to run from the editor.\n", TRUE); diff --git a/docs/Misc/Tour/index.html b/docs/Misc/Tour/index.html new file mode 100755 index 00000000..984ad750 --- /dev/null +++ b/docs/Misc/Tour/index.html @@ -0,0 +1,46 @@ + + + + + + + + +
+Directory of C:/Misc/Tour
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/01 15:58 0CBE Tour.IN
+11/25 01:03 0696 Tour1.IN
+11/25 01:03 088D Tour2.IN
+07/01 15:58 0CEF Tour3.IN
+11/25 01:03 0C3F Tour4.IN
+11/25 01:02 038B Tour5.IN
+11/25 01:02 0621 Tour6.IN
+11/25 01:02 071D Tour7.IN
+07/01 15:58 031E Tour8.IN
+11/25 01:01 0261 Tour9.IN
+11/25 01:01 04F8 TourA.IN
+11/25 00:52 0278 TourB.IN
+07/01 15:58 0129 TourC.IN
+
+ diff --git a/docs/Misc/index.html b/docs/Misc/index.html new file mode 100755 index 00000000..6e5498c8 --- /dev/null +++ b/docs/Misc/index.html @@ -0,0 +1,40 @@ + + + + + + + + +
+Directory of C:/Misc
+DATE_ TIME_   SIZE
+07/02 23:10 000000 .
+07/02 23:10 000000 ..
+07/02 23:10 000000 Tour
+07/02 04:17 000675 DoDistro.CC
+07/02 18:41 001F5A OSInstall.CC
+07/02 04:08 0008EC OSMerge.CC
+07/01 16:07 00CE91 OSTestSuite.CC
+07/01 22:59 05EF73 PCIDevices.DD
+06/27 17:20 424969 Bible.TXT
+
+ diff --git a/docs/Once.html b/docs/Once.html index 555e9877..54c79a23 100755 --- a/docs/Once.html +++ b/docs/Once.html @@ -30,7 +30,7 @@ body {background-color:#000000;}
//This file is executed by the //first terminal window upon start-up. -//See Once and Home Files. +//See Once and Home Files. //Delete the rest from this file. diff --git a/docs/PersonalMenu.html b/docs/PersonalMenu.html index 32d2cbda..7e50ea8a 100755 --- a/docs/PersonalMenu.html +++ b/docs/PersonalMenu.html @@ -53,17 +53,17 @@ body {background-color:#000000;} Cd("::/Demo/AcctExample");Dir; -Make all with BootHDIns(). +Make all with BootHDIns(). Cd("::/Kernel");Dir; Cd("::/Compiler");Dir; -The
::/StartOS.CC file is compiled every time you boot. +The ::/StartOS.CC file is compiled every time you boot. Cd("::/System");Dir; -Welcome Help & Index Demo Index +Welcome Help & Index Demo Index FastReboot Take Tour Key Map diff --git a/docs/StartOS.html b/docs/StartOS.html index 2aa41bd2..e3df530a 100755 --- a/docs/StartOS.html +++ b/docs/StartOS.html @@ -26,7 +26,7 @@ body {background-color:#000000;}
 //This is executed by the System task at boot.
-//See System Start-up.
+//See System Start-up.
 
 #help_index "Compiler/Directive"
 public extern I8i Option(I64i num, I8i val);
diff --git a/docs/System/AutoComplete/ACDictGen.html b/docs/System/AutoComplete/ACDictGen.html
index 2424be83..6754054d 100755
--- a/docs/System/AutoComplete/ACDictGen.html
+++ b/docs/System/AutoComplete/ACDictGen.html
@@ -31,7 +31,7 @@ body {background-color:#000000;}
 files from a raw Project Gutenberg
 dictionary file.
 
-See ::/Doc/Credits.DD.
+See ::/Doc/Credits.DD.
 */
 
 U0 ACDPreprocess(U8 *in_name, U8 *out_name)
diff --git a/docs/System/AutoComplete/MakeAC.html b/docs/System/AutoComplete/MakeAC.html
index c3c707ba..55203799 100755
--- a/docs/System/AutoComplete/MakeAC.html
+++ b/docs/System/AutoComplete/MakeAC.html
@@ -25,7 +25,7 @@ body {background-color:#000000;}
 
 
 
-//See ::/Doc/AutoComplete.DD
+//See ::/Doc/AutoComplete.DD
 Cd(__DIR__);;
 
 #include "ACFill"
diff --git a/docs/System/AutoComplete/index.html b/docs/System/AutoComplete/index.html
new file mode 100755
index 00000000..6432fbc4
--- /dev/null
+++ b/docs/System/AutoComplete/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/System/AutoComplete
+DATE_ TIME_    SIZE
+07/02 23:10 0000000 .
+07/02 23:10 0000000 ..
+11/16 03:10 0001905 ACDictGen.CC
+12/22 02:53 00014E4 ACFill.CC
+07/01 16:07 0000BE2 ACInit.CC
+11/16 03:46 0001F1C ACTask.CC
+11/16 03:29 0000075 MakeAC.CC
+09/18 17:14 1928B11 ACDefs.DATA
+09/18 17:14 013222A ACWords.DATA
+
+ diff --git a/docs/System/BlkDev/DiskCheck.html b/docs/System/BlkDev/DiskCheck.html index 05b1a84b..c47eeed6 100755 --- a/docs/System/BlkDev/DiskCheck.html +++ b/docs/System/BlkDev/DiskCheck.html @@ -237,7 +237,7 @@ body {background-color:#000000;} errs +=
FAT32CheckDiskList(drive, FilesFind(files_find_mask, FUF_RECURSE), bits, bits2, size, bpc); - bits2[1] = 0; //See FAT32Format() + bits2[1] = 0; //See FAT32Format() for (i = 1; i < size; i++) if (bits2[i]) { @@ -296,7 +296,7 @@ body {background-color:#000000;} U8 *bitmap; CDC *dc = DCAlias; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush WinMax; WinBorder(ON); DocCursor; @@ -343,7 +343,7 @@ body {background-color:#000000;} U32 *bitmap; CDC *dc = DCAlias; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush WinMax; WinBorder(ON); DocCursor; @@ -414,7 +414,7 @@ body {background-color:#000000;} CDC *dc = DCAlias; F64 sect_start, sect_end; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush DocCursor; DocClear; DCFill; diff --git a/docs/System/BlkDev/FileMgr.html b/docs/System/BlkDev/FileMgr.html index c945f06d..eed7f81c 100755 --- a/docs/System/BlkDev/FileMgr.html +++ b/docs/System/BlkDev/FileMgr.html @@ -711,7 +711,7 @@ body {background-color:#000000;} CDocEntry *doc_ce = NULL, *doc_e; Bool okay; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush fp_old_final_screen_update = gr.fp_final_screen_update; MenuFilePush("::/Doc/FileMgrPullDown.DD"); FMRebuildDoc(&doc, &head, mode); diff --git a/docs/System/BlkDev/Mount.html b/docs/System/BlkDev/Mount.html index fd487306..e0ad8ffa 100755 --- a/docs/System/BlkDev/Mount.html +++ b/docs/System/BlkDev/Mount.html @@ -115,7 +115,7 @@ body {background-color:#000000;} #help_index "Install;File/Cmd Line (Typically);Cmd Line (Typically);" U8 Mount2(U8 boot_drive_let, CDoc *_doc, Bool _caller_is_prtdisk) -{//If _doc, called by ::/Kernel/KConfig.CC else called by Mount(). +{//If _doc, called by ::/Kernel/KConfig.CC else called by Mount(). I64 count, total = 0, num_hints, drv_let, type, unit, prt_num, port = -1; U8 blks_buf[STR_LEN], addr_buf[STR_LEN], port_str[STR_LEN], *filename = NULL, *filename2 = NULL, res = 0; @@ -143,12 +143,12 @@ body {background-color:#000000;} { whole_drive = FALSE; if (_doc) - { //Called by ::/Kernel/KConfig.CC + { //Called by ::/Kernel/KConfig.CC doc = _doc; make_free = FALSE; } else - { //Called by Mount() + { //Called by Mount() doc = DocNew; DocPrint(doc, "CBlkDev *bd;\n"); make_free = TRUE; @@ -174,7 +174,7 @@ body {background-color:#000000;} case BDT_ATAPI: num_hints = SATARep; if (type == BDT_ATAPI && boot_drive_let) - "<ENTER> to use booted CD/DVD\n"; //Only ::/Kernel/KConfig.CC + "<ENTER> to use booted CD/DVD\n"; //Only ::/Kernel/KConfig.CC do { if (num_hints) @@ -218,7 +218,7 @@ body {background-color:#000000;} if (type == BDT_ATAPI && !*port_str && _doc) { DocPrint(doc, "\"AHCIBootDVDProbeAll(bd);\n\";\n"); - DocPrint(doc, "AHCIBootDVDProbeAll(bd);\n"); //Only ::/Kernel/KConfig.CC + DocPrint(doc, "AHCIBootDVDProbeAll(bd);\n"); //Only ::/Kernel/KConfig.CC if (drv_let == boot_drive_let) make_free = TRUE; @@ -232,10 +232,10 @@ body {background-color:#000000;} } DocPrint(doc, "\"BlkDevAdd(bd, 0x%0X, %d, %d);\n\";\n", prt_num, whole_drive, make_free); DocPrint(doc, "BlkDevAdd(bd, 0x%0X, %d, %d);\n", prt_num, whole_drive, make_free); - if (_doc) //Called by ::/Kernel/KConfig.CC + if (_doc) //Called by ::/Kernel/KConfig.CC count++; else - { //Called by Mount() + { //Called by Mount() if ((count = ExeDoc(doc)) && whole_drive) { if (_caller_is_prtdisk) @@ -251,7 +251,7 @@ body {background-color:#000000;} } total += count; } - while (count && !_caller_is_prtdisk || !total && _doc); //At least 1 if Called by ::/Kernel/KConfig.CC + while (count && !_caller_is_prtdisk || !total && _doc); //At least 1 if Called by ::/Kernel/KConfig.CC Free(filename); Free(filename2); @@ -272,7 +272,7 @@ body {background-color:#000000;} public U8 MountFile(U8 *filename) {//Mount ISO.C file. U8 *filename2 = ExtDefault(filename, "ISO.C"), *filename3 = FileNameAbs(filename2); - CDrive *drive = DriveMakeFreeSlot(DriveNextFreeLet('M')); //First BDT_ISO_FILE_READ + CDrive *drive = DriveMakeFreeSlot(DriveNextFreeLet('M')); //First BDT_ISO_FILE_READ CBlkDev *bd = BlkDevNextFreeSlot(drive->drv_let, BDT_ISO_FILE_READ); bd->drv_offset = 19 << 2 + (DVD_BLK_SIZE * 2 + DVD_BOOT_LOADER_SIZE) / BLK_SIZE; diff --git a/docs/System/BlkDev/ZDiskA.html b/docs/System/BlkDev/ZDiskA.html index dddfc8d0..bca1c406 100755 --- a/docs/System/BlkDev/ZDiskA.html +++ b/docs/System/BlkDev/ZDiskA.html @@ -30,7 +30,7 @@ body {background-color:#000000;} {//Dump disk block. Optionally, write. //If you set write to TRUE, the block will //be written when you press <ESC>. - //See ::/Demo/Disk/DiskRaw.CC. + //See ::/Demo/Disk/DiskRaw.CC. U8 *buf = MAlloc(BLK_SIZE); BlkRead(Fs->cur_dv, buf, blk, 1); @@ -52,8 +52,8 @@ body {background-color:#000000;} {//Dump disk clus. Optionally, write. //If you set write to TRUE, the clus will //be written when you press <ESC>. - //See ::/Demo/Disk/DiskRaw.CC. - //Do Dir("*",TRUE); to get clus numbers of files. + //See ::/Demo/Disk/DiskRaw.CC. + //Do Dir("*",TRUE); to get clus numbers of files. U8 *buf = MAlloc(Fs->cur_dv->spc << BLK_SIZE_BITS); c = ClusNumNext(Fs->cur_dv, c, num); @@ -309,7 +309,7 @@ body {background-color:#000000;} Default lists attributes. attr: "+?" =show current "+T" =resident -RS_ATTR_READ_ONLY ST_FILE_ATTRS +RS_ATTR_READ_ONLY ST_FILE_ATTRS To Set DateL: Touch(filename,"",,datetime); */ diff --git a/docs/System/BlkDev/ZDiskB.html b/docs/System/BlkDev/ZDiskB.html index 11421c40..252a21e1 100755 --- a/docs/System/BlkDev/ZDiskB.html +++ b/docs/System/BlkDev/ZDiskB.html @@ -64,7 +64,7 @@ body {background-color:#000000;} return res + 1; } public U8 *DirTreeSerialize(CDirEntry *tmpde, I64 *_size=NULL) -{//Serialize tree returned from FilesFind() into a one contiguous U8 array. +{//Serialize tree returned from FilesFind() into a one contiguous U8 array. I64 size = DirTreeSerializeSize(tmpde); U8 *buf = MAlloc(size); @@ -95,7 +95,7 @@ body {background-color:#000000;} return src; } public CDirEntry *DirTreeUnserialize(U8 *src) -{//Unserialize tree to make it like a tree returned from FilesFind(). +{//Unserialize tree to make it like a tree returned from FilesFind(). CDirEntry *tmpde = NULL; DirTreeUnserialize2(src, &tmpde); @@ -162,7 +162,7 @@ body {background-color:#000000;} } public I64 FileCount(CDirEntry *tmpde) -{//Count of files in CDirEntry tree. +{//Count of files in CDirEntry tree. I64 count = 0; while (tmpde) diff --git a/docs/System/BlkDev/index.html b/docs/System/BlkDev/index.html new file mode 100755 index 00000000..2ec8b587 --- /dev/null +++ b/docs/System/BlkDev/index.html @@ -0,0 +1,40 @@ + + + + + + + + +
+Directory of C:/System/BlkDev
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/22 03:04 2C8E DiskCheck.CC
+07/02 17:04 11A9 DiskPart.CC
+07/02 00:36 4F32 FileMgr.CC
+02/15 19:42 008A MakeZBlkDev.CC
+07/02 17:14 1DD5 Mount.CC
+11/24 02:23 19D3 ZDiskA.CC
+11/24 02:24 0DD0 ZDiskB.CC
+
+ diff --git a/docs/System/Boot/BootDVD.html b/docs/System/Boot/BootDVD.html index 49830afb..ce8fb187 100755 --- a/docs/System/Boot/BootDVD.html +++ b/docs/System/Boot/BootDVD.html @@ -204,7 +204,7 @@ body {background-color:#000000;}
//The assembler doesn't support 16-bit very well. DU8 0xEA; //JMP BOOT_RAM_BASE:0000 DU16 0, BOOT_RAM_BASE / 16; -//Continues here ::/Kernel/KStart16.CC +//Continues here ::/Kernel/KStart16.CC BDVD_END:: #assert BDVD_END-BDVD_START < DVD_BOOT_LOADER_SIZE } diff --git a/docs/System/Boot/BootDVDIns.html b/docs/System/Boot/BootDVDIns.html index 43051baf..1696d656 100755 --- a/docs/System/Boot/BootDVDIns.html +++ b/docs/System/Boot/BootDVDIns.html @@ -25,8 +25,8 @@ body {background-color:#000000;}
-//See Install Documentation.
-//Study the account examples: Config Strs, Update Funs
+//See Install Documentation.
+//Study the account examples: Config Strs, Update Funs
 
 #include "BootDVD"
 #include "DiskISORedSea"
@@ -46,7 +46,7 @@ body {background-color:#000000;}
 }
 
 public U0 BootDVDIns(U8 drv_let=0)
-{//See ::/Misc/DoDistro.CC.
+{//See ::/Misc/DoDistro.CC.
         try
         {
                 if (!Drive(drv_let))
diff --git a/docs/System/Boot/BootHD.html b/docs/System/Boot/BootHD.html
index f75aec1f..78a5bc6e 100755
--- a/docs/System/Boot/BootHD.html
+++ b/docs/System/Boot/BootHD.html
@@ -69,12 +69,12 @@ body {background-color:#000000;}
 
 BHD_BIOS_DRIVE_NUM:     DU8 0;
 
-//Gets patched by BootHDIns().
+//Gets patched by BootHDIns().
 BHD_BLK_COUNT:: DU16            0;
 
 BHD_DAP:                DU8             16, 0, 1, 0; //One blk at a time
 BHD_DAP_BUF:    DU16            0, 0;
-//Gets patched by BootHDIns().
+//Gets patched by BootHDIns().
 BHD_DAP_BLK::   //64-bit
 BHD_DAP_BLK_LO: DU32            0;
 BHD_DAP_BLK_HI: DU32            0;
@@ -112,7 +112,7 @@ body {background-color:#000000;}
 //The assembler doesn't support 16-bit very well.
                                 DU8             0xEA;   //JMP BOOT_RAM_BASE:0000
                                 DU16            0, BOOT_RAM_BASE / 16;
-//Continues here ::/Kernel/KStart16.CC
+//Continues here ::/Kernel/KStart16.CC
 BHD_END::
 #assert BHD_END - BHD_START < MODULE_SIZE - 2
 }
diff --git a/docs/System/Boot/BootHDIns.html b/docs/System/Boot/BootHDIns.html
index 2bee6e3f..07ba4b5e 100755
--- a/docs/System/Boot/BootHDIns.html
+++ b/docs/System/Boot/BootHDIns.html
@@ -25,8 +25,8 @@ body {background-color:#000000;}
 
 
 
-//See Install Documentation.
-//Study the account examples: Config Strs, Update Funs
+//See Install Documentation.
+//Study the account examples: Config Strs, Update Funs
 
 #include "BootHD"
 
@@ -49,7 +49,7 @@ body {background-color:#000000;}
 }
 
 public U0 BootHDIns(U8 drv_let=0)
-{//MakeAll and install new boot-loader.
+{//MakeAll and install new boot-loader.
         CDrive          *drive;
         CFAT32Boot       br;
         CDirEntry        de;
diff --git a/docs/System/Boot/BootMHD.html b/docs/System/Boot/BootMHD.html
index 8c66f908..26fc6b8d 100755
--- a/docs/System/Boot/BootMHD.html
+++ b/docs/System/Boot/BootMHD.html
@@ -83,12 +83,12 @@ body {background-color:#000000;}
 
 BMHD_BIOS_DRIVE_NUM:    DU8             0;
 BMHD_OLD_CS_RIP:                DU16            0, 0;
-//Gets patched by BootHDIns().
+//Gets patched by BootHDIns().
 BMHD_BLK_COUNT::                DU16            0;
 
 BMHD_DAP:                               DU8             16, 0, 1, 0; //One blk at a time
 BMHD_DAP_BUF:                   DU16            0, 0;
-//Gets patched by BootHDIns().
+//Gets patched by BootHDIns().
 BMHD_DAP_BLK::  //64-bit
 BMHD_DAP_BLK_LO:                DU32            0;
 BMHD_DAP_BLK_HI:                DU32            0;
@@ -126,7 +126,7 @@ body {background-color:#000000;}
 //The assembler doesn't support 16-bit very well.
                                 DU8             0xEA;   //JMP BOOT_RAM_BASE:0000
                                 DU16            0, BOOT_RAM_BASE / 16;
-//Continues here BMHD2_START
+//Continues here BMHD2_START
 BMHD_END::
 #assert BMHD_END-BMHD_START <= 440
 }
diff --git a/docs/System/Boot/BootMHD2.html b/docs/System/Boot/BootMHD2.html
index 86435c34..1e087931 100755
--- a/docs/System/Boot/BootMHD2.html
+++ b/docs/System/Boot/BootMHD2.html
@@ -143,7 +143,7 @@ body {background-color:#000000;}
 BMHD2_OLD_CS_RIP:
                                 DU16            0, 0;
 BMHD2_END::
-//Continues here ::/System/Boot/BootHD.CC
+//Continues here ::/System/Boot/BootHD.CC
 #assert BMHD2_END - BMHD2_START < MODULE_SIZE
 }
 
diff --git a/docs/System/Boot/BootMHDIns.html b/docs/System/Boot/BootMHDIns.html index 3886a597..a3119bb0 100755 --- a/docs/System/Boot/BootMHDIns.html +++ b/docs/System/Boot/BootMHDIns.html @@ -25,8 +25,8 @@ body {background-color:#000000;}
-//See Install Documentation.
-//Study the account examples: Config Strs, Update Funs
+//See Install Documentation.
+//Study the account examples: Config Strs, Update Funs
 
 #include "BootMHD"
 #include "BootMHD2"
diff --git a/docs/System/Boot/DiskISORedSea.html b/docs/System/Boot/DiskISORedSea.html
index 9e25ce1b..5a99f52f 100755
--- a/docs/System/Boot/DiskISORedSea.html
+++ b/docs/System/Boot/DiskISORedSea.html
@@ -175,11 +175,11 @@ body {background-color:#000000;}
 }
 
 public I64 RedSeaISO(U8 *_iso_filename=NULL, U8 *_src_dir, U8 *_stage2_filename=NULL)
-{//See ::/Misc/DoDistro.CC. Must be ISO.C
+{//See ::/Misc/DoDistro.CC. Must be ISO.C
         I64                      i, res, root_count, root_dir_blks, bitmap_blks, bitmap_blks1;
         CDirEntry       *tmpde;
         U8                       buf[STR_LEN], *iso_filename, *src_dir, *stage2_filename;
-        CDrive          *drive = DriveMakeFreeSlot(DriveNextFreeLet('Q')); //First BDT_ISO_FILE_WRITE
+        CDrive          *drive = DriveMakeFreeSlot(DriveNextFreeLet('Q')); //First BDT_ISO_FILE_WRITE
         CBlkDev         *bd = BlkDevNextFreeSlot(drive->drv_let, BDT_ISO_FILE_WRITE);
 
         if (!IsDir(_src_dir))
diff --git a/docs/System/Boot/index.html b/docs/System/Boot/index.html
new file mode 100755
index 00000000..6bc49d6b
--- /dev/null
+++ b/docs/System/Boot/index.html
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/System/Boot
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 04:17 11FE BootDVD.CC
+07/02 04:17 0300 BootDVDIns.CC
+07/02 04:17 08F6 BootHD.CC
+07/02 04:18 06AB BootHDIns.CC
+07/02 04:18 09FB BootMHD.CC
+07/02 04:18 0B4D BootMHD2.CC
+07/02 17:04 1105 BootMHDIns.CC
+11/16 00:07 0624 BootRAM.CC
+07/01 15:58 1681 DiskISORedSea.CC
+11/15 21:01 006F MakeBoot.CC
+
+ diff --git a/docs/System/Ctrls/CtrlsA.html b/docs/System/Ctrls/CtrlsA.html index ff6a99e1..63dbb9e7 100755 --- a/docs/System/Ctrls/CtrlsA.html +++ b/docs/System/Ctrls/CtrlsA.html @@ -26,7 +26,7 @@ body {background-color:#000000;}
 public CCtrl *CtrlFindUnique(CTask *haystack_task, I64 needle_type)
-{//Find task ctrl given ctrl_type.
+{//Find task ctrl given ctrl_type.
         CCtrl *c;
 
         c = haystack_task->next_ctrl;
@@ -393,7 +393,7 @@ body {background-color:#000000;}
 }
 
 public CCtrl *ViewAnglesNew(CTask *task=NULL)
-{//Create view angle ctrl. See ::/Demo/Graphics/Shading.CC.
+{//Create view angle ctrl. See ::/Demo/Graphics/Shading.CC.
         CCtrl           *c;
         CViewAngles *s;
 
diff --git a/docs/System/Ctrls/CtrlsBttn.html b/docs/System/Ctrls/CtrlsBttn.html
index 6bb21ecb..405a6243 100755
--- a/docs/System/Ctrls/CtrlsBttn.html
+++ b/docs/System/Ctrls/CtrlsBttn.html
@@ -70,7 +70,7 @@ body {background-color:#000000;}
 
 public CCtrl *CtrlBttnNew(I64 x, I64 y, I64 width=-1, I64 height=-1,
                                                   I64 num_states=1, U8 *state_texts, I32 *state_colors, CCtrlBttnState *_s=NULL)
-{//Create bttn ctrl. See ::/Apps/Strut/Strut.CC.
+{//Create bttn ctrl. See ::/Apps/Strut/Strut.CC.
         CCtrl                   *res;
         CCtrlBttnState  *s;
         I64                              i,j,l;
diff --git a/docs/System/Ctrls/index.html b/docs/System/Ctrls/index.html
new file mode 100755
index 00000000..64617663
--- /dev/null
+++ b/docs/System/Ctrls/index.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/System/Ctrls
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 13:49 2FA4 CtrlsA.CC
+11/16 04:51 08D0 CtrlsBttn.CC
+11/18 19:26 1536 CtrlsSlider.CC
+11/16 05:26 0087 MakeCtrls.CC
+
+ diff --git a/docs/System/Debug.html b/docs/System/Debug.html index 391ee73a..61ab609e 100755 --- a/docs/System/Debug.html +++ b/docs/System/Debug.html @@ -28,7 +28,7 @@ body {background-color:#000000;} #help_index "Debugging/Dump" Bool ClassRep2(CDoc *doc, U8 *_d, U8 *class_name=lastclass, Bool u8_chars, Bool force, I64 depth, I64 max_depth, Bool dynamic, I64 types=HTT_CLASS, I64 offset=0) -{//See ::/Demo/LastClass.CC. +{//See ::/Demo/LastClass.CC. I64 i, j, stars, *ptr; CMemberList *ml; CDocEntry *doc_e; diff --git a/docs/System/Define.html b/docs/System/Define.html index 5f8e23ea..c4b9bf98 100755 --- a/docs/System/Define.html +++ b/docs/System/Define.html @@ -38,7 +38,7 @@ body {background-color:#000000;} bfh(I64) += bfh->file_size - 1; DefinePrint("DD_KERNEL_END", "%08X", bfh); - //DD_BOOT_HIGH_LOC_DVD + //DD_BOOT_HIGH_LOC_DVD +] LineRep diff --git a/docs/System/DevInfo.html b/docs/System/DevInfo.html index 6333f0eb..cd527b0b 100755 --- a/docs/System/DevInfo.html +++ b/docs/System/DevInfo.html @@ -78,7 +78,7 @@ body {background-color:#000000;} } ****/ -//::/Misc/PCIDevices.DD +//::/Misc/PCIDevices.DD U0 PCILookUpSingle(CDoc *doc, I64 m, I64 d, U8 **_vendor, U8 **_dev) { Bool first = TRUE; @@ -259,10 +259,10 @@ body {background-color:#000000;} CMemRange *tmpmr; "$PURPLE$Standard Addresses$FG$\n" - "FEE00000-FEE00FFF See APIC\n\n" + "FEE00000-FEE00FFF See APIC\n\n" "$PURPLE$VBE Linear Framebuffer$FG$\n" - "%08X-%08X See VBE Mode\n", text.fb_alias, + "%08X-%08X See VBE Mode\n", text.fb_alias, text.fb_alias(U8 *) + text.buffer_size - 1; "\n$PURPLE$32 Bit Device Mem$FG$\n"; while (LBts(&sys_semas[SEMA_DEV_MEM], 0)) diff --git a/docs/System/DolDoc/DocChar.html b/docs/System/DolDoc/DocChar.html index e319630e..ef91a51c 100755 --- a/docs/System/DolDoc/DocChar.html +++ b/docs/System/DolDoc/DocChar.html @@ -28,7 +28,7 @@ body {background-color:#000000;} #help_index "DolDoc/Editor" public I64 EdCurU8(CDoc *doc) -{//Return cur U8. See EdRenumAsm for an example. +{//Return cur U8. See EdRenumAsm for an example. Bool unlock = DocLock(doc); CDocEntry *doc_ce = doc->cur_entry; I64 res = -1; @@ -46,8 +46,8 @@ body {background-color:#000000;} } public U0 EdCursorLeft(CDoc *doc, I64 sc=I64_MIN) -{//Move cursor left. Might need a call to DocRecalc(). -//See EdRenumAsm for an example. +{//Move cursor left. Might need a call to DocRecalc(). +//See EdRenumAsm for an example. U8 *dst; Bool unlock = DocLock(doc); CDocEntry *doc_ce = doc->cur_entry, *original_ce = doc_ce, *doc_ne; @@ -132,8 +132,8 @@ body {background-color:#000000;} } public U0 EdCursorRight(CDoc *doc, I64 sc=I64_MIN) -{//Move cursor right. Might need a call to DocRecalc(). -//See EdRenumAsm for an example. +{//Move cursor right. Might need a call to DocRecalc(). +//See EdRenumAsm for an example. Bool unlock = DocLock(doc); U8 *dst; CDocEntry *doc_ce = doc->cur_entry, *original_ce = doc_ce, *doc_ne; @@ -223,8 +223,8 @@ body {background-color:#000000;} } public U0 EdLineUp(CDoc *doc, I64 sc=I64_MIN) -{//Move cursor up. Might need a call to DocRecalc(). -//See EdRenumAsm for an example. +{//Move cursor up. Might need a call to DocRecalc(). +//See EdRenumAsm for an example. Bool unlock = DocLock(doc); U8 *dst; I64 y, x; @@ -358,8 +358,8 @@ body {background-color:#000000;} } public U0 EdLineDown(CDoc *doc, I64 sc=I64_MIN) -{//Move cursor down. Might need a call to DocRecalc(). -//See EdRenumAsm for an example. +{//Move cursor down. Might need a call to DocRecalc(). +//See EdRenumAsm for an example. Bool unlock = DocLock(doc); U8 *dst; I64 y, x, old_de_flags = 0, old_color; @@ -739,7 +739,7 @@ body {background-color:#000000;} MemCopy(st, doc_ce->tag, doc_ce->max_col + 1); Free(doc_ce->tag); doc_ce->tag = st; - doc_ce->len = MSize(st) - doc_ce->min_col - 2; //See DataTagWidth + doc_ce->len = MSize(st) - doc_ce->min_col - 2; //See DataTagWidth Free(doc_ce->data); doc_ce->data = MAlloc(doc_ce->len + 2, doc->mem_task); } diff --git a/docs/System/DolDoc/DocClipBoard.html b/docs/System/DolDoc/DocClipBoard.html index eeec6e59..00e44097 100755 --- a/docs/System/DolDoc/DocClipBoard.html +++ b/docs/System/DolDoc/DocClipBoard.html @@ -35,7 +35,7 @@ body {background-color:#000000;} } public U0 ClipCopy(CDoc *doc) -{//Copy DOCET_SEL flagged entries to clip. +{//Copy DOCET_SEL flagged entries to clip. CDoc *doc2 = sys_clip_doc; Bool unlock_doc = DocLock(doc), unlock_doc2 = DocLock(doc2); CDocEntry *doc_e = doc->head.next, *doc_ne; diff --git a/docs/System/DolDoc/DocDblBuf.html b/docs/System/DolDoc/DocDblBuf.html index a250cf25..b701317c 100755 --- a/docs/System/DolDoc/DocDblBuf.html +++ b/docs/System/DolDoc/DocDblBuf.html @@ -69,7 +69,7 @@ body {background-color:#000000;} } public CDoc *DocDblBufStart(CTask *task=NULL) -{//See ::/Demo/Spy.CC +{//See ::/Demo/Spy.CC Bool unlock_ddoc; CDoc *pdoc = DocPut(task), *ddoc = DocDisplay(task), *res; @@ -103,7 +103,7 @@ body {background-color:#000000;} } public Bool DocDblBufEnd(CTask *task=NULL) -{//See ::/Demo/Spy.CC +{//See ::/Demo/Spy.CC Bool res = FALSE; CDoc *pdoc = DocPut(task), *ddoc = DocDisplay(task); @@ -124,7 +124,7 @@ body {background-color:#000000;} } public Bool DocDblBufSwap(CTask *task=NULL) -{//See ::/Demo/Spy.CC +{//See ::/Demo/Spy.CC Bool res = FALSE; CDoc *pdoc = DocPut(task), *ddoc = DocDisplay(task); diff --git a/docs/System/DolDoc/DocFile.html b/docs/System/DolDoc/DocFile.html index e0a35dfd..88646734 100755 --- a/docs/System/DolDoc/DocFile.html +++ b/docs/System/DolDoc/DocFile.html @@ -37,7 +37,7 @@ body {background-color:#000000;} doc->find_replace->filter_lines = 0; if (src2) { - DocPutS(doc, src2); //Too big DocPrint() is wasteful. + DocPutS(doc, src2); //Too big DocPrint() is wasteful. src = src2 + StrLen(src2) + 1; i = size - (offset(CDocBin.end) - offset(CDocBin.start)); while (src <= src2 + i) @@ -58,13 +58,13 @@ body {background-color:#000000;} } if (!(doc->flags & (DOCF_PLAIN_TEXT | DOCF_PLAIN_TEXT_TABS))) DocBinsValidate(doc); - DocTop(doc); //Calls DocRecalc(). DOCT_CURSOR will be set. + DocTop(doc); //Calls DocRecalc(). DOCT_CURSOR will be set. if (unlock) DocUnlock(doc); } public CDoc *DocRead(U8 *name=NULL, I64 flags=0) -{//Fetch doc from disk. See flags. +{//Fetch doc from disk. See flags. CDoc *doc = DocNew; U8 *src, *name2; I64 size = 0; @@ -105,7 +105,7 @@ body {background-color:#000000;} { DocRecalc(doc, RECALCF_ADD_CURSOR); if (doc->head.next->type_u8 == DOCT_CURSOR) - DocEntryDel(doc, doc->head.next); //If no cursor, DocLoad() puts at top. + DocEntryDel(doc, doc->head.next); //If no cursor, DocLoad() puts at top. } for (doc_e = doc->head.next; doc_e != doc; doc_e = doc_e->next) { @@ -248,7 +248,7 @@ body {background-color:#000000;} #help_index "DolDoc" public U0 DocInsDoc(CDoc *doc=NULL, CDoc *doc2) {//Insert copy of doc2 into doc at insert pt, cur_entry. -//TODO: DocReset +//TODO: DocReset U8 *dst; Bool unlock_doc, unlock_doc2 = DocLock(doc2); CDocEntry *doc_ne, *doc_e = doc2->head.next, *doc_ce; @@ -293,7 +293,7 @@ body {background-color:#000000;} #help_index "DolDoc/Compiler;Compiler/Directive" public U0 StreamDoc(CDoc *doc) {//Inject doc into compile stream. Use inside #exe{}. -//TODO: DocReset +//TODO: DocReset Bool unlock_doc = DocLock(doc); CDocEntry *doc_e = doc->head.next; diff --git a/docs/System/DolDoc/DocFind.html b/docs/System/DolDoc/DocFind.html index d9e141cb..941dd96b 100755 --- a/docs/System/DolDoc/DocFind.html +++ b/docs/System/DolDoc/DocFind.html @@ -232,7 +232,7 @@ body {background-color:#000000;} } public U0 EdSelAll(CDoc *doc, Bool sel) -{//Set state of DOCET_SEL on all entries. +{//Set state of DOCET_SEL on all entries. Bool unlock = DocLock(doc); CDocEntry *doc_e = doc->head.next; @@ -420,7 +420,7 @@ body {background-color:#000000;} } public U0 EdSelFun(CDoc *doc, Bool abort_on_dbl_colon=FALSE) -{//Set DOCET_SEL on all entries in cur fun. +{//Set DOCET_SEL on all entries in cur fun. Bool unlock = DocLock(doc); U8 *ptr; I64 ch, levels = 0, colons = 0; diff --git a/docs/System/DolDoc/DocForm.html b/docs/System/DolDoc/DocForm.html index c4b45aa5..662a2534 100755 --- a/docs/System/DolDoc/DocForm.html +++ b/docs/System/DolDoc/DocForm.html @@ -143,7 +143,7 @@ body {background-color:#000000;} else { ptr2 = MAlloc(i + 8, doc->mem_task); - doc_e->len = MSize(ptr2) - doc_e->min_col - 2; //See DataTagWidth + doc_e->len = MSize(ptr2) - doc_e->min_col - 2; //See DataTagWidth MemCopy(ptr2, ptr, i + 1); Free(doc_e->tag); doc_e->tag = ptr2; @@ -289,7 +289,7 @@ body {background-color:#000000;} #help_index "DolDoc/Input;StdIn/DolDoc" public Bool DocForm(U8 *_d, U8 *class_name=lastclass, I64 dof_flags=0, U8 *header=NULL, U8 *footer=NULL) {//User input. Supply a class name that has format definitions. -//See ::/Demo/DolDoc/Form.CC and ::/Demo/LastClass.CC. +//See ::/Demo/DolDoc/Form.CC and ::/Demo/LastClass.CC. CMemberList *ml; CDocEntry *doc_e; U8 *format; @@ -327,7 +327,7 @@ body {background-color:#000000;} doc_e->len = ml->dim.total_count; if (doc_e->de_flags & DOCEF_HAS_TERMINATOR) doc_e->len--; - Free(doc_e->tag); //See DataTagWidth + Free(doc_e->tag); //See DataTagWidth doc_e->tag = MAlloc(doc_e->len + doc_e->min_col + 2, doc->mem_task); //+2 because "_\0" } } @@ -443,7 +443,7 @@ body {background-color:#000000;} } public Bool PopUpForm(U8 *_d, U8 *class_name=lastclass, I64 dof_flags=DOF_SIZE_MIN, U8 *header=NULL, U8 *footer=NULL) -{//See ::/Demo/DolDoc/Form.CC and ::/Demo/LastClass.CC. +{//See ::/Demo/DolDoc/Form.CC and ::/Demo/LastClass.CC. return PopUpPrint("DocForm(0x%X,0x%X,0x%X,0x%X,0x%X);", _d, class_name, dof_flags, header, footer); }
diff --git a/docs/System/DolDoc/DocGet.html b/docs/System/DolDoc/DocGet.html index 386c1d31..7911a01e 100755 --- a/docs/System/DolDoc/DocGet.html +++ b/docs/System/DolDoc/DocGet.html @@ -43,7 +43,7 @@ body {background-color:#000000;} }
public I64 DocKeyGet(I64 *_sc=NULL) -{//Called by View. You probably don't need this. +{//Called by View. You probably don't need this. I64 ch, sc; Bool cont, old_key_desc; @@ -143,7 +143,7 @@ body {background-color:#000000;} } U8 *DocGetStr2(I64 flags=0) -{//Flags +{//Flags CDoc *doc; CDocEntry *doc_e, *doc_e_end; U8 *st, *st2, *res; @@ -295,7 +295,7 @@ body {background-color:#000000;} } public CDate DateGet(U8 *message=NULL, CDate default=I64_MIN, CDate lo=I64_MIN, CDate hi=I64_MAX) -{//Prompt user for date expression. (Use Now() if you want current time.) +{//Prompt user for date expression. (Use Now() if you want current time.) U8 *st; CDate res; diff --git a/docs/System/DolDoc/DocGr.html b/docs/System/DolDoc/DocGr.html index 0e8e04ec..289615cd 100755 --- a/docs/System/DolDoc/DocGr.html +++ b/docs/System/DolDoc/DocGr.html @@ -47,7 +47,7 @@ body {background-color:#000000;} } public I64 PopUpColorLighting(U8 *header=NULL) -{//Chooser for std ZealOS DCLighting() color. +{//Chooser for std ZealOS DCLighting() color. I64 i; CDoc *doc = DocNew; @@ -166,7 +166,7 @@ body {background-color:#000000;} "%s", header; DocRecalc(DocPut); FramePtrAdd("DitherFrame", (DocPut->max_y + 1) * FONT_HEIGHT); - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush Fs->draw_it = &DrawIt; do { diff --git a/docs/System/DolDoc/DocHighlight.html b/docs/System/DolDoc/DocHighlight.html index 81490cef..453ea72d 100755 --- a/docs/System/DolDoc/DocHighlight.html +++ b/docs/System/DolDoc/DocHighlight.html @@ -33,7 +33,7 @@ body {background-color:#000000;} DOC_COLOR_KEYWORD, DOC_COLOR_KEYWORD, DOC_COLOR_REG, 0, 0, 0, 0}; U32 *DocHighlight(CDocEntry *doc_e, U8 *src, I64 len, I64 _tmp_u32_attr) -{//Be aware of ::/Demo/ToHtmlToTXTDemo/ToHtml.CC. +{//Be aware of ::/Demo/ToHtmlToTXTDemo/ToHtml.CC. U32 *res = MAlloc((len + 1) * sizeof(U32)), *dst = res; U8 *ptr; CDocSettings *s = &doc_e->settings; diff --git a/docs/System/DolDoc/DocInit.html b/docs/System/DolDoc/DocInit.html index 5a9b356e..b93b2c81 100755 --- a/docs/System/DolDoc/DocInit.html +++ b/docs/System/DolDoc/DocInit.html @@ -28,7 +28,7 @@ body {background-color:#000000;} #help_index "DolDoc" U0 DocInit() -{//CMD Defines +{//CMD Defines CCompCtrl *cc; I64 i; CHashGeneric *tmph; @@ -83,7 +83,7 @@ body {background-color:#000000;} if (Bt(&doldoc.default_de_flags[i], DOCEf_TAG) && i != DOCT_TEXT || i == DOCT_HEX_ED) Bts(doldoc.type_flags_form, i); - //Don't forget comp_type_flags_src_code. + //Don't forget comp_type_flags_src_code. doldoc.type_flags_nontag_invis[0] = 1 << DOCT_PROMPT | 1 << DOCT_PAGE_LEN | diff --git a/docs/System/DolDoc/DocLink.html b/docs/System/DolDoc/DocLink.html index 19c61e96..41ed16c1 100755 --- a/docs/System/DolDoc/DocLink.html +++ b/docs/System/DolDoc/DocLink.html @@ -27,7 +27,7 @@ body {background-color:#000000;}
 #help_index "DolDoc/Link"
 
-/* See ZealOS Link Types.
+/* See ZealOS Link Types.
 "filename"
 "FI:filename"
 "FA:haystack_filename,needle_anchor_str"
@@ -45,7 +45,7 @@ body {background-color:#000000;}
 "HI:index"
 "AD:code_address_number"
 
-To edit a doc structure already in memory. See SpriteEdText().
+To edit a doc structure already in memory. See SpriteEdText().
 "AI:doc_address"
 "AA:haystack_doc_address,needle_anchor_str"
 "AF:haystack_doc_address,needle_str"
@@ -65,7 +65,7 @@ body {background-color:#000000;}
 #define LK_DEF                  9
 #define LK_HELP_INDEX   10
 #define LK_ADDR                 11
-#define LK_DOC                  12 //See SpriteEdText()
+#define LK_DOC                  12 //See SpriteEdText()
 #define LK_DOC_ANCHOR   13
 #define LK_DOC_FIND     14
 #define LK_DOC_LINE     15
@@ -126,7 +126,7 @@ body {background-color:#000000;}
 
                 if (LK_DOC <= _type <= LK_DOC_LINE)
                 {
-                        doc = Str2I64(filename);//See SpriteEdText()
+                        doc = Str2I64(filename);//See SpriteEdText()
                         res = TRUE;
                 }
                 else
@@ -224,7 +224,7 @@ body {background-color:#000000;}
 #define DEFAULT_ADDR_LINK_BIN_SIZE      64
 
 public I64 EdLinkConvert(U8 *link_st, U8 **_filename=NULL, U8 **_needle_str=NULL, I64 *_num=NULL, I64 edf_dof_flags=0)
-{//Editor Link--> filename, needle_str and line number.
+{//Editor Link--> filename, needle_str and line number.
         U8                      *st, *ptr, *src, *filename = NULL, *needle_str = NULL, *filename2;
         I64                      res, i, num = 1;
         CHashSrcSym     *tmph;
@@ -367,7 +367,7 @@ body {background-color:#000000;}
 }
 
 public Bool DocLinkCheck(CDoc *doc, U8 *link_st)
-{//Check for bad Editor Link.
+{//Check for bad Editor Link.
         U8                      *filename, *st;
         Bool             res = FALSE;
         CDirContext     *dirc;
@@ -410,7 +410,7 @@ body {background-color:#000000;}
 }
 
 public U8 *DocLinkFile(U8 *link_st, CTask *mem_task=NULL)
-{//Return the file for an Editor Link Types.
+{//Return the file for an Editor Link Types.
         U8 *filename = NULL, *st, *res = NULL;
 
         if (link_st)
diff --git a/docs/System/DolDoc/DocNew.html b/docs/System/DolDoc/DocNew.html
index 7da92d13..fc535e91 100755
--- a/docs/System/DolDoc/DocNew.html
+++ b/docs/System/DolDoc/DocNew.html
@@ -68,7 +68,7 @@ body {background-color:#000000;}
 }
 
 CDocEntry *DocEntryNewBase(CDoc *doc, I64 type, I64 de_flags=0, I64 x=0, I64 y=0, I64 page_line_num=0)
-{//See also MAllocIdent and CDocEntry.
+{//See also MAllocIdent and CDocEntry.
         CDocEntry *res = CAlloc(sizeof(CDocEntryBase), doc->mem_task);
 
         res->type                       = type;
@@ -322,7 +322,7 @@ body {background-color:#000000;}
                         b = b1;
                 }
         }
-//Check DocInsDoc
+//Check DocInsDoc
         doc->flags &= DOCF_BREAK_UNLOCKED;
         doc->head.next = doc->head.last = doc;
         QueueInit(&doc->bin_head);
@@ -424,7 +424,7 @@ body {background-color:#000000;}
 
 #help_index "DolDoc"
 public CDoc *DocNew(U8 *filename=NULL, CTask *task=NULL)
-{//MAlloc new DolDoc. (Begin a new doc.)
+{//MAlloc new DolDoc. (Begin a new doc.)
         CDoc *doc;
 
         if (!task)
diff --git a/docs/System/DolDoc/DocPlain.html b/docs/System/DolDoc/DocPlain.html
index 35e56f8f..56c47fac 100755
--- a/docs/System/DolDoc/DocPlain.html
+++ b/docs/System/DolDoc/DocPlain.html
@@ -297,7 +297,7 @@ body {background-color:#000000;}
 }
 
 CDocEntry *ParseDollarCmd(CDoc *doc, U8 *st)
-{//Uses Lex() to parse a string and make Doc entries.
+{//Uses Lex() to parse a string and make Doc entries.
         I64                              i, j, de_flags, processed_flags, attr = DOC_DEFAULT;
         U8                              *ptr, *st2;
         CDocEntry               *doc_e = NULL;
@@ -461,7 +461,7 @@ body {background-color:#000000;}
                                                         Free(st2);
 //Anchor
                                                         if (i == DOCT_DATA)
-                                                        { //See DocForm()
+                                                        { //See DocForm()
                                                                 if (ptr = StrMatch(":", doc_e->aux_str))
                                                                         doc_e->min_col = ptr - doc_e->aux_str + 1;
 
diff --git a/docs/System/DolDoc/DocPopUp.html b/docs/System/DolDoc/DocPopUp.html
index b311f460..0a967060 100755
--- a/docs/System/DolDoc/DocPopUp.html
+++ b/docs/System/DolDoc/DocPopUp.html
@@ -54,7 +54,7 @@ body {background-color:#000000;}
 
 #help_index "DolDoc/Input;File/FileNames;StdIn/DolDoc"
 public U8 *PopUpPickFile(U8 *dir=NULL)
-{//Filename chooser.    Uses FileMgr().
+{//Filename chooser.    Uses FileMgr().
         U8 *res, *st, *st2;
 
         if (dir)
@@ -72,7 +72,7 @@ body {background-color:#000000;}
 }
 
 public U8 *PopUpPickDir(U8 *dir=NULL)
-{//File dir name chooser.  Uses FileMgr().
+{//File dir name chooser.  Uses FileMgr().
         U8 *res, *st, *st2;
 
         if (dir)
@@ -104,7 +104,7 @@ body {background-color:#000000;}
 }
 
 public U8 *PopUpFileName(U8 *default=NULL, I64 dof_flags=0)
-{//Filename chooser. Uses form, not FileMgr().
+{//Filename chooser. Uses form, not FileMgr().
         U8 *st = MStrPrint("FileNameForm(\"%Q\",0x%X,Fs->parent_task);", default, dof_flags | DOF_SIZE_MIN), *res = PopUp(st, Fs);
 
         Free(st);
@@ -346,7 +346,7 @@ body {background-color:#000000;}
 }
 
 public I64 PopUpFile(U8 *filename, Bool warn_ext=TRUE, CTask *parent=NULL, CTask **_pu_task=NULL)
-{//ExeFile2() in PopUp task. Cont as User.
+{//ExeFile2() in PopUp task. Cont as User.
         Bool okay = TRUE;
         U8      *st, *name = FileNameAbs(filename), *name2 = ExtDefault(name, "CC");
         I64  res = 0;
@@ -366,7 +366,7 @@ body {background-color:#000000;}
 }
 
 public I64 PopUpRunFile(U8 *filename, I64 ccf_flags=0, ...)
-{//ExeFile() with args using LastFun() in PopUp task.
+{//ExeFile() with args using LastFun() in PopUp task.
         U8 *st, *name = FileNameAbs(filename), *name2 = ExtDefault(name, "CC");
         I64 res = 0;
 
diff --git a/docs/System/DolDoc/DocPutKey.html b/docs/System/DolDoc/DocPutKey.html
index eee2bb6d..6d06f548 100755
--- a/docs/System/DolDoc/DocPutKey.html
+++ b/docs/System/DolDoc/DocPutKey.html
@@ -28,7 +28,7 @@ body {background-color:#000000;}
 #help_index "DolDoc/Output;StdOut/DolDoc"
 
 public U0 DocPutKey(CDoc *doc, I64 ch=0, I64 sc=0)
-{//PutKey(ch,sc) at doc insert pt, cur_entry.
+{//PutKey(ch,sc) at doc insert pt, cur_entry.
         I64                      i, x, y;
         CDoc            *m;
         CDocEntry       *doc_ce;
diff --git a/docs/System/DolDoc/DocPutS.html b/docs/System/DolDoc/DocPutS.html
index e24a68ee..be94275e 100755
--- a/docs/System/DolDoc/DocPutS.html
+++ b/docs/System/DolDoc/DocPutS.html
@@ -28,7 +28,7 @@ body {background-color:#000000;}
 #help_index "DolDoc/Output;StdOut/DolDoc"
 
 CDocEntry *DocPutS(CDoc *doc, U8 *st)
-{//Don't use this.      Use DocPrint().
+{//Don't use this.      Use DocPrint().
 //Does not handle partial Doc entries.
 //Returns last newly created dollar-sign CDocEntry or NULL.
         U8                      *ptr = st, *ptr2, *st2, *ptr3, *ptr4, *src, *char_bmp;
@@ -329,7 +329,7 @@ body {background-color:#000000;}
 }
 
 public CDocEntry *DocPutLine(CDoc *doc=NULL, CDocEntry *doc_e)
-{//Send line from other doc to StdOut DocPut.
+{//Send line from other doc to StdOut DocPut.
         I64  ch;
         U8  *ptr, *ptr2;
         Bool unlock;
diff --git a/docs/System/DolDoc/DocRecalcLib.html b/docs/System/DolDoc/DocRecalcLib.html
index 29f4b711..67a566dc 100755
--- a/docs/System/DolDoc/DocRecalcLib.html
+++ b/docs/System/DolDoc/DocRecalcLib.html
@@ -222,7 +222,7 @@ body {background-color:#000000;}
 //Adjusts the size of the cmd line buf.
         //Normally, the cmd line deletes entries
         //when more are added and the old scroll up.
-        //See max_entries.
+        //See max_entries.
         I64   res;
         CDoc *doc;
 
@@ -238,7 +238,7 @@ body {background-color:#000000;}
 
 #help_index "DolDoc/Task;StdOut/Task"
 U0 DocUpdateTaskDocs(CTask *task)
-{//This is called from GrUpdateTaskWin() by the winmgr at 60fps.
+{//This is called from GrUpdateTaskWin() by the winmgr at 60fps.
         CDoc *doc;
         CD3I64 saved_scroll;
 
diff --git a/docs/System/DolDoc/MakeDoc.html b/docs/System/DolDoc/MakeDoc.html
index f293130a..abcbba7b 100755
--- a/docs/System/DolDoc/MakeDoc.html
+++ b/docs/System/DolDoc/MakeDoc.html
@@ -37,7 +37,7 @@ body {background-color:#000000;}
 where the vis portion of the document is and must process much
 of the document each time it is placed on the screen, becoming CPU
 intensive on big documents.
-See ::/Doc/DolDocOverview.DD
+See ::/Doc/DolDocOverview.DD
 */
 
 //Hash Types
diff --git a/docs/System/DolDoc/index.html b/docs/System/DolDoc/index.html
new file mode 100755
index 00000000..fc4e3cdf
--- /dev/null
+++ b/docs/System/DolDoc/index.html
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/System/DolDoc
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+11/19 06:25 0CCB DocBin.CC
+07/01 16:15 4E55 DocChar.CC
+11/17 07:37 0C60 DocClipBoard.CC
+12/22 03:11 426F DocCodeTools.CC
+11/18 17:03 0D26 DocDblBuf.CC
+07/02 17:37 1ABC DocEd.CC
+11/16 21:39 02C1 DocExterns.CC
+12/22 02:54 2741 DocFile.CC
+12/22 01:50 3D0A DocFind.CC
+07/01 16:15 270A DocForm.CC
+11/18 22:08 172E DocGet.CC
+07/01 15:58 13E5 DocGr.CC
+07/01 16:07 15D2 DocHighlight.CC
+06/28 03:54 0ED5 DocInit.CC
+07/01 15:58 237E DocLink.CC
+12/22 02:56 12D3 DocMacro.CC
+07/01 16:15 290F DocNew.CC
+12/22 02:57 45A2 DocPlain.CC
+07/01 16:10 21E2 DocPopUp.CC
+07/01 18:02 4EEC DocPutKey.CC
+12/22 02:58 2180 DocPutS.CC
+12/23 11:30 9CA2 DocRecalc.CC
+07/01 16:15 15DF DocRecalcLib.CC
+11/18 20:47 0BF5 DocRun.CC
+07/02 17:50 1863 DocTerm.CC
+11/19 18:29 194A DocTree.CC
+06/28 05:01 79BD DocWidgetWiz.CC
+07/01 15:58 06D2 MakeDoc.CC
+
+ diff --git a/docs/System/God/index.html b/docs/System/God/index.html new file mode 100755 index 00000000..26d82a6f --- /dev/null +++ b/docs/System/God/index.html @@ -0,0 +1,38 @@ + + + + + + + + +
+Directory of C:/System/God
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+06/28 03:27 1EF4 GodBible.CC
+06/28 04:52 0184 GodExterns.CC
+07/01 16:15 0ED2 HolySpirit.CC
+06/28 03:13 0057 MakeGod.CC
+01/12 00:31 F6CC Vocab.DD
+
+ diff --git a/docs/System/Gr/Gr.html b/docs/System/Gr/Gr.html index 9e4b3ae4..1a575a97 100755 --- a/docs/System/Gr/Gr.html +++ b/docs/System/Gr/Gr.html @@ -144,43 +144,43 @@ body {background-color:#000000;} #
define SPF_SEL 128 #define SPf_SEL 7 -#define SPT_END 0 // CSpriteBase -#define SPT_COLOR 1 // CSpriteColor -#define SPT_DITHER_COLOR 2 // CSpriteDitherColor -#define SPT_THICK 3 // CSpriteT -#define SPT_PLANAR_SYMMETRY 4 // CSpritePtPt -#define SPT_TRANSFORM_ON 5 // CSpriteBase -#define SPT_TRANSFORM_OFF 6 // CSpriteBase -#define SPT_SHIFT 7 // CSpritePt -#define SPT_PT 8 // CSpritePt -#define SPT_POLYPT 9 // CSpriteNumPtU8s -#define SPT_LINE 10 // CSpritePtPt -#define SPT_POLYLINE 11 // CSpriteNumU8s -#define SPT_RECT 12 // CSpritePtPt -#define SPT_ROTATED_RECT 13 // CSpritePtPtAng -#define SPT_CIRCLE 14 // CSpritePtRad -#define SPT_ELLIPSE 15 // CSpritePtWHAng -#define SPT_POLYGON 16 // CSpritePtWHAngSides -#define SPT_BSPLINE2 17 // CSpriteNumU8s -#define SPT_BSPLINE2_CLOSED 18 // CSpriteNumU8s -#define SPT_BSPLINE3 19 // CSpriteNumU8s -#define SPT_BSPLINE3_CLOSED 20 // CSpriteNumU8s -#define SPT_FLOOD_FILL 21 // CSpritePt -#define SPT_FLOOD_FILL_NOT 22 // CSpritePt -#define SPT_BITMAP 23 // CSpritePtWHU8s -#define SPT_MESH 24 // CSpriteMeshU8s See ::/Apps/GrModels. -#define SPT_SHIFTABLE_MESH 25 // CSpritePtMeshU8s See ::/Apps/GrModels. -#define SPT_ARROW 26 // CSpritePtPt -#define SPT_TEXT 27 // CSpritePtStr -#define SPT_TEXT_BOX 28 // CSpritePtStr -#define SPT_TEXT_DIAMOND 29 // CSpritePtStr +#define SPT_END 0 // CSpriteBase +#define SPT_COLOR 1 // CSpriteColor +#define SPT_DITHER_COLOR 2 // CSpriteDitherColor +#define SPT_THICK 3 // CSpriteT +#define SPT_PLANAR_SYMMETRY 4 // CSpritePtPt +#define SPT_TRANSFORM_ON 5 // CSpriteBase +#define SPT_TRANSFORM_OFF 6 // CSpriteBase +#define SPT_SHIFT 7 // CSpritePt +#define SPT_PT 8 // CSpritePt +#define SPT_POLYPT 9 // CSpriteNumPtU8s +#define SPT_LINE 10 // CSpritePtPt +#define SPT_POLYLINE 11 // CSpriteNumU8s +#define SPT_RECT 12 // CSpritePtPt +#define SPT_ROTATED_RECT 13 // CSpritePtPtAng +#define SPT_CIRCLE 14 // CSpritePtRad +#define SPT_ELLIPSE 15 // CSpritePtWHAng +#define SPT_POLYGON 16 // CSpritePtWHAngSides +#define SPT_BSPLINE2 17 // CSpriteNumU8s +#define SPT_BSPLINE2_CLOSED 18 // CSpriteNumU8s +#define SPT_BSPLINE3 19 // CSpriteNumU8s +#define SPT_BSPLINE3_CLOSED 20 // CSpriteNumU8s +#define SPT_FLOOD_FILL 21 // CSpritePt +#define SPT_FLOOD_FILL_NOT 22 // CSpritePt +#define SPT_BITMAP 23 // CSpritePtWHU8s +#define SPT_MESH 24 // CSpriteMeshU8s See ::/Apps/GrModels. +#define SPT_SHIFTABLE_MESH 25 // CSpritePtMeshU8s See ::/Apps/GrModels. +#define SPT_ARROW 26 // CSpritePtPt +#define SPT_TEXT 27 // CSpritePtStr +#define SPT_TEXT_BOX 28 // CSpritePtStr +#define SPT_TEXT_DIAMOND 29 // CSpritePtStr #define SPT_TYPES_NUM 30 #define SPG_TYPE_MASK 0x7F #help_index "Graphics/Sprite;Sprites;Sprites/Binary" -// See Sprites. See ::/System/Gr/GrSpritePlot.CC and -// ::/Demo/Graphics/SpriteRaw.CC for how CSprite are stored. +// See Sprites. See ::/System/Gr/GrSpritePlot.CC and +// ::/Demo/Graphics/SpriteRaw.CC for how CSprite are stored. public class CSprite { CSprite *next,*last; diff --git a/docs/System/Gr/GrBitMap.html b/docs/System/Gr/GrBitMap.html index c58ba4ee..f32741a1 100755 --- a/docs/System/Gr/GrBitMap.html +++ b/docs/System/Gr/GrBitMap.html @@ -1109,7 +1109,7 @@ body {background-color:#000000;} } I64 GrPutS(CDC *dc=gr.dc, I64 x, I64 y, U8 *_s) -{//Use GrPrint() +{//Use GrPrint() I64 x0, sx = 0, sy = 0, res; if (!_s) @@ -1163,7 +1163,7 @@ body {background-color:#000000;} } I64 GrVPutS(CDC *dc=gr.dc, I64 x, I64 y, U8 *_s) -{//Vertical Text. Use GrVPrint() +{//Vertical Text. Use GrVPrint() I64 y0, sx = 0, sy = 0, res; U8 buf[2]; @@ -2128,7 +2128,7 @@ body {background-color:#000000;} public I64 GrHLine(CDC *dc=gr.dc, I64 x1, I64 x2, I64 y, I64 z1=0, I64 z2=0) {//3D. No transformation or thick. //Returns count of pixs changed - //Uses fixed-point. + //Uses fixed-point. I64 dist, dx, dz, z, res = 0, i, j, d; U8 *dst; CColorROPU32 c, c2, color = dc->color, bkcolor = dc->bkcolor, dither_colors; @@ -2342,7 +2342,7 @@ body {background-color:#000000;} public I64 GrVLine(CDC *dc=gr.dc, I64 x, I64 y1, I64 y2, I64 z1=0, I64 z2=0) {//3D. No transformation or thick. //Returns count of pixs changed - //Uses fixed-point. + //Uses fixed-point. I64 dist, dy, dz, z, res = 0, i, j, d; U8 *dst; CColorROPU32 c, c2, color = dc->color, bkcolor = dc->bkcolor, dither_colors; diff --git a/docs/System/Gr/GrComposites.html b/docs/System/Gr/GrComposites.html index 27da7c2c..1dbcf147 100755 --- a/docs/System/Gr/GrComposites.html +++ b/docs/System/Gr/GrComposites.html @@ -404,7 +404,7 @@ body {background-color:#000000;} } public U0 DrawWaitMouse(CDC *dc, I64 x, I64 y) -{//This is a callback. See ::/Demo/Graphics/Grid.CC. +{//This is a callback. See ::/Demo/Graphics/Grid.CC. I64 old_pen_width = dc->thick; CColorROPU32 old_color = dc->color; diff --git a/docs/System/Gr/GrDC.html b/docs/System/Gr/GrDC.html index 9a104356..511e0392 100755 --- a/docs/System/Gr/GrDC.html +++ b/docs/System/Gr/GrDC.html @@ -31,7 +31,7 @@ body {background-color:#000000;} #define GR_SCALE (1<<32) public U0 Mat4x4MulXYZ(I64 *r, I64 *_x, I64 *_y, I64 *_z) -{//Rotate 3D point using 4x4 matrix. Uses fixed-point. +{//Rotate 3D point using 4x4 matrix. Uses fixed-point. I64 x1, y1, z1, xx = *_x, yy = *_y, zz = *_z; x1 = (r[0 * 4 + 0] * xx + r[0 * 4 + 1] * yy + r[0 * 4 + 2] * zz + r[0 * 4 + 3]) >> 32; @@ -44,7 +44,7 @@ body {background-color:#000000;} public U0 DCTransform(CDC *dc, I64 *_x, I64 *_y, I64 *_z) {//This is the default dc->transform() callback. -//Uses fixed-point. +//Uses fixed-point. Mat4x4MulXYZ(dc->r, _x, _y, _z); *_x += dc->x; *_y += dc->y; @@ -52,7 +52,7 @@ body {background-color:#000000;} } public I64 *Mat4x4IdentEqu(I64 *r) -{//Set matrix to identity. Uses fixed-point. +{//Set matrix to identity. Uses fixed-point. MemSet(r, 0, sizeof(I64)*16); r[0 * 4 + 0].i32[1] = 1; r[1 * 4 + 1].i32[1] = 1; @@ -63,7 +63,7 @@ body {background-color:#000000;} } public I64 *Mat4x4IdentNew(CTask *mem_task=NULL) -{//MAlloc an identity matrix. Uses fixed-point. +{//MAlloc an identity matrix. Uses fixed-point. return Mat4x4IdentEqu(MAlloc(sizeof(I64) * 16, mem_task)); } @@ -76,7 +76,7 @@ body {background-color:#000000;} } public U0 DCMat4x4Set(CDC *dc=NULL, I64 *r) -{//Set device context's rot matrix. Will be Freed() in DCDel().Uses fixed-point. +{//Set device context's rot matrix. Will be Freed() in DCDel().Uses fixed-point. //The main purpose is to set matrix norm for thick scaling. //NULL as dc means gr.dc if (!dc) @@ -172,7 +172,7 @@ body {background-color:#000000;} } public U0 DCReset(CDC *dc) -{//Reset CDC structure members but not image body, itself. +{//Reset CDC structure members but not image body, itself. dc->color = BLACK; dc->color2 = BLACK; dc->bkcolor = BLACK; @@ -195,7 +195,7 @@ body {background-color:#000000;} public U0 DCExtentsInit(CDC *dc=NULL) {//Init markers for extent of next newly drawn graphics. //NULL means gr.dc - //See ::/Demo/Graphics/Extents.CC + //See ::/Demo/Graphics/Extents.CC //You should clear the record flag yourself if (!dc) dc = gr.dc; diff --git a/docs/System/Gr/GrGlobals.html b/docs/System/Gr/GrGlobals.html index a83ac000..9c63d100 100755 --- a/docs/System/Gr/GrGlobals.html +++ b/docs/System/Gr/GrGlobals.html @@ -70,8 +70,8 @@ body {background-color:#000000;} public CBGR24 gr_palette[COLORS_NUM]; -//See RLf_VESA -//See SysGrInit() +//See RLf_VESA +//See SysGrInit() //Allows consts to be used instead of vars. HashPublic("GR_WIDTH", HTT_DEFINE_STR);; DefinePrint("GR_WIDTH", "%d", sys_vbe_mode.width); diff --git a/docs/System/Gr/GrMath.html b/docs/System/Gr/GrMath.html index 3ce1fed4..c70bcc37 100755 --- a/docs/System/Gr/GrMath.html +++ b/docs/System/Gr/GrMath.html @@ -36,7 +36,7 @@ body {background-color:#000000;} Bool (*fp_plot)(U8 *aux, I64 x, I64 y, I64 z), I64 step=1, I64 start=0) {//Step through line segment calling callback. -//Uses fixed-point. +//Uses fixed-point. I64 i, j, d, dx = x2 - x1, dy = y2 - y1, dz = z2 - z1, _x, _y, _z, adx = AbsI64(dx), ady = AbsI64(dy), adz = AbsI64(dz); Bool first = TRUE; @@ -129,7 +129,7 @@ body {background-color:#000000;} #help_index "Graphics/Math/3D Transformation" public I64 *Mat4x4MulMat4x4Equ(I64 *dst, I64 *m1, I64 *m2) -{//Multiply 4x4 matrices and store in dst. Uses fixed-point. +{//Multiply 4x4 matrices and store in dst. Uses fixed-point. //Conceptually, the transform m1 is applied after m2 I64 i, j, k; F64 sum; @@ -149,7 +149,7 @@ body {background-color:#000000;} } public I64 *Mat4x4MulMat4x4New(I64 *m1, I64 *m2, CTask *mem_task=NULL) -{//Multiply 4x4 matrices. Return MAlloced matrix. Uses fixed-point. +{//Multiply 4x4 matrices. Return MAlloced matrix. Uses fixed-point. //Conceptually, the transform m1 is applied after m2 return Mat4x4MulMat4x4Equ(MAlloc(sizeof(I64) * 16, mem_task), m1, m2); } @@ -167,7 +167,7 @@ body {background-color:#000000;} } public I64 *Mat4x4RotX(I64 *m, F64 phi) -{//Rot matrix about X axis. Uses fixed-point. +{//Rot matrix about X axis. Uses fixed-point. F64 my_cos = Cos(phi) * GR_SCALE, my_sin = Sin(phi) * GR_SCALE; I64 r[16], r2[16]; @@ -183,7 +183,7 @@ body {background-color:#000000;} } public I64 *Mat4x4RotY(I64 *m, F64 omega) -{//Rot matrix about Y axis. Uses fixed-point. +{//Rot matrix about Y axis. Uses fixed-point. F64 my_cos = Cos(omega) * GR_SCALE, my_sin = Sin(omega) * GR_SCALE; I64 r[16], r2[16]; @@ -199,7 +199,7 @@ body {background-color:#000000;} } public I64 *Mat4x4RotZ(I64 *m, F64 theta) -{//Rot matrix about Z axis. Uses fixed-point. +{//Rot matrix about Z axis. Uses fixed-point. F64 my_cos=Cos(theta)*GR_SCALE, my_sin=Sin(theta)*GR_SCALE; I64 r[16], r2[16]; @@ -241,7 +241,7 @@ body {background-color:#000000;} } public I64 *Mat4x4TranslationEqu(I64 *r, I64 x, I64 y, I64 z) -{//Set translation values in 4x4 matrix. Uses fixed-point. +{//Set translation values in 4x4 matrix. Uses fixed-point. r[0 * 4 + 3] = x << 32; r[1 * 4 + 3] = y << 32; r[2 * 4 + 3] = z << 32; @@ -251,7 +251,7 @@ body {background-color:#000000;} } public I64 *Mat4x4TranslationAdd(I64 *r, I64 x, I64 y, I64 z) -{//Add translation to 4x4 matrix. Uses fixed-point. +{//Add translation to 4x4 matrix. Uses fixed-point. r[0 * 4 + 3] += x << 32; r[1 * 4 + 3] += y << 32; r[2 * 4 + 3] += z << 32; @@ -328,7 +328,7 @@ body {background-color:#000000;} } public U0 DCReflect(CDC *dc, I64 *_x, I64 *_y, I64 *_z) -{//Reflect 3D point about device context's symmetry. Uses fixed-point. +{//Reflect 3D point about device context's symmetry. Uses fixed-point. I64 x = *_x << 32, y = *_y << 32, z = *_z << 32, diff --git a/docs/System/Gr/GrPrimatives.html b/docs/System/Gr/GrPrimatives.html index 9d991838..584955b9 100755 --- a/docs/System/Gr/GrPrimatives.html +++ b/docs/System/Gr/GrPrimatives.html @@ -765,7 +765,7 @@ body {background-color:#000000;} I64 GrLineFat3(CDC *dc=gr.dc, I64 x1, I64 y1, I64 z1, I64 x2, I64 y2, I64 z2, I64 width, I64 start=0) {//Step through line segment calling callback. -//Uses fixed-point. +//Uses fixed-point. I64 res = 0, i, j, d, dx = x2 - x1, dy = y2 - y1, dz = z2 - z1, _x, _y, _z, d_lo, d_hi, adx = AbsI64(dx), ady = AbsI64(dy), adz = AbsI64(dz); diff --git a/docs/System/Gr/GrScreen.html b/docs/System/Gr/GrScreen.html index 7983233d..b8c159b0 100755 --- a/docs/System/Gr/GrScreen.html +++ b/docs/System/Gr/GrScreen.html @@ -440,7 +440,7 @@ body {background-color:#000000;} } U0 GrUpdateScreen() -{//Called by the Window Manager HERE, 30 times a second. +{//Called by the Window Manager HERE, 30 times a second. CDC *dc; if (text.is_fb_busy) diff --git a/docs/System/Gr/GrSpritePlot.html b/docs/System/Gr/GrSpritePlot.html index 79e9ec37..c6c44b59 100755 --- a/docs/System/Gr/GrSpritePlot.html +++ b/docs/System/Gr/GrSpritePlot.html @@ -27,18 +27,18 @@ body {background-color:#000000;}
 #help_index "Graphics/Sprite;Sprites"
 /*
-CSprites are stored as a sequence of var
-length operations with a 1-byte type leading
+CSprites are stored as a sequence of var
+length operations with a 1-byte type leading
 each operation.  They are stored, one after another,
-in a chunk of memory terminated by a zero.
-Sprite3() shows how the CSprite unions are used.
+in a chunk of memory terminated by a zero.
+Sprite3() shows how the CSprite unions are used.
 
-SpriteElemSize() will return the size of a single
-element, while SpriteSize() will return the size
-of an entire list.  Look at sprite_elem_base_sizes.
+SpriteElemSize() will return the size of a single
+element, while SpriteSize() will return the size
+of an entire list.  Look at sprite_elem_base_sizes.
 
 See ::/Apps/GrModels for an example of
-making CSprite by hand.  It uses SPT_MESH,
+making CSprite by hand.  It uses SPT_MESH,
 one of the most complicated.
 */
 
@@ -527,7 +527,7 @@ body {background-color:#000000;}
 #help_index "Graphics/Sprite;DolDoc/Output;StdOut/DolDoc"
 public CDocEntry *DocSprite(CDoc *doc=NULL, U8 *elems, U8 *format=NULL)
 {//Put a sprite into a document.        You can, optionally, supply a format string
-//for DolDoc cmd with a %d for the bin_num.
+//for DolDoc cmd with a %d for the bin_num.
         I64                      size;
         U8                      *st;
         Bool             unlock;
@@ -561,7 +561,7 @@ body {background-color:#000000;}
 }
 
 public CDocEntry *Sprite(U8 *elems, U8 *format=NULL)
-{//Put sprite to the command-line, DocPut.
+{//Put sprite to the command-line, DocPut.
 //If you set format, then include dollars ("$SP ...$") and leave %d for num.
         CDoc *doc;
 
diff --git a/docs/System/Gr/GrTextBase.html b/docs/System/Gr/GrTextBase.html
index 7270a63a..a8c6bdaa 100755
--- a/docs/System/Gr/GrTextBase.html
+++ b/docs/System/Gr/GrTextBase.html
@@ -350,7 +350,7 @@ body {background-color:#000000;}
 
 public U0 TextPrint(CTask *task, I64 x, I64 y, I64 attr, U8 *format, ...)
 {//Plot chars. 60fps in Fs->draw_it() callback.
-//You probably want GrPrint() or just Print().
+//You probably want GrPrint() or just Print().
         U8 *buf = StrPrintJoin(NULL, format, argc, argv);
 
         TextLenStr(task, x, y, StrLen(buf), attr<<8, buf);
diff --git a/docs/System/Gr/SpriteBitMap.html b/docs/System/Gr/SpriteBitMap.html
index ef49ef85..9a2fb97c 100755
--- a/docs/System/Gr/SpriteBitMap.html
+++ b/docs/System/Gr/SpriteBitMap.html
@@ -283,7 +283,7 @@ body {background-color:#000000;}
         CEdFileName      filename;
         CDC                     *img = *_img, *clip = NULL, *undo = NULL, *dc2;
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
 
         doc_e->de_flags |= DOCEF_DONT_DRAW;
         goto bm_menu;
diff --git a/docs/System/Gr/SpriteEd.html b/docs/System/Gr/SpriteEd.html
index 0abe661f..bbc4b84e 100755
--- a/docs/System/Gr/SpriteEd.html
+++ b/docs/System/Gr/SpriteEd.html
@@ -1442,7 +1442,7 @@ body {background-color:#000000;}
 
 #help_index "Graphics/Sprite;Sprites;Graphics/Math/3D Transformation"
 public U8 *SpriteTransform(U8 *elems, I64 *r)
-{//Rotate Sprite using 4x4 matrix. Uses fixed-point.
+{//Rotate Sprite using 4x4 matrix. Uses fixed-point.
         U8              *res;
         CSprite *head = Sprite2SpriteQueue(elems);
 
diff --git a/docs/System/Gr/SpriteMain.html b/docs/System/Gr/SpriteMain.html
index 5f49a217..fa398945 100755
--- a/docs/System/Gr/SpriteMain.html
+++ b/docs/System/Gr/SpriteMain.html
@@ -137,7 +137,7 @@ body {background-color:#000000;}
 }
 
 U0 SpriteScreenInit(CDC *dc, I64, I64)
-{ //Uses fixed-point.
+{ //Uses fixed-point.
         I64                             xx, yy, old_pen_width = dc->thick;
         CColorROPU32    old_color = dc->color;
 
@@ -1018,7 +1018,7 @@ body {background-color:#000000;}
         CDC                             *dc = DCAlias(, Fs), *dc2 = DCAlias(, sys_winmgr_task), *dc3;
         U8                              *old_task_title = StrNew(Fs->task_title);
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         Refresh(2, TRUE);
         dc2->flags |= DCF_ON_TOP;
diff --git a/docs/System/Gr/SpriteMesh.html b/docs/System/Gr/SpriteMesh.html
index c544277b..3f083909 100755
--- a/docs/System/Gr/SpriteMesh.html
+++ b/docs/System/Gr/SpriteMesh.html
@@ -564,7 +564,7 @@ body {background-color:#000000;}
         CMeshEdTri      *tmpt = e->tri_head.next;
         I64                      i, *old_r = dc->r;
 
-        //DCAlias() allocs a new identity rotation matrix.
+        //DCAlias() allocs a new identity rotation matrix.
         //We want e->dc's rotation matrix.
         dc->r                   = e->dc->r;
         dc->depth_buf   = e->depth_buf;
@@ -629,7 +629,7 @@ body {background-color:#000000;}
         }
         dc->r = old_r;
 
-        //e->dc's depth buf was copied but we don't want it freed during DCDel().
+        //e->dc's depth buf was copied but we don't want it freed during DCDel().
         dc->depth_buf = NULL;
 
         DCDel(dc);
@@ -676,7 +676,7 @@ body {background-color:#000000;}
         e->w2s = MeshW2S(e, task);
         Free(e->s2w);
         e->s2w = MeshS2W(e, task);
-//returned matrix is assigned to dc->r and will be freed by DCDel().
+//returned matrix is assigned to dc->r and will be freed by DCDel().
 
         return Mat4x4New(e->w2s, task);
 }
@@ -1140,7 +1140,7 @@ body {background-color:#000000;}
 
 Returns a newly malloced mesh or NULL.
 
-See ::/Demo/Graphics/SpritePlot3D.CC.
+See ::/Demo/Graphics/SpritePlot3D.CC.
 */
         CCtrl                   *c = CtrlFindUnique(Fs, CTRLT_VIEWING_ANGLES);
         CViewAngles             *s, *old_s;
@@ -1223,7 +1223,7 @@ body {background-color:#000000;}
                                 "  ReverseTri(,'R');"
                                 "}");
 
-        SettingsPush; //See SettingsPush
+        SettingsPush; //See SettingsPush
         AutoComplete;
         RegOneTimePopUp(ARf_MESH_ED,
                                 "$GREEN$Right Mouse$FG$: Hold and move to shift cursor z\n"
diff --git a/docs/System/Gr/SpriteNew.html b/docs/System/Gr/SpriteNew.html
index c121745c..c7044f73 100755
--- a/docs/System/Gr/SpriteNew.html
+++ b/docs/System/Gr/SpriteNew.html
@@ -168,7 +168,7 @@ body {background-color:#000000;}
 }
 
 public U8 *SpriteElem2Summary(CSprite *tmpg)
-{//Study ::/Demo/Graphics/SpriteText.CC.
+{//Study ::/Demo/Graphics/SpriteText.CC.
         U8   buf[STR_LEN], buf2[STR_LEN];
         I32 *ptr;
 
diff --git a/docs/System/Gr/index.html b/docs/System/Gr/index.html
new file mode 100755
index 00000000..037f8174
--- /dev/null
+++ b/docs/System/Gr/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+Directory of C:/System/Gr
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+11/27 21:40 17F1 GrAsm.CC
+12/10 18:57 EF0E GrBitMap.CC
+07/01 15:58 2624 GrComposites.CC
+07/01 15:58 2E38 GrDC.CC
+11/27 21:42 020B GrEnd.CC
+11/27 21:44 01DE GrExterns.CC
+07/01 16:15 07B3 GrGlobals.CC
+11/27 22:15 04E5 GrInitA.CC
+07/02 13:44 13A2 GrInitB.CC
+12/03 03:18 533D GrMath.CC
+07/02 16:26 182F GrPalette.CC
+12/22 03:00 BDED GrPrimatives.CC
+07/02 00:15 277A GrScreen.CC
+12/23 03:49 3B55 GrSpritePlot.CC
+12/01 23:37 2292 GrTextBase.CC
+07/02 17:58 024D MakeGr.CC
+11/28 10:44 0984 ScreenCast.CC
+12/22 03:01 4CA4 SpriteBitMap.CC
+12/02 23:59 40DB SpriteCode.CC
+12/03 14:48 7D78 SpriteEd.CC
+12/06 18:55 98AC SpriteMain.CC
+12/07 02:49 A088 SpriteMesh.CC
+11/28 10:54 15E6 SpriteNew.CC
+11/27 22:11 0AC5 SpriteSideBar.CC
+07/01 16:15 117D Gr.HH
+
+ diff --git a/docs/System/MathODE.html b/docs/System/MathODE.html index af2b3e0e..f8271a9a 100755 --- a/docs/System/MathODE.html +++ b/docs/System/MathODE.html @@ -28,7 +28,7 @@ body {background-color:#000000;} #help_index "Math/ODE" #help_file "::/Doc/ODE" -//See ::/Doc/Credits.DD. +//See ::/Doc/Credits.DD. F64 LowPass1(F64 a, F64 y0, F64 y, F64 dt=1.0) {//First order low pass filter @@ -56,7 +56,7 @@ body {background-color:#000000;} } public CMathODE *ODENew(I64 n, F64 max_tolerance=1e-6, I64 flags=0) -{//Make differential equation ctrl struct. See flags. +{//Make differential equation ctrl struct. See flags. //The tolerance is not precise. //You can min_tolerance and it will //dynamically adjust tolerance to utilize @@ -653,7 +653,7 @@ body {background-color:#000000;} F64 ode_alloced_factor = 0.75; U0 ODEsUpdate(CTask *task) -{/* This routine is called by the window mgron a continuous +{/* This routine is called by the window mgron a continuous basis to allow real-time simulation. It is intended to provide ress good enough for games. It uses a runge-kutta integrator which is a better algorithm than doing it with Euler. @@ -669,7 +669,7 @@ body {background-color:#000000;} if (task->next_ode == &task->next_ode) task->last_ode_time = 0; else if (!Bt(&task->win_inhibit, WIf_SELF_ODE)) - {//See GrUpdateTasks() and GrUpdateTaskODEs(). + {//See GrUpdateTasks() and GrUpdateTaskODEs(). //We will not pick a time limit based on //how busy the CPU is, what percent of the //last refresh cycle was spent on ODE's diff --git a/docs/System/Menu.html b/docs/System/Menu.html index 491cd80d..84c4d0cf 100755 --- a/docs/System/Menu.html +++ b/docs/System/Menu.html @@ -41,7 +41,7 @@ body {background-color:#000000;} CMenuEntry *sys_cur_submenu_entry = NULL; public CMenuEntry *MenuSubEntryFind(CMenuEntry *haystack_first, U8 *needle_entry_name) -{//You probably don't need this. Use dir / and MenuEntryFind(). +{//You probably don't need this. Use dir / and MenuEntryFind(). while (haystack_first) { if (!StrCompare(haystack_first->name, needle_entry_name)) diff --git a/docs/System/Mouse.html b/docs/System/Mouse.html index 3d7b0f02..b55e09f8 100755 --- a/docs/System/Mouse.html +++ b/docs/System/Mouse.html @@ -38,7 +38,7 @@ body {background-color:#000000;} <4>/* Graphics Not Rendered in HTML */ public U0 DrawGrabMouse(CDC *dc, I64 x, I64 y, Bool closed) -{//This is a callback. See ::/Demo/Graphics/Grid.CC. +{//This is a callback. See ::/Demo/Graphics/Grid.CC. dc->flags &= ~(DCF_TRANSFORMATION | DCF_SYMMETRY); dc->color = ROP_EQU; if (closed) @@ -51,9 +51,9 @@ body {background-color:#000000;} public U0 DrawStdMouse(CDC *dc, I64 x, I64 y) -{//This is a callback. See ::/Demo/Graphics/Grid.CC. -//Called by DrawMouse() which is -//called by WinFinalUpdate(). +{//This is a callback. See ::/Demo/Graphics/Grid.CC. +//Called by DrawMouse() which is +//called by WinFinalUpdate(). dc->flags &= ~(DCF_TRANSFORMATION | DCF_SYMMETRY); Sprite3(dc, x, y, 0, <4>); } diff --git a/docs/System/Registry.html b/docs/System/Registry.html index 0bd9d67f..eca4ad3e 100755 --- a/docs/System/Registry.html +++ b/docs/System/Registry.html @@ -125,7 +125,7 @@ body {background-color:#000000;} } public Bool OneTimePopUp(U8 *_flags, I64 flag_num, U8 *message) -{//See ::/Apps/X-Caliber/X-Caliber.CC. +{//See ::/Apps/X-Caliber/X-Caliber.CC. Bool res = FALSE; CDoc *doc = DocNew; CDocEntry *doc_e; @@ -183,7 +183,7 @@ body {background-color:#000000;} } public U0 ZOnce(U8 *format, ...) -{//Add System code to ~/Registry.CC, executed next boot. +{//Add System code to ~/Registry.CC, executed next boot. U8 *buf = StrPrintJoin(NULL, format, argc, argv); if (!Bt(&sys_run_level, RLf_ONCE_SYSTEM)) @@ -193,7 +193,7 @@ body {background-color:#000000;} } public U0 Once(U8 *format, ...) -{//Add User code to ~/Registry.CC, executed next boot. +{//Add User code to ~/Registry.CC, executed next boot. U8 *buf = StrPrintJoin(NULL, format, argc, argv); if (!Bt(&sys_run_level, RLf_ONCE_USER)) @@ -203,7 +203,7 @@ body {background-color:#000000;} } public U0 ZOnceDrive(U8 drv_let=0, U8 *format, ...) -{//Add System code to drv ~/Registry.CC, executed next boot. +{//Add System code to drv ~/Registry.CC, executed next boot. U8 *buf = StrPrintJoin(NULL, format, argc, argv); I64 old_drive_let = *sys_registry_doc->filename.name; @@ -217,7 +217,7 @@ body {background-color:#000000;} } public U0 OnceDrive(U8 drv_let=0, U8 *format, ...) -{//Add User code to drv ~/Registry.CC, executed next boot. +{//Add User code to drv ~/Registry.CC, executed next boot. U8 *buf = StrPrintJoin(NULL, format, argc, argv); I64 old_drive_let = *sys_registry_doc->filename.name; @@ -231,7 +231,7 @@ body {background-color:#000000;} } public U0 OnceExe() -{//Execute Once code. Call goes in ~/Once.CC. +{//Execute Once code. Call goes in ~/Once.CC. try { diff --git a/docs/System/Sound.html b/docs/System/Sound.html index 46237c64..1595f1ea 100755 --- a/docs/System/Sound.html +++ b/docs/System/Sound.html @@ -279,7 +279,7 @@ body {background-color:#000000;} '(' tie, placed before the note to be extended -music.meter_top,music.meter_bottom is set with +music.meter_top,music.meter_bottom is set with "M3/4" "M4/4" etc. diff --git a/docs/System/TaskSettings.html b/docs/System/TaskSettings.html index eaac0c58..326e4afc 100755 --- a/docs/System/TaskSettings.html +++ b/docs/System/TaskSettings.html @@ -30,7 +30,7 @@ body {background-color:#000000;} public CTaskSettings *SettingsPush(CTask *task = NULL, I64 flags = 0) {//Typically, called at start of an application. //It saves many settings so they can be restored - //at the end of the application with SettingsPop(). + //at the end of the application with SettingsPop(). CTaskSettings *tmpse; CDoc *doc; diff --git a/docs/System/Utils/BinRep.html b/docs/System/Utils/BinRep.html index 2bafd402..36f06ac6 100755 --- a/docs/System/Utils/BinRep.html +++ b/docs/System/Utils/BinRep.html @@ -53,7 +53,7 @@ body {background-color:#000000;} public Bool BinRep(U8 *filename) {//Reports imports, exports, etc for a .BIN file -//See Patch Table Generation and Load(). +//See Patch Table Generation and Load(). U8 *fbuf, *ptr, *sptr, *absname; I64 i, j, size, etype; Bool res = FALSE; diff --git a/docs/System/Utils/Diff.html b/docs/System/Utils/Diff.html index 54fd0f32..93abc1ed 100755 --- a/docs/System/Utils/Diff.html +++ b/docs/System/Utils/Diff.html @@ -285,7 +285,7 @@ body {background-color:#000000;} public Bool Diff(U8 *dst_file, U8 *src_file, I64 *_df_flags=NULL) {//Report differences between two files and merge differences -//from src_file to dst_file. Don't use _df_flags arg. (Used by Merge().) +//from src_file to dst_file. Don't use _df_flags arg. (Used by Merge().) CDoc *doc1 = DocRead(dst_file, DOCF_PLAIN_TEXT_TABS | DOCF_NO_CURSOR), *doc2 = DocRead(src_file, DOCF_PLAIN_TEXT_TABS | DOCF_NO_CURSOR); CDocEntry *doc_e, **doc_sorted1, **doc_sorted2, **doc_unsorted1, **doc_unsorted2; diff --git a/docs/System/Utils/DocUtils.html b/docs/System/Utils/DocUtils.html index d2cc6b1f..5adc3416 100755 --- a/docs/System/Utils/DocUtils.html +++ b/docs/System/Utils/DocUtils.html @@ -52,7 +52,7 @@ body {background-color:#000000;} } U0 CollapseFile(U8 *filename, Bool collapse=TRUE) -{//Collapse DolDoc trees in one file. +{//Collapse DolDoc trees in one file. CDoc *doc = DocRead(filename, DOCF_NO_CURSOR); DocCollapse(collapse, doc); @@ -60,7 +60,7 @@ body {background-color:#000000;} DocDel(doc); } public U0 Collapse(U8 *files_find_mask="*", Bool collapse=TRUE, U8 *fu_flags=NULL) -{//Collapse DolDoc trees. +{//Collapse DolDoc trees. I64 fuf_flags = 0; FlagsScan(&fuf_flags, Define("ST_FILE_UTIL_FLAGS"), "+r+f+F+$+O"); @@ -170,7 +170,7 @@ body {background-color:#000000;} return res; } public I64 DocOpt(U8 *files_find_mask="*", U8 *fu_flags=NULL) -{//Optimize DolDoc files, eliminating aux_str's and .Z's. +{//Optimize DolDoc files, eliminating aux_str's and .Z's. //+R flag for aggressively risky. I64 fuf_flags = 0; diff --git a/docs/System/Utils/Find.html b/docs/System/Utils/Find.html index 6cab958f..19f52d54 100755 --- a/docs/System/Utils/Find.html +++ b/docs/System/Utils/Find.html @@ -53,7 +53,7 @@ body {background-color:#000000;} } I64 FindFile(U8 *needle_str, U8 *haystack_filename, I64 *_fuf_flags, U8 *replace_text) -{//Have you confused with FileFind()? +{//Have you confused with FileFind()? Bool first_on_line, write_this_file = FALSE, cont = !Bt(_fuf_flags, FUf_CANCEL); U8 *src, *dst, *dst2, *name_buf = NULL; I64 i, j, plen, rlen, dlen, count = 0,old_flags, ss_flags; diff --git a/docs/System/Utils/HeapLog.html b/docs/System/Utils/HeapLog.html index 8ce0ab12..ad6041cb 100755 --- a/docs/System/Utils/HeapLog.html +++ b/docs/System/Utils/HeapLog.html @@ -108,7 +108,7 @@ body {background-color:#000000;} } public Bool HeapLog(Bool val=ON, CTask *task=NULL) -{//Turn on. Collect data. Call HeapLogAddrRep() or HeapLogSizeRep(). +{//Turn on. Collect data. Call HeapLogAddrRep() or HeapLogSizeRep(). I64 i; if (val) @@ -164,7 +164,7 @@ body {background-color:#000000;} } public U0 HeapLogAddrRep(Bool leave_it=OFF) -{//Call HeapLog() first and collect data. +{//Call HeapLog() first and collect data. I64 i, j, total = 0; CHeapLog *tmphl, hl; @@ -199,7 +199,7 @@ body {background-color:#000000;} } public U0 HeapLogSizeRep(Bool leave_it=OFF) -{//Call HeapLog() first and collect data. +{//Call HeapLog() first and collect data. I64 i, j, k, total = 0; CHeapLog *tmphla, hla, *tmphls, *tmphls1; CHeapLogHash *size_head; diff --git a/docs/System/Utils/MemRep.html b/docs/System/Utils/MemRep.html index 7d51eab2..54c25a47 100755 --- a/docs/System/Utils/MemRep.html +++ b/docs/System/Utils/MemRep.html @@ -256,9 +256,9 @@ body {background-color:#000000;} "Kernel\t:%08X-%08X\n", mem_boot_base - sizeof(CBinFile), bfh; "$ID,-2$$BLACK$High Memory\t:00100000-%08X$FG$\n", mem_heap_limit; - "SYS_FIXED_AREA\t:%08X-%08X\n", SYS_FIXED_AREA, SYS_FIXED_AREA + sizeof(CSysFixedArea) - 1; + "SYS_FIXED_AREA\t:%08X-%08X\n", SYS_FIXED_AREA, SYS_FIXED_AREA + sizeof(CSysFixedArea) - 1; - "VBE framebuffer\t:%08X-%08X\n", text.fb_alias, text.fb_alias(U8 *) + text.buffer_size - 1; + "VBE framebuffer\t:%08X-%08X\n", text.fb_alias, text.fb_alias(U8 *) + text.buffer_size - 1; if (sys_data_bp) { "$BLACK$Code Heap\t:%010X/%010X$FG$\n", sys_code_bp->used_u8s, sys_code_bp->alloced_u8s; diff --git a/docs/System/Utils/Merge.html b/docs/System/Utils/Merge.html index a9698f18..d1e63300 100755 --- a/docs/System/Utils/Merge.html +++ b/docs/System/Utils/Merge.html @@ -72,7 +72,7 @@ body {background-color:#000000;} {/*Merge text files from one list into another. Report files whos date/time is different. -"+d" will do Diff() on files and prompt to +"+d" will do Diff() on files and prompt to merge changes from source files into destination files. */ diff --git a/docs/System/Utils/Profiler.html b/docs/System/Utils/Profiler.html index 29cc528f..3d473be3 100755 --- a/docs/System/Utils/Profiler.html +++ b/docs/System/Utils/Profiler.html @@ -36,7 +36,7 @@ body {background-color:#000000;} I64 pf_prof_active = 0; U0 ProfTimerInt(CTask *task) -{//See profiler_timer_irq. +{//See profiler_timer_irq. I64 i, k; if (Bt(&pf_prof_active, 0)) @@ -60,7 +60,7 @@ body {background-color:#000000;} by sampling RIP during the 1000Hz timer interrupt. -Do a ProfRep(), (profiler report) +Do a ProfRep(), (profiler report) after you have collected data. */ if (!(0 <= cpu_num < mp_count)) @@ -86,7 +86,7 @@ body {background-color:#000000;} } public U0 ProfRep(I64 filter_count=1, Bool leave_it=OFF) -{//Profiler report. Call Prof() first and collect data. +{//Profiler report. Call Prof() first and collect data. I64 i, hits, rip, last_rip = 0, routine_total = 0; F64 total_time; U8 buf[256], buf2[256], last_buf[256]; diff --git a/docs/System/Utils/StrUtils.html b/docs/System/Utils/StrUtils.html index a01e8b61..fa9d5ccd 100755 --- a/docs/System/Utils/StrUtils.html +++ b/docs/System/Utils/StrUtils.html @@ -209,7 +209,7 @@ body {background-color:#000000;} U0 SUFile(U8 *filename,I64 suf_flags,F64 indent_scale_factor) {//String utility on a single file -//See SU Flags +//See SU Flags U8 *dst; Bool chged = FALSE; I64 reduced = 0; @@ -241,10 +241,10 @@ body {background-color:#000000;} DocDel(doc); } public U0 SU(U8 *files_find_mask, I64 suf_flags, U8 *fu_flags=NULL, F64 indent_scale_factor=0) -{//Apply StrUtil() on files. +{//Apply StrUtil() on files. //You can convert spaces to tabs, for example, //or removing trailing spaces on lines. - //See SUF Flags. + //See SUF Flags. I64 fuf_flags = 0; CDirEntry *tmpde, *tmpde1; diff --git a/docs/System/Utils/SysRep.html b/docs/System/Utils/SysRep.html index 8dc13773..84482c18 100755 --- a/docs/System/Utils/SysRep.html +++ b/docs/System/Utils/SysRep.html @@ -1238,7 +1238,7 @@ body {background-color:#000000;} } public U0 BIOSRep() -{//Wrapper around SysRep() to only show BIOS info. +{//Wrapper around SysRep() to only show BIOS info. SysRep(SMBIOSt_BIOS); }
diff --git a/docs/System/Utils/ToDolDoc.html b/docs/System/Utils/ToDolDoc.html index d0400787..c0a61bdf 100755 --- a/docs/System/Utils/ToDolDoc.html +++ b/docs/System/Utils/ToDolDoc.html @@ -28,7 +28,7 @@ body {background-color:#000000;} #help_index "Cmd Line (Typically);DolDoc/Conversion;DolDoc/Cmd Line (Typically)" public U0 ToDolDoc(U8 *files_find_mask, U8 *fu_flags=NULL) -{//Convert text file to DolDoc by making double $'s. +{//Convert text file to DolDoc by making double $'s. CDoc *doc; I64 fuf_flags = 0; CDirEntry *tmpde, *tmpde1; diff --git a/docs/System/Utils/ToTXT.html b/docs/System/Utils/ToTXT.html index c4fc9ba8..28241448 100755 --- a/docs/System/Utils/ToTXT.html +++ b/docs/System/Utils/ToTXT.html @@ -68,7 +68,7 @@ body {background-color:#000000;} } public CDoc *Doc2TXT(CDoc *doc_in) -{//Convert DolDoc doc to plain text. +{//Convert DolDoc doc to plain text. CDocEntry *doc_e, *doc_e2; I64 y, col; CDoc *doc_out = DocNew; @@ -150,11 +150,11 @@ body {background-color:#000000;} #help_index "Cmd Line (Typically);DolDoc/Conversion;DolDoc/Cmd Line (Typically)" public U0 ToTXT(U8 *_in_name, U8 *_out_name=NULL, I64 width=70) -{//Convert DolDocfile to plain text. +{//Convert DolDocfile to plain text. U8 *in_name, *out_name; CDoc *doc_in, *doc_out; - SettingsPush; //See SettingsPush + SettingsPush; //See SettingsPush WinHorz(0, width - 1); //Sets doc width for word wrap. in_name = ExtDefault(_in_name, ".DD"); diff --git a/docs/System/Utils/index.html b/docs/System/Utils/index.html new file mode 100755 index 00000000..6fe63b20 --- /dev/null +++ b/docs/System/Utils/index.html @@ -0,0 +1,52 @@ + + + + + + + + +
+Directory of C:/System/Utils
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+12/22 03:03 0913 BinRep.CC
+11/21 21:56 0776 CPURep.CC
+07/01 16:07 0B97 ConversionScript.CC
+12/22 03:03 21BD Diff.CC
+11/21 23:26 0E3F DocUtils.CC
+07/01 16:15 24F5 Find.CC
+11/23 01:23 153F HeapLog.CC
+11/21 23:09 0A6E LineRep.CC
+11/21 22:05 07C7 LinkCheck.CC
+11/21 22:53 0157 MakeUtils.CC
+07/02 00:15 193A MemRep.CC
+11/21 22:09 098A Merge.CC
+11/21 23:13 0B5F Profiler.CC
+11/23 01:13 14EE StrUtils.CC
+12/22 01:53 87E3 SysRep.CC
+07/02 00:15 032A TaskRep.CC
+11/21 22:00 02AA ToDolDoc.CC
+12/22 03:04 0BD5 ToTXT.CC
+12/17 20:59 0579 VideoRep.CC
+
+ diff --git a/docs/System/WinMgr.html b/docs/System/WinMgr.html index 3cb514d2..63680761 100755 --- a/docs/System/WinMgr.html +++ b/docs/System/WinMgr.html @@ -358,7 +358,7 @@ body {background-color:#000000;} }
else if (screencast.dc) { - DCDel(screencast.dc); //TODO: MemRep can crash. + DCDel(screencast.dc); //TODO: MemRep can crash. screencast.dc = NULL; } if (sys_focus_task && !Bt(&sys_focus_task->task_flags, TASKf_HAS_SONG)) diff --git a/docs/System/index.html b/docs/System/index.html new file mode 100755 index 00000000..ae54d4ac --- /dev/null +++ b/docs/System/index.html @@ -0,0 +1,61 @@ + + + + + + + + +
+Directory of C:/System
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 23:10 0000 AutoComplete
+07/02 23:10 0000 BlkDev
+07/02 23:10 0000 Boot
+07/02 23:10 0000 Ctrls
+07/02 23:10 0000 DolDoc
+07/02 23:10 0000 God
+07/02 23:10 0000 Gr
+07/02 23:10 0000 Utils
+12/22 03:06 1FA9 Debug.CC
+07/01 16:15 051E Define.CC
+06/23 22:57 2035 DevInfo.CC
+07/02 16:21 11CC Externs.CC
+11/24 02:07 2817 Hash.CC
+12/22 01:53 0D2C InFile.CC
+07/02 02:11 0242 MakeSystem.CC
+11/24 02:08 0A22 Math.CC
+07/02 04:18 4856 MathODE.CC
+11/24 02:12 0FD0 Memory.CC
+11/24 01:50 17DF Menu.CC
+12/01 23:41 065F Mouse.CC
+07/02 00:54 14B1 Registry.CC
+12/22 02:06 20F5 Sound.CC
+11/24 01:52 0D9C TaskSettings.CC
+11/24 02:13 126E Training.CC
+07/02 22:15 152C WallPaper.CC
+11/24 02:00 32FD Win.CC
+07/02 00:40 6807 WinMgr.CC
+07/02 17:51 0F66 ZSplash.CC
+
+ diff --git a/docs/Tmp/ScreenShots/index.html b/docs/Tmp/ScreenShots/index.html new file mode 100755 index 00000000..88978e73 --- /dev/null +++ b/docs/Tmp/ScreenShots/index.html @@ -0,0 +1,33 @@ + + + + + + + + +
+Directory of C:/Tmp/ScreenShots
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+
+ diff --git a/docs/Tmp/index.html b/docs/Tmp/index.html new file mode 100755 index 00000000..c9abd48a --- /dev/null +++ b/docs/Tmp/index.html @@ -0,0 +1,34 @@ + + + + + + + + +
+Directory of C:/Tmp
+DATE_ TIME_ SIZE
+07/02 23:10 0000 .
+07/02 23:10 0000 ..
+07/02 23:10 0000 ScreenShots
+
+ diff --git a/docs/index.html b/docs/index.html new file mode 100755 index 00000000..2fc105a3 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,53 @@ + + + + + + + + +
+Directory of C:/
+DATE_ TIME_  SIZE
+07/02 23:10 00000 0000Boot
+07/02 23:10 00000 Apps
+07/02 23:10 00000 Compiler
+07/02 23:10 00000 Demo
+07/02 23:10 00000 Doc
+07/02 23:10 00000 Downloads
+07/03 02:37 00000 HTML
+07/02 23:10 00000 Home
+07/02 23:10 00000 Kernel
+07/02 23:10 00000 Misc
+07/02 23:10 00000 System
+07/02 23:10 00000 Tmp
+07/03 02:43 2F400 Kernel.BIN.C
+06/28 03:45 011FA HomeKeyPlugIns.CC
+12/22 00:53 00238 HomeLocalize.CC
+07/01 19:44 00355 HomeSys.CC
+07/02 00:53 003B3 HomeWrappers.CC
+07/01 16:15 001A7 MakeHome.CC
+07/02 22:07 004C8 Once.CC
+07/02 18:29 00491 StartOS.CC
+07/01 17:11 0FA01 PersonalMenu.DD
+09/27 11:24 0003A PersonalNotes.DD
+
+ diff --git a/mnt.sh b/mnt.sh index fa0ea285..3bbca722 100755 --- a/mnt.sh +++ b/mnt.sh @@ -1,7 +1,8 @@ #!/bin/bash echo "mounting..." sudo modprobe nbd -sudo qemu-nbd -c dev/nbd0 ~/VirtualBox\ VMs/ZealOS/ZealOS.vdi #Replace with path to disk +#sudo qemu-nbd -c dev/nbd0 ~/VirtualBox\ VMs/ZealOS/ZealOS.vdi #Replace with path to disk +sudo qemu-nbd -c dev/nbd0 ~/vmware/ZAHCI/ZAHCI.vmdk #Replace with path to disk sudo partprobe /dev/nbd0 sudo mount /dev/nbd0p1 /mnt echo "mounted .vdi" @@ -10,7 +11,13 @@ echo "removing src/ files" rm -rf src/* echo "copying src/ files from root of mounted .vdi" sudo cp -r /mnt/* src/ -echo "files copied" +echo "src/ files copied" + +echo "removing doc/ files" +rm -rf docs/* +echo "copying docs/ files from HTML/ folder of mounted .vdi" +sudo cp -r /mnt/HTML/* docs/ +echo "docs/ files copied" echo "unmounting..." sudo umount /mnt @@ -18,7 +25,12 @@ sudo qemu-nbd -d /dev/nbd0 echo "unmounted .vdi" echo "set perms, update ISO." sudo chown -R $USER:$USER src/* +sudo chown -R $USER:$USER docs/* rm ZealOS-* mv src/Tmp/MyDistro.ISO.C ./ZealOS-$(date +%Y-%m-%d-%H_%M_%S).iso + +echo "removing duplicates" +rm -rf ./src/HTML/* + echo "finished." git status diff --git a/src/Demo/ToHtmlToTXTDemo/HtmlGen.CC b/src/Demo/ToHtmlToTXTDemo/HtmlGen.CC index 03f67903..0d838f0b 100755 --- a/src/Demo/ToHtmlToTXTDemo/HtmlGen.CC +++ b/src/Demo/ToHtmlToTXTDemo/HtmlGen.CC @@ -23,10 +23,20 @@ I64 Dir2Html(U8 *src_files_find_mask, U8 *dst_files_find_mask) { CDirEntry *tmpde1 = NULL, *tmpde2; I64 res = 0; - U8 *dest_path, *dest_file, *dest_abs, dest_ext[STR_LEN]; + U8 *dest_path, + *dest_file, + *dest_abs, + *src_abs, + dest_ext[STR_LEN], + *index_path, + *index_path_out, + *index_exe; + CTask *index_task; + CDoc *index_doc; tmpde1 = FilesFind(src_files_find_mask, FUF_RECURSE); - dest_abs = DirNameAbs(dst_files_find_mask); + dest_abs = DirNameAbs(dst_files_find_mask); + src_abs = DirNameAbs(src_files_find_mask); if (tmpde1) { @@ -46,6 +56,7 @@ I64 Dir2Html(U8 *src_files_find_mask, U8 *dst_files_find_mask) { if (StrCompare(dest_ext, "BIN.C") && StrCompare(dest_ext, "BIN") && + StrCompare(dest_ext, "ISO.C") && StrCompare(dest_ext, "html") && StrCompare(dest_ext, "DATA") && StrCompare(dest_ext, "MAP")) @@ -55,7 +66,33 @@ I64 Dir2Html(U8 *src_files_find_mask, U8 *dst_files_find_mask) } } else - Dir2Html(tmpde1->full_name, dest_path); + { + index_path = MStrPrint("%s/index.DD", dest_path); + index_path_out = MStrPrint("%s/index.html", dest_path); + "%s\n", index_path; + + index_exe = MStrPrint("Cls;Dir(\"%s\");View;\n", tmpde1->full_name); + PopUp(index_exe,, &index_task); + TaskWait(index_task); + + index_doc = DocNew(index_path); + DocInsDoc(index_doc, index_task->put_doc); + DocWrite(index_doc); + DocDel(index_doc); + + TaskWait(index_task); + Kill(index_task); + + ToHtml(index_path, index_path_out); + Del(index_path); + + Free(index_path); + Free(index_path_out); + Free(index_exe); + + if (StrCompare(tmpde1->full_name, dest_abs)) + Dir2Html(tmpde1->full_name, dest_path); + } DirEntryDel(tmpde1); tmpde1 = tmpde2; @@ -73,10 +110,37 @@ I64 Dir2Html(U8 *src_files_find_mask, U8 *dst_files_find_mask) I64 HtmlGen() { + U8 *index_path, + *index_path_out; + CTask *index_task; + CDoc *index_doc; + DocMax; DocMax; DelTree("::/HTML/"); - Dir2Html("::/", "::/HTML/"); + + index_path = MStrPrint("::/HTML/index.DD"); + index_path_out = MStrPrint("::/HTML/index.html"); + "%s\n", index_path; + + PopUp("Cls;Dir(\"::/\");View;\n",, &index_task); + TaskWait(index_task); + + index_doc = DocNew(index_path); + DocInsDoc(index_doc, index_task->put_doc); + DocWrite(index_doc); + DocDel(index_doc); + + TaskWait(index_task); + Kill(index_task); + + ToHtml(index_path, index_path_out); + Del(index_path); + + Free(index_path); + Free(index_path_out); + + return Dir2Html("::/", "::/HTML/"); } -HtmlGen; +//HtmlGen; diff --git a/src/Demo/ToHtmlToTXTDemo/ToHtml.CC b/src/Demo/ToHtmlToTXTDemo/ToHtml.CC index 8d3c02e0..4305e02b 100755 --- a/src/Demo/ToHtmlToTXTDemo/ToHtml.CC +++ b/src/Demo/ToHtmlToTXTDemo/ToHtml.CC @@ -93,7 +93,7 @@ U8 *TOSLinkConvert2(U8 *filename, I64 line_num) { st = ExtChange(filename, "html"); if (st && StrLen(st) > 3 && !StrNCompare(st + 1, ":/", 2)) - res = MStrPrint("http://www.tomawezome.github.io/ZealOS/%s#l%d", st + 3, line_num); + res = MStrPrint("https://www.tomawezome.github.io/ZealOS/%s#l%d", st + 3, line_num); Free(st); } @@ -202,7 +202,7 @@ public CDoc *Doc2Html(CDoc *doc_in, U8 *html_header=NULL, U8 *body_header=NULL, "\n" "\n" - "\n"; + "\n"; if (!body_header) body_header = "\n"