diff --git a/src/0000Boot/0000Kernel.BIN.C b/src/0000Boot/0000Kernel.BIN.C index 8575b267..ee24f1fd 100755 Binary files a/src/0000Boot/0000Kernel.BIN.C and b/src/0000Boot/0000Kernel.BIN.C differ diff --git a/src/Apps/Psalmody/Help.DD b/src/Apps/Psalmody/Help.DD index 460503b0..6185dd3c 100755 --- a/src/Apps/Psalmody/Help.DD +++ b/src/Apps/Psalmody/Help.DD @@ -4,9 +4,9 @@ $WW,1$$FG,5$$TX+CX,"Psalmody Help"$$FG$ * The clip can be used to cut and paste. -* $FG,2$Psalmody$FG$ uses $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ files as the song format! See $LK,"::/Apps/Psalmody/Examples/prosper.CC"$. The $FG,2$Psalmody$FG$ program does not fully parse the songs when loading them back in, so changes made outside $FG,2$Psalmody$FG$ will be lost, like if you add graphics. +* $FG,2$Psalmody$FG$ uses $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ files as the song format! See $LK,"::/Apps/Psalmody/Examples/prosper.CC"$. The $FG,2$Psalmody$FG$ program does not fully parse the songs when loading them back in, so changes made outside $FG,2$Psalmody$FG$ will be lost, like if you add graphics. -* The first line of the $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ song files is a comment with a category recognized by $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$(). The categories are $FG,2$"no nothing"$FG$, $FG,2$"has words"$FG$, $FG,2$"has graphics"$FG$, or $FG,2$"special"$FG$. The third character in the song comment is a digit rating number, shown in $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$(). You can set the song rating in $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$() by pressing $FG,2$0$FG$-$FG,2$9$FG$. You can request your reward from God by pressing $FG,2$r$FG$. You can press $FG,2$$FG$ to delete songs. +* The first line of the $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ song files is a comment with a category recognized by $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$(). The categories are $FG,2$"no nothing"$FG$, $FG,2$"has words"$FG$, $FG,2$"has graphics"$FG$, or $FG,2$"special"$FG$. The third character in the song comment is a digit rating number, shown in $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$(). You can set the song rating in $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$() by pressing $FG,2$0$FG$-$FG,2$9$FG$. You can request your reward from God by pressing $FG,2$r$FG$. You can press $FG,2$$FG$ to delete songs. * You can take the $LK,"Play",A="MN:Play"$() statements out of a song file and place them in your programs. You can also add a song to a document with $FG,2$$FG$, but you should do it after pressing $FG,2$$FG$ because the clip-insert in $FG,2$$FG$ is screwy. See this $SO,"",A="4qG5EC4BeGG5qCeFD4sB5G4B5G4qG5EC4BeGG5qCeFD4sB5G4B5GqEeEFqE4BeG5FetC4A5GqFCEeEFqE4BeG5FetC4A5GqFC"$ after pressing $FG,2$$FG$, now. diff --git a/src/Apps/Psalmody/Psalmody.CC b/src/Apps/Psalmody/Psalmody.CC index 807c7e98..a30f94fb 100755 --- a/src/Apps/Psalmody/Psalmody.CC +++ b/src/Apps/Psalmody/Psalmody.CC @@ -52,7 +52,7 @@ class PsmCtrl PsmNote head; PsmNote clip; CMenuEntry *incomplete_entry,*record_entry; - I64 scrn_x,tool; + I64 screen_x,tool; PsmNote *cur_note; CDC *dc2; Bool playing; diff --git a/src/Apps/Psalmody/PsalmodyDraw.CC b/src/Apps/Psalmody/PsalmodyDraw.CC index 442cc191..02968e26 100755 --- a/src/Apps/Psalmody/PsalmodyDraw.CC +++ b/src/Apps/Psalmody/PsalmodyDraw.CC @@ -146,7 +146,7 @@ U0 PsmRecalcNoteXY() { F64 measure_len=4,measure_left=measure_len; PsmNote *tmpn=psm.head.next; - I64 x=8-psm.scrn_x,ona,note,octave; + I64 x=8-psm.screen_x,ona,note,octave; while (TRUE) { tmpn->x=x; tmpn->y=50; @@ -198,11 +198,11 @@ U0 DrawIt(CTask *task,CDC *dc) PsmRecalcNoteXY; if (psm.cur_note->x<64) { - psm.scrn_x-=128; + psm.screen_x-=128; PsmRecalcNoteXY; } if (psm.cur_note->x>=GR_WIDTH-64) { - psm.scrn_x+=128; + psm.screen_x+=128; PsmRecalcNoteXY; } diff --git a/src/Apps/Psalmody/PsalmodyMain.CC b/src/Apps/Psalmody/PsalmodyMain.CC index aa5c97cd..9ff737e3 100755 --- a/src/Apps/Psalmody/PsalmodyMain.CC +++ b/src/Apps/Psalmody/PsalmodyMain.CC @@ -367,7 +367,7 @@ U0 Psalmody(U8 *dirname="~/Psalmody") if (DocPut) DocPut->flags|=DOCF_FORM; MemSet(&psm,0,sizeof(PsmCtrl)); - psm.scrn_x=0; + psm.screen_x=0; psm.head.next=psm.head.last=&psm.head; psm.clip.next=psm.clip.last=&psm.clip; psm.cur_note=&psm.head; @@ -586,12 +586,12 @@ mo_got_message: "$$GREEN$$$$FG$$ to load it into Psalmody.\n\n" ST_WARN_ST " Graphics and other embelishments\n" "will be lost because Psalmody can't\n" - "parse HolyC programs completely.\n"); + "parse CosmiC programs completely.\n"); Free(filename); filename=NULL; JukeBox(dirname,&filename); if (filename) { - psm.scrn_x=0; + psm.screen_x=0; psm_duration=1.0; psm_octave=4; PsmSongDel(&psm.head); @@ -626,7 +626,7 @@ mo_got_message: psm_octave=4; PsmSongDel(&psm.head); psm.cur_note=&psm.head; - psm.scrn_x=0; + psm.screen_x=0; break; case '\n': if (psm.cur_note!=&psm.head) @@ -659,7 +659,7 @@ mo_got_message: goto mo_got_message; } psm.cur_note=tmpn; - psm.scrn_x+=tmpn->x-0.33*GR_WIDTH; + psm.screen_x+=tmpn->x-0.33*GR_WIDTH; if (PsmHasWords(tmpn->word)) "%s",tmpn->word; Sound(tmpn->ona); @@ -683,7 +683,7 @@ mo_got_message: tmpn=tmpn->next; } psm.cur_note=&psm.head; - psm.scrn_x+=psm.cur_note->x-GR_WIDTH/2; + psm.screen_x+=psm.cur_note->x-GR_WIDTH/2; psm.playing=FALSE; PsmMenu(psm_octave); col=0; @@ -707,7 +707,7 @@ mo_got_message: psm.record_entry->checked=TRUE; psm_duration=1.0; psm_octave=4; - psm.scrn_x=0; + psm.screen_x=0; } PsmMenu(psm_octave); col=0; diff --git a/src/Compiler/CMain.CC b/src/Compiler/CMain.CC index 4c467d6a..d93876c6 100755 --- a/src/Compiler/CMain.CC +++ b/src/Compiler/CMain.CC @@ -72,7 +72,7 @@ CAOT *CompJoin(CCompCtrl *cc,I64 comp_flags,U8 *map_name=NULL,U8 mapfile_drive_l cc->htc.glbl_hash_table->next=Fs->hash_table; cc->htc.hash_table_list=cc->htc.local_hash_table=HashTableNew(16); cc->htc.local_hash_table->next=cc->htc.glbl_hash_table; - cc->htc.local_var_list=cc->htc.fun; //HolyC local vars + cc->htc.local_var_list=cc->htc.fun; //CosmiC local vars cc->htc.fun=NULL; try { if (comp_flags&CMPF_LEX_FIRST) diff --git a/src/Compiler/CMisc.CC b/src/Compiler/CMisc.CC index 786242bd..ec8fcdac 100755 --- a/src/Compiler/CMisc.CC +++ b/src/Compiler/CMisc.CC @@ -89,7 +89,7 @@ U0 StreamDir() } CD2I32 *LexD2I32(CCompCtrl *cc,CD2I32 *p) -{//Not HolyC. Sprite-like lex 2D point. +{//Not CosmiC. Sprite-like lex 2D point. if (cc->token!='(') LexExcept(cc,"Expecting '(' at "); Lex(cc); //Skip ( @@ -105,7 +105,7 @@ CD2I32 *LexD2I32(CCompCtrl *cc,CD2I32 *p) } CD3I32 *LexD3I32(CCompCtrl *cc,CD3I32 *p) -{//Not HolyC. Sprite-like lex 3D point. +{//Not CosmiC. Sprite-like lex 3D point. if (cc->token!='(') LexExcept(cc,"Expecting '(' at "); Lex(cc); //Skip ( diff --git a/src/Compiler/Compiler.BIN b/src/Compiler/Compiler.BIN index e2f81e95..b34d605c 100755 Binary files a/src/Compiler/Compiler.BIN and b/src/Compiler/Compiler.BIN differ diff --git a/src/Demo/AcctExample/PersonalNotes.DD b/src/Demo/AcctExample/PersonalNotes.DD index 1a91b1eb..8ac82558 100755 --- a/src/Demo/AcctExample/PersonalNotes.DD +++ b/src/Demo/AcctExample/PersonalNotes.DD @@ -251,7 +251,7 @@ $ID,-5$ $FG,5$$TX+CX,"Committee Needed"$$FG$ -* Make binary tree look-up using FUN_SEG symbol addresses, so we can eliminate fun_seg cache and wall-paper kludge? All HolyC functions and glbl vars would have left-right for address search. +* Make binary tree look-up using FUN_SEG symbol addresses, so we can eliminate fun_seg cache and wall-paper kludge? All CosmiC functions and glbl vars would have left-right for address search. * Should we get rid of drive mapping. It's ugly. @@ -336,7 +336,7 @@ $FG,5$$TX+CX,"Inspirational Ideas"$$FG$ * Make use of flag potential in $LK,"FilesFind",A="MN:FilesFind"$() and possibly $LK,"DirContextNew",A="MN:DirContextNew"$(). * Sort options for $LK,"FilesFind",A="MN:FilesFind"$()? -* New $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ language features? +* New $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ language features? * Better $LK,"Debugging",A="HI:Debugging"$? @@ -406,7 +406,7 @@ $FG,5$$TX+CX,"Uncategorized"$$FG$ * MOV U8 [RSP+RCX],DL -* $LK,"gr.scrn_image",A="MN:CGrGlobals"$ +* $LK,"gr.screen_image",A="MN:CGrGlobals"$ >Might want to do ZOOM in U8 graphics and convert screen capture to U8 >Might want to rev bit order diff --git a/src/Demo/AcctExample/TOS/TOSTheme.CC b/src/Demo/AcctExample/TOS/TOSTheme.CC index 8e21a696..84a5eaed 100755 Binary files a/src/Demo/AcctExample/TOS/TOSTheme.CC and b/src/Demo/AcctExample/TOS/TOSTheme.CC differ diff --git a/src/Demo/Asm/AsmAndC1.CC b/src/Demo/Asm/AsmAndC1.CC index 5dab7c8b..1bfa10b1 100755 --- a/src/Demo/Asm/AsmAndC1.CC +++ b/src/Demo/Asm/AsmAndC1.CC @@ -29,7 +29,7 @@ _BEEPS:: POP RBP RET1 8 //Use special return. Pop one arg off of stack. -//HolyC return vals are in RAX. This function has no return value. +//CosmiC return vals are in RAX. This function has no return value. } //_extern binds a asm sym to a function. diff --git a/src/Demo/Disk/BlkDevRep.CC b/src/Demo/Disk/BlkDevRep.CC index bb23721c..d158892c 100755 --- a/src/Demo/Disk/BlkDevRep.CC +++ b/src/Demo/Disk/BlkDevRep.CC @@ -6,7 +6,7 @@ U0 BlkDevRep() //$LK,"ClassRep",A="MN:ClassRep"$() dumps any structure, automatically. ClassRep(&blkdev.blkdevs[i]); //The lastclass arg tells ClassRep the datatype. - //lastclass is a language feature of $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$. + //lastclass is a language feature of $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$. //See $LK,"::/Demo/LastClass.CC"$. } diff --git a/src/Demo/Games/BigGuns.CC b/src/Demo/Games/BigGuns.CC index 66736943..2d05481b 100755 Binary files a/src/Demo/Games/BigGuns.CC and b/src/Demo/Games/BigGuns.CC differ diff --git a/src/Demo/Games/BlackDiamond.CC b/src/Demo/Games/BlackDiamond.CC index c3095363..da6300f0 100755 Binary files a/src/Demo/Games/BlackDiamond.CC and b/src/Demo/Games/BlackDiamond.CC differ diff --git a/src/Demo/Games/CastleFrankenstein.CC b/src/Demo/Games/CastleFrankenstein.CC index 1f1f6161..5338f767 100755 --- a/src/Demo/Games/CastleFrankenstein.CC +++ b/src/Demo/Games/CastleFrankenstein.CC @@ -83,7 +83,7 @@ $SP,"<1>",BI=1$ -#define SCRN_SCALE 512 +#define SCREEN_SCALE 512 #define PLOT_GRID_WIDTH 24 #define PLOT_GRID_HEIGHT 24 #define MAN_HEIGHT 125 @@ -110,10 +110,10 @@ U0 CFTransform(CDC *dc,I64 *x,I64 *y,I64 *z) { I64 zz; Mat4x4MulXYZ(dc->r,x,y,z); - zz=SCRN_SCALE/3+*z; + zz=SCREEN_SCALE/3+*z; if (zz<1) zz=1; - *x=SCRN_SCALE/2* *x/zz; - *y=SCRN_SCALE/2* (*y+MAN_HEIGHT)/zz; + *x=SCREEN_SCALE/2* *x/zz; + *y=SCREEN_SCALE/2* (*y+MAN_HEIGHT)/zz; *x+=dc->x; *y+=dc->y; *z+=dc->z; @@ -131,8 +131,8 @@ Bool LOSPlot(U8 *,I64 x,I64 y,I64) Bool LOS(I64 x1,I64 y1,I64 x2,I64 y2) {//Line of sight - return Line(NULL,x1*LOS_SCALE/SCRN_SCALE,y1*LOS_SCALE/SCRN_SCALE,0, - x2*LOS_SCALE/SCRN_SCALE,y2*LOS_SCALE/SCRN_SCALE,0,&LOSPlot); + return Line(NULL,x1*LOS_SCALE/SCREEN_SCALE,y1*LOS_SCALE/SCREEN_SCALE,0, + x2*LOS_SCALE/SCREEN_SCALE,y2*LOS_SCALE/SCREEN_SCALE,0,&LOSPlot); } U0 DrawIt(CTask *task,CDC *dc) @@ -154,7 +154,7 @@ U0 DrawIt(CTask *task,CDC *dc) Mat4x4RotX(dc->r,/2); DCMat4x4Set(dc,dc->r); - xh=-man_xx/SCRN_SCALE; yh=-man_yy/SCRN_SCALE; zh=0; + xh=-man_xx/SCREEN_SCALE; yh=-man_yy/SCREEN_SCALE; zh=0; Mat4x4MulXYZ(dc->r,&xh,&yh,&zh); Mat4x4TranslationEqu(dc->r,xh,yh,zh); @@ -162,7 +162,7 @@ U0 DrawIt(CTask *task,CDC *dc) s2w=Mat4x4IdentNew(task); Mat4x4RotX(s2w,-/2); Mat4x4RotZ(s2w,-man_-/2); - xh=0; yh=0; zh=SCRN_SCALE; + xh=0; yh=0; zh=SCREEN_SCALE; Mat4x4MulXYZ(s2w,&xh,&yh,&zh); //Rotate light source @@ -194,12 +194,12 @@ U0 DrawIt(CTask *task,CDC *dc) x1w=x1h; y1w=y1h; for (i=0;icolor=DKGRAY; @@ -208,62 +208,62 @@ U0 DrawIt(CTask *task,CDC *dc) poly[0].x=x; poly[0].y=y; poly[0].z=0; - poly[1].x=x+SCRN_SCALE; + poly[1].x=x+SCREEN_SCALE; poly[1].y=y; poly[1].z=0; - poly[2].x=x+SCRN_SCALE; - poly[2].y=y+SCRN_SCALE; + poly[2].x=x+SCREEN_SCALE; + poly[2].y=y+SCREEN_SCALE; poly[2].z=0; poly[3].x=x; - poly[3].y=y+SCRN_SCALE; + poly[3].y=y+SCREEN_SCALE; poly[3].z=0; GrFillPoly3(dc,4,poly); if (c==GREEN) { - x1=x+SCRN_SCALE/2; - y1=y+SCRN_SCALE/2; + x1=x+SCREEN_SCALE/2; + y1=y+SCREEN_SCALE/2; z1=0; DCTransform(dc,&x1,&y1,&z1); if (z1>0) - Sprite3Mat4x4B(dc,x+SCRN_SCALE/2,y+SCRN_SCALE/2,0,$IB,"<5>",BI=5$,r3); + Sprite3Mat4x4B(dc,x+SCREEN_SCALE/2,y+SCREEN_SCALE/2,0,$IB,"<5>",BI=5$,r3); } else if (c==YELLOW) { - x1=x+SCRN_SCALE/2; - y1=y+SCRN_SCALE/2; + x1=x+SCREEN_SCALE/2; + y1=y+SCREEN_SCALE/2; z1=0; DCTransform(dc,&x1,&y1,&z1); if (z1>0) - Sprite3Mat4x4B(dc,x+SCRN_SCALE/2,y+SCRN_SCALE/2,0,$IB,"<6>",BI=6$,r3); + Sprite3Mat4x4B(dc,x+SCREEN_SCALE/2,y+SCREEN_SCALE/2,0,$IB,"<6>",BI=6$,r3); } if (!map[(yy+1)*map_width+xx]) { dc->color=LTGRAY; poly[0].x=x; - poly[0].y=y+SCRN_SCALE; + poly[0].y=y+SCREEN_SCALE; poly[0].z=0; - poly[1].x=x+SCRN_SCALE; - poly[1].y=y+SCRN_SCALE; + poly[1].x=x+SCREEN_SCALE; + poly[1].y=y+SCREEN_SCALE; poly[1].z=0; - poly[2].x=x+SCRN_SCALE; - poly[2].y=y+SCRN_SCALE; - poly[2].z=SCRN_SCALE; + poly[2].x=x+SCREEN_SCALE; + poly[2].y=y+SCREEN_SCALE; + poly[2].z=SCREEN_SCALE; poly[3].x=x; - poly[3].y=y+SCRN_SCALE; - poly[3].z=SCRN_SCALE; + poly[3].y=y+SCREEN_SCALE; + poly[3].z=SCREEN_SCALE; GrFillPoly3(dc,4,poly); } if (!map[yy*map_width+xx+1]) { dc->color=WHITE; - poly[0].x=x+SCRN_SCALE; + poly[0].x=x+SCREEN_SCALE; poly[0].y=y; poly[0].z=0; - poly[1].x=x+SCRN_SCALE; - poly[1].y=y+SCRN_SCALE; + poly[1].x=x+SCREEN_SCALE; + poly[1].y=y+SCREEN_SCALE; poly[1].z=0; - poly[2].x=x+SCRN_SCALE; - poly[2].y=y+SCRN_SCALE; - poly[2].z=SCRN_SCALE; - poly[3].x=x+SCRN_SCALE; + poly[2].x=x+SCREEN_SCALE; + poly[2].y=y+SCREEN_SCALE; + poly[2].z=SCREEN_SCALE; + poly[3].x=x+SCREEN_SCALE; poly[3].y=y; - poly[3].z=SCRN_SCALE; + poly[3].z=SCREEN_SCALE; GrFillPoly3(dc,4,poly); } if (!map[(yy-1)*map_width+xx]) { @@ -271,15 +271,15 @@ U0 DrawIt(CTask *task,CDC *dc) poly[0].x=x; poly[0].y=y; poly[0].z=0; - poly[1].x=x+SCRN_SCALE; + poly[1].x=x+SCREEN_SCALE; poly[1].y=y; poly[1].z=0; - poly[2].x=x+SCRN_SCALE; + poly[2].x=x+SCREEN_SCALE; poly[2].y=y; - poly[2].z=SCRN_SCALE; + poly[2].z=SCREEN_SCALE; poly[3].x=x; poly[3].y=y; - poly[3].z=SCRN_SCALE; + poly[3].z=SCREEN_SCALE; GrFillPoly3(dc,4,poly); } if (!map[yy*map_width+xx-1]) { @@ -288,14 +288,14 @@ U0 DrawIt(CTask *task,CDC *dc) poly[0].y=y; poly[0].z=0; poly[1].x=x; - poly[1].y=y+SCRN_SCALE; + poly[1].y=y+SCREEN_SCALE; poly[1].z=0; poly[2].x=x; - poly[2].y=y+SCRN_SCALE; - poly[2].z=SCRN_SCALE; + poly[2].y=y+SCREEN_SCALE; + poly[2].z=SCREEN_SCALE; poly[3].x=x; poly[3].y=y; - poly[3].z=SCRN_SCALE; + poly[3].z=SCREEN_SCALE; GrFillPoly3(dc,4,poly); } } @@ -352,10 +352,10 @@ U0 DrawIt(CTask *task,CDC *dc) dc->color=LTPURPLE; for (i=0,tmpm=monsters;idead) - GrPlot3(dc,2*(tmpm->x/SCRN_SCALE), - 2*(map_height-1-tmpm->y/SCRN_SCALE),0); + GrPlot3(dc,2*(tmpm->x/SCREEN_SCALE), + 2*(map_height-1-tmpm->y/SCREEN_SCALE),0); dc->color=LTCYAN; - GrPlot3(dc,2*(man_xx/SCRN_SCALE),2*(map_height-1-man_yy/SCRN_SCALE),0); + GrPlot3(dc,2*(man_xx/SCREEN_SCALE),2*(map_height-1-man_yy/SCREEN_SCALE),0); if (tf) { dc->color=LTRED; @@ -424,16 +424,16 @@ U0 Init() for (x=0;xdead=FALSE; do { - tmpm->x=RandU64%((map_width-2)*SCRN_SCALE)+SCRN_SCALE; - tmpm->y=RandU64%((map_height-2)*SCRN_SCALE)+SCRN_SCALE; - } while (!map[(tmpm->y/SCRN_SCALE)*map_width+tmpm->x/SCRN_SCALE]); + tmpm->x=RandU64%((map_width-2)*SCREEN_SCALE)+SCREEN_SCALE; + tmpm->y=RandU64%((map_height-2)*SCREEN_SCALE)+SCREEN_SCALE; + } while (!map[(tmpm->y/SCREEN_SCALE)*map_width+tmpm->x/SCREEN_SCALE]); } monsters_left=MONSTERS_NUM; tf=0; @@ -446,7 +446,7 @@ U0 AnimateTask(I64) Monster *tmpm; while (TRUE) { - dd=0.25*SCRN_SCALE*Sin(tS/2); + dd=0.25*SCREEN_SCALE*Sin(tS/2); for (i=0,tmpm=monsters;idead) { x=tmpm->x; @@ -455,19 +455,19 @@ U0 AnimateTask(I64) x+=dd; else y+=dd; - if (0<=x<=map_width*SCRN_SCALE && - 0<=y<=map_height*SCRN_SCALE && - map[(y/SCRN_SCALE)*map_width+x/SCRN_SCALE]) { - if (!map[(y/SCRN_SCALE)*map_width+x/SCRN_SCALE+1] && - x-RoundI64(x,SCRN_SCALE)>SCRN_SCALE/2 || - !map[(y/SCRN_SCALE)*map_width+x/SCRN_SCALE-1] && - x-RoundI64(x,SCRN_SCALE)SCRN_SCALE/2 || - !map[(y/SCRN_SCALE-1)*map_width+x/SCRN_SCALE] && - y-RoundI64(y,SCRN_SCALE)SCREEN_SCALE/2 || + !map[(y/SCREEN_SCALE)*map_width+x/SCREEN_SCALE-1] && + x-RoundI64(x,SCREEN_SCALE)SCREEN_SCALE/2 || + !map[(y/SCREEN_SCALE-1)*map_width+x/SCREEN_SCALE] && + y-RoundI64(y,SCREEN_SCALE)x=x; tmpm->y=y; } @@ -497,13 +497,13 @@ U0 SongTask(I64) U0 MoveMan(F64 ) { - I64 x,y,color,step=SCRN_SCALE/2; + I64 x,y,color,step=SCREEN_SCALE/2; do { x=man_xx+step*Cos(); y=man_yy-step*Sin(); - x=Clamp(x,0,map_width*SCRN_SCALE); - y=Clamp(y,0,map_height*SCRN_SCALE); - color=map[y/SCRN_SCALE*map_width+x/SCRN_SCALE]; + x=Clamp(x,0,map_width*SCREEN_SCALE); + y=Clamp(y,0,map_height*SCREEN_SCALE); + color=map[y/SCREEN_SCALE*map_width+x/SCREEN_SCALE]; if (color==DKGRAY || color==GREEN) { man_xx=x; man_yy=y; diff --git a/src/Demo/Games/CharDemo.CC b/src/Demo/Games/CharDemo.CC index c367c8df..cc8416f1 100755 --- a/src/Demo/Games/CharDemo.CC +++ b/src/Demo/Games/CharDemo.CC @@ -17,17 +17,17 @@ The nice thing about character graphics are the animations. U16 map[MAP_HEIGHT][MAP_WIDTH]; -I64 scrn_pix_x,scrn_pix_y; +I64 screen_pix_x,screen_pix_y; U0 DrawIt(CTask *task,CDC *) { U16 *ptr; - I64 i,j,y=scrn_pix_y>>3; + I64 i,j,y=screen_pix_y>>3; gr.hide_col=gr.hide_row=TRUE; - gr.pan_text_x=7-scrn_pix_x&7; - gr.pan_text_y=7-scrn_pix_y&7; + gr.pan_text_x=7-screen_pix_x&7; + gr.pan_text_y=7-screen_pix_y&7; for (i=0;iwin_height;i++) { - ptr=&map[y++][scrn_pix_x>>3]; + ptr=&map[y++][screen_pix_x>>3]; for (j=0;jwin_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 @@ -66,7 +66,7 @@ U0 ScrollTaskX(I64 sign) { I64 i; for (i=0;i<32;i++) { - scrn_pix_x=ClampI64(scrn_pix_x+sign,0, + screen_pix_x=ClampI64(screen_pix_x+sign,0, (MAP_WIDTH-TEXT_COLS+1)*FONT_WIDTH); Refresh; } @@ -76,7 +76,7 @@ U0 ScrollTaskY(I64 sign) { I64 i; for (i=0;i<32;i++) { - scrn_pix_y=ClampI64(scrn_pix_y+sign,0, + screen_pix_y=ClampI64(screen_pix_y+sign,0, (MAP_HEIGHT-TEXT_ROWS+2)*FONT_HEIGHT); Refresh; } @@ -85,8 +85,8 @@ U0 ScrollTaskY(I64 sign) U0 Init() { I64 i,j,x,y; - scrn_pix_x=(MAP_WIDTH-TEXT_COLS)>>1*FONT_WIDTH; - scrn_pix_y=(MAP_HEIGHT-TEXT_ROWS)>>1*FONT_HEIGHT; + screen_pix_x=(MAP_WIDTH-TEXT_COLS)>>1*FONT_WIDTH; + screen_pix_y=(MAP_HEIGHT-TEXT_ROWS)>>1*FONT_HEIGHT; MemSetU16(map,CH_WATER+(BLUE<<4+LTBLUE)<<8,MAP_WIDTH*MAP_HEIGHT); for (i=1;i",BI=7$ ,$IB,"<5>",BI=5$ ,NULL,NULL,NULL,NULL,NULL, U8 *tiles2[16]={NULL,$IB,"<8>",BI=8$ ,$IB,"<5>",BI=5$ ,NULL,NULL,NULL,NULL,NULL, $IB,"<6>",BI=6$ ,NULL,NULL,NULL,NULL,NULL,NULL,NULL}; -#define SCRN_SCALE 24 -#define SCRN_WIDTH 24 -#define SCRN_HEIGHT 24 -I64 scrn_x,scrn_y; +#define SCREEN_SCALE 24 +#define SCREEN_WIDTH 24 +#define SCREEN_HEIGHT 24 +I64 screen_x,screen_y; #define MAP_SCALE 4 I64 map_width,map_height; @@ -115,32 +115,32 @@ U0 DrawIt(CTask *task,CDC *dc) //if you did it like $LK,"::/Demo/Games/BigGuns.CC"$ //with a $LK,"CDC",A="MN:CDC"$. - for (y=-SCRN_HEIGHT/2;ycolor=color; GrFillPoly3(dc_t,4,poly); @@ -150,23 +150,23 @@ U0 DrawIt(CTask *task,CDC *dc) } } - for (y=-SCRN_HEIGHT/2;y",BI=9$); } if (xx+1",BI=10$); @@ -178,8 +178,8 @@ U0 DrawIt(CTask *task,CDC *dc) for (i=0,tmpm=monsters;idead && LOS(tmpm->x,tmpm->y,man_x,man_y)) { - x1=(tmpm->x-scrn_x)*SCRN_SCALE+SCRN_SCALE/2; - y1=(tmpm->y-scrn_y)*SCRN_SCALE+SCRN_SCALE/2; + x1=(tmpm->x-screen_x)*SCREEN_SCALE+SCREEN_SCALE/2; + y1=(tmpm->y-screen_y)*SCREEN_SCALE+SCREEN_SCALE/2; z1=0; DCTransform(dc_t,&x1,&y1,&z1); if (tmpm->dx<0) { @@ -190,14 +190,14 @@ U0 DrawIt(CTask *task,CDC *dc) Sprite3(dc,x1,y1,z1,$IB,"<4>",BI=4$); } - x1=(man_x-scrn_x)*SCRN_SCALE+SCRN_SCALE/2; - y1=(man_y-scrn_y)*SCRN_SCALE+SCRN_SCALE/2; + x1=(man_x-screen_x)*SCREEN_SCALE+SCREEN_SCALE/2; + y1=(man_y-screen_y)*SCREEN_SCALE+SCREEN_SCALE/2; z1=0; if (tS-man_attack_t0<0.2) { - x1+=Tri(tS-man_attack_t0,0.2)*SCRN_SCALE*man_dx; - y1+=Tri(tS-man_attack_t0,0.2)*SCRN_SCALE*man_dy; + x1+=Tri(tS-man_attack_t0,0.2)*SCREEN_SCALE*man_dx; + y1+=Tri(tS-man_attack_t0,0.2)*SCREEN_SCALE*man_dy; if (man_dy!=1) - y1-=Saw(tS-man_attack_t0,0.2)*SCRN_SCALE; + y1-=Saw(tS-man_attack_t0,0.2)*SCREEN_SCALE; } DCTransform(dc_t,&x1,&y1,&z1); if (man_dx<0) { @@ -268,8 +268,8 @@ U0 Init() man_y=4; man_dx=0; man_dy=0; - scrn_x=0; - scrn_y=0; + screen_x=0; + screen_y=0; for (i=0,tmpm=monsters;idead=FALSE; tmpm->dx=0; @@ -368,10 +368,10 @@ U0 DunGen() if (man_x+1SCRN_WIDTH/2-3) { - scrn_x+=SCRN_WIDTH/2; - if (scrn_x+SCRN_WIDTH/2>map_width) - scrn_x=map_width-SCRN_WIDTH/2; + if (man_x-screen_x>SCREEN_WIDTH/2-3) { + screen_x+=SCREEN_WIDTH/2; + if (screen_x+SCREEN_WIDTH/2>map_width) + screen_x=map_width-SCREEN_WIDTH/2; } } break; @@ -384,10 +384,10 @@ U0 DunGen() if (man_x-1>=0 && map[man_y*map_width+(man_x-1)]==DKGRAY) { man_x--; - if (man_x-scrn_x<-SCRN_WIDTH/2+3) { - scrn_x-=SCRN_WIDTH/2; - if (scrn_x-SCRN_WIDTH/2<0) - scrn_x=SCRN_WIDTH/2; + if (man_x-screen_x<-SCREEN_WIDTH/2+3) { + screen_x-=SCREEN_WIDTH/2; + if (screen_x-SCREEN_WIDTH/2<0) + screen_x=SCREEN_WIDTH/2; } } break; @@ -400,10 +400,10 @@ U0 DunGen() if (man_y-1>=0 && map[(man_y-1)*map_width+man_x]==DKGRAY) { man_y--; - if (man_y-scrn_y<-SCRN_HEIGHT/2+3) { - scrn_y-=SCRN_HEIGHT/2; - if (scrn_y-SCRN_HEIGHT/2<0) - scrn_y=SCRN_HEIGHT/2; + if (man_y-screen_y<-SCREEN_HEIGHT/2+3) { + screen_y-=SCREEN_HEIGHT/2; + if (screen_y-SCREEN_HEIGHT/2<0) + screen_y=SCREEN_HEIGHT/2; } } break; @@ -416,10 +416,10 @@ U0 DunGen() if (man_y+1SCRN_HEIGHT/2-3) { - scrn_y+=SCRN_HEIGHT/2; - if (scrn_y+SCRN_HEIGHT/2>map_height) - scrn_y=map_height-SCRN_HEIGHT/2; + if (man_y-screen_y>SCREEN_HEIGHT/2-3) { + screen_y+=SCREEN_HEIGHT/2; + if (screen_y+SCREEN_HEIGHT/2>map_height) + screen_y=map_height-SCREEN_HEIGHT/2; } } break; diff --git a/src/Demo/Games/Stadium/StadiumGen.CC b/src/Demo/Games/Stadium/StadiumGen.CC index bfe61a6d..564355a1 100755 --- a/src/Demo/Games/Stadium/StadiumGen.CC +++ b/src/Demo/Games/Stadium/StadiumGen.CC @@ -13,8 +13,8 @@ U0 StadiumGen() DocClear; Type("StadiumBG.DD"); "$$CM,0,%d$$",TEXT_ROWS-3; - fp_old_update=gr.fp_final_scrn_update; //hide mouse cursor - gr.fp_final_scrn_update=NULL; + fp_old_update=gr.fp_final_screen_update; //hide mouse cursor + gr.fp_final_screen_update=NULL; Refresh(2,TRUE); dc2=DCScreenCapture; @@ -25,7 +25,7 @@ U0 StadiumGen() DCDel(dc); DocCursor(ON); - gr.fp_final_scrn_update=fp_old_update; + gr.fp_final_screen_update=fp_old_update; DocClear; } diff --git a/src/Demo/Games/ZoneOut.CC b/src/Demo/Games/ZoneOut.CC index 7ba84c66..5075c7a6 100755 Binary files a/src/Demo/Games/ZoneOut.CC and b/src/Demo/Games/ZoneOut.CC differ diff --git a/src/Demo/Graphics/SpritePlot.CC b/src/Demo/Graphics/SpritePlot.CC index f727fb66..3effab0e 100755 Binary files a/src/Demo/Graphics/SpritePlot.CC and b/src/Demo/Graphics/SpritePlot.CC differ diff --git a/src/Demo/Lectures/FixedPoint.CC b/src/Demo/Lectures/FixedPoint.CC index 4c3d1819..44501b93 100755 --- a/src/Demo/Lectures/FixedPoint.CC +++ b/src/Demo/Lectures/FixedPoint.CC @@ -15,7 +15,7 @@ See $LK,"::/Demo/SubIntAccess.CC"$ for how to access upper or lower 32-bits. For a complete list of nonstandard compiler -features, see $LK,"::/Doc/HolyC.DD"$. +features, see $LK,"::/Doc/CosmiC.DD"$. */ U0 Main() @@ -69,7 +69,7 @@ place i into a reg, so there is a penalty. For a complete list of nonstandard compiler -features, see $LK,"::/Doc/HolyC.DD"$. +features, see $LK,"::/Doc/CosmiC.DD"$. */ "i.u32[0]\t=%X\n",i.u32[0]; diff --git a/src/Demo/Lectures/ScreenMemory.CC b/src/Demo/Lectures/ScreenMemory.CC index 97492037..cd6016c4 100755 --- a/src/Demo/Lectures/ScreenMemory.CC +++ b/src/Demo/Lectures/ScreenMemory.CC @@ -37,7 +37,7 @@ That means no read-modify-writes, too. */ Busy(4000000); - //ZenithOS has a 4 plane memory duplicate of the screen, $LK,"gr.scrn_image",A="MN:CGrGlobals"$, + //ZenithOS has a 4 plane memory duplicate of the screen, $LK,"gr.screen_image",A="MN:CGrGlobals"$, //and only writes actual changes.See $LK,"GrUpdateVGAGraphics",A="MN:GrUpdateVGAGraphics"$(). // will flush screen VGA cache. VGAFlush; diff --git a/src/Demo/RegistryDemo.CC b/src/Demo/RegistryDemo.CC index 482bee09..e9805051 100755 --- a/src/Demo/RegistryDemo.CC +++ b/src/Demo/RegistryDemo.CC @@ -1,9 +1,9 @@ -/*The ~/Registry.CC file is HolyC code. +/*The ~/Registry.CC file is CosmiC code. You can execute a tree branch of it.The Zenith branch is executed in the Zenith task boot phase. Normally, you will place var declarations in the branch you make, but since an arthmetic expression -is valid in HolyC you can place simple expressions +is valid in CosmiC you can place simple expressions without vars. */ diff --git a/src/Doc/Asm.DD b/src/Doc/Asm.DD index aa80c223..704e398d 100755 --- a/src/Doc/Asm.DD +++ b/src/Doc/Asm.DD @@ -6,7 +6,7 @@ Here are example inst formats: $HL,1$ ADD RAX,I64 FS:DISP[RSI+RDI*8] $HL,0$$HL,1$ ADD RAX,I64 [DISP] $HL,0$ -$FG,2$$$$FG$ Current compiler output pos (inst ptr). Even works in HolyC expressions. +$FG,2$$$$FG$ Current compiler output pos (inst ptr). Even works in CosmiC expressions. $FG,2$$$$FG$ works in $FG,2$class$FG$es. $FG,2$class MyFun diff --git a/src/Doc/Charter.DD b/src/Doc/Charter.DD index 610903c5..0e92ab0e 100755 --- a/src/Doc/Charter.DD +++ b/src/Doc/Charter.DD @@ -33,7 +33,7 @@ $ID,-5$ * There is a limit of 100,000 lines of code for all time, not including applications and demos. $FG,4$Code comments count$FG$, however. Currently, there are $TX,"81,494",D="DD_TEMPLEOS_LOC"$ lines of code. $FG,4$3rd party libraries are banned$FG$ because they circumvent the intent of this limit. The vision is a Commodore 64 ROM -- a fixed core API that is the only dependency of applications. Dependency on components and libraries creates a hell that is no longer blissful. -* The metric for resolving all ZenithOS code governance issues is how fast the compiler compiles itself and the kernel with $LK,"BootHDIns",A="MN:BootHDIns"$(). The $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ language should be changed to optimize this metric, as I did when I changed type casting from prefix standard C to postfix $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$, but we need a rule to prevent degenerating into a brainfuck language. +* The metric for resolving all ZenithOS code governance issues is how fast the compiler compiles itself and the kernel with $LK,"BootHDIns",A="MN:BootHDIns"$(). The $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ language should be changed to optimize this metric, as I did when I changed type casting from prefix standard C to postfix $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$, 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/src/Doc/CmdLineOverview.DD b/src/Doc/CmdLineOverview.DD index f7beef7f..8575d40a 100755 --- a/src/Doc/CmdLineOverview.DD +++ b/src/Doc/CmdLineOverview.DD @@ -1,6 +1,6 @@ $WW,1$$FG,5$$TX+CX,"Command Line Overview"$$FG$ -The cmd line feeds into the $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ compiler line-by-line as you type. A stmt outside a function executes immediately. Remember to add a semicolon.$WW,1$ +The cmd line feeds into the $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ compiler line-by-line as you type. A stmt outside a function executes immediately. Remember to add a semicolon.$WW,1$ Look-up the function headers with $FG,2$AutoComplete$FG$ by hitting $FG,2$$FG$ after typing the first few letters. diff --git a/src/Doc/HolyC.DD b/src/Doc/CosmiC.DD similarity index 98% rename from src/Doc/HolyC.DD rename to src/Doc/CosmiC.DD index aba646ba..51eb7123 100755 --- a/src/Doc/HolyC.DD +++ b/src/Doc/CosmiC.DD @@ -78,7 +78,7 @@ $ID,2$$WW,0$ $FG,2$I64 AddNums(...) { I64 i,res=0; - for (i=0;i$FG$ with $FG,2$#include$FG$, use $FG,2$""$FG$. -* "$FG,2$$$$FG$" is an escape character. Two dollar signs signify an ordinary $$. See $LK,"DolDoc",A="FI:::/Doc/DolDocOverview.DD"$. In $FG,2$asm$FG$ or $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ code, it also refers to the inst's address or the offset in a $FG,2$class$FG$ definition. +* "$FG,2$$$$FG$" is an escape character. Two dollar signs signify an ordinary $$. See $LK,"DolDoc",A="FI:::/Doc/DolDocOverview.DD"$. In $FG,2$asm$FG$ or $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ code, it also refers to the inst's address or the offset in a $FG,2$class$FG$ definition. * $FG,2$union$FG$ is more like a class, so you don't reference it with a $FG,2$union$FG$ label after you define it. Some common unions are declared in $LK,"KernelA.HH",A="MN:U16"$ 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 $LK,"::/Demo/SubIntAccess.CC"$. diff --git a/src/Doc/D3.DD b/src/Doc/D3.DD index 5d65ae85..cc5f6e1c 100755 --- a/src/Doc/D3.DD +++ b/src/Doc/D3.DD @@ -1,3 +1,3 @@ -$WW,1$ZenithOS has a class for 3 dimensional points consisting of F64s. HolyC is not C++ -- it does not support passing or returning values from functions which are not 64-bits, therefore, it can't be implemented with operator overloading. Making all function args and returns 64-bit is a core prinicple of ZenithOS. +$WW,1$ZenithOS has a class for 3 dimensional points consisting of F64s. CosmiC is not C++ -- it does not support passing or returning values from functions which are not 64-bits, therefore, it can't be implemented with operator overloading. Making all function args and returns 64-bit is a core prinicple of ZenithOS. As a courtesy, most of the CD3 functions return the addr of the destination vect, so you can nestle calls. They do not alloc new space for the destination vect. diff --git a/src/Doc/DebugOverview.DD b/src/Doc/DebugOverview.DD index 147be0b9..8fb71a00 100755 --- a/src/Doc/DebugOverview.DD +++ b/src/Doc/DebugOverview.DD @@ -4,7 +4,7 @@ $WW,1$$FG,5$$TX+CX,"Debugging Overview"$$FG$ * $LK,"U",A="MN:U"$(&FunName+offset) to unassemble mem or $LK,"Uf",A="MN:Uf"$("FunName") to unassemble a function. $LK,"U",A="MN:U"$($LK,"_RIP",A="MN:_RIP"$-16); -* While debugging, you specify addresses of assembly routines with just the label, as in $FG,2$_MALLOC+0x20$FG$. You specify $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ function names with $FG,2$&$FG$ before functions as in $FG,2$&Print+0x10$FG$. +* While debugging, you specify addresses of assembly routines with just the label, as in $FG,2$_MALLOC+0x20$FG$. You specify $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ function names with $FG,2$&$FG$ before functions as in $FG,2$&Print+0x10$FG$. * I use $LK,"progress1",A="MN:progress1"$-$LK,"progress4",A="MN:progress4"$ for debugging because they show on the wallpaper. They're just global int vars. @@ -30,7 +30,7 @@ $WW,1$$FG,5$$TX+CX,"Debugging Overview"$$FG$ $ID,2$ $LK,"Echo",A="MN:Echo"$() turns on or off raw data going into the lexical analyzer. -$LK,"Trace",A="MN:Trace"$() unassembles code generated from the HolyC compiler. +$LK,"Trace",A="MN:Trace"$() unassembles code generated from the CosmiC compiler. $LK,"PassTrace",A="MN:PassTrace"$() shows intermediate code coming-out after optimization. The bits ctrl which passes are displayed. $ID,-2$ diff --git a/src/Doc/DolDocOverview.DD b/src/Doc/DolDocOverview.DD index 58cbf829..5fc65616 100755 --- a/src/Doc/DolDocOverview.DD +++ b/src/Doc/DolDocOverview.DD @@ -123,29 +123,29 @@ Examples: to see $ID,-2$$TR,"BT Bttn"$ $ID,2$See $LK,"::/Demo/DolDoc/MenuBttn.CC"$. $ID,-2$$TR,"DA Data"$ -$ID,2$Used for forms that prompt for data or just displaying a value. Use $FG,2$$FG$ to help you generate the DolDoc command text you need in your $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ $FG,2$class$FG$ member's $FG,2$format$FG$ meta-data for $LK,"DocForm",A="MN:DocForm"$(). See $LK,"::/Demo/DolDoc/Form.CC"$, $LK,"::/Demo/Disk/DataBase.CC"$, and $LK,"::/Zenith/DolDoc/DocWidgetWiz.CC"$. +$ID,2$Used for forms that prompt for data or just displaying a value. Use $FG,2$$FG$ to help you generate the DolDoc command text you need in your $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ $FG,2$class$FG$ member's $FG,2$format$FG$ meta-data for $LK,"DocForm",A="MN:DocForm"$(). See $LK,"::/Demo/DolDoc/Form.CC"$, $LK,"::/Demo/Disk/DataBase.CC"$, and $LK,"::/Zenith/DolDoc/DocWidgetWiz.CC"$. If you are not using $LK,"DocForm",A="MN:DocForm"$(), make a $FG,2$$$DA...$$$FG$ statement with $LK,"DocPrint",A="MN:DocPrint"$() and fill-in the $FG,2$->data$FG$ addr. See $LK,"task_title",A="FF:::/Zenith/DolDoc/DocEd.CC,&Fs->task_title"$. -The default raw data type for the $FG,2$$$DA...$$$FG$ command is $FG,2$RT=I64$FG$. $LK,"DocForm",A="MN:DocForm"$() will automatically reset the raw type to the value from the $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ $FG,2$class$FG$ member's definition if you leave it set to the default. Or, if not using $LK,"DocForm",A="MN:DocForm"$(), specify a raw data type of $FG,2$I8$FG$, $FG,2$U8$FG$, $FG,2$I16$FG$, $FG,2$U16$FG$, $FG,2$I32$FG$, $FG,2$U32$FG$, $FG,2$I64$FG$, $FG,2$U64$FG$, or $FG,2$F64$FG$. See $LK,"DocDataFormat",A="MN:DocDataFormat"$() and $LK,"DocDataScan",A="MN:DocDataScan"$(). +The default raw data type for the $FG,2$$$DA...$$$FG$ command is $FG,2$RT=I64$FG$. $LK,"DocForm",A="MN:DocForm"$() will automatically reset the raw type to the value from the $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ $FG,2$class$FG$ member's definition if you leave it set to the default. Or, if not using $LK,"DocForm",A="MN:DocForm"$(), specify a raw data type of $FG,2$I8$FG$, $FG,2$U8$FG$, $FG,2$I16$FG$, $FG,2$U16$FG$, $FG,2$I32$FG$, $FG,2$U32$FG$, $FG,2$I64$FG$, $FG,2$U64$FG$, or $FG,2$F64$FG$. See $LK,"DocDataFormat",A="MN:DocDataFormat"$() and $LK,"DocDataScan",A="MN:DocDataScan"$(). The $LK,"CDocEntry",A="MN:CDocEntry"$.aux_str arg $FG,2$A=""$FG$ is used for the print/scan format string. -The default field length is $FG,2$LEN=64$FG$ characters. For U8 arrays[], $LK,"DocForm",A="MN:DocForm"$() will automatically reset the field length to the string length from the $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ $FG,2$class$FG$ member's definition. The length measures starting after the ':' in the $FG,2$A=""$FG$ format string. +The default field length is $FG,2$LEN=64$FG$ characters. For U8 arrays[], $LK,"DocForm",A="MN:DocForm"$() will automatically reset the field length to the string length from the $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ $FG,2$class$FG$ member's definition. The length measures starting after the ':' in the $FG,2$A=""$FG$ format string. The space after the first ':' in the format string marks the first valid cursor pos. See $LK,"Data Tag Width",A="FA:::/Zenith/DolDoc/DocPlain.CC,DataTagWidth"$. $ID,-2$$TR,"CB Check Box"$ -$ID,2$Used for forms. Use $FG,2$$FG$ to help you generate the DolDoc command text you need in your $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ $FG,2$class$FG$ member's $FG,2$format$FG$ meta-data for $LK,"DocForm",A="MN:DocForm"$(). See $LK,"::/Demo/DolDoc/Form.CC"$$FG$ and $LK,"CEdFindText",A="MN:CEdFindText"$. +$ID,2$Used for forms. Use $FG,2$$FG$ to help you generate the DolDoc command text you need in your $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ $FG,2$class$FG$ member's $FG,2$format$FG$ meta-data for $LK,"DocForm",A="MN:DocForm"$(). See $LK,"::/Demo/DolDoc/Form.CC"$$FG$ and $LK,"CEdFindText",A="MN:CEdFindText"$. If you are not using $LK,"DocForm",A="MN:DocForm"$(), make a $FG,2$$$CB...$$$FG$ statement with $LK,"DocPrint",A="MN:DocPrint"$() and fill-in the $FG,2$->data$FG$ addr. See $LK,"task_title",A="FF:::/Zenith/DolDoc/DocEd.CC,&Fs->task_title"$. -The default raw data type for the $FG,2$$$CB...$$$FG$ command is $FG,2$RT=I8$FG$ which is $FG,2$Bool$FG$. $LK,"DocForm",A="MN:DocForm"$() will automatically reset the raw type to the value from the $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ $FG,2$class$FG$ member's definition if you leave it set to the default. Or, if not using $LK,"DocForm",A="MN:DocForm"$(), specify a raw data type of $FG,2$I8$FG$, $FG,2$U8$FG$, $FG,2$I16$FG$, $FG,2$U16$FG$, $FG,2$I32$FG$, $FG,2$U32$FG$, $FG,2$I64$FG$, $FG,2$U64$FG$, or $FG,2$F64$FG$. See $LK,"DocDataFormat",A="MN:DocDataFormat"$() and $LK,"DocDataScan",A="MN:DocDataScan"$(). +The default raw data type for the $FG,2$$$CB...$$$FG$ command is $FG,2$RT=I8$FG$ which is $FG,2$Bool$FG$. $LK,"DocForm",A="MN:DocForm"$() will automatically reset the raw type to the value from the $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ $FG,2$class$FG$ member's definition if you leave it set to the default. Or, if not using $LK,"DocForm",A="MN:DocForm"$(), specify a raw data type of $FG,2$I8$FG$, $FG,2$U8$FG$, $FG,2$I16$FG$, $FG,2$U16$FG$, $FG,2$I32$FG$, $FG,2$U32$FG$, $FG,2$I64$FG$, $FG,2$U64$FG$, or $FG,2$F64$FG$. See $LK,"DocDataFormat",A="MN:DocDataFormat"$() and $LK,"DocDataScan",A="MN:DocDataScan"$(). $ID,-2$$TR,"LS List Widget"$ -$ID,2$Used for forms that prompt for data. You must specify a define list, $FG,2$D=""$FG$. Use $FG,2$$FG$ to help you generate the DolDoc command text you need in your $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ $FG,2$class$FG$ member's $FG,2$format$FG$ meta-data for $LK,"DocForm",A="MN:DocForm"$(). See $LK,"::/Demo/DolDoc/Form.CC"$. +$ID,2$Used for forms that prompt for data. You must specify a define list, $FG,2$D=""$FG$. Use $FG,2$$FG$ to help you generate the DolDoc command text you need in your $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ $FG,2$class$FG$ member's $FG,2$format$FG$ meta-data for $LK,"DocForm",A="MN:DocForm"$(). See $LK,"::/Demo/DolDoc/Form.CC"$. If you are not using $LK,"DocForm",A="MN:DocForm"$(), make a $FG,2$$$LS...$$$FG$ statement with $LK,"DocPrint",A="MN:DocPrint"$() and fill-in the data addr. See $LK,"task_title",A="FF:::/Zenith/DolDoc/DocEd.CC,&Fs->task_title"$. -The default raw data type for the $FG,2$$$LS...$$$FG$ command is $FG,2$RT=I64$FG$. $LK,"DocForm",A="MN:DocForm"$() will automatically reset the raw type to the value from the $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ $FG,2$class$FG$ member's definition if you leave it set to the default. Or, if not using $LK,"DocForm",A="MN:DocForm"$(), specify a raw data type of $FG,2$I8$FG$, $FG,2$U8$FG$, $FG,2$I16$FG$, $FG,2$U16$FG$, $FG,2$I32$FG$, $FG,2$U32$FG$, $FG,2$I64$FG$, $FG,2$U64$FG$, or $FG,2$F64$FG$. See $LK,"DocDataFormat",A="MN:DocDataFormat"$() and $LK,"DocDataScan",A="MN:DocDataScan"$(). +The default raw data type for the $FG,2$$$LS...$$$FG$ command is $FG,2$RT=I64$FG$. $LK,"DocForm",A="MN:DocForm"$() will automatically reset the raw type to the value from the $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ $FG,2$class$FG$ member's definition if you leave it set to the default. Or, if not using $LK,"DocForm",A="MN:DocForm"$(), specify a raw data type of $FG,2$I8$FG$, $FG,2$U8$FG$, $FG,2$I16$FG$, $FG,2$U16$FG$, $FG,2$I32$FG$, $FG,2$U32$FG$, $FG,2$I64$FG$, $FG,2$U64$FG$, or $FG,2$F64$FG$. See $LK,"DocDataFormat",A="MN:DocDataFormat"$() and $LK,"DocDataScan",A="MN:DocDataScan"$(). $ID,-2$$TR,"MA Macro"$ $ID,2$A left macro arg, $FG,2$LM=""$FG$, will send text when the left mouse is clicked. @@ -224,7 +224,7 @@ $ID,-2$ $TR,"T=\"\" Tag Str"$ $ID,2$Some cmds have a tag by default. See $LK,"TX+T",A="FF:::/Zenith/DolDoc/DocInit.CC,TX+T"$. You can code $FG,2$T="tag_text"$FG$ as just $FG,2$"tag_text"$FG$ with no $FG,2$T=$FG$. $ID,-2$$TR,"LEN=\"\" Field Length"$ -$ID,2$The default field length for $FG,2$$$DA...$$$FG$ commands is $FG,2$LEN=64$FG$ characters. For U8 arrays[], $LK,"DocForm",A="MN:DocForm"$() will automatically reset the field length to the string length from the $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ $FG,2$class$FG$ member's definition. The length measures starting after the ':' in the $FG,2$A=""$FG$ format string. +$ID,2$The default field length for $FG,2$$$DA...$$$FG$ commands is $FG,2$LEN=64$FG$ characters. For U8 arrays[], $LK,"DocForm",A="MN:DocForm"$() will automatically reset the field length to the string length from the $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ $FG,2$class$FG$ member's definition. The length measures starting after the ':' in the $FG,2$A=""$FG$ format string. The space after the first ':' in the format string marks the first valid cursor pos. See $LK,"Data Tag Width",A="FA:::/Zenith/DolDoc/DocPlain.CC,DataTagWidth"$. $ID,-2$$TR,"A=\"\" Auxilliary Str"$ diff --git a/src/Doc/FAQ.DD b/src/Doc/FAQ.DD index 242fc505..1659b31e 100755 --- a/src/Doc/FAQ.DD +++ b/src/Doc/FAQ.DD @@ -21,7 +21,7 @@ $ID,2$$LK,"Bt",A="MN:Bt"$() is $FG,2$bit test$FG$, like the $FG,2$x86$FG$ inst, $ID,-2$$TR,"Is 'Fs->' in the code file system?"$ $ID,2$$LK,"Fs",A="MN:Fs"$ is a segment reg, not $FG,2$file system$FG$. ($LK,"Fs",A="MN:Fs"$ is kept pointing to the current task's record.) There is no memory segmentation. It is 64-bit and flat. FS and GS are used as general purpose regs, more or less. $ID,-2$$TR,"Is it Pascal?"$ -$ID,2$ZenithOS uses a dialect of C/C++ called $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$. It is not $FG,2$Pascal$FG$. I altered the syntax making parenthesis optional on function calls with no paramaters. +$ID,2$ZenithOS uses a dialect of C/C++ called $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$. It is not $FG,2$Pascal$FG$. I altered the syntax making parenthesis optional on function calls with no paramaters. $ID,-2$$TR,"Why doesn't Sleep() make my laptop hibernate?"$ $ID,2$$LK,"Sleep",A="MN:Sleep"$() makes a program pause. It is not hibernation for a laptop. $ID,-2$$TR,"What is Yield() for in loops?"$ @@ -73,7 +73,7 @@ $ID,2$Binary executable files have export syms which are loaded into the sym tab $ID,-2$$TR,"Why doesn't assert work?"$ $ID,2$$FG,2$#assert$FG$ might print a message at COMPILE time, not run time. $ID,-2$$TR,"Why doesn't C++ public work?"$ -$ID,2$The word $FG,2$public$FG$ in $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ does very little except allow the $LK,"Help & Index",A="FI:::/Doc/HelpIndex.DD"$ and $LK,"Who",A="MN:Who"$() to exclude meaningless syms. If you wish a full report of public and nonpublic syms $MA-X+PU,"Click Here",LM="DocMax(1000000);Who;View;\n"$. +$ID,2$The word $FG,2$public$FG$ in $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ does very little except allow the $LK,"Help & Index",A="FI:::/Doc/HelpIndex.DD"$ and $LK,"Who",A="MN:Who"$() to exclude meaningless syms. If you wish a full report of public and nonpublic syms $MA-X+PU,"Click Here",LM="DocMax(1000000);Who;View;\n"$. $ID,-2$$TR,"How does the debugger do source debugging?"$ $ID,2$When compilation takes place, the structures used by the compiler stick around. Data on classes can be accessed. See $LK,"ClassRep",A="MN:ClassRep"$(). $ID,-2$$TR,"What are the ASCII 5 and ASCII 31 chars doing in my text files?"$ diff --git a/src/Doc/Features.DD b/src/Doc/Features.DD index 4eb0841e..e640c7f6 100755 --- a/src/Doc/Features.DD +++ b/src/Doc/Features.DD @@ -8,7 +8,7 @@ * Free, $FG,2$public domain$FG$, $FG,2$100% open source$FG$. -* 64-bit $FG,2$compiler/assembler$FG$ for $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$. Truly compiles, doesn't interpret. $FG,2$Just-in-Time$FG$ and $FG,2$Ahead-of-Time$FG$ compilation. With $FG,2$JIT$FG$, no need for object or exe files. +* 64-bit $FG,2$compiler/assembler$FG$ for $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$. Truly compiles, doesn't interpret. $FG,2$Just-in-Time$FG$ and $FG,2$Ahead-of-Time$FG$ compilation. With $FG,2$JIT$FG$, no need for object or exe files. * No 32-bit krufty code. diff --git a/src/Doc/Glossary.DD b/src/Doc/Glossary.DD index 49e75a64..16ef8c89 100755 --- a/src/Doc/Glossary.DD +++ b/src/Doc/Glossary.DD @@ -169,8 +169,8 @@ $ID,-2$$TR,"Code and Data Heaps"$ $ID,2$ZenithOS uses the asm $FG,2$CALL$FG$ inst, exclusively, and that inst is limited to calling routines $FG,2$+/-2Gig$FG$ from the current code location. To prevent out-of-range issues, I decided to separate code and data, placing all code within the lowest $FG,2$2Gig$FG$ of memory, addresses $FG,2$00000000$FG$-$FG,2$7FFFFFFF$FG$. The compiler and $LK,"Load",A="MN:Load"$()er alloc memory from the code heap to store code and glbl vars, unless the compiler option $LK,"OPTf_GLBLS_ON_DATA_HEAP",A="MN:OPTf_GLBLS_ON_DATA_HEAP"$ is used. When programs call $LK,"MAlloc",A="MN:MAlloc"$() is from the data heap, which in not limited in size, except by physical RAM memory. You can alloc from any heap in any task at any time on any core, even making $LK,"independent",A="MN:MemPagAlloc"$ heaps. $ID,-2$$TR,"Parent, Child and PopUp Tasks"$ $ID,2$Often a task will $LK,"Spawn",A="MN:Spawn"$() or $LK,"PopUp",A="MN:PopUp"$() a task as a helper. The helper is known as a child Task, though you can $LK,"Spawn",A="MN:Spawn"$ a task and assign it a different parent... like $FG,2$Zenith$FG$. Links are kept as to who's whose child, so when one task is $LK,"Kill",A="MN:Kill"$()ed the child helper tasks die, too. You can get a report of current system tasks with $LK,"TaskRep",A="MN:TaskRep"$(). There is just one window per task, so child tasks are needed for pop-ups. -$ID,-2$$TR,"HolyC"$ -$ID,2$$LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ is more than $FG,2$C$FG$ and less than $FG,2$C++$FG$. It has the default args of $FG,2$C++$FG$ and uses $FG,2$class$FG$ in place of $FG,2$struct$FG$. It uses $FG,2$U0,U8,U16,U32,I64$FG$ and $FG,2$I0,I8,I16,I32,I64$FG$ for signed and unsigned ints. It has different $LK,"operator precedence",A="FF:::/Doc/HolyC.DD,operator precedence"$. It has $FG,2$PASCAL$FG$-like function calls with no parens, but requires an $FG,2$&$FG,2$$FG$ when referring to function addresses. +$ID,-2$$TR,"CosmiC"$ +$ID,2$$LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ is more than $FG,2$C$FG$ and less than $FG,2$C++$FG$. It has the default args of $FG,2$C++$FG$ and uses $FG,2$class$FG$ in place of $FG,2$struct$FG$. It uses $FG,2$U0,U8,U16,U32,I64$FG$ and $FG,2$I0,I8,I16,I32,I64$FG$ for signed and unsigned ints. It has different $LK,"operator precedence",A="FF:::/Doc/CosmiC.DD,operator precedence"$. It has $FG,2$PASCAL$FG$-like function calls with no parens, but requires an $FG,2$&$FG,2$$FG$ when referring to function addresses. $ID,-2$$TR,"AOT Compile Mode"$ $ID,2$$FG,2$Ahead-of-Time$FG$ compiling is conventional compilation mode. Do not use $FG,2$AOT$FG$, use $FG,2$JIT$FG$ compiling. @@ -223,11 +223,11 @@ $FG,5$*.???.C$FG$ $FG,5$*.DD;*.DD$FG$ Text Files $FG,5$*.CC;*.CC$FG$ - HolyC src files. The default HolyC compiler type is $FG,2$.CC$FG$. + CosmiC src files. The default CosmiC compiler type is $FG,2$.CC$FG$. $FG,5$*.PRJ.Z;*.PRJ$FG$ - HolyC src files to be compiled $FG,2$AOT$FG$. + CosmiC src files to be compiled $FG,2$AOT$FG$. $FG,5$*.HH.Z;*.HH$FG$ - HolyC src header files. + CosmiC src header files. $FG,5$*.MAP;*.MAP$FG$ Compiler "map" files $FG,5$*.BIN;*.BIN.C;*.BIN$FG$ @@ -237,7 +237,7 @@ $FG,5$*.DATA.Z;*.DATA$FG$ $FG,5$*.ISO$FG$ CD/DVD image file. $FG,5$*.IN.Z;*.IN$FG$ - $FG,2$InFile$FG$ Basically a HolyC program whose stdout goes to the input of a task when $LK,"InFile",A="MN:InFile"$() is called. + $FG,2$InFile$FG$ Basically a CosmiC program whose stdout goes to the input of a task when $LK,"InFile",A="MN:InFile"$() is called. $FG,5$*.GR;*.GR$FG$ Graphics file @@ -253,10 +253,10 @@ $FG,5$ALL_CAPS$FG$ Assembly Language labels are capitalized with underscores between words. So are $FG,2$#define$FG$'s. $FG,5$_ALL_CAPS$FG$ - Asm routines which are $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ callable must have a leading underscore. + Asm routines which are $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ callable must have a leading underscore. $FG,5$MixedCaps$FG$ - $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ Functions and class names are MixedCaps. + $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ Functions and class names are MixedCaps. $FG,5$lower_case$FG$ Local function vars and glbl vars are lower case. Class member names are also lower_case. diff --git a/src/Doc/GuideLines.DD b/src/Doc/GuideLines.DD index 67996417..118325f6 100755 --- a/src/Doc/GuideLines.DD +++ b/src/Doc/GuideLines.DD @@ -60,7 +60,7 @@ $FG,5$$TX+CX,"Programming Guidelines"$$FG$ * There are two modes of compiling, $LK,"AOT Compile Mode",A="FF:::/Doc/Glossary.DD,AOT Compile Mode"$ and $LK,"JIT Compile Mode",A="FF:::/Doc/Glossary.DD,JIT Compile Mode"$. Compilation is done in both -- neither is "interpreted". Use $FG,2$$LK,"JIT Mode",A="FF:::/Doc/Glossary.DD,JIT Compile Mode"$$FG$. -* $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ +* $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ * Use $FG,2$I64$FG$ instead of smaller int sizes because the compiler converts everything to 64-bit. Don't use unsigned$FG$ unless it actually breaks. A policy of signed keeps it simple so you don't have to agonize over choices. @@ -96,9 +96,9 @@ $FG,5$$TX+CX,"Hash Sym Tables"$$FG$ * See $LK,"::/Zenith/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. -* $FG,2$zenith_task->hash_table$FG$ holds the $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ syms loaded in on start-up. +* $FG,2$zenith_task->hash_table$FG$ holds the $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ syms loaded in on start-up. -* $FG,2$Fs->hash_table$FG$ holds user HolyC 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 $LK,"PopUp",A="MN:PopUp"$() a task to run the application and kill it when it's done. +* $FG,2$Fs->hash_table$FG$ 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 $LK,"PopUp",A="MN:PopUp"$() a task to run the application and kill it when it's done. * To display the contents of a hash table, use the $LK,"Who",A="MN:Who"$() routine or the varients. $LK,"HashDepthRep",A="MN:HashDepthRep"$() gives a histogram of how long the chains are, in case you wish to make hash table sizes bigger. @@ -114,7 +114,7 @@ See $LK,"::/Doc/Asm.DD"$. * Don't change the segment regs unless interrupts are off. It's hard to do, anyway. $LK,"SET_FS_BASE",A="MN:SET_FS_BASE"$ and $LK,"SET_GS_BASE",A="MN:SET_GS_BASE"$. -* When interacting with $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ compiled code, preserve $FG,2$RBP, RSI, RDI, R10-R15$FG$ because the compiler uses these for reg vars. You are free to clobber $FG,2$RAX, RBX, RCX, RDX$FG$, $FG,2$R8$FG$ and $FG,2$R9$FG$. See $LK,"Compiler Reg Masks",A="MN:REGG_LOCAL_VARS"$, $LK,"PUSH_C_REGS",A="MN:PUSH_C_REGS"$ and $LK,"POP_C_REGS",A="MN:POP_C_REGS"$ +* When interacting with $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ compiled code, preserve $FG,2$RBP, RSI, RDI, R10-R15$FG$ because the compiler uses these for reg vars. You are free to clobber $FG,2$RAX, RBX, RCX, RDX$FG$, $FG,2$R8$FG$ and $FG,2$R9$FG$. See $LK,"Compiler Reg Masks",A="MN:REGG_LOCAL_VARS"$, $LK,"PUSH_C_REGS",A="MN:PUSH_C_REGS"$ and $LK,"POP_C_REGS",A="MN:POP_C_REGS"$ * I recommend using the standard stack frame for functions because $LK,"Caller",A="MN:Caller"$() is used to display the call stack, such as for the wallpaper. $FG,2$ PUSH RBP diff --git a/src/Doc/HelpIndex.DD b/src/Doc/HelpIndex.DD index dfd81229..a8d78818 100755 Binary files a/src/Doc/HelpIndex.DD and b/src/Doc/HelpIndex.DD differ diff --git a/src/Doc/InFile.DD b/src/Doc/InFile.DD index 2e1d4d1c..32d56509 100755 --- a/src/Doc/InFile.DD +++ b/src/Doc/InFile.DD @@ -1,6 +1,6 @@ $WW,1$$FG,2$InFiles$FG$ are used to generate user input to automate operations. The ZenithOS tour is done with an $FG,2$InFile$FG$. It reminds me of a Unix pipe because $FG,2$StdOut$FG$ of one gets chained into $FG,2$StdIn$FG$ of another. -When an $FG,2$InFile$FG$ runs, a child task is $LK,"Spawn",A="MN:Spawn"$()ed which intercepts real user input and generates fake input. InFiles are $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ programs run by the child whose stdout goes to the parent's input buffer. $LK,"Message",A="MN:Message"$() can be included in an $FG,2$InFile$FG$ to send special keys or mouse cmds to the parent. While an $FG,2$InFile$FG$ 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 $FG,2$#include$FG$ file in place of an $FG,2$InFile$FG$. +When an $FG,2$InFile$FG$ runs, a child task is $LK,"Spawn",A="MN:Spawn"$()ed which intercepts real user input and generates fake input. InFiles are $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ programs run by the child whose stdout goes to the parent's input buffer. $LK,"Message",A="MN:Message"$() can be included in an $FG,2$InFile$FG$ to send special keys or mouse cmds to the parent. While an $FG,2$InFile$FG$ 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 $FG,2$#include$FG$ file in place of an $FG,2$InFile$FG$. See $LK,"::/Demo/InFile/InDir.IN"$. diff --git a/src/Doc/Quirks.DD b/src/Doc/Quirks.DD index 9964bdd6..ad54a565 100755 --- a/src/Doc/Quirks.DD +++ b/src/Doc/Quirks.DD @@ -12,7 +12,7 @@ $WW,1$* You run a risk of problems if you do file operations on the same files s * Accessing CD/DVD's is flacky. Try $LK,"Drive",A="MN:Drive"$() or $LK,"DiskChange",A="MN:DiskChange"$() twice. -* You can only $FG,2$extern$FG$ something once. There is a varient called $FG,2$_extern$FG$ which binds a HolyC definition to a asm sym. This, too, can only be done once. +* You can only $FG,2$extern$FG$ something once. There is a varient called $FG,2$_extern$FG$ which binds a CosmiC definition to a asm sym. This, too, can only be done once. * A terminal task has a $LK,"CDoc",A="MN:CDoc"$ document structure that remains active even when you change $FG,4$Fs->draw_it$FG$. To prevent links in the $LK,"CDoc",A="MN:CDoc"$ from being activated when the user clicks in the window, do one of three things: $ID,2$ diff --git a/src/Doc/Resource.DD b/src/Doc/Resource.DD index 6796aaf8..0a4907d1 100755 --- a/src/Doc/Resource.DD +++ b/src/Doc/Resource.DD @@ -2,4 +2,4 @@ $WW,1$$FG,5$$TX+CX,"Graphic Sprite Resource Help"$$FG$ A sprite is an ordered list of elements such as lines, rectangles, bitmaps and color changes. In a program's source code, you first $FG,2$make a sprite$FG$ somewhere outside a function. Then, you $FG,2$insert a pointer$FG$ to the sprite as an "*elems" arg when calling $LK,"Sprite",A="MN:Sprite"$() or $LK,"Sprite3",A="MN:Sprite3"$(). See $LK,"Sprites",A="HI:Sprites"$. -You can create a $FG,2$sprite macro$FG$ on your $LK,"PersonalMenu",A="FI:~/PersonalMenu.DD"$ with a payload of $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ 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. +You can create a $FG,2$sprite macro$FG$ on your $LK,"PersonalMenu",A="FI:~/PersonalMenu.DD"$ with a payload of $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ 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/src/Doc/ScopingLinkage.DD b/src/Doc/ScopingLinkage.DD index 8e7fedba..2f1c1678 100755 --- a/src/Doc/ScopingLinkage.DD +++ b/src/Doc/ScopingLinkage.DD @@ -107,9 +107,9 @@ $WW,1$ * All offspring tasks of a task inherit syms. -* The $FG,2$sizeof()$FG$ and HolyC structure members can be used in asm blks. +* The $FG,2$sizeof()$FG$ and CosmiC structure members can be used in asm blks. -* Using $FG,2$&i$FG$ in $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ or $FG,2$i.u8[2]$FG$ on a local var, $FG,2$i$FG$, will force it to $FG,2$noreg$FG$. +* Using $FG,2$&i$FG$ in $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ or $FG,2$i.u8[2]$FG$ on a local var, $FG,2$i$FG$, will force it to $FG,2$noreg$FG$. * Using $FG,2$try$FG$/$FG,2$catch$FG$ in a function will force all local vars to $FG,2$noreg$FG$. diff --git a/src/Doc/Strategy.DD b/src/Doc/Strategy.DD index 61a7a6b8..3c049a7e 100755 --- a/src/Doc/Strategy.DD +++ b/src/Doc/Strategy.DD @@ -42,7 +42,7 @@ A three bttn mouse is like a leg you cannot put weight on. ZenithOS just does h * Whole files are processed almost exclusively, allowing compression. -* $LK,"One language",A="FI:::/Doc/HolyC.DD"$ and compiler for command-line, scripts, songs, automations and code. +* $LK,"One language",A="FI:::/Doc/CosmiC.DD"$ 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. diff --git a/src/Doc/Tips.DD b/src/Doc/Tips.DD index 1ad3ad68..29ebdffd 100755 --- a/src/Doc/Tips.DD +++ b/src/Doc/Tips.DD @@ -25,7 +25,7 @@ $FG,2$Merge(\"C:/*\",\"D:/*\",\"+r+d\");$FG$ to check my changes. * You can set your local time zone by setting the $LK,"local_time_offset",A="MN:local_time_offset"$ global var in a start-up file. It's units are $LK,"CDATE_FREQ",A="MN:CDATE_FREQ"$. See $LK,"local time",A="FF:~/HomeLocalize.CC,local_time"$. -* $FG,2$$FG$ in the editor to reindent a $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ function or renumber an asm routine's local labels. +* $FG,2$$FG$ in the editor to reindent a $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ function or renumber an asm routine's local labels. * You can use $FG,2$filter_lines$FG$ in the editor text search form ($FG,2$$FG$) to temporarily display just lines near each match. A value of $FG,2$filter lines$FG$ set to $FG,2$5$FG$ will display lines within 5 lines of matches. Then, you can do another find to a different string and achieve a $FG,2$AND$FG$ search. When finished, press $FG,2$$FG$. @@ -145,7 +145,7 @@ $FG,2$Merge(\"C:/*\",\"D:/*\",\"+r+d\");$FG$ to check my changes. * With $FG,2$start$FG$/$FG,2$end$FG$, common trailing code is fast. Common leading code is slow.$FG$ -* The first line of the $MA-X+PU,"Psalmody",LM="#include \"::/Apps/Psalmody/Run\"\n"$ $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ song files is a comment with a category recognized by $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$(). The categories are $FG,2$"no nothing"$FG$, $FG,2$"has words"$FG$, $FG,2$"has graphics"$FG$, or $FG,2$"special"$FG$. The third character in the song comment is a digit rating number, shown in $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$(). You can set the song rating in $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$() by pressing $FG,2$0$FG$-$FG,2$9$FG$. You can press $FG,2$$FG$ to delete songs. +* The first line of the $MA-X+PU,"Psalmody",LM="#include \"::/Apps/Psalmody/Run\"\n"$ $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ song files is a comment with a category recognized by $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$(). The categories are $FG,2$"no nothing"$FG$, $FG,2$"has words"$FG$, $FG,2$"has graphics"$FG$, or $FG,2$"special"$FG$. The third character in the song comment is a digit rating number, shown in $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$(). You can set the song rating in $LK,"JukeBox",A="FF:::/Apps/Psalmody/JukeBox.CC,JukeBox"$() by pressing $FG,2$0$FG$-$FG,2$9$FG$. You can press $FG,2$$FG$ to delete songs. $FG,8$ * "Linux" is a trademark owned by Linus Torvalds. diff --git a/src/Doc/Welcome.DD b/src/Doc/Welcome.DD index f1667b50..b7663a0a 100755 --- a/src/Doc/Welcome.DD +++ b/src/Doc/Welcome.DD @@ -49,7 +49,7 @@ $LK,"/Apps/Psalmody/Examples/prosper.CC",A="FI:::/Apps/Psalmody/Examples/prosper Two things to know about ZenithOS are that $UL,1$tasks$UL,0$ have $LK,"MAlloc",A="MN:MAlloc"$/$LK,"Free",A="MN: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. -For other operating systems, I hated learning one language for command line scripts and another for programming. With $FG,2$ZenithOS$FG$, the command line feeds right into the $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ compiler, line by line, and it places code into memory it $LK,"MAlloc",A="MN:MAlloc"$()s. The compiler is paused at the command line, waiting for input. Naturally, you $FG,2$#include$FG$ a program to load it into memory and, usually, start it. +For other operating systems, I hated learning one language for command line scripts and another for programming. With $FG,2$ZenithOS$FG$, the command line feeds right into the $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ compiler, line by line, and it places code into memory it $LK,"MAlloc",A="MN:MAlloc"$()s. The compiler is paused at the command line, waiting for input. Naturally, you $FG,2$#include$FG$ a program to load it into memory and, usually, start it. During the boot process, many files get $LK,"compiled",A="FI:::/StartOS.CC"$ 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 $FG,2$#include $FG$them. Everything is truly compiled to native $FG,2$$TX,"x86_64",HTML="http://en.wikipedia.org/wiki/Amd64#AMD64"$$FG$ machine code, nothing is $FG,2$interpreted$FG$ and there is no $FG,2$byte code$FG$. @@ -69,7 +69,7 @@ $FG$I didn't like that, so I made parentheses optional on calls with no args and The syntax change created an ambiguity when specifying function addresses, like for calling $LK,"QuickSort",A="MN:QuickSort"$(). To resolve it, I made a '$FG,2$&$FG$' required in front of function names when specifying an address of a function, which is better anyway. -Once I was no longer using standard C/C++ syntax, I decided to change everything I didn't like and call it $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$. Here are the new $LK,"operator precedence",A="FF:::/Doc/HolyC.DD,operator precedence"$ rules. It's Biblical! See $LK,"Luke,5:37",A="BF:Luke,5:37"$. +Once I was no longer using standard C/C++ syntax, I decided to change everything I didn't like and call it $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$. Here are the new $LK,"operator precedence",A="FF:::/Doc/CosmiC.DD,operator precedence"$ rules. It's Biblical! See $LK,"Luke,5:37",A="BF:Luke,5:37"$. There are no object files in ZenithOS and, normally, you don't make executable files either, but you can. That's known as $LK,"Ahead-of-Time",A="FF:::/Doc/Glossary.DD,AOT Compile Mode"$ compilation. Instead, you $LK,"Just in Time",A="FF:::/Doc/Glossary.DD,JIT Compile Mode"$ compile. diff --git a/src/Doc/Widget.DD b/src/Doc/Widget.DD index 8c27351a..532b087c 100755 --- a/src/Doc/Widget.DD +++ b/src/Doc/Widget.DD @@ -2,7 +2,7 @@ $WW,1$$FG,5$$TX+CX,"DolDoc Widget Help"$$FG$ $LK,"DolDoc",A="::/Doc/DolDocOverview.DD"$ is a ZenithOS document type. -$FG,2$"Expression"$FG$ a num or HolyC algebraic term with operators and HolyC syms can be entered. +$FG,2$"Expression"$FG$ a num or CosmiC algebraic term with operators and CosmiC syms can be entered. $FG,2$"Macro"$FG$ Most entries can behave like macro entries if you assign them macro strs. $FG,2$"InStr"$FG$ Like a macro except it is an $LK,"InFile",A="FF:::/Doc/Glossary.DD,InFile"$. You can't have both an in_str and macro text defined. diff --git a/src/Downloads/ReadMe.TXT b/src/Downloads/ReadMe.TXT index 7fe5810b..d4f628a6 100755 --- a/src/Downloads/ReadMe.TXT +++ b/src/Downloads/ReadMe.TXT @@ -9,7 +9,7 @@ ZenithOS is 64-bit and will not run on 32-bit hardware. ZenithOS requires 512 Meg of RAM minimum and can have 256 Gig of RAM or more! ZenithOS files are compressed with a nonstandard LZW format and the source -code can only be compiled by the ZenithOS compiler because it is HolyC, a +code can only be compiled by the ZenithOS compiler because it is CosmiC, a nonstandard C/C++ dialect. You must boot ZenithOS. Then, you can compile it because it is 100% open source and all source present on the distro. diff --git a/src/Kernel.BIN.C b/src/Kernel.BIN.C index f0b1cdc5..ce23048b 100755 Binary files a/src/Kernel.BIN.C and b/src/Kernel.BIN.C differ diff --git a/src/Kernel/Display.CC b/src/Kernel/Display.CC index 1b2e2ab8..6d4e6b18 100755 --- a/src/Kernel/Display.CC +++ b/src/Kernel/Display.CC @@ -58,13 +58,13 @@ See also $LK,"GrUpdateScreen",A="MN:GrUpdateScreen"$(). OutU8(VGAP_DATA,0x0F); //All planes -- WHITE if (text.raw_flags&RWF_SCROLL && text.raw_col && !row && !col) { //Scroll cached image - MemCopy(text.raw_scrn_image, - text.raw_scrn_image+GR_WIDTH*FONT_HEIGHT>>3, + MemCopy(text.raw_screen_image, + text.raw_screen_image+GR_WIDTH*FONT_HEIGHT>>3, GR_WIDTH*(GR_HEIGHT-FONT_HEIGHT)>>3); - MemSet(text.raw_scrn_image+GR_WIDTH*(GR_HEIGHT-FONT_HEIGHT)>>3,0, + MemSet(text.raw_screen_image+GR_WIDTH*(GR_HEIGHT-FONT_HEIGHT)>>3,0, GR_WIDTH*FONT_HEIGHT>>3); - MemCopy(text.vga_alias,text.raw_scrn_image,GR_WIDTH*GR_HEIGHT>>3); + MemCopy(text.vga_alias,text.raw_screen_image,GR_WIDTH*GR_HEIGHT>>3); text.raw_col-=text.cols; row=text.rows-1; } @@ -72,7 +72,7 @@ See also $LK,"GrUpdateScreen",A="MN:GrUpdateScreen"$(). CLI ptr=ptr1=col+row*GR_WIDTH*FONT_HEIGHT>>3; ptr+=text.vga_alias; - ptr1+=text.raw_scrn_image; //Write to cached image as well + ptr1+=text.raw_screen_image; //Write to cached image as well ptr2=&text.font[ch&255]; for (i=0;i0xFFFF) offset=0xFFFF; - if (flags&PRTF_COMMA) { + if (flags&PRINTF_COMMA) { if (is_fun) { str2=MStrPrint("&%s",str); if (!field_len) StrCopy(buf,str2); - else if (flags&PRTF_LEFT_JUSTIFY && StrLen(str2)7) { - if (flags&PRTF_LEFT_JUSTIFY && StrLen(str2)7) { - if (flags&PRTF_LEFT_JUSTIFY && StrLen(str)>3); - text.raw_scrn_image=CAlloc(GR_WIDTH*GR_HEIGHT/8); + text.raw_screen_image=CAlloc(GR_WIDTH*GR_HEIGHT/8); text.border_chars[2] (I64)=0x0908070605040302; text.border_chars[10](U32)=0x0D0C0B0A; } diff --git a/src/Kernel/KStart16.CC b/src/Kernel/KStart16.CC index 287461d0..082f71ba 100755 --- a/src/Kernel/KStart16.CC +++ b/src/Kernel/KStart16.CC @@ -1,7 +1,7 @@ asm {/* See $LK,"::/Doc/Boot.DD"$. ZenithOS starts in real, calls some BIOS routines, switches to 32 bit, and 64 bit mode -and continues in $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$ at $LK,"KMain",A="MN:KMain"$(). +and continues in $LK,"CosmiC",A="FI:::/Doc/CosmiC.DD"$ at $LK,"KMain",A="MN:KMain"$(). The boot loader jumps here in real-mode (16-bit). It actually jumps to the $LK,"CBinFile",A="MN:CBinFile"$ header which is diff --git a/src/Kernel/KTask.CC b/src/Kernel/KTask.CC index 18fa78f8..9c774450 100755 --- a/src/Kernel/KTask.CC +++ b/src/Kernel/KTask.CC @@ -445,7 +445,7 @@ U0 TaskDel(CTask *task) I64 TaskEnd() {//Called with irq's off. CTask *task=Fs,*tmpt,*tmpt1; - if (task==sys_task_being_scrn_updated) { + if (task==sys_task_being_screen_updated) { LBts(&task->task_flags,TASKf_KILL_TASK); return task->next_task; } diff --git a/src/Kernel/Kernel.MAP b/src/Kernel/Kernel.MAP index 143253a5..70ea142e 100755 --- a/src/Kernel/Kernel.MAP +++ b/src/Kernel/Kernel.MAP @@ -53,7 +53,6 @@ $LK,"DOCT_FOREGROUND",A="FL:::/Kernel/KernelA.HH,920"$ $LK,"CGDT",A="FL:::/Kernel/KernelA.HH,349"$ $LK,"TSF_SAME_SONG",A="FL:::/Kernel/KernelA.HH,3196"$ $LK,"CDevGlobals",A="FL:::/Kernel/KernelA.HH,2877"$ -$LK,"PRTF_NEG_AUX_FMT_NUM",A="FL:::/Kernel/KernelA.HH,3880"$ $LK,"SCF_MS_L_DOWN",A="FL:::/Kernel/KernelA.HH,3487"$ $LK,"SCf_MS_L_DOWN",A="FL:::/Kernel/KernelA.HH,3472"$ $LK,"ICF_PUSH_CMP",A="FL:::/Kernel/KernelA.HH,1620"$ @@ -76,6 +75,7 @@ $LK,"DOCEF_RIGHT_IN_STR",A="FL:::/Kernel/KernelA.HH,991"$ $LK,"LDF_JUST_LOAD",A="FL:::/Kernel/KernelA.HH,381"$ $LK,"DiskCacheInvalidate2",A="FL:::/Kernel/BlkDev/DiskCache.CC,97",BI=11$ $LK,"SYS_CACHE_LINE_WIDTH",A="FL:::/Kernel/KStart32.CC,70"$ +$LK,"PRINTF_COMMA",A="FL:::/Kernel/KernelA.HH,3872"$ $LK,"MEM_DEFAULT_STACK",A="FL:::/Kernel/KernelA.HH,2843"$ $LK,"CMF_I16_JMP_TABLE",A="FL:::/Kernel/KernelA.HH,1710"$ $LK,"FramePtrSet",A="FL:::/Kernel/KHashB.CC,230",BI=12$ @@ -167,7 +167,6 @@ $LK,"ARGT_ST0",A="FL:::/Kernel/KernelA.HH,1945"$ $LK,"RT_I64",A="FL:::/Kernel/KernelA.HH,1572"$ $LK,"SEMA_REFRESH_IN_PROGRESS",A="FL:::/Kernel/KernelA.HH,619"$ $LK,"KbdMouseReset",A="FL:::/Kernel/SerialDev/Mouse.CC,284",BI=28$ -$LK,"sys_task_being_scrn_updated",A="FL:::/Kernel/KGlobals.CC,11"$ $LK,"SUF_SAFE_DOLLAR",A="FL:::/Kernel/KernelA.HH,3740"$ $LK,"RWF_SHOW_DOLLAR",A="FL:::/Kernel/KernelA.HH,3538"$ $LK,"HTt_INTERNAL_TYPE",A="FL:::/Kernel/KernelA.HH,662"$ @@ -193,6 +192,7 @@ $LK,"MEM_PAG_BITS",A="FL:::/Kernel/KernelA.HH,2832"$ $LK,"WINMGR_FPS",A="FL:::/Kernel/KernelA.HH,1479"$ $LK,"DOC_COLOR_CHAR_CONST",A="FL:::/Kernel/KernelA.HH,1149"$ $LK,"E",A="FL:::/Kernel/FunSeg.CC,332",BI=36$ +$LK,"PRINTF_AUX_FMT_NUM",A="FL:::/Kernel/KernelA.HH,3876"$ $LK,"CEdFileName",A="FL:::/Kernel/KernelA.HH,1251"$ $LK,"DOCT_LEFT_MARGIN",A="FL:::/Kernel/KernelA.HH,915"$ $LK,"CCF_NO_CHAR_CONST",A="FL:::/Kernel/KernelA.HH,2149"$ @@ -253,7 +253,6 @@ $LK,"CH_CTRLH",A="FL:::/Kernel/KernelA.HH,3433"$ $LK,"CPalindromeU32",A="FL:::/Kernel/KernelA.HH,2428"$ $LK,"CPalindromeU16",A="FL:::/Kernel/KernelA.HH,2423"$ $LK,"DOCT_CHECK_BOX",A="FL:::/Kernel/KernelA.HH,936"$ -$LK,"DCF_SCRN_BITMAP",A="FL:::/Kernel/KernelA.HH,3581"$ $LK,"CH_CTRLI",A="FL:::/Kernel/KernelA.HH,3434"$ $LK,"FileNameTmpTxt",A="FL:::/Kernel/BlkDev/DiskStrA.CC,276",BI=50$ $LK,"FifoI64New",A="FL:::/Kernel/KDataTypes.CC,240",BI=51$ @@ -289,7 +288,6 @@ $LK,"_D3_DIV",A="FL:::/Kernel/KMathA.CC,184"$ $LK,"CH_CTRLP",A="FL:::/Kernel/KernelA.HH,3441"$ $LK,"ICF_ARG2_TO_INT",A="FL:::/Kernel/KernelA.HH,1607"$ $LK,"SysDebug",A="FL:::/Kernel/KMisc.CC,280",BI=57$ -$LK,"PRTF_NEG",A="FL:::/Kernel/KernelA.HH,3878"$ $LK,"CH_CTRLQ",A="FL:::/Kernel/KernelA.HH,3442"$ $LK,"CTSS",A="FL:::/Kernel/KernelA.HH,3355"$ $LK,"HomeSet",A="FL:::/Kernel/BlkDev/DiskDirB.CC,1",BI=58$ @@ -359,7 +357,9 @@ $LK,"CCF_ASM_EXPRESSIONS",A="FL:::/Kernel/KernelA.HH,2157"$ $LK,"D3Sub",A="FL:::/Kernel/KernelB.HH,160"$ $LK,"SC_CURSOR_RIGHT",A="FL:::/Kernel/KernelA.HH,3510"$ $LK,"KeyDevAdd",A="FL:::/Kernel/KeyDev.CC,70",BI=74$ +$LK,"SC_PRINTSCREEN1",A="FL:::/Kernel/KernelA.HH,3531"$ $LK,"CTRLF_BORDER",A="FL:::/Kernel/KernelA.HH,3044"$ +$LK,"SC_PRINTSCREEN2",A="FL:::/Kernel/KernelA.HH,3532"$ $LK,"_D3_EQU",A="FL:::/Kernel/KMathA.CC,226"$ $LK,"VGAP_ATTR_DATA_READ",A="FL:::/Kernel/KernelA.HH,3669"$ $LK,"ATA_PACKET",A="FL:::/Kernel/KernelA.HH,2271"$ @@ -425,6 +425,7 @@ $LK,"LAPIC_LVT_ERR",A="FL:::/Kernel/KernelA.HH,524"$ $LK,"Scale2Mem",A="FL:::/Kernel/Memory/MemPhysical.CC,169",BI=89$ $LK,"RandU32",A="FL:::/Kernel/KMathB.CC,107",BI=90$ $LK,"RandU16",A="FL:::/Kernel/KMathB.CC,87",BI=91$ +$LK,"PRINTF_NEG_E",A="FL:::/Kernel/KernelA.HH,3879"$ $LK,"F64_MIN",A="FL:::/Kernel/KernelA.HH,48"$ $LK,"_FLDCW",A="FL:::/Kernel/KMathA.CC,625"$ $LK,"__DIR__",A="FL:::/Kernel/KernelA.HH,2043"$ @@ -455,7 +456,6 @@ $LK,"DOCEF_RIGHT_CB",A="FL:::/Kernel/KernelA.HH,990"$ $LK,"HTT_DICT_WORD",A="FL:::/Kernel/KernelA.HH,695"$ $LK,"HTt_DICT_WORD",A="FL:::/Kernel/KernelA.HH,665"$ $LK,"RLf_MP",A="FL:::/Kernel/KernelA.HH,464"$ -$LK,"PRTF_DOLLAR",A="FL:::/Kernel/KernelA.HH,3873"$ $LK,"CSpring",A="FL:::/Kernel/KernelA.HH,228"$ $LK,"CDebugGlobals",A="FL:::/Kernel/KernelA.HH,3820"$ $LK,"CBGR24",A="FL:::/Kernel/KernelA.HH,2946"$ @@ -467,6 +467,7 @@ $LK,"LastDayOfYear",A="FL:::/Kernel/KDate.CC,110",BI=103$ $LK,"SYS_IDLE_PT",A="FL:::/Kernel/Sched.CC,204"$ $LK,"CWinMgrTimingGlobals",A="FL:::/Kernel/KernelA.HH,1470"$ $LK,"OS_WINDOWS",A="FL:::/Kernel/KernelA.HH,3887"$ +$LK,"PRINTF_DOLLAR",A="FL:::/Kernel/KernelA.HH,3873"$ $LK,"Core0StartMP",A="FL:::/Kernel/MultiProc.CC,283",BI=104$ $LK,"MESSAGE_MS_L_DOWN",A="FL:::/Kernel/KernelA.HH,3179"$ $LK,"_D3_SUB",A="FL:::/Kernel/KMathA.CC,149"$ @@ -644,6 +645,7 @@ $LK,"_STRNCOMPARE",A="FL:::/Kernel/StrA.CC,154"$ $LK,"QueueInsRev",A="FL:::/Kernel/KernelB.HH,70"$ $LK,"CMemUnused",A="FL:::/Kernel/KernelA.HH,2792"$ $LK,"IEF_48_REX",A="FL:::/Kernel/KernelA.HH,1743"$ +$LK,"RECALCt_TO_SCREEN",A="FL:::/Kernel/KernelA.HH,1361"$ $LK,"",A="FL:::/Kernel/KernelA.HH,52"$ $LK,"Suspend",A="FL:::/Kernel/KTask.CC,77",BI=127$ $LK,"ClampU64",A="FL:::/Kernel/KernelB.HH,127"$ @@ -656,6 +658,7 @@ $LK,"ICF_ARG2_WAS_STACK",A="FL:::/Kernel/KernelA.HH,1619"$ $LK,"ICF_ARG1_WAS_STACK",A="FL:::/Kernel/KernelA.HH,1618"$ $LK,"DOCT_INDENT",A="FL:::/Kernel/KernelA.HH,919"$ $LK,"_ARG",A="FL:::/Kernel/KMathA.CC,366"$ +$LK,"PRINTF_SLASH",A="FL:::/Kernel/KernelA.HH,3874"$ $LK,"COLORROP_NO_ROP0_MASK",A="FL:::/Kernel/KernelA.HH,2944"$ $LK,"CDualBuf",A="FL:::/Kernel/BlkDev/DiskCDDVD.CC,105"$ $LK,"TaskText",A="FL:::/Kernel/Job.CC,75",BI=132$ @@ -710,6 +713,7 @@ $LK,"char_bmp_alpha_numeric_no_at",A="FL:::/Kernel/StrA.CC,335"$ $LK,"IEF_STI_LIKE",A="FL:::/Kernel/KernelA.HH,1746"$ $LK,"HTf_PRIVATE",A="FL:::/Kernel/KernelA.HH,676"$ $LK,"Dm",A="FL:::/Kernel/KDebug.CC,204",BI=137$ +$LK,"PRINTF_LEFT_JUSTIFY",A="FL:::/Kernel/KernelA.HH,3870"$ $LK,"CCF_EXE_BLK",A="FL:::/Kernel/KernelA.HH,2154"$ $LK,"BDf_REMOVABLE",A="FL:::/Kernel/KernelA.HH,2619"$ $LK,"BDF_REMOVABLE",A="FL:::/Kernel/KernelA.HH,2609"$ @@ -785,7 +789,6 @@ $LK,"InFile",A="FL:::/Kernel/Job.CC,474",BI=160$ $LK,"D3DistSqr",A="FL:::/Kernel/KernelB.HH,150"$ $LK,"_RDI",A="FL:::/Kernel/KernelA.HH,3374"$ $LK,"SV_R_REG",A="FL:::/Kernel/KernelA.HH,1750"$ -$LK,"PRTF_TRUNCATE",A="FL:::/Kernel/KernelA.HH,3871"$ $LK,"ATARepExitAllApplications",A="FL:::/Kernel/BlkDev/DiskATAId.CC,123",BI=161$ $LK,"CeilI64",A="FL:::/Kernel/KMathB.CC,62",BI=162$ $LK,"_RBP",A="FL:::/Kernel/KernelA.HH,3375"$ @@ -866,6 +869,7 @@ $LK,"WIf_FOCUS_TASK_GRAB_SCROLL",A="FL:::/Kernel/KernelA.HH,1468"$ $LK,"WIF_FOCUS_TASK_GRAB_SCROLL",A="FL:::/Kernel/KernelA.HH,1441"$ $LK,"CIntermediateCode",A="FL:::/Kernel/KernelA.HH,1666"$ $LK,"progress2_tf",A="FL:::/Kernel/KernelB.HH,220"$ +$LK,"PRINTF_TRUNCATE",A="FL:::/Kernel/KernelA.HH,3871"$ $LK,"MDF_REG",A="FL:::/Kernel/KernelA.HH,1593"$ $LK,"DOC_COLOR_ANCHOR",A="FL:::/Kernel/KernelA.HH,1143"$ $LK,"Str2ColorU32",A="FL:::/Kernel/KDefine.CC,202",BI=175$ @@ -1016,11 +1020,9 @@ $LK,"ATAPIWaitReady",A="FL:::/Kernel/BlkDev/DiskATA.CC,337",BI=216$ $LK,"Message",A="FL:::/Kernel/Job.CC,259",BI=217$ $LK,"MESSAGE_MS_R_DOWN",A="FL:::/Kernel/KernelA.HH,3183"$ $LK,"_MEMCOMPARE",A="FL:::/Kernel/KUtils.CC,70"$ -$LK,"SC_PRTSCRN1",A="FL:::/Kernel/KernelA.HH,3531"$ $LK,"FUF_ALL",A="FL:::/Kernel/KernelA.HH,2569"$ $LK,"SEMA_DISK_CACHE",A="FL:::/Kernel/KernelA.HH,622"$ $LK,"STR_LEN",A="FL:::/Kernel/KernelA.HH,42"$ -$LK,"SC_PRTSCRN2",A="FL:::/Kernel/KernelA.HH,3532"$ $LK,"DebugMode",A="FL:::/Kernel/KMisc.CC,312",BI=218$ $LK,"IsSysDebug",A="FL:::/Kernel/KMisc.CC,285",BI=219$ $LK,"RedSeaAllocClus",A="FL:::/Kernel/BlkDev/FileSysRedSea.CC,300",BI=220$ @@ -1403,6 +1405,7 @@ $LK,"TakeExcept",A="FL:::/Kernel/KExcept.CC,42"$ $LK,"_MALLOC",A="FL:::/Kernel/Memory/MAllocFree.CC,5"$ $LK,"CHashDefineStr",A="FL:::/Kernel/KernelA.HH,829"$ $LK,"MemSet",A="FL:::/Kernel/KernelB.HH,171"$ +$LK,"PRINTF_NEG",A="FL:::/Kernel/KernelA.HH,3878"$ $LK,"_TRUNC",A="FL:::/Kernel/KMathA.CC,400"$ $LK,"WIG_NO_FOCUS_TASK_DEFAULT",A="FL:::/Kernel/KernelA.HH,1446"$ $LK,"HTF_IMM",A="FL:::/Kernel/KernelA.HH,710"$ @@ -1534,7 +1537,6 @@ $LK,"ZenithLog",A="FL:::/Kernel/Job.CC,423",BI=329$ $LK,"RED",A="FL:::/Kernel/KernelA.HH,2918"$ $LK,"RT_U0",A="FL:::/Kernel/KernelA.HH,1565"$ $LK,"VGAR_MAP_MASK",A="FL:::/Kernel/KernelA.HH,3682"$ -$LK,"PRTF_COMMA",A="FL:::/Kernel/KernelA.HH,3872"$ $LK,"CAOTCtrl",A="FL:::/Kernel/KernelA.HH,2061"$ $LK,"DOC_COLOR_DEFINE_STR",A="FL:::/Kernel/KernelA.HH,1151"$ $LK,"DriveFATBlkAlloc",A="FL:::/Kernel/BlkDev/DiskDrive.CC,89",BI=330$ @@ -1815,7 +1817,6 @@ $LK,"PUT_HEX_U16",A="FL:::/Kernel/StrA.CC,37"$ $LK,"PUT_HEX_U32",A="FL:::/Kernel/StrA.CC,30"$ $LK,"ATAPIStartStop",A="FL:::/Kernel/BlkDev/DiskATA.CC,144",BI=399$ $LK,"_SIGN",A="FL:::/Kernel/KMathA.CC,347"$ -$LK,"PRTF_NEG_E",A="FL:::/Kernel/KernelA.HH,3879"$ $LK,"REGT_R8",A="FL:::/Kernel/KernelA.HH,744"$ $LK,"SEMA_DEV_MEM",A="FL:::/Kernel/KernelA.HH,624"$ $LK,"log10_2",A="FL:::/Kernel/KernelA.HH,56"$ @@ -1849,7 +1850,6 @@ $LK,"RFLAGf_PARITY",A="FL:::/Kernel/KernelA.HH,322"$ $LK,"DriveEnable",A="FL:::/Kernel/BlkDev/DiskAddDev.CC,170",BI=405$ $LK,"SYS_PROGRESS4_MAX",A="FL:::/Kernel/KStart32.CC,57"$ $LK,"StrLastRemove",A="FL:::/Kernel/StrA.CC,604",BI=406$ -$LK,"PRTF_PAD_ZERO",A="FL:::/Kernel/KernelA.HH,3869"$ $LK,"SUF_TO_UPPER",A="FL:::/Kernel/KernelA.HH,3735"$ $LK,"MBR_PT_REDSEA",A="FL:::/Kernel/KernelA.HH,2677"$ $LK,"MBR_PT_NTFS",A="FL:::/Kernel/KernelA.HH,2676"$ @@ -1935,6 +1935,7 @@ $LK,"CHashClass",A="FL:::/Kernel/KernelA.HH,838"$ $LK,"ZERO_BUF_SIZE",A="FL:::/Kernel/BlkDev/DiskBlk.CC,1"$ $LK,"DiskCacheFind",A="FL:::/Kernel/BlkDev/DiskCache.CC,64",BI=423$ $LK,"LoadKernel",A="FL:::/Kernel/KLoad.CC,240",BI=424$ +$LK,"PRINTF_PAD_ZERO",A="FL:::/Kernel/KernelA.HH,3869"$ $LK,"SCF_KEY_UP",A="FL:::/Kernel/KernelA.HH,3479"$ $LK,"SCf_KEY_UP",A="FL:::/Kernel/KernelA.HH,3464"$ $LK,"ICF_BY_VAL",A="FL:::/Kernel/KernelA.HH,1613"$ @@ -2070,7 +2071,6 @@ $LK,"SYS_INIT_16MEG_SYS_CODE_BP",A="FL:::/Kernel/Memory/PageTables.CC,157"$ $LK,"CExcept",A="FL:::/Kernel/KernelA.HH,3116"$ $LK,"DiskCacheInit",A="FL:::/Kernel/BlkDev/DiskCache.CC,1",BI=453$ $LK,"SYS_EXTERN_TABLE",A="FL:::/Kernel/KStart32.CC,35"$ -$LK,"PRTF_SLASH",A="FL:::/Kernel/KernelA.HH,3874"$ $LK,"DOCT_HTML_CODE",A="FL:::/Kernel/KernelA.HH,946"$ $LK,"LAPIC_IRR",A="FL:::/Kernel/KernelA.HH,515"$ $LK,"char_bmp_hex_numeric",A="FL:::/Kernel/StrA.CC,353"$ @@ -2098,6 +2098,7 @@ $LK,"zenith_task",A="FL:::/Kernel/KGlobals.CC,8"$ $LK,"MEM_E801",A="FL:::/Kernel/KStart16.CC,31"$ $LK,"__TIME__",A="FL:::/Kernel/KernelA.HH,2036"$ $LK,"RLf_PATCHED",A="FL:::/Kernel/KernelA.HH,456"$ +$LK,"PRINTF_NEG_AUX_FMT_NUM",A="FL:::/Kernel/KernelA.HH,3880"$ $LK,"MEM_E820_ENTRIES_NUM",A="FL:::/Kernel/KernelA.HH,370"$ $LK,"MEM_E820",A="FL:::/Kernel/KStart16.CC,32"$ $LK,"ACD_WORD_FILENAME",A="FL:::/Kernel/KernelA.HH,1510"$ @@ -2196,7 +2197,6 @@ $LK,"MESSAGE_MS_L_UP",A="FL:::/Kernel/KernelA.HH,3180"$ $LK,"LTCYAN",A="FL:::/Kernel/KernelA.HH,2925"$ $LK,"FUF_WHOLE_LABELS_AFTER",A="FL:::/Kernel/KernelA.HH,2591"$ $LK,"CCF_PREINC",A="FL:::/Kernel/KernelA.HH,2164"$ -$LK,"RECALCt_TO_SCRN",A="FL:::/Kernel/KernelA.HH,1361"$ $LK,"HTT_IMPORT_SYS_SYM",A="FL:::/Kernel/KernelA.HH,688"$ $LK,"HTT_EXPORT_SYS_SYM",A="FL:::/Kernel/KernelA.HH,687"$ $LK,"char_bmp_filename",A="FL:::/Kernel/StrA.CC,345"$ @@ -2232,7 +2232,6 @@ $LK,"ARGT_MOFFS32",A="FL:::/Kernel/KernelA.HH,1926"$ $LK,"ARGT_MOFFS16",A="FL:::/Kernel/KernelA.HH,1925"$ $LK,"WIG_TASK_DEFAULT",A="FL:::/Kernel/KernelA.HH,1444"$ $LK,"BEqual",A="FL:::/Kernel/KernelB.HH,28"$ -$LK,"PRTF_LEFT_JUSTIFY",A="FL:::/Kernel/KernelA.HH,3870"$ $LK,"FUF_SINGLE",A="FL:::/Kernel/KernelA.HH,2576"$ $LK,"FUf_SINGLE",A="FL:::/Kernel/KernelA.HH,2548"$ $LK,"DVDImageWriteTask",A="FL:::/Kernel/BlkDev/DiskCDDVD.CC,113",BI=479$ @@ -2366,7 +2365,6 @@ $LK,"ATAR0_NSECT",A="FL:::/Kernel/KernelA.HH,2290"$ $LK,"DOCEf_RIGHT_MACRO",A="FL:::/Kernel/KernelA.HH,1066"$ $LK,"RLF_DOC",A="FL:::/Kernel/KernelA.HH,488"$ $LK,"OutU8",A="FL:::/Kernel/KernelB.HH,80"$ -$LK,"PRTF_QUESTION",A="FL:::/Kernel/KernelA.HH,3875"$ $LK,"DCF_ALIAS",A="FL:::/Kernel/KernelA.HH,3580"$ $LK,"CoreAPSethTask",A="FL:::/Kernel/MultiProc.CC,194",BI=506$ $LK,"Ff_HASERRCODE",A="FL:::/Kernel/KernelA.HH,853"$ @@ -2404,7 +2402,6 @@ $LK,"StrLastOcc",A="FL:::/Kernel/StrA.CC,594",BI=511$ $LK,"WIf_SELF_FOCUS",A="FL:::/Kernel/KernelA.HH,1450"$ $LK,"FClose",A="FL:::/Kernel/BlkDev/DiskCFile.CC,73",BI=512$ $LK,"DriveTypeSet",A="FL:::/Kernel/BlkDev/DiskFormat.CC,1",BI=513$ -$LK,"PRTF_AUX_FMT_NUM",A="FL:::/Kernel/KernelA.HH,3876"$ $LK,"COLORS_NUM",A="FL:::/Kernel/KernelA.HH,2931"$ $LK,"IEF_GOTO_LABEL",A="FL:::/Kernel/KernelA.HH,1968"$ $LK,"CMT_GOTO_LABEL",A="FL:::/Kernel/KernelA.HH,1699"$ @@ -2446,6 +2443,7 @@ $LK,"SC_PAUSE",A="FL:::/Kernel/KernelA.HH,3529"$ $LK,"TRANSPARENT",A="FL:::/Kernel/KernelA.HH,2913"$ $LK,"XTalkStrWait",A="FL:::/Kernel/Job.CC,496",BI=525$ $LK,"mem_physical_space",A="FL:::/Kernel/KernelB.HH,197"$ +$LK,"PRINTF_QUESTION",A="FL:::/Kernel/KernelA.HH,3875"$ $LK,"CArcCtrl",A="FL:::/Kernel/KernelA.HH,3698"$ $LK,"SC_CTRL",A="FL:::/Kernel/KernelA.HH,3502"$ $LK,"RS_ATTR_LONG_NAME_MASK",A="FL:::/Kernel/KernelA.HH,2505"$ @@ -2608,7 +2606,6 @@ $LK,"sys_mem_init_flag",A="FL:::/Kernel/KernelB.HH,183"$ $LK,"RWF_IN_DOLLAR",A="FL:::/Kernel/KernelA.HH,3536"$ $LK,"DISPLAYf_CHILDREN_NOT_ON_TOP",A="FL:::/Kernel/KernelA.HH,3252"$ $LK,"sys_var_init_flag",A="FL:::/Kernel/KernelB.HH,186"$ -$LK,"PRTF_DECIMAL",A="FL:::/Kernel/KernelA.HH,3877"$ $LK,"IOAPIC_DATA",A="FL:::/Kernel/KernelA.HH,531"$ $LK,"SysGetStr2",A="FL:::/Kernel/KDebug.CC,337",BI=555$ $LK,"fp_getstr2",A="FL:::/Kernel/KGlobals.CC,32"$ @@ -2638,6 +2635,7 @@ $LK,"HTT_HELP_FILE",A="FL:::/Kernel/KernelA.HH,702"$ $LK,"HTt_HELP_FILE",A="FL:::/Kernel/KernelA.HH,672"$ $LK,"Round",A="FL:::/Kernel/KernelB.HH,139"$ $LK,"VM_OTHER",A="FL:::/Kernel/KernelA.HH,3889"$ +$LK,"PRINTF_DECIMAL",A="FL:::/Kernel/KernelA.HH,3877"$ $LK,"ISOT_TERMINATOR",A="FL:::/Kernel/KernelA.HH,2466"$ $LK,"ATAR0_STAT",A="FL:::/Kernel/KernelA.HH,2295"$ $LK,"HPET_GEN_CONF",A="FL:::/Kernel/KernelA.HH,555"$ @@ -2685,6 +2683,7 @@ $LK,"REG_UNDEF",A="FL:::/Kernel/KernelA.HH,1799"$ $LK,"VGAFlush",A="FL:::/Kernel/Display.CC,88",BI=577$ $LK,"FILEMASK_AOT",A="FL:::/Kernel/KernelA.HH,2301"$ $LK,"FramePtrAdd",A="FL:::/Kernel/KHashB.CC,225",BI=578$ +$LK,"DCF_SCREEN_BITMAP",A="FL:::/Kernel/KernelA.HH,3581"$ $LK,"FF_NEEDS_WRITE",A="FL:::/Kernel/KernelA.HH,2759"$ $LK,"DOCF_DBL_DOLLARS",A="FL:::/Kernel/KernelA.HH,1275"$ $LK,"LAPIC_APIC_ID",A="FL:::/Kernel/KernelA.HH,500"$ @@ -2759,6 +2758,7 @@ $LK,"ICF_ARG1_TO_INT",A="FL:::/Kernel/KernelA.HH,1605"$ $LK,"I_USER",A="FL:::/Kernel/KernelA.HH,315"$ $LK,"FAT32CDirFill",A="FL:::/Kernel/BlkDev/FileSysFAT.CC,214",BI=589$ $LK,"BlkPoolAdd",A="FL:::/Kernel/Memory/BlkPool.CC,1",BI=590$ +$LK,"sys_task_being_screen_updated",A="FL:::/Kernel/KGlobals.CC,11"$ $LK,"TK_NORMALSCRIPT",A="FL:::/Kernel/KernelA.HH,2082"$ $LK,"PTR_STARS_NUM",A="FL:::/Kernel/KernelA.HH,776"$ $LK,"TaskMessage",A="FL:::/Kernel/Job.CC,119",BI=591$ @@ -2835,88 +2835,98 @@ $LK,"PURPLE",A="FL:::/Kernel/KernelA.HH,2919"$ $LK,"TASKf_BREAK_LOCKED",A="FL:::/Kernel/KernelA.HH,3239"$ $LK,"DriveNextFreeLet",A="FL:::/Kernel/BlkDev/DiskDrive.CC,51",BI=599$ $LK,"FILEMASK_SRC",A="FL:::/Kernel/KernelA.HH,2302"$ -DVc           !!!@4@CCKOf}H/=rrTzz<#&@YfmooxD!3P2>MZglr699,929L9O9[9p9v9|999999999999:::::!:0:4:C:I:L:N:^:b:v:y:|:~:::: Fdҿҿ -!$00^kux{ -h§§˧٧#3BQaq¨Ҩ dav"2=BOX\bhpx 4ۗۗ.00: 44= I I.IJIJIMIgIgImI(-324>H)y)yIyVy[ygyyyyyyyy(Z`>>Xjrx$8dddd!d&d(d?d?dHdNdP[kbbcccc'c6cFX[ixȊ̊ъ!!(0=?QY[ellls{$:\aahpόҌތ(+DDII\cmȍލ?Zclp~ŎЎ  26Qjs|ɏϏҏ׏׏+P]awÐɐې.5AZgjqtvɑӑ )8Xa˒4[[o}@@Lkksz `+6?GI[mtt`S"S"a"n"x"x"""""""""""" *+/JMS`lnn~|wڦ&6GWYYY_x4%{C{CCCCCCCCC|[[%.>FVehAh{{&{7{;{J{\{p{{{{{{{{{{{{{{{{U|Z|Z||||||||||H    H +--2!4AJ %Cquuz"66WZc #&+R# lp2@F$DLYΐې%p 2BQQXXXK&h#9vvvww#w%w.w0w0w3wOwwwwwwwww'$gl`y`ydytyyy(d ! !!!*!7!D!Q!i!}!!!!!!!!!!!!!"!")"="D"D"N")|9IaIaSa`aqa{aaaaaaaaaaaaaaaaaab*X§էߧ+05HJJT,D, Q Q!Q1Q8QMQTQ[Q\QdQ-X---445;.P +DVc           !!!@4@CCKOf}H/=T<#&@YfmooxD!3P BN]jw|µ699,929L9O9[9p9v9|999999999999:::::!:0:4:C:I:L:N:^:b:v:y:|:~:::: Fd #+14@@n{ +hҧҧۧ#3CRaq¨Ҩ dav""2BMR_hlrxƦ 4ۗۗ.00: 44= I I.IJIJIMIgIgImI(-324>H1y1yQy^ycyoyyyyyyyy(Z`>>Xjrx$8dddd!d&d(d?d?dHdNdP[kbbcccc'c6cEQjwzƑƑƑّ͑*9Hhqے4[[o}@@Lkksz ` +*;FOWYk}`S"S"a"n"x"x"""""""""""" *+/JMS`lnn~|wʦʦ + $6FWgiiio̧4%CCCCCCCCCC|kk "5>NVfuxAh { {6{G{K{Z{l{{{{{{{{{{{{{{{{e|j|j||||||||||H    H +--2!4AJ&5S"66WZc #&+R# lp2@F$DLYɐΐސ%p 2BQQXXXK&h#9vvvww#w%w.w0w0w3wOwwwwwwwww'$gl`y`ydytyyy(d ! !!!*!7!D!Q!i!}!!!!!!!!!!!!!"!")"="D"D"N")|9IaIaSa`aqa{aaaaaaaaaaaaaaaaaab*X§էߧ+05HJJT,D, Q Q!Q1Q8QMQTQ[Q\QdQ-X---445;.P -.499JNSS[/ $(HHHHH0ț؛)4@IƜԜۜ -01<R];;M]}2 JJNw3<ȈЈ؈ۈ44ajJJJJ=KMKZKnKrKtK54MVIIIIJ-J:JNJSJUJ6cc/49ShjG7$8 PT^^btv9 ^^h{:,XXXYYY!Y&Y;8KjKjkjvjj|jjjjjj<8%$,@U]`bf= >\6?4***.@4u~LLLLULeLqLLLLA ..2UYB4C@:FQQQQQQQQQDXl~YcYckcncyc~cccccccccccdE:Z b b#b.b3b>BXZMHIzIzizvz{zzzzzzzzzNHyyyyyyzz#z0z9z:zFzO P Qd^^^^^^^^^^ __(_/_S_\_c_o_q_RMMMN'N6NANPN]NvNNNNNNNNNNNNNNOO.OAOJO[ObObOsO|OS,P)MMbjoo ,..@@RYYkpwT!.:AJ]w}$EJMSSVksvU0&TT]]tVdCiCiQiVifikiziiiiiiiiiiiW8 ..........X sTsT|TTTYDIeIecezeeeeeeZ4ktxKxKKKKKKKLL[4W`XJXJ`JnJJJJJJJ\8]x]wnnnnnn -ooGoGoJoLoLoQoQoSoSoSoUoUoUo^oaodoqo^Y#6CVt})<Ydl!6P[cnnns_ {33M_i`s?s?|????L@Y@[@s@s@@@@@@@A A%A/A\AcAeAjAmAa4LLLLLLLMMMb$+0cCiʪʪ ""*S\ajmrr"d<$/ĩΩe;W;WOW^WmWwWWWWWWWWXX X.XBPTYlLCC_fmy˕ڕm8SXSXiXvXXXXXXnKo{{AQ`ryoPZjēɓԓړp3 +.499JNSS[/ $(HHHHH0ɛś؛ -9DPY֜ '*@1<R]KK]m2 ZZ^3<ȈЈ؈ۈ44ajJJJJ=KMKZKnKrKtK54MVIIIIJ-J:JNJSJUJ6ss',?DIcxzW7$8 PT^^btv9 ^^h{:,YY YYY+Y1Y6Y;8SjSjsj~jjjjjjjj<8%**4<Pemprv= >\6?4***.@4u~LLLLULeLqLLLLA ..2UYB4C@:FQQQQQQQQQDXl~YcYckcncyc~cccccccccccdE:Z b b#b.b3b>BXZMHQzQzqz~zzzzzzzzzzNHyyyyyyz%z+z8zAzBzNzO P Qd^^^^^^^^^^_'_0_7_[_d_k_w_y_RMMNN7NFNQN`NmNNNNNNNNNNNNOOOO O>OQOZOkOrOrOOOS,P-9]]rz!<>>PPbii{T + +$1>JQZm%(((4UZ]ccf{U0&TT]]tVdKiKiYi^inisiiiiiiiiiiiiW8 ..........X sTsT|TTTYDIeIecezeeeeeeZ4ktxKxKKKKKKKLL[4W`XJXJ`JnJJJJJJJ\8]x]wnnnnooooOoOoRoToToYoYo[o[o[o]o]o]ofoioloyo^Y#3FSf*9Lit| "1F`ks~~~_ {CC]oy`{?{????@T@a@c@{@{@@@@@@A!A(A-A7AdAkAmArAuAa4LLLLLLLMMMb$+0cCiڪڪ&22:clqz}«ƫ"2d<$/ȩԩީ eCWCWWWfWuWWWWWWWWW XX(X6XDXRXrXhX~XXXXXXXXXXXYYYGY]YnYnYvYyYYfrrɁف',<EZ`dvg@nz\\iqth(ajj}ÃԃF]v҄܄"-;BPPZs…ą΅iD/<nnwj,K5K5O5|55555k<bm!),:>BPTYlLCC_fmy˕ڕm8SXSXiXvXXXXXXnKoQ,apoPZjēɓԓړp3     - ! 9 N N W q x               qd7:HHQ\adtrH<J~~s4NN\jr}tLsz|z|||||||| }}3}J}a}|}}}}}}}}}}}}}}~*~7~=~@~J~ucjjjjjkkk9kCkCkYkeklkkkkkkkkkkkkv( d ddd)d1d6dw0lt&&4CNTVV\x<KV`x`xixsxxxxxxxxy4nn#)@EKY]y !;BPbbuw"z`iiiiiiijj'j2j4j9j;j@@RRdkk}}DNN^ds~t&7@Q\_adffftDMZ U U U.U.U6ULUPUPUTU\U6[00JRV^jqx}׆چ $281;+66AEEK,s_s_w_____02:KK_j|Kveeeeeeeeef -ff"fFfUf\fcftfvf~ffffffffffffff,vvD V(Y(YBYEYKYWYYYhYoYuYYYYYYYZZ'Z'Z'Z4ZmZyZZZZZZZZZ [[Y[k[[[[[[[[[[[\\\\\\'\3\L\X\a\l\\\\\\\\\\\]P,<PPpȏ͏Ϗ4#XHXHaHvHvHHHHH VVdms85?ʤ - -5")0=KTW]cjqs}Ʌ΅ )0HPVVdrzkkll*l?l?lUl]lml|l|llllllllllllmmm!m,mJmTmWmZm_mmmmmmmmmmmmmmmmtRRRRRSSS-S/S/S?SASASQSYSYSbSnSSSSSSSX" c cc)c:cEcacdcrcxc{cccc@Qd[dcd{d{ddddddd@!-;;INQcilntL)/>DSYhnpu({t{tttttt{ z z>zGzjztzzzzzzzzzzzzzzz{{{{{"{.{@{M{S{`{k{p{v{{{{{{{{83M3MRMTMeMjMxMMMMMMMMMMMMNN NNNN!N0N6N6N6N=NNN@%ޠT66Z]kk$@E%+0`p !!!%1H #D"/̉щщtc3c3k3|3333333444%434I4_4a4w44444X{cJcJ|JJJJJJJJJJJJJJ@ , t ttHpIpI~IIIIIIII<x#*.15<`p`""&=oʀـހ@ SSnd29999999::":6:N:f:y::::::!;&;?;T;t;;;;;*<;;I<Z<a<<<<<<<<<9=G==x=v=======>%>F>>Y>a>L>>>>>?$?E?O?f?n?Y????????@@2@K@f@~@@@@@@@@AA8AeFe4 **>MR`ciqH66?T]ikm||$$$$%% %%%%%7%<%<%N%S%S%e%j%j%|%%%%%%%%%%%%%%%%&&&&-&4&=&L&&a~ >>DBR -LtJ~J~^~k~n~r~~~~~~~~~~T#.Q_ioy~66HN\\y0:GPRXag"uuuv v v&v7v?vCvOv`vmvsvvvyv|vvvvvvvvvvvvvvvH . #+HW]`lP]m %;JcLĀπ-6;McSqVV1V6VBVBVNVVV^ViVrVzVVVVVVVVVVVss{  # 3 F S f            - -6 -: -< -A + ! 9 N N W q x               qd7:HHQ\adtrH<J~~s4NN\jr}tLs||||||||}},}C}Z}q}}}}}}}}}}}}~ ~~!~:~G~M~P~Z~ucjjjj kkk(kIkSkSkikuk|kkkkkkkkkkkkv(ddd&d1d9d>dw0lt&&4CNTVV\x<KV`x`xixsxxxxxxxxy4nn#)@EKY]y !;BPbbuw"z`iiiiiijj$j/j:jUTUXUXU\UdU6[@@ZbfnzĆˆІ $')04B81;+66AEEK,{_{______02:KK_j|Kveeeeeeeee +fff*fNf]fdfkf|f~ffffffffffffffg,vvD V8Y8YRYUY[YgYiYxYYYYYYYYZZ.Z7Z7Z7ZDZ}ZZZZZZZZZ[["[i[{[[[[[[[[\ +\ +\\\\(\+\+\7\C\\\h\q\|\\\\\\\\\\\(]P,<``Ǐҏ؏ݏߏ4#XHXHaHvHvHHHHH VVdms85?ʤʤڤ +" +5.29@M[dgmsz˅΅хمޅ  '90HPVVdrzll&l.l:lOlOlelml}llllllllllllllm#m)m1mzGzjztzzzzzzzzzzzzzzz{{{{{"{.{@{M{S{`{k{p{v{{{{{{{{8;M;MZM\MmMrMMMMMMMMMMMNN NNNNN N)N8N>N>N>NENVN@%ɠ T66Z]kk$@E%+0`p !!!%1H##%3D"/̉щщtk3k3s33333334 44#4-4;4Q4g4i444444X{kJkJJJJJJJJJJJJJJJ@"$$*,tt!tDt/tTtZt~t8{ + +<HJJ8>HpIpI~IIIIIIII<x + +%3:>AELp`226Mˀڀ@ cc~d2999999::#:2:F:^:v:::::: ;1;6;O;d;;;;;;:< < <Y<j<q<<<<<<<= =I=W========>>%>5>V>>i>q>\>>>>>?4?U?_?v?~?i???????@@)@B@[@v@@@@@@@@AA*AHALAJAAAAAAABB2B2BBZBXBBBBBBCC[C,C*CzCzCCCCCCCCCCCCC,szyyyyyyyzTdddddeee e.e2e4e>eFe4 **>MR`ciqH66?T]ikm||$$$$%% %%%%%7%<%<%N%S%S%e%j%j%|%%%%%%%%%%%%%%%%&&&&-&4&=&L&&a~ >>DBR +LtZ~Z~n~{~~~~~~~~~~~~~T#.Q_ioy~66HN\\y0:GPRXag"uuuv v v&v7v?vCvOv`vmvsvvvyv|vvvvvvvvvvvvvvvH .'3;Xgmp|P]m %;JcLĀπ-6;McSqVV1V6VBVBVNVVV^ViVrVzVVVVVVVVVVV ' 3 C V c v            +- F -O -a -h -h -z - - -,z((2,fm##17COSY,W^kIkIyI{IIIIIHҁҁہ%048;dBBKcn˂JJKK3KBKoKyK~KKKKKKKKKKKKLL%L%L7LCLGLQL0LCTCT_TnTsTyTTTTTTTTTTTTTTTTTTU U .2+0'FԢ$NRrt|ʣԣۣ (D`go a]a]j]w]|]T}         ",6@>Nl| "):??{{Ş̞̞ڞ+2AT`wyğП؟$;BHKa4&/SSSTT!T)T3T5TBT4S   A L ] q            & 6 6 6 I N O  85{{ʐސ'+.0BPT^bkq$).HHHHHH, +25MXhz~ɎԎ"0577MLnn 3766:GI`#R#R'RCRRRdRiRsRRRRRSS2SBSGSGS\S`pppqq(q;qJqOqbqyqqqqqqqGn%N`k-44FV )556=6e6666!7d7f7t7777777778&868K8d8k8r88884MMMMUMeMqMMMMn[[szˋҋ݋ $/38<GMPSX_iy@/;ҒҒ  -369K0'ە<NY:::;";2;C;R;l;;;;k-25@CH^p{<MMMMMMMMMNN} '>>CEEIKKOVV[k}LQ`ʵٵ$kkk9k 8<NNXkp !,]#1JYcoz.Bt  ..37$FFFFGG/GHGHGTGeGpG|G|GGGGGGGGGGGH.HHHMHRHxv%%%%%%%%%%&&&&$&J&R&[&[&a&&&&&D&&*.sAsAAAAAAAAAAABB-B?BFBFB\BiBiBBBBBBBBB@nz $W]]i0(@sy{{D ),< - - - - - - - -  # 7 ^ t            LLLLLLLMMMM!M,Mʏ܏܏!!!2=DHPT\bhhky|"2[kx8 ڟڟ!7:CH=K.CIOOWYL \;k;kCkNk`kfknkxkkkkkkkkl&l^lclclulllllllllll mm'm,m;momvmmmmmmmmmmmmnnnn+n6nNl| "):??{{Ş̞̞ڞ+2AT`wyğП؟$;BHKa4&/SSS TT)T1T;T=TJT4S   A L ] q            & 6 6 6 I N O  85{{ʐސ'+.0BPT^bkq$).HHHHHH, +((BE]hxǎَ͎͎  $2@EGG]Lnn 3766:GI`+R+R/RKRZRlRqR{RRRRR S S:SJSOSOSdS`p q qq/q8qKqZq_qrqqqqqqq rGn 5^p{+++=DDVf )556E6m6666)7l7n7|7777777788.8>8S8l8s8z88884MMMMUMeMqMMMMn[[szˋҋ݋ $/38<GMPSX_iy@/; $0=CFI[0'<NY:::;*;:;K;Z;t;;;;k-25@CH^p{<MMMMMMMMMNN} '.7NNSUUY[[_ffk{LQ`µµ˵˵ڵ%)).$ k k%kAk 8<NNXkp !,]##+3AZis ,>R  00>>CG$FFFF +GG7GPGPG\GmGxGGGGGGGGGGGGGH6HPHUHZHxv%%%%%%%%%&&&&"&4&Z&b&k&k&q&&&&&D&&*.{A{AAAAAAAAAAA BB5BGBNBNBdBqBqBBBBBBBBB@nz $W]]i0**8PD ),< + + + + + + +  * 3 G n            ) LLLLLLM MM&M&M)M4Mʏ܏܏!!!2=DHPT\bhhky|2Bk{ $*-8 1GJSH=K%>SY__giL \CkCkKkVkhknkvkkkkkkkkk l.lflklkl}lllllllllmmm"m/m4mCmwm~mmmmmmmmmmmm nn n&n3n>nDnOnOnUn^ninyn~nnnnnnnn@Zf;;;;;;;;;;;,zz(%SSSSSSS<+ + = I _ y     $cccccclAX .G`itʔՔޔ ((*$ss|  +TTTTTX<6<6J6S6_6e6h6m6s6v6{6{666666Dh-{-{---------....%.D.M.O.n.w.w.w.|.........///$/$/-/////8/:/:/C/E/E/J/L/L/Q/Q/Q/U/p///////////0 0$0/0E0U0w0000000000L1L[[ov{4(ƃ4,~~LWWWWWWWWWWWWWx744CYbqxx{| k&&GI`it̯ׯگ '*BRU[^qưư !$<PU[^cvޱޱޱ"1FX}ղ )++C__}³³ڳ59;;?Wuyy˴Ҵ״״ +OVXXfnҵ#E9]|Զ޶)99o}ķӷܷܷ )FU[px˸͸(6??KOOXgppy˹244LchhӺӺߺ -68T_z||˻ӻ$)JTToyʼҼܼܼ8CCCW`d{ѽ۽?PVmu )@JOe}}οҿ CWu &8DHHHHLQQ\`x%***59Qhrw:@`rz|)+GR\fm3Ge|'166Neo14FX]]u#(((DX[m *2;@@@ev|rr )L4fccy a4GP̓דܓDjjvǁ́ҁ|jjłʂۂ߂$8NX'PAQ::;; ;);/;4;R;T;b;h;k;y;TrCC\fv~ Qmr}@ jjs{0-51h{h{hhhhhhhhhhhhhiiiiii(i)i)i5i7iCiX766TZaqx")+8::J[^`ln)+24@@TXXn SNSNsN}NNNNNNNNNNNN OO&O7OEOOOOOOO_O -$nUUVV"V'V;VXVqVVVVVV2W4W8W @ ` `!`F`N`S`f`s`y`|`` 0 ,;BǪ6NNlor5?IQQQSSXw}0  $**17;?FLSY`fmszŦŦΦϦ "-8CNNXLWfxxxxxxyyy!y1y3y3y3yZyhȎ׎܎ #/>JU[fiqD<INNb~`*>888889 9 9!9!9/979E9M9M9x9999992Z6AP\p)++==EEQemmP~~~ ###%7>o0KpKpaptppppp<al22@QY]inrx8gq;;;;<<< < <#<\  3>Rc.Id XIwIwiwvw{wwwwwwwwww, -G6Øɘݘ . <S_s|ƙ)1CFFFFR  Hhghggggggggggh hhh"h+hDhPhPhkh}hhhhhhhhhhhiiJi%iYidi{iiiiiiiiiiiiiiiL %''-<{ن#p  GKB|B|Q|n|t|!l˜ҘҘ,59H[ahwzƙҙڙ#4GMʚٚ8DOV\clo"===$=$=3=?=F=L=L=V=_=_=e=i=l=v==================#   $}}}}}}}~%~3~E~J~P~U~l~u~~~~~~~~~~~~~ -)-RRaciq!(3I^m|À܀ -y%,&ĖɖΖӖ 7DMRW\zeʗЗڗߗ0ejtݘ  '>GNZfu'(tttuu!u)u(ȯͯӯ&.9>Tajo°8@Scs±ܱ ,7FVfv)4________`*p !zzzzz {{{4{j{s{|{{+#5>^c| .DFRh~119COe{,8u^^l{-80: - -;^jw.,```````/0 ΄؄0,8?1@-9eQeQuQ~QQQQQQ2,HgHgQg\g^g^gcg3\mzz 41`1`A`H`[`g``````````aaa'a-a3a6a=aEa5F/Xjr(0KKK]ddv|6X````````a aaa)a4a0?<qqqqr r#r*r@rFrLrr@Tct.4444:APccmOB(MS  !3<>CH!bbp|D'J{d{dddddddddeee(e/e3e3e9e?eWe`efeoetetetexeeEX4444444444 5 5 555FOpeeeeeef f-f-fLfNfNfmfofoffffffffffg -ggDgGH22COS_gsyH<# - - (8DN}I4CqCqWqiqrqqqqqqJ4Yb**3;GXck~KZ;G[_esw} )))),16<PTZeiozzzL -:>H^^nz»»»ʻػ$M?HHHHHHHHHII.I;I@IDIUIIIIIIIIIIN`{{ǖӖזߖO6hThTTTTTTTTTTUUU,U%U%^%i%p%{%%%%Y@nzJJJO[g|g&X - - /:Lcctáӡ!!!2^ent{Ңh@8D "DQQ[iUy 57Mellmm{jf]]]]]]]]]^ -^^&^<^<^?^D^N^N^X^[^q^^^^^^^^^^^ _ _)_#_U_U_i_}________~`k`````````aaaa'aGaGa^a`a`awayayaaaaaaalVz*277DZlt| $)0mDNaa bbb,b6bZb~bbbbbbbbbbc#c#cDcFcFcgcicicycyccccccccccdd8d:d:d[d`d`dpdpd}dddddddddddde%e,e3e6een`AU    $ ? H O T e v     o))))))))***?*L*W*i*~*******+ +++'+9+N+b+j++++++++,,8,N,`,`,,,,,p0 GGGGG HHHqH_mIIIIIIIIIJ Jr\Qd"$/4GPUZjww}sc/////0 00+0?0H0\0000000011&11181C1H1]1tx - -55@@HJJQT`u0 ǔvLZi -=KMbmswx5SSSSTTT#T'TB 8 8(8.888;8;8D8O8Y8c8o8q8w8~88888888888888888888888889L::HKWagtǟ˟ϟ՟8ak#,%&+4ssssssst t )- - t2ҳҳ0Sboz´ȴʴ״ڴh !*>Vsc6BR+          ) 4 B Q q         .N\khaw""DJSS\kxζζζ߶$(-JJX`rx@z@@DET]cgk<@K(26;GLPT^<ccxg¸¸ )4JVlٹ޹޹8?a9[DDDDDDDDDDDDDDDEEE#E%E1E;EIENE]EdEfEfEfElE *;RRi}$8]]]]]]]]]l 7cOcOOOOOOOOOOOPPP%P0PAPOPYPYPgP47@:::::::::7UkPkPPPPPPPPPPPQQQQ$Q'Q*Q/QGQUQfQQQQQQhqҫ77YYYbddmooxzz¬¬¬ŬȬѬ%'*,/:??HHMMVchhq4rr ]]]]]0[ccUcUlUzUUUUUU()])]=]H]Q]T]\]p!-99KQQ^j Dq_q___________!6<AGJXdgjv{h-CgX=O '44KTX\\r((>ET[dd~݈022FlXo7:HHT[`ciltyy~<#*3:CCJL4>>>>>>?-?1?;YÒ̒Ւޒ %4=Fffhx~ @pupuxuuuuuuuuuAvAvmvvvvvvvvvvwww4wOw]wwwwwwwwwwwwww x xxxx1x8xFxUxxxxxx {8""1?VZZ__e<5@2AHMXmpu^;;Fgn}!0=FF_ %0PYaj|+=BTf~$0<<AQ_x,VXX]x'ҢҢ#.9DIWesԣ&57@Jh - nn| '00H0rrrrrrrr sL-[["[0[0[:[D[a[l[u[{[|[[,r#<#<+</<6<=<H<P<W<W<f<k<w<<<<<<<<<<=='=(=K=P=b=g===========>>,>7>D>D>K>m>~>>>8~D""&,28>DJPV\bdhCCCC DD%D.D?DWDoDDDDDDDDEE$E5EGE^E^EEEEEEEEEFF1FqFDFLF7FFFFFFFGG"G*GGuGuGuGGGGGGGGGH'H/H/H=HFHQH_HfHqHHHHH4{ƥڥ<i^i^^^^^^^^^8]]^^2^I^S^V^f^L  -09FZ`l `L`bbƥ̥ݥ #GNNcjtCblv PY 022FFILZ^tzXkk\"_____` ` ````%`-`,'...8:B\agd\q88PYtɇׇ &< -ʔʔޔ - dOOOOOOOOOOOOOPPP P&P0P<{{{{{{{{|X&8CCCCCDD3D=DZD_DfD{DDDD, /9DFZgptt} -CJcchqъ "LbҋU 1đߑߑ ))))))////11Iq|||| }%}:}@}N}S}Z}f}f}p}u}|}}}}}}}},**.3MRT@c2c2q2x222222224{{<)4ʃʃ -8ccccccccccd /3HHII I$nnrvxDڇڇ hC0<@\wwwwwÛ͛ққۛ &6888UWWttz͜ޜ ,37GJVgy{{{ĝ(.4zzx˝˝11;==GIIITVVVaaafxrVVVVW WWWWW$W/W3W8W>WKWQWTWVWYW\W\WaWpWsWW,**38@FFK@22@hҭڭ(17\\i~0**@K\^f  38$#+169 !5hjnny<!!',022FJXXXXXXXYYYY)YBYPYYYdYoYrYyY~YYYYYYYYYYYYYZZHRRfmX0P0PKPQPjPvPPPPPPPPPQQQ*QRQR[RkRtRRRRRRRRRRR8LV„ńDŽ̄Մ؄݄4444$454D4N4Z44444444444 -5'5,5,5B5J5]5l555555555 -6 666Q6X6j6j6x6x6y666666X  &6<KP_aahW2:AHOZaw/M~/GU__t~, ..//./C/L/`xsosooooooooooopp%p1p5p5pIpd -mmnnn/n/nEnNn^n^njnyn~nnnnnnnnnnnnno -o oo!o1oHoJoMoMoOoiouo{oooooooooooooop p%p)p4p7p:p@pCpQpgpgpgpop{pppppppppp4R[|;|;;;;;;;;tIbiijjj-j1j6jMj[j[jwjjjjjjjjjj6ہہ݁ %149Iddz||̂҂ՂՂ؂݂44999T<.EIINNV<ju""6=GPeqw},VV_iZ| --;M\k}#,X*4;Jcct0W_"%+%VSHSHsHHHHHHHHHHHHHHHHHHHIIII IIII&I?IBIUIUIXI[IkI 16666666666667Q7i7}77777777778 8>8q8888888(999I9I9P9b9b9p9p9q999999 -P::O_ejjtx}}  =Avvz H''+'.'C'L'c'z'''''''' ,+u+uEuXucuiuyu8<FRRfv<Ά܆ - (k6Z]hu–Ԗזܖ+.3:LOT[mpryǗʗ̗җҗҗҗחחޗ8r|ZZdl}PJJ^gӞݞ8JT$BGH{{#)1=BBIO[`gnuy -)AZ^} - (.007;DFFFIKKRVY__be{#&x'' (((('(D(O(V(](((((((((())) )),k$<$<B<E<]<]<_<p<}<<<<<<<<<<<<<<<<=d) 4<VadjrШYy  *07=V{ٕ!,77; UY"19@v֬&+Ռ݌0,?OU[bkЍӍ؍ލ!(37<GRX[apL&5NNNN$N0N7N7N=NDNTNVN]NbNfN,z `22MT_ehhouąم#!0"H- +68T_z||˻ӻ$)JTToyʼҼܼܼ8CCCW`d{ѽ۽?PVmu )@JOe}}οҿ CWu &8DHHHHLQQ\`x%***59Qhrw:@`rz|)+GR\fm3Ge|'166Neo14FX]]u#(((DX[m *2;@@@ev|з)9\Dv¸ŸѸss  "q4GPƓܓ!Djjvǁ́ҁ|zzƂՂڂ"48NX +*-/7PAQ::;; ;);/;4;R;T;b;h;k;y;TrCC\fv~ Qmr}@ zz0-51hhhhhhhhhhhhhhi i iii$i'i0i1i1i=i?iKiX766TZaqx")+8::J[^`ln)+24@@TXXn [N[N{NNNNNNNNNNNNOO#O.O?OMOWOWOWOgO +$nVV VV*V/VCV`VyVVVVVV:WJU[fiqD<INNb~`*>88888 999)9)979?9M9U9U99999992Z"FQ`l9;;MMUUau}}P~~ !3335GN0SpSpip|ppppp<al22@QY]inrx8gq;;;< <<<(<(<+<\  3>Rc.Id XQwQwqw~wwwwwwwwwww, +G6Øɘݘ . <S_s|ƙ)1CFFFFR  Hxgxggggggggghhh)h.h2h;hTh`h`h{hhhhhhhhhii i!i/iZi5iiitiiiiiiiiiiiiiiijL$*/577=<{††І%3  GKR|R|a|~||!lҘ&(<EIXkqxʙ֙&3DW]Ěښ +$HT_fls|"===$=$=3=?=F=L=L=V=_=_=e=i=l=v==================#   $}}}}} ~~#~5~C~U~Z~`~e~|~~~~~~~~~~~~)9=bbqsy&*-18CYn}ƀ̀̀Ӏ +%,&ŖʖϖԖٖޖ-GT]bgluŗŗʗڗ@uzƘƘ+7NW^jvřʙ'(ttuu#u)u1u(¯¯Яدݯ .6>INdqz˰Ұ'HPcs±ұ <GVfv)4________`*p !zzz{{{{ {<{r{{{{{+ $++3ENns(>TVbx +AAIS_u,8u^^l{-80:#Knz.,```````/0 ЄЄބ +0,8?1@-9eQeQuQ~QQQQQQ2,XgXgaglgngngsg3\mzz 41`1`A`H`[`g``````````aaa'a-a3a6a=aEa5F!*?hz &&8@[[[mtt6X```````aaaa#a1a0?<qqqqrr+r2rHrNrTrr@Tct#>DDDDJAPss}_B(MS  !3<>CH!bbp|D'Jddddddddde ee'e0e7e;e;eAeGe_ehenewe|e|e|eeeEX444444444455555FOpeeeeefff=f=f\f^f^f}ffffffffffffgg!gTgGHBBS_cowH<#(08HT^I4KqKq_qqqzqqqqqqJ4Yb::CKWhs{KZ ,KWkou !'9999<AFL`djuyL"".=JNXnn~һһһڻ""4M?HHHHHHHHI&I+I>IKIPITIeIIIIIIIIIJN`{{ǖӖזߖO6xTxTTTTTTTTU U!U)U/U2O2g2i2i2k2Lp^^$^)^0^0^O^r^y^^^^^^^puJJd|+ĮƮԮ .9HXdfsQr.rHrbrfrxrrrrrrrrrrrss-s@sIs]sasgspsvssssssssssssssssttt/t6t8ttlƲϲ+:GRoгڳHWe(](]<]Q][]o]x]}]]]]]]`UiQQQQQQQ +RRRR)R,&&&&&& ' '''''E'Z'f'''''''(6(S(p((((());)X)u)))))*#*@*]*z******** +y-("(  ] ]]]$], RTTTTTTTUUUU"U$U(U8UFUVUaUfUfUmUmUxUxUUUUUUUUUUUUUUUUUUUUUUUUV VVP22222222333 313H3`3b3X=`k,"49jpHȇ͇͇Ӈ8[L[LwLLLLLL(\\dn@22@Bdqqu{0022:H\j;;;;;<<<<<"<8&&&&&&'''P:Jwwwx xxx"x%x%x9xFxLxOx[x6666666677 7 7H7K7N7P7c7f7i7q7w7|7|777777777777778pĩĩީ ;;AJSU^giirêȪȪȪѪڪߪߪ.00>B 8 8(8.888;8;8D8O8Y8c8o8q8w8~88888888888888888888888889LJJX[gqwן۟ߟ8ak#,%&+4sssssst +tt )- + t2@crȴδдҴشڴh !*>Vsc6BR+        # - 9 D R a           />^l{   #haw22TZccl{¶ʶ̶޶޶޶ +$(-ZZhp@zPPTUdmsw{<@K""8BFKW\`dn<ccxgҸҸ .9DZf|(HOq9[DDDDDDDDDDDEEEEEEE+E-E9ECEQEVEeElEnEnEnEtE *;RRi}$8]]]]]]]]]l 7kOkOOOOOOOOOOO PPP-P8PIPWPaPaPoP47@:::::::::7UsPsPPPPPPPPPPQ +QQQ"Q,Q/Q2Q7QOQ]QnQQQQQQhqҫ77YYYbddmooxzz¬¬¬ŬȬѬ%'*,/:??HHMMVchhq4rr ]]]]]0[ckUkUtUUUUUUU()])]=]H]Q]T]\]p %1=II[aanz Dq_q___________1FLQWZhtwzh-CgX=O '44KTX\\r88NUdkttĈψψ0BBVΝlXo7:HHT[`ciltyy~<#*3:CCJL4>>>>>>'?5?9?;YÒ̒Ւޒ %4=Fffhx~ @uuuuuuuuuu vQvQv}vvvvvvvww wwwwDw_wmwwwwwwwwwwwww xxx!x&x/xAxHxVxexxxxxx{822AOfjjoou<5@2AHMXmpu^KKVw~1@MVVo5@`iqz/;MRdv 4@LLQao + +-<fhhm'*3>ITYguȣ!(6EGPZh + nn| '00H0rrrrrrrrsL-[[*[8[8[B[L[i[t[}[[[[,r+<+<3<7<><E<P<X<_<_<n<s<<<<<<<<<<===/=0=S=X=j=o===========>>4>?>L>L>S>u>>>>8~D""&,28>DJPV\bdhCCC DD+D5D>DODgDDDDDDDDE%E*E4EEEWEnEnEEEEEEEEEF#FAFFTF\FGFFFFFFFGG2G:G%GGGGGGGGGGG H$H7H?H?HMHVHaHoHvHHHHHH4{ƥڥ<i^i^^^^^^^^^8]]^^2^I^S^V^f^L  +09FZ`l `L`rrǥ֥ܥ#GNNcjtCblv PY,,@BBVVY\jnX{{ +\"_____` ` ````%`-`,'...8:B\agd\qHH`iه !**6< +ڔڔ %dOOOOOOOOOOOOPPP'P0P6P@P<{{{{{{{{|X&8CCCCDD$D;DEDbDgDnDDDDD,"+?ITVjw‰ω+SZssxʊ"'2\r͋e 1đߑߑ ))))))////11Iq||} }}5}J}P}^}c}j}v}v}}}}}}}}}}},::>C]bd@k2k2y2222222224{{<)4ʃʃ +8cccccccdddd /3HHII I$nnrvxDڇڇ hC0<@\wwwwwÛ͛ққۛ &6888UWWttz͜ޜ ,37GJVgy{{{ĝ(.4Ĥx˝˝11;==GIIITVVVaaafxrVVVVW WWWWW$W/W3W8W>WKWQWTWVWYW\W\WaWpWsWW,**38@FFK@BBPx(17\\i~0::P[lnv  38$#+169 #1Exz~~ <(,,117,022FJXXXXXXXYYYY)YBYPYYYdYoYrYyY~YYYYYYYYYYYYYZZHRRfmX@P@P[PaPzPPPPPPPPPP!Q$Q/Q:QLQTQgQuQQQQQQQQQQQRRRR&R3RUYY^^f<ju22FMW`u,VV_iZ| $=K]l{%%3<X*4;Jcct0W_"%+%V[H[H{HHHHHHHHHHHHHHHHHHH IIIIII"I"I.IGIJI]I]I`IcIsI 16666666667 +77'7a7y7777777777888N8888888989I9Y9Y9`9r9r999999999 +P::O_ejjtx}}  =Avvz H#'#';'>'S'\'s''''''''' ,3u3uMu`ukuquu8<Fbbv<Ά܆ + (kFjmx–ŖŖҖ ");>CJ\_dk}ŗחڗܗ8r|jjt|PZZnwƞɞ8JT$BGH"""")39AMRRY_kpw~9Qjn *08>@@GKTVVVY[[bfiooru    +36x(((($(/(7(T(_(f(m((((((((()))))*),k$<$<B<E<]<]<_<p<}<<<<<<<<<<<<<<<<=d) 4<VadjrШYy00:@GMfЕ$&1<GGK UY"19@vì .6;Ռ݌0,?OU[bkЍӍ؍ލ!(37<GRX[apL&5NNNN$N0N7N7N=NDNTNVN]NbNfN,z `22MT_ehhouąم#!0"H- -#\ **8=ELQy޼$, &38KQ%YYYYYYYYZ ZZ6Z6ZUZ_ZgZnZvZZZZZZZZZZZZZ[&4  "+116'< %2>Fbru(47777777778) QU{{*22222:2C2Y2m2w22222222233!3!303Q3v33333333333333 4+(QW ,0X`-@    % + .$jjjjjj/ QU{{0P.;OV\k1$mryyyyyy20dlUUUUUUUU3H^^^__(_1_3_?_B_E_O_4( "5d;P *<Q[jjt6T&&DHK\oy +#\ ::HMU\aƼѼ$, &38KQ%YYYYYYYZ ZZZ>Z>Z]ZgZoZvZ~ZZZZZZZZZZZZZ[&4 $)2;AAF'< %2>Fbru(47777777778) QU*222 2+2J2S2i2}22222222333)31313@3a3333333333334444+(QW ,0X`-@   ! + 5 ; .$jjjjjk/ QU0P.;OV\k1$mryyyyyy20dlUUUUUUUU3H^^^__(_1_3_?_B_E_O_4(!&025d;P  +:Lakzz6T&&DHK\oy !$05;CVpx{7DIIZnuzz -!5TYYj~ $355FZcciirr748H?M999:-:T::::::::::9XVVry~:l:Q,GYky348;`\psEsEwEEEEEEEEFF'F8FYFzFFFFF<@&2jj{=xFFUbqv} -!9BBP>Xxxxxxxxxxy yyy%y?Xww xxx'xGxMxZxgxnxwx{xx@$ 4SaA X\B їٗC(*0 CWD0qyFF`ccl}EH3=DDchjjtFXq22=V]p},<Mahmm ,=h}FW>F^mWGD.;$22:Yssw}HXbbĺǺʺк޺IDrr{JLddtáCGOK9rrŇه!$.69<PgoLjˈ҈ՈL<;;QSa~MH ) ):)G)W)l)s)|))))NPWWWXXX(X,X3X>XBXJXKXSXOwff%g(gDgVg]gggsggggggggggggggghhhhhh6h?h?hFhahdhvhPpbz - -7BP^Q0$,R^ 3H_n;Rfs 4=HOZdmqS4 s s)sEs\shsnsts}ssT,3T3TKbjjv \ No newline at end of file +!5TYYj~ $355FZcciirr748H?M::::5:\::::::::::9XVVry~:l:Q-<Wi{ '..CDH;`\p{E{EEEEEEEEE FF/F@FaFFFFFF<@&2zz=xFFUbqv} +!9BBP>Xxxxxxxxxy yyy!y-y?Xwwxx#x/xOxUxbxoxvxxxx@$ 4SaA X\B їٗC(*0 CWD0qyFF`ccl}EH3=DDchjjtFXqBBMfm<L]qx}}*<Mx+Vg(NVn}gGD.;$22:Yssw}HXrrʺԺ׺ںIDJLddtáCGOK9LJՇ #(14>FIL`wLj׈ۈ $L<;;QSa~MH0)0)J)W)g)|))))))NPWWWXXX(X,X3X>XBXJXKXSXOwgg-g0gLg^gegog{gggggggggggggghhhhh h&h>hGhGhNhihlh~hPpbz".GR`nQ0$,R^.CXo~-Kbv+DMX_jt}S4ss1sMsdspsvs|sssT,3T3T>=8; @@ -28,7 +28,7 @@ U0 PutChars(U64 ch) U0 PutS(U8 *st) {//Use $LK,"Print",A="MN:Print"$(). See $LK,"Keyboard Devices",A="HI:Keyboard Devices/System"$. -//Don't use this. $LK,"See Print() shortcut.",A="FF:::/Doc/HolyC.DD,DemoHolyC"$ +//Don't use this. $LK,"See Print() shortcut.",A="FF:::/Doc/CosmiC.DD,DemoCosmiC"$ I64 ch; U8 *ptr; Bool cont=TRUE; diff --git a/src/Kernel/SerialDev/Keyboard.CC b/src/Kernel/SerialDev/Keyboard.CC index 948fc049..184d3ffe 100755 --- a/src/Kernel/SerialDev/Keyboard.CC +++ b/src/Kernel/SerialDev/Keyboard.CC @@ -291,8 +291,8 @@ U8 *ScanCode2KeyName(I64 sc) case SC_F11: CatPrint(buf,"F11"); break; case SC_F12: CatPrint(buf,"F12"); break; case SC_GUI: CatPrint(buf,"WINDOWS"); break; - case SC_PRTSCRN1: CatPrint(buf,"PRTSCRN1"); break; - case SC_PRTSCRN2: CatPrint(buf,"PRTSCRN2"); break; + case SC_PRINTSCREEN1: CatPrint(buf,"PRINTSCREEN1"); break; + case SC_PRINTSCREEN2: CatPrint(buf,"PRINTSCREEN2"); break; } } return StrNew(buf); diff --git a/src/Kernel/StrPrint.CC b/src/Kernel/StrPrint.CC index 59b79d93..cdfe04d6 100755 --- a/src/Kernel/StrPrint.CC +++ b/src/Kernel/StrPrint.CC @@ -24,9 +24,9 @@ U0 OutStr(U8 *ptr,U8 **_buf,U8 **_dst,I64 len,I64 flags) i=0; else i=StrLen(ptr); - if (flags&PRTF_TRUNCATE && i>len) + if (flags&PRINTF_TRUNCATE && i>len) i=len; - if (flags&PRTF_LEFT_JUSTIFY) { + if (flags&PRINTF_LEFT_JUSTIFY) { for (j=0;j=argc) throw('StrPrint'); - if (flags&PRTF_DOLLAR) { + if (flags&PRINTF_DOLLAR) { doc=argv[cur_arg++]; old_flags=doc->flags; doc->flags|=DOCF_NO_CURSOR; @@ -405,7 +405,7 @@ to avoid this. } break; end: - if (!(flags&PRTF_AUX_FMT_NUM)) + if (!(flags&PRINTF_AUX_FMT_NUM)) aux_format_num=1; while (aux_format_num-->0) OutStr(tmp_buf,_buf,_dst,len,flags); @@ -434,16 +434,16 @@ to avoid this. throw('StrPrint'); m=argv[cur_arg++]; if (m(I64)<0) { - flags|=PRTF_NEG; + flags|=PRINTF_NEG; m=-m; } sp_out_dec: - if (flags&PRTF_AUX_FMT_NUM) { + if (flags&PRINTF_AUX_FMT_NUM) { if (!len) len=12; d=m; goto sp_out_eng; } - if (flags&PRTF_COMMA) { + if (flags&PRINTF_COMMA) { comma_format_count=comma_count=3; do { tmp_buf[k++]=ModU64(&m,10)+'0'; @@ -454,18 +454,18 @@ sp_out_dec: } } while (klen) + if (flags&PRINTF_TRUNCATE && k+i>len) k=len-i; if (k<0) k=0; - if (flags&PRTF_PAD_ZERO) { - if (flags&PRTF_NEG) + if (flags&PRINTF_PAD_ZERO) { + if (flags&PRINTF_NEG) SPutChar(_dst,'-',_buf); comma_count=(len-k-i+comma_format_count-comma_count+1) %(comma_format_count+1)+1; @@ -481,7 +481,7 @@ sp_out_comma_num: } else { for (;ilen) + if (flags&PRINTF_TRUNCATE && k+i>len) k=len-i; if (k<0) k=0; - if (flags&PRTF_PAD_ZERO) { - if (flags&PRTF_NEG) + if (flags&PRINTF_PAD_ZERO) { + if (flags&PRINTF_NEG) SPutChar(_dst,'-',_buf); for (;ilen) + if (flags&PRINTF_TRUNCATE && k+i>len) k=len-i; if (k<0) k=0; for (;i17) { n+=i-17; @@ -573,7 +573,7 @@ sp_out_inf: n=0; m=Round(d); - if (flags&PRTF_COMMA) { + if (flags&PRINTF_COMMA) { comma_count=i&3; while (i-- && k2 && !comma_count--) { @@ -599,7 +599,7 @@ sp_out_inf: } if (dec_len) tmp_buf[k++]='.'; - if (flags&PRTF_COMMA) { + if (flags&PRINTF_COMMA) { comma_count=3; do { if (n) { @@ -626,13 +626,13 @@ sp_out_inf: goto sp_out_num; case 'e': if (!len) len=12; - flags|=PRTF_TRUNCATE; + flags|=PRINTF_TRUNCATE; if (cur_arg>=argc) throw('StrPrint'); d=argv[cur_arg++](F64); if (d<0) { - flags|=PRTF_NEG; + flags|=PRINTF_NEG; d=-d; } if (d==) goto sp_out_inf; @@ -649,18 +649,18 @@ sp_out_e: n0=n; if (n<0) { n=-n; - flags|=PRTF_NEG_E; + flags|=PRINTF_NEG_E; } else - flags&=~PRTF_NEG_E; + flags&=~PRINTF_NEG_E; i=3; do tmp_buf[k++]=ModU64(&n,10)+'0'; while (n && i--); - if (flags&PRTF_NEG_E) + if (flags&PRINTF_NEG_E) tmp_buf[k++]='-'; tmp_buf[k++]='e'; dec_len=len-k-2; - if (flags&PRTF_NEG) + if (flags&PRINTF_NEG) dec_len--; if (d) { @@ -682,12 +682,12 @@ sp_out_e: goto sp_out_f; case 'g': if (!len) len=12; - flags|=PRTF_TRUNCATE; + flags|=PRINTF_TRUNCATE; if (cur_arg>=argc) throw('StrPrint'); d=argv[cur_arg++](F64); if (d<0) { - flags|=PRTF_NEG; + flags|=PRINTF_NEG; d=-d; } if (d==) goto sp_out_inf; @@ -701,12 +701,12 @@ sp_out_e: goto sp_out_f; case 'n': if (!len) len=12; - flags|=PRTF_TRUNCATE; + flags|=PRINTF_TRUNCATE; if (cur_arg>=argc) throw('StrPrint'); d=argv[cur_arg++](F64); if (d<0) { - flags|=PRTF_NEG; + flags|=PRINTF_NEG; d=-d; } sp_out_eng: //Engineering notation @@ -719,17 +719,17 @@ sp_out_eng: //Engineering notation if (n<0) { n=-n; - flags|=PRTF_NEG_E; + flags|=PRINTF_NEG_E; } - if (flags&PRTF_AUX_FMT_NUM && -24<=n<=24) { - if (flags&PRTF_QUESTION) { - if (flags&PRTF_NEG_E) + if (flags&PRINTF_AUX_FMT_NUM && -24<=n<=24) { + if (flags&PRINTF_QUESTION) { + if (flags&PRINTF_NEG_E) i=-n/3; else i=n/3; j=0; } else { - if (flags&PRTF_NEG_E) + if (flags&PRINTF_NEG_E) j=-n-aux_format_num; else j=n-aux_format_num; @@ -742,12 +742,12 @@ sp_out_eng: //Engineering notation tmp_buf[k++]=sys_pos_pows_lets[i]; else if (len!=0) tmp_buf[k++]=CH_SPACE; - if (!(flags&PRTF_DECIMAL)) { + if (!(flags&PRINTF_DECIMAL)) { dec_len=len-k-2; - if (flags&PRTF_NEG) + if (flags&PRINTF_NEG) dec_len--; if (j>0) { - if (flags&PRTF_COMMA) + if (flags&PRINTF_COMMA) dec_len-=4*j/3; else dec_len-=j; @@ -763,12 +763,12 @@ sp_out_eng: //Engineering notation i=3; do tmp_buf[k++]=ModU64(&n,10)+'0'; while (n && i--); - if (flags&PRTF_NEG_E) + if (flags&PRINTF_NEG_E) tmp_buf[k++]='-'; tmp_buf[k++]='e'; if (!dec_len) { dec_len=len-k-2; - if (flags&PRTF_NEG) + if (flags&PRINTF_NEG) dec_len--; d1=d+Pow10I64(-dec_len+1)/2; if (d1>=10) { @@ -778,7 +778,7 @@ sp_out_eng: //Engineering notation } } } - if (flags&PRTF_COMMA) { + if (flags&PRINTF_COMMA) { if (len && dec_len>0 && !(dec_len&3)) tmp_buf[k++]=','; dec_len-=dec_len/4; @@ -788,7 +788,7 @@ sp_out_eng: //Engineering notation if (cur_arg>=argc) throw('StrPrint'); m=argv[cur_arg++]; - if (flags&PRTF_COMMA) { + if (flags&PRINTF_COMMA) { comma_format_count=comma_count=4; do { tmp_buf[k]= m&15 +'0'; @@ -815,7 +815,7 @@ sp_out_eng: //Engineering notation if (cur_arg>=argc) throw('StrPrint'); m=argv[cur_arg++]; - if (flags&PRTF_COMMA) { + if (flags&PRINTF_COMMA) { comma_format_count=comma_count=4; do { tmp_buf[k]= m&15 +'0'; @@ -843,7 +843,7 @@ sp_out_eng: //Engineering notation if (cur_arg>=argc) throw('StrPrint'); m=argv[cur_arg++]; - if (flags&PRTF_COMMA) { + if (flags&PRINTF_COMMA) { comma_format_count=comma_count=4; do { tmp_buf[k++]= m&1 +'0'; @@ -889,9 +889,9 @@ U8 *CatPrint(U8 *_dst,U8 *format,...) U0 Print(U8 *format,...) {//$LK,"Print(\"\") Format Strings",A="FI:::/Doc/Print.DD"$.See $LK,"StrPrintJoin",A="MN:StrPrintJoin"$(). -//Don't use this. $LK,"See Print() shortcut.",A="FF:::/Doc/HolyC.DD,DemoHolyC"$ +//Don't use this. $LK,"See Print() shortcut.",A="FF:::/Doc/CosmiC.DD,DemoCosmiC"$ U8 *buf=StrPrintJoin(NULL,format,argc,argv); - PutS(buf);//Don't use PutS(). $LK,"See Print() shortcut.",A="FF:::/Doc/HolyC.DD,DemoHolyC"$ + PutS(buf);//Don't use PutS(). $LK,"See Print() shortcut.",A="FF:::/Doc/CosmiC.DD,DemoCosmiC"$ Free(buf); } diff --git a/src/Tmp/MyDistro.iso b/src/Tmp/MyDistro.iso index 0e5afd37..9f22977c 100755 Binary files a/src/Tmp/MyDistro.iso and b/src/Tmp/MyDistro.iso differ diff --git a/src/Zenith/Ctrls/CtrlsA.CC b/src/Zenith/Ctrls/CtrlsA.CC index 34524823..f7e70f78 100755 --- a/src/Zenith/Ctrls/CtrlsA.CC +++ b/src/Zenith/Ctrls/CtrlsA.CC @@ -18,15 +18,15 @@ U0 CtrlsUpdate(CTask *task) if (c->update_derived_vals) (*c->update_derived_vals)(c); if (c->flags&CTRLF_BORDER) { - c->scrn_left =gr.pan_text_x+task->pix_left+c->left-FONT_WIDTH; - c->scrn_right =gr.pan_text_x+task->pix_left+c->right-FONT_WIDTH; - c->scrn_top =gr.pan_text_y+task->pix_top+c->top-FONT_HEIGHT; - c->scrn_bottom=gr.pan_text_y+task->pix_top+c->bottom-FONT_HEIGHT; + c->screen_left =gr.pan_text_x+task->pix_left+c->left-FONT_WIDTH; + c->screen_right =gr.pan_text_x+task->pix_left+c->right-FONT_WIDTH; + c->screen_top =gr.pan_text_y+task->pix_top+c->top-FONT_HEIGHT; + c->screen_bottom=gr.pan_text_y+task->pix_top+c->bottom-FONT_HEIGHT; } else { - c->scrn_left =gr.pan_text_x+task->pix_left+c->left; - c->scrn_right =gr.pan_text_x+task->pix_left+c->right; - c->scrn_top =gr.pan_text_y+task->pix_top+c->top; - c->scrn_bottom=gr.pan_text_y+task->pix_top+c->bottom; + c->screen_left =gr.pan_text_x+task->pix_left+c->left; + c->screen_right =gr.pan_text_x+task->pix_left+c->right; + c->screen_top =gr.pan_text_y+task->pix_top+c->top; + c->screen_bottom=gr.pan_text_y+task->pix_top+c->bottom; } c=c->next; } @@ -36,8 +36,8 @@ fp_update_ctrls=&CtrlsUpdate; Bool CtrlInsideRect(CCtrl *c,I64 x,I64 y) {//screen coordinates - if (c->scrn_left<=x<=c->scrn_right && - c->scrn_top<=y<=c->scrn_bottom) + if (c->screen_left<=x<=c->screen_right && + c->screen_top<=y<=c->screen_bottom) return TRUE; else return FALSE; diff --git a/src/Zenith/DolDoc/DocCodeTools.CC b/src/Zenith/DolDoc/DocCodeTools.CC index c6871068..f9c3b65f 100755 --- a/src/Zenith/DolDoc/DocCodeTools.CC +++ b/src/Zenith/DolDoc/DocCodeTools.CC @@ -40,7 +40,7 @@ I64 PopUpEdFormat() I64 i; CDoc *doc=DocNew; DocPrint(doc,"$$LTBLUE$$$$MU,\"Compile Check\",LE=EF_CMP_CHK$$\n" - "$$MU,\"Reindent HolyC Fun (Beware braces in strings.)\"," + "$$MU,\"Reindent CosmiC Fun (Beware braces in strings.)\"," "LE=EF_REINDENT$$\n" "$$MU,\"Renum Asm Local @@ Labels for Fun\",LE=EF_RENUM_ASM$$\n" "$$MU,\"Insert Template Code: Ctrl Slider\",LE=EF_CTRL_SLIDER$$\n" diff --git a/src/Zenith/DolDoc/DocRecalc.CC b/src/Zenith/DolDoc/DocRecalc.CC index c9f009ef..0e2e99f6 100755 --- a/src/Zenith/DolDoc/DocRecalc.CC +++ b/src/Zenith/DolDoc/DocRecalc.CC @@ -277,7 +277,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) if (!doc || doc->doc_signature!=DOC_SIGNATURE_VAL) return FALSE; //WinMgr updates all wins $TX,"30",D="WINMGR_FPS"$, 33.33333mS - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN && doc->owning_task!=Fs) { + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN && doc->owning_task!=Fs) { i_jif=counts.jiffies+JIFFY_FREQ/250; //4 mouse while (Bt(&doc->locked_flags,DOClf_LOCKED)) { if (counts.jiffies>=i_jif) @@ -302,7 +302,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) if (win_task) dc=DCAlias(gr.dc2,win_task); //Necessary for sprites break; - case RECALCt_TO_SCRN: + case RECALCt_TO_SCREEN: if (doc->updates_count++%(ToI64(winmgr.fps/10)+1) && !Bt(&doc->flags,DOCf_DO_FULL_REFRESH) && !(doc->flags&DOCF_BWD_MOVEMENT)) @@ -352,7 +352,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) doc->top_line_num=0; doc->line_start_col=0; recalc_flags&=~RECALCF_HAS_CURSOR; - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN) + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN) doc->settings_head.cur_text_attr= doc->settings_head.default_text_attr=win_task->border_attr; } else { @@ -373,7 +373,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) find_cursor=TRUE; } } - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN) + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN) doc->settings_head.cur_text_attr= doc->settings_head.default_text_attr=win_task->text_attr; } @@ -385,7 +385,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) right ==doc->old_win_right && doc->cur_entry==doc->old_cur_entry && doc->cur_col==doc->old_cur_col; - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN) { + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN) { y_plot_top=y0-scroll_y/FONT_HEIGHT; y_plot_bottom=y0+height-1-scroll_y/FONT_HEIGHT; if (!(doc->flags&DOCF_BORDER_DOC) && @@ -406,7 +406,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) cur_u8_attr=s->cur_text_attr; if (doc_e==doc->head.next) { doc->flags&=~DOCF_BWD_MOVEMENT; - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN && full_refresh) + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN && full_refresh) doc->flags&=~DOCF_HAS_SONG; } else doc->flags=doc_e->de_flags& DOCEF_HIGHLIGHT | @@ -554,7 +554,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) for (k=0;kscroll_len;k++) { ch=ptr[(i_jif+k)%j]; if (!Bt(char_bmp_displayable,ch)) ch='.'; - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN && + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN && !(doc_e->de_flags&DOCEF_DONT_DRAW)) { if (doc_e->de_flags & DOCEF_BORDER_PLOT && !Bt(&win_task->display_flags,DISPLAYf_NO_BORDER)) @@ -574,7 +574,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) if (doc_e->de_flags & DOCEF_BORDER_PLOT && !Bt(&win_task->display_flags,DISPLAYf_NO_BORDER)) { while (ch=*ptr++) { - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN && + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN && !(doc_e->de_flags&DOCEF_DONT_DRAW)) TextChar(win_task,TRUE,x-x0,y-y0,tmp_u32_attr+ch); else @@ -593,7 +593,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) hl=DocHighlight(doc_e,ptr,k,tmp_u32_attr); else hl=NULL; - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN && + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN && !(doc_e->de_flags&DOCEF_DONT_DRAW)) { //Technically we should do this for scrolling_x, too. if (y>y_plot_bottom) @@ -647,7 +647,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) StrPrint(buf,"%08tX ",bptr); ptr=buf; while (ch=*ptr++) { - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN && + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN && !(doc_e->de_flags&DOCEF_DONT_DRAW)) { if (doc_e->de_flags & DOCEF_BORDER_PLOT && !Bt(&win_task->display_flags,DISPLAYf_NO_BORDER)) @@ -669,7 +669,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) StrPrint(buf,"%02tX",*bptr++); ptr=buf; while (ch=*ptr++) { - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN && + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN && !(doc_e->de_flags&DOCEF_DONT_DRAW)) { if (doc_e->de_flags & DOCEF_BORDER_PLOT && !Bt(&win_task->display_flags,DISPLAYf_NO_BORDER)) @@ -694,7 +694,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) for (j=0;jde_flags&DOCEF_DONT_DRAW)) { if (doc_e->de_flags & DOCEF_BORDER_PLOT && !Bt(&win_task->display_flags,DISPLAYf_NO_BORDER)) @@ -718,7 +718,7 @@ public Bool DocRecalc(CDoc *doc,I64 recalc_flags=RECALCt_NORMAL) break; case DOCT_NEW_LINE: case DOCT_SOFT_NEW_LINE: - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN && + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN && !(doc_e->de_flags&DOCEF_DONT_DRAW)&& y_plot_top<=y<=y_plot_bottom) TextLenAttr(win_task,x-x0,y-y0,width-(x-x0),cur_u8_attr<<8); @@ -779,7 +779,7 @@ rc_adjust_xy: if (doc_e->de_flags & DOCEF_BORDER_PLOT && !Bt(&win_task->display_flags,DISPLAYf_NO_BORDER)) { while (xde_flags&DOCEF_DONT_DRAW)) TextChar(win_task,TRUE,x-x0,y-y0,tmp_u32_attr+CH_SPACE); if (find_cursor) { @@ -791,7 +791,7 @@ rc_adjust_xy: } } else { k-=x; - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN && + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN && !(doc_e->de_flags&DOCEF_DONT_DRAW)) { if (y_plot_top<=y<=y_plot_bottom) TextLenStr(win_task,x-x0,y-y0,k,tmp_u32_attr,""); @@ -962,7 +962,7 @@ rc_adjust_xy: if (tmpb && dc) { DCReset(dc); dc->flags&=~(DCF_DONT_DRAW|DCF_LOCATE_NEAREST); - if (recalc_flags&RECALCG_MASK!=RECALCt_TO_SCRN || + if (recalc_flags&RECALCG_MASK!=RECALCt_TO_SCREEN || doc_e->de_flags&DOCEF_DONT_DRAW) dc->flags|=DCF_DONT_DRAW; bptr=tmpb->data; @@ -1026,7 +1026,7 @@ rc_adjust_xy: break; case DOCT_SONG: if (sys_focus_task==win_task && - recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN && + recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN && !(doc_e->de_flags&DOCEF_DONT_DRAW)) { if (doc_e->aux_str && (!music.cur_song || StrCompare(music.cur_song,doc_e->aux_str))) { @@ -1235,7 +1235,7 @@ rc_skip: doc->col=doc->x+1; if (recalc_flags&RECALCF_HAS_CURSOR) { - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN) { + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN) { x=0; y=0; } else { @@ -1263,7 +1263,7 @@ rc_skip: doc->line_start_col=doc->x+x; } } - if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCRN && + if (recalc_flags&RECALCG_MASK==RECALCt_TO_SCREEN && recalc_flags&RECALCF_HAS_CURSOR) { x=doc->x-doc->line_start_col+left +scroll_x/FONT_WIDTH; y=doc->y-doc->top_line_num+top+scroll_y/FONT_HEIGHT; diff --git a/src/Zenith/DolDoc/DocRecalcLib.CC b/src/Zenith/DolDoc/DocRecalcLib.CC index 6353a12a..c8ecde76 100755 --- a/src/Zenith/DolDoc/DocRecalcLib.CC +++ b/src/Zenith/DolDoc/DocRecalcLib.CC @@ -203,11 +203,11 @@ U0 DocUpdateTaskDocs(CTask *task) task->border_attr=DriveTextAttrGet(*doc->filename.name); if (task->title_src==TTS_ED_FILENAME) MemCopy(task->task_title,doc->filename.name,STR_LEN-1); - DocRecalc(doc,RECALCt_TO_SCRN|RECALCF_HAS_CURSOR); + DocRecalc(doc,RECALCt_TO_SCREEN|RECALCF_HAS_CURSOR); } if ((doc=DocBorder(task)) && !(doc->flags&DOCF_DONT_SHOW)) { WinScrollNull(task,&saved_scroll); - DocRecalc(doc,RECALCt_TO_SCRN); + DocRecalc(doc,RECALCt_TO_SCREEN); WinScrollRestore(task,&saved_scroll); } } diff --git a/src/Zenith/Gr/GrBitMap.CC b/src/Zenith/Gr/GrBitMap.CC index d2a69b15..396400aa 100755 --- a/src/Zenith/Gr/GrBitMap.CC +++ b/src/Zenith/Gr/GrBitMap.CC @@ -81,7 +81,7 @@ public I64 GrBlot(CDC *dc=gr.dc,I64 x,I64 y,CDC *img) CColorROPU32 color,c,old_color; CTask *win_task; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x+=win_task->scroll_x; y+=win_task->scroll_y; @@ -96,7 +96,7 @@ public I64 GrBlot(CDC *dc=gr.dc,I64 x,I64 y,CDC *img) h1=0; w2=img->width; h2=img->height; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { x+=win_task->pix_left; y+=win_task->pix_top; } @@ -105,7 +105,7 @@ public I64 GrBlot(CDC *dc=gr.dc,I64 x,I64 y,CDC *img) if (dist<=dc->nearest_dist) dc->nearest_dist=dist; } - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { if (x+w1<0) w1=-x; if (x+w2>win_task->pix_right+1) w2=win_task->pix_right+1-x; @@ -161,7 +161,7 @@ public I64 GrBlot(CDC *dc=gr.dc,I64 x,I64 y,CDC *img) case ROPB_MONO: color_mask=gr.to_8_colors[color.c0.color]; if (img->flags&DCF_NO_TRANSPARENTS) { - if (!(dc->flags & DCF_SCRN_BITMAP) || dc->flags&DCF_ON_TOP) + if (!(dc->flags & DCF_SCREEN_BITMAP) || dc->flags&DCF_ON_TOP) win_z_buf_ptr=NULL; else { win_z_num=win_task->win_z_num; @@ -269,7 +269,7 @@ public I64 GrBlot(CDC *dc=gr.dc,I64 x,I64 y,CDC *img) } } else { k=h1*img->width_internal; - if (!(dc->flags & DCF_SCRN_BITMAP) || dc->flags&DCF_ON_TOP) { + if (!(dc->flags & DCF_SCREEN_BITMAP) || dc->flags&DCF_ON_TOP) { for (j=h1;jbody[k+i]) @@ -314,7 +314,7 @@ public I64 GrBlot(CDC *dc=gr.dc,I64 x,I64 y,CDC *img) break; case ROPB_EQU: if (img->flags&DCF_NO_TRANSPARENTS) { - if (!(dc->flags & DCF_SCRN_BITMAP) || dc->flags&DCF_ON_TOP) + if (!(dc->flags & DCF_SCREEN_BITMAP) || dc->flags&DCF_ON_TOP) win_z_buf_ptr=NULL; else { win_z_num=win_task->win_z_num; @@ -419,7 +419,7 @@ public I64 GrBlot(CDC *dc=gr.dc,I64 x,I64 y,CDC *img) } else { here1a: k=h1*img->width_internal; - if (!(dc->flags & DCF_SCRN_BITMAP) || dc->flags&DCF_ON_TOP) { + if (!(dc->flags & DCF_SCREEN_BITMAP) || dc->flags&DCF_ON_TOP) { for (j=h1;jbody[k+i]; @@ -473,7 +473,7 @@ here1a: break; case ROPB_XOR: if (img->flags&DCF_NO_TRANSPARENTS) { - if (!(dc->flags & DCF_SCRN_BITMAP) || dc->flags&DCF_ON_TOP) + if (!(dc->flags & DCF_SCREEN_BITMAP) || dc->flags&DCF_ON_TOP) win_z_buf_ptr=NULL; else { win_z_num=win_task->win_z_num; @@ -621,7 +621,7 @@ public CDC *DCExt(CDC *dc=gr.dc,I64 x1,I64 y1,I64 x2,I64 y2, CTask *win_task; if (x1>x2) SwapI64(&x1,&x2); if (y1>y2) SwapI64(&y1,&y2); - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x1+=win_task->pix_left+win_task->scroll_x; y1+=win_task->pix_top +win_task->scroll_y; @@ -698,7 +698,7 @@ public I64 GrPutChar(CDC *dc=gr.dc,I64 x,I64 y,U8 ch) CColorROPU32 color,c; CTask *win_task; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x+=win_task->scroll_x; y+=win_task->scroll_y; @@ -715,7 +715,7 @@ public I64 GrPutChar(CDC *dc=gr.dc,I64 x,I64 y,U8 ch) w2=FONT_WIDTH; h2=FONT_HEIGHT; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { x+=win_task->pix_left; y+=win_task->pix_top; } @@ -724,7 +724,7 @@ public I64 GrPutChar(CDC *dc=gr.dc,I64 x,I64 y,U8 ch) if (dist<=dc->nearest_dist) dc->nearest_dist=dist; } - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { if (x+w1<0) w1=-x; if (x+w2>win_task->pix_right+1) w2=win_task->pix_right+1-x; @@ -777,7 +777,7 @@ public I64 GrPutChar(CDC *dc=gr.dc,I64 x,I64 y,U8 ch) color_mask=gr.to_8_colors[color.c0.color]; k1=x+w1; kk1=(h1+y)*dc->width_internal+k1; - if (!(dc->flags & DCF_SCRN_BITMAP) || dc->flags&DCF_ON_TOP) { + if (!(dc->flags & DCF_SCREEN_BITMAP) || dc->flags&DCF_ON_TOP) { if (leading_pixels) { dst=dc->body+kk1&~7; src=font_ptr; @@ -1018,7 +1018,7 @@ public I64 GrRect(CDC *dc=gr.dc,I64 x,I64 y,I64 w,I64 h) Bool dither,probability_dither; CTask *win_task; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x+=win_task->scroll_x; y+=win_task->scroll_y; @@ -1035,7 +1035,7 @@ public I64 GrRect(CDC *dc=gr.dc,I64 x,I64 y,I64 w,I64 h) w2=w; h2=h; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { x+=win_task->pix_left; y+=win_task->pix_top; } @@ -1047,7 +1047,7 @@ public I64 GrRect(CDC *dc=gr.dc,I64 x,I64 y,I64 w,I64 h) if (dist<=dc->nearest_dist) dc->nearest_dist=dist; } - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { if (x+w1<0) w1=-x; if (x+w2>win_task->pix_right+1) w2=win_task->pix_right+1-x; @@ -1107,7 +1107,7 @@ public I64 GrRect(CDC *dc=gr.dc,I64 x,I64 y,I64 w,I64 h) } res+=dc->collision_count; } else { - if (!(dc->flags & DCF_SCRN_BITMAP) || dc->flags&DCF_ON_TOP) + if (!(dc->flags & DCF_SCREEN_BITMAP) || dc->flags&DCF_ON_TOP) win_z_buf_ptr=NULL; else { win_z_num=win_task->win_z_num; @@ -1459,7 +1459,7 @@ I64 GrRayLenMinus(CDC *dc,I64 x,I64 y) Bool not_color=ToBool(dc->flags&DCF_FILL_NOT_COLOR); CTask *win_task; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x+=win_task->scroll_x; y+=win_task->scroll_y; @@ -1468,7 +1468,7 @@ I64 GrRayLenMinus(CDC *dc,I64 x,I64 y) y3=y; if (x3<0 || y3<0) goto gr_done; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { x3+=win_task->pix_left; y3+=win_task->pix_top; if (!(0<=x3<=win_task->pix_right) || !(0<=y3<=win_task->pix_bottom) || @@ -1483,7 +1483,7 @@ I64 GrRayLenMinus(CDC *dc,I64 x,I64 y) while (TRUE) { x3=x; if (x3&(FONT_WIDTH-1)==FONT_WIDTH-1) { - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { if (x3<0) break; x3+=win_task->pix_left; if (!(0<=x3<=win_task->pix_right) || x3>=dc->width || @@ -1492,7 +1492,7 @@ I64 GrRayLenMinus(CDC *dc,I64 x,I64 y) } else if (!(0<=x3width)) break; - } else if (dc->flags & DCF_SCRN_BITMAP) + } else if (dc->flags & DCF_SCREEN_BITMAP) x3+=win_task->pix_left; dst=dst2+x3; c=*dst; @@ -1526,7 +1526,7 @@ I64 GrRayLen(CDC *dc,I64 *x1,I64 y,I64 z=0,I32 *db=NULL) I32 *db2; CTask *win_task; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x+=win_task->scroll_x; y+=win_task->scroll_y; @@ -1537,7 +1537,7 @@ I64 GrRayLen(CDC *dc,I64 *x1,I64 y,I64 z=0,I32 *db=NULL) y3=y; if (x3<0 || y3<0) goto gr_done; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { x3+=win_task->pix_left; y3+=win_task->pix_top; if (!(0<=x3<=win_task->pix_right) || !(0<=y3<=win_task->pix_bottom) || @@ -1566,7 +1566,7 @@ I64 GrRayLen(CDC *dc,I64 *x1,I64 y,I64 z=0,I32 *db=NULL) while (TRUE) { x3=x; if (!(x3&(FONT_WIDTH-1))) { - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { if (x3<0) break; x3+=win_task->pix_left; if (!(0<=x3<=win_task->pix_right) || x3>=dc->width || @@ -1576,7 +1576,7 @@ I64 GrRayLen(CDC *dc,I64 *x1,I64 y,I64 z=0,I32 *db=NULL) if (!(0<=x3width)) break; } - } else if (dc->flags & DCF_SCRN_BITMAP) + } else if (dc->flags & DCF_SCREEN_BITMAP) x3+=win_task->pix_left; dst=dst2+x3; @@ -1635,7 +1635,7 @@ I64 GrRayLen(CDC *dc,I64 *x1,I64 y,I64 z=0,I32 *db=NULL) } else break; } - if (dc->flags & DCF_SCRN_BITMAP) + if (dc->flags & DCF_SCREEN_BITMAP) *x1=x-1-win_task->scroll_x; else *x1=x-1; @@ -1643,7 +1643,7 @@ I64 GrRayLen(CDC *dc,I64 *x1,I64 y,I64 z=0,I32 *db=NULL) while (TRUE) { x3=x; if (x3&(FONT_WIDTH-1)==FONT_WIDTH-1) { - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { if (x3<0) break; x3+=win_task->pix_left; if (!(0<=x3<=win_task->pix_right) || x3>=dc->width || @@ -1652,7 +1652,7 @@ I64 GrRayLen(CDC *dc,I64 *x1,I64 y,I64 z=0,I32 *db=NULL) } else if (!(0<=x3width)) break; - } else if (dc->flags & DCF_SCRN_BITMAP) + } else if (dc->flags & DCF_SCREEN_BITMAP) x3+=win_task->pix_left; dst=dst2+x3; @@ -1731,7 +1731,7 @@ public I64 GrHLine(CDC *dc=gr.dc,I64 x1,I64 x2,I64 y,I64 z1=0,I64 z2=0) return GrRect(dc,x1,y,x2-x1+1,1); } - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x1+=win_task->scroll_x; x2+=win_task->scroll_x; @@ -1760,7 +1760,7 @@ public I64 GrHLine(CDC *dc=gr.dc,I64 x1,I64 x2,I64 y,I64 z1=0,I64 z2=0) } else i=0; j=0; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { x1+=win_task->pix_left; x2+=win_task->pix_left; if (x1>win_task->pix_right) @@ -1804,7 +1804,7 @@ public I64 GrHLine(CDC *dc=gr.dc,I64 x1,I64 x2,I64 y,I64 z1=0,I64 z2=0) if (dc->flags & DCF_DONT_DRAW) goto gr_done; - if (!(dc->flags & DCF_SCRN_BITMAP) || + if (!(dc->flags & DCF_SCREEN_BITMAP) || win_task->next_task==sys_winmgr_task || dc->flags&DCF_ON_TOP || !IsPixCovered0(win_task,x1,y)) char_clear=TRUE; @@ -1872,7 +1872,7 @@ public I64 GrHLine(CDC *dc=gr.dc,I64 x1,I64 x2,I64 y,I64 z1=0,I64 z2=0) db++; z+=dz; if (!(x1&(FONT_WIDTH-1)) && x1<=x2) { - if (!(dc->flags & DCF_SCRN_BITMAP)|| + if (!(dc->flags & DCF_SCREEN_BITMAP)|| win_task->next_task==sys_winmgr_task || dc->flags&DCF_ON_TOP || !IsPixCovered0(win_task,x1,y)) char_clear=TRUE; @@ -1900,7 +1900,7 @@ public I64 GrVLine(CDC *dc=gr.dc,I64 x,I64 y1,I64 y2,I64 z1=0,I64 z2=0) return GrRect(dc,x,y1,1,y2-y1+1); } - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x +=win_task->scroll_x; y1+=win_task->scroll_y; @@ -1929,7 +1929,7 @@ public I64 GrVLine(CDC *dc=gr.dc,I64 x,I64 y1,I64 y2,I64 z1=0,I64 z2=0) } else i=0; j=0; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { y1+=win_task->pix_top; y2+=win_task->pix_top; if (y1>win_task->pix_bottom) @@ -1973,7 +1973,7 @@ public I64 GrVLine(CDC *dc=gr.dc,I64 x,I64 y1,I64 y2,I64 z1=0,I64 z2=0) if (dc->flags & DCF_DONT_DRAW) goto gr_done; - if (!(dc->flags & DCF_SCRN_BITMAP) || + if (!(dc->flags & DCF_SCREEN_BITMAP) || win_task->next_task==sys_winmgr_task || dc->flags&DCF_ON_TOP || !IsPixCovered0(win_task,x,y1)) char_clear=TRUE; @@ -2041,7 +2041,7 @@ public I64 GrVLine(CDC *dc=gr.dc,I64 x,I64 y1,I64 y2,I64 z1=0,I64 z2=0) db+=dc->width_internal; z+=dz; if (!(y1&(FONT_HEIGHT-1)) && y1<=y2) { - if (!(dc->flags & DCF_SCRN_BITMAP)|| + if (!(dc->flags & DCF_SCREEN_BITMAP)|| win_task->next_task==sys_winmgr_task || dc->flags&DCF_ON_TOP || !IsPixCovered0(win_task,x,y1)) char_clear=TRUE; diff --git a/src/Zenith/Gr/GrDC.CC b/src/Zenith/Gr/GrDC.CC index 110bf6bf..9d0dec3b 100755 --- a/src/Zenith/Gr/GrDC.CC +++ b/src/Zenith/Gr/GrDC.CC @@ -420,10 +420,10 @@ public CDC *DCScreenCapture(Bool include_zoom=TRUE,CTask *task=NULL) U8 *dst; Refresh(0,FALSE); if (include_zoom) - dc=DCCopy(gr.scrn_image,task); + dc=DCCopy(gr.screen_image,task); else dc=DCCopy(gr.dc1,task); - dc->flags&=~DCF_SCRN_BITMAP; + dc->flags&=~DCF_SCREEN_BITMAP; dst=MAlloc(dc->width_internal*dc->height,task); //Pick background color that never occurs. COLOR_INVALID GrBitMap4ToBitMap8(dst,dc->body, diff --git a/src/Zenith/Gr/GrGlobals.CC b/src/Zenith/Gr/GrGlobals.CC index bb4e7d9f..ece48b2a 100755 --- a/src/Zenith/Gr/GrGlobals.CC +++ b/src/Zenith/Gr/GrGlobals.CC @@ -3,7 +3,7 @@ public class CGrGlobals { I64 *to_8_bits,*to_8_colors; - CDC *scrn_image, //Read only. + CDC *screen_image, //Read only. *dc, //Persistent *dc1, *dc2, //Updated every refresh @@ -19,7 +19,7 @@ public class CGrGlobals I64 highest_uncovered; U16 *vga_text_cache; I64 pan_text_x,pan_text_y; //[-7,7] - U0 (*fp_final_scrn_update)(CDC *dc);//Mouse cursor is handled here. + U0 (*fp_final_screen_update)(CDC *dc);//Mouse cursor is handled here. U0 (*fp_wall_paper)(CTask *task); U0 (*fp_draw_mouse)(CDC *dc,I64 x,I64 y); U0 (*fp_draw_grab_mouse)(CDC *dc,I64 x,I64 y,Bool closed); @@ -33,9 +33,9 @@ public class CGrGlobals I8 circle_lo[GR_PEN_BRUSHES_NUM][GR_PEN_BRUSHES_NUM], circle_hi[GR_PEN_BRUSHES_NUM][GR_PEN_BRUSHES_NUM]; - #define GR_SCRN_ZOOM_MAX 8 - U8 *scrn_zoom_tables[GR_SCRN_ZOOM_MAX+1]; - I64 scrn_zoom,sx,sy; + #define GR_SCREEN_ZOOM_MAX 8 + U8 *screen_zoom_tables[GR_SCREEN_ZOOM_MAX+1]; + I64 screen_zoom,sx,sy; //When zoomed, this keeps the mouse centered. Bool continuous_scroll, diff --git a/src/Zenith/Gr/GrInitB.CC b/src/Zenith/Gr/GrInitB.CC index 001fe7e3..a3cbb8d6 100755 --- a/src/Zenith/Gr/GrInitB.CC +++ b/src/Zenith/Gr/GrInitB.CC @@ -75,10 +75,10 @@ U0 GrSetUpTables() OutU8(VGAP_DATA,0x0F); //Virtual Box crashes on the following for some reason. // MemSet(text.vga_alias,0,GR_HEIGHT*GR_WIDTH>>3); - MemSet(gr.scrn_image->body,0,GR_WIDTH*GR_HEIGHT>>1); + MemSet(gr.screen_image->body,0,GR_WIDTH*GR_HEIGHT>>1); } - for (i=1;i<=GR_SCRN_ZOOM_MAX;i++) { - dst=gr.scrn_zoom_tables[i]=MAlloc(256*i); + for (i=1;i<=GR_SCREEN_ZOOM_MAX;i++) { + dst=gr.screen_zoom_tables[i]=MAlloc(256*i); for (j=0;j<256;j++) { m=0; for (k=0;k<8;k++) { @@ -175,7 +175,7 @@ U0 GrInit2() MemSet(&gr,0,sizeof(CGrGlobals)); gr.sprite_hash=HashTableNew(512); HashDefineListAdd("ST_SPRITE_ELEM_CODES",SPHT_ELEM_CODE,gr.sprite_hash); - gr.scrn_zoom=1; + gr.screen_zoom=1; PaletteSetStd; fp_set_std_palette=&PaletteSetStd; @@ -191,19 +191,19 @@ U0 GrInit2() gr.win_z_buf=MAlloc(TEXT_ROWS*TEXT_COLS*sizeof(U16)); gr.dc2=DCNew(GR_WIDTH,GR_HEIGHT); - gr.dc2->flags|=DCF_SCRN_BITMAP; + gr.dc2->flags|=DCF_SCREEN_BITMAP; gr.dc_cache=DCNew(GR_WIDTH,GR_HEIGHT); gr.dc=DCNew(GR_WIDTH,GR_HEIGHT); - gr.dc->flags|=DCF_SCRN_BITMAP|DCF_ON_TOP; + gr.dc->flags|=DCF_SCREEN_BITMAP|DCF_ON_TOP; DCFill; gr.dc1=DCNew(GR_WIDTH,GR_HEIGHT); - gr.dc1->flags|=DCF_SCRN_BITMAP; + gr.dc1->flags|=DCF_SCREEN_BITMAP; - gr.scrn_image=DCNew(GR_WIDTH,GR_HEIGHT); //4-bit + gr.screen_image=DCNew(GR_WIDTH,GR_HEIGHT); //4-bit gr.zoomed_dc =DCNew(GR_WIDTH,GR_HEIGHT); //4-bit - gr.zoomed_dc->flags|=DCF_SCRN_BITMAP; + gr.zoomed_dc->flags|=DCF_SCREEN_BITMAP; } GrInit2; diff --git a/src/Zenith/Gr/GrPrimatives.CC b/src/Zenith/Gr/GrPrimatives.CC index 72456c85..0a16d0c9 100755 --- a/src/Zenith/Gr/GrPrimatives.CC +++ b/src/Zenith/Gr/GrPrimatives.CC @@ -8,7 +8,7 @@ public Bool GrClamp(CDC *dc=gr.dc,I64 *left,I64 *top,I64 *right,I64 *bottom, *top=0; *right=dc->width-1; *bottom=dc->height-1; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; if (GR_WIDTH-1<*right) *right=GR_WIDTH-1; @@ -36,7 +36,7 @@ Bool DCClipLine(CDC *dc=gr.dc,I64 *x1,I64 *y1,I64 *x2,I64 *y2, I64 left,top,right,bottom; CTask *win_task; if (GrClamp(dc,&left,&top,&right,&bottom,width,height)) { - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; *x1+=win_task->pix_left+win_task->scroll_x; *y1+=win_task->pix_top+win_task->scroll_y; @@ -60,7 +60,7 @@ public Bool GrPlot(CDC *dc=gr.dc,I64 x,I64 y) dc->color.c0.rop=ROPB_MONO; GrBlot(dc,x,y,dc->brush); dc->color=old_color; - } else if (dc->flags & DCF_SCRN_BITMAP) { + } else if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x+=win_task->pix_left+win_task->scroll_x; y+=win_task->pix_top+win_task->scroll_y; @@ -91,7 +91,7 @@ Bool GrPlot1(CDC *dc=gr.dc,I64 x,I64 y) else GrBlot(dc,x,y,dc->brush); dc->color=old_color; - } else if (dc->flags & DCF_SCRN_BITMAP) { + } else if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x+=win_task->pix_left+win_task->scroll_x; y+=win_task->pix_top+win_task->scroll_y; @@ -112,7 +112,7 @@ public I64 GrPeek(CDC *dc=gr.dc,I64 x,I64 y) {//2D. Clipping but no transformation. //Returns pix color or -1 if off-screen or covered. CTask *win_task; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x+=win_task->pix_left+win_task->scroll_x; y+=win_task->pix_top+win_task->scroll_y; @@ -512,7 +512,7 @@ public Bool GrPlot3(CDC *dc=gr.dc,I64 x,I64 y,I64 z) } } if (record) { - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; x+=win_task->pix_left+win_task->scroll_x; y+=win_task->pix_top+win_task->scroll_y; @@ -548,7 +548,7 @@ gr_done: Bool GrLinePlot0(CDC *dc,I64 x,I64 y,I64 z) {//This is a callback. CTask *win_task=dc->win_task; - if (!(dc->flags & DCF_SCRN_BITMAP) || + if (!(dc->flags & DCF_SCREEN_BITMAP) || win_task->next_task==sys_winmgr_task || dc->flags&DCF_ON_TOP || !IsPixCovered0(win_task,x,y)) { @@ -1413,7 +1413,7 @@ public I64 GrFillTri0(CDC *dc=gr.dc,CD3I32 *p1,CD3I32 *p2,CD3I32 *p4) min=0; max=dc->height; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; min-=win_task->scroll_y+win_task->pix_top; max-=win_task->scroll_y+win_task->pix_top; @@ -1621,7 +1621,7 @@ public I64 GrFillTri0(CDC *dc=gr.dc,CD3I32 *p1,CD3I32 *p2,CD3I32 *p4) min=0; max=dc->width; - if (dc->flags & DCF_SCRN_BITMAP) { + if (dc->flags & DCF_SCREEN_BITMAP) { win_task=dc->win_task; min-=win_task->scroll_x+win_task->pix_left; max-=win_task->scroll_x+win_task->pix_left; diff --git a/src/Zenith/Gr/GrScreen.CC b/src/Zenith/Gr/GrScreen.CC index a0c25e72..4c68b066 100755 --- a/src/Zenith/Gr/GrScreen.CC +++ b/src/Zenith/Gr/GrScreen.CC @@ -2,7 +2,7 @@ U0 GrUpdateTaskODEs(CTask *task) { - sys_task_being_scrn_updated=task; + sys_task_being_screen_updated=task; try ODEsUpdate(task); catch { @@ -12,14 +12,14 @@ U0 GrUpdateTaskODEs(CTask *task) Sleep(3000); VGAFlush; } - sys_task_being_scrn_updated=NULL; + sys_task_being_screen_updated=NULL; } U0 GrUpdateTaskWin(CTask *task) { //Draw a win. Only Core0 tasks have a win. CDC *dc; CD3I64 saved_scroll; - sys_task_being_scrn_updated=task; + sys_task_being_screen_updated=task; try { if (!Bt(&task->display_flags,DISPLAYf_NO_BORDER)) TextBorder(Fs,task->win_left,task->win_right,task->win_top, @@ -52,7 +52,7 @@ U0 GrUpdateTaskWin(CTask *task) VGAFlush; } } - sys_task_being_scrn_updated=NULL; + sys_task_being_screen_updated=NULL; } U0 GrUpdateTasks() @@ -89,35 +89,35 @@ U0 GrUpdateTasks() winmgr.last_ode_time=winmgr.ode_time; ode_alloced_factor=LowPass1(0.1,ode_alloced_factor, Clamp(Gs->idle_factor-0.1,0.2,0.8),1/winmgr.fps); - sys_task_being_scrn_updated=NULL; + sys_task_being_screen_updated=NULL; } U0 GrFixZoomScale() { - gr.scrn_zoom=ClampI64(gr.scrn_zoom,1,GR_SCRN_ZOOM_MAX); - if (gr.scrn_zoom==1) { + gr.screen_zoom=ClampI64(gr.screen_zoom,1,GR_SCREEN_ZOOM_MAX); + if (gr.screen_zoom==1) { gr.sx=0; gr.sy=0; } else { - gr.sx=ClampI64(gr.sx,0,GR_WIDTH-GR_WIDTH/gr.scrn_zoom)&~7; - gr.sy=ClampI64(gr.sy,0,GR_HEIGHT-GR_HEIGHT/gr.scrn_zoom); + gr.sx=ClampI64(gr.sx,0,GR_WIDTH-GR_WIDTH/gr.screen_zoom)&~7; + gr.sy=ClampI64(gr.sy,0,GR_HEIGHT-GR_HEIGHT/gr.screen_zoom); } } public U0 GrScaleZoom(F64 scale) {//Multiply zoom factor larger or smaller. - F64 s=gr.scrn_zoom; - gr.scrn_zoom=gr.scrn_zoom*scale; + F64 s=gr.screen_zoom; + gr.screen_zoom=gr.screen_zoom*scale; GrFixZoomScale; - s/=gr.scrn_zoom; + s/=gr.screen_zoom; mouse.scale.x*=s; mouse.scale.y*=s; mouse.scale.z*=s; mouse.offset.x=mouse.pos.x-(mouse.pos.x-mouse.offset.x)*s; mouse.offset.y=mouse.pos.y-(mouse.pos.y-mouse.offset.y)*s; mouse.offset.z=mouse.pos.z-(mouse.pos.z-mouse.offset.z)*s; - gr.sx=mouse.pos.x-gr.zoomed_dc->width >>1/gr.scrn_zoom; - gr.sy=mouse.pos.y-gr.zoomed_dc->height>>1/gr.scrn_zoom; + gr.sx=mouse.pos.x-gr.zoomed_dc->width >>1/gr.screen_zoom; + gr.sy=mouse.pos.y-gr.zoomed_dc->height>>1/gr.screen_zoom; GrFixZoomScale; } @@ -125,26 +125,26 @@ U0 GrZoomInScreen() { GrFixZoomScale; I64 plane,row,col,k,l, - d2=gr.zoomed_dc->width>>3/gr.scrn_zoom, + d2=gr.zoomed_dc->width>>3/gr.screen_zoom, d4=gr.zoomed_dc->width_internal>>3, - d5=d4-d2*gr.scrn_zoom, - d3=gr.zoomed_dc->height/gr.scrn_zoom, + d5=d4-d2*gr.screen_zoom, + d3=gr.zoomed_dc->height/gr.screen_zoom, d6=(gr.zoomed_dc->height-d3)*gr.dc1->width_internal>>3, - d7=gr.zoomed_dc->height%gr.scrn_zoom*d4; - U8 *src,*src2,*dst,*src3,*map=gr.scrn_zoom_tables[gr.scrn_zoom]; + d7=gr.zoomed_dc->height%gr.screen_zoom*d4; + U8 *src,*src2,*dst,*src3,*map=gr.screen_zoom_tables[gr.screen_zoom]; src=gr.dc1->body+gr.sx>>3+gr.sy*gr.dc1->width_internal>>3; dst=gr.zoomed_dc->body; for (plane=1;plane<0x10;plane<<=1) { row=d3; while (row--) { - k=gr.scrn_zoom; + k=gr.screen_zoom; while (k--) { src2=src; col=d2; while (col--) { src3=&map[*src2++]; - l=gr.scrn_zoom; + l=gr.screen_zoom; while (l--) { *dst++=*src3; src3+=256; @@ -367,13 +367,13 @@ U0 GrUpdateVGAGraphics() {//Update Graphic Card I64 row,plane,d=gr.zoomed_dc->width_internal>>6; U32 *src,*vga,*dst; - if (gr.scrn_zoom==1) + if (gr.screen_zoom==1) src=gr.dc1->body; else { GrZoomInScreen; src=gr.zoomed_dc->body; } - dst=gr.scrn_image->body; + dst=gr.screen_image->body; if (LBtr(&sys_semas[SEMA_FLUSH_VGA_IMAGE],0)) { for (plane=1;plane<0x10;plane<<=1) { OutU8(VGAP_IDX,VGAR_MAP_MASK); @@ -409,8 +409,8 @@ U0 GrUpdateScreen() dc=DCAlias(gr.dc2,Fs); dc->flags|=DCF_ON_TOP; - if (gr.fp_final_scrn_update) - (*gr.fp_final_scrn_update)(dc); + if (gr.fp_final_screen_update) + (*gr.fp_final_screen_update)(dc); DCDel(dc); if (!Bt(&sys_run_level,RLf_VGA)) //if text mode diff --git a/src/Zenith/Gr/SpriteMain.CC b/src/Zenith/Gr/SpriteMain.CC index f2994e96..a6d00453 100755 --- a/src/Zenith/Gr/SpriteMain.CC +++ b/src/Zenith/Gr/SpriteMain.CC @@ -1,8 +1,8 @@ #help_index "Graphics/Sprite;Sprites" #define SPT_MENU -2 -#define SPT_INS_SCRN_BITMAP -3 -#define SPT_INS_TRANSPARENT_SCRN_BITMAP -4 +#define SPT_INS_SCREEN_BITMAP -3 +#define SPT_INS_TRANSPARENT_SCREEN_BITMAP -4 #define SPT_ED_MENU -5 #define SPT_EXIT -6 @@ -43,9 +43,9 @@ I64 PopUpSpriteMain(CSprite **_head,I64 *_cur_elem_num, "$$MU-UL,\"BSpline3\",LE=SPT_BSPLINE3$$\n" "$$MU-UL,\"BSpline2 Closed\",LE=SPT_BSPLINE2_CLOSED$$\n" "$$MU-UL,\"BSpline3 Closed\",LE=SPT_BSPLINE3_CLOSED$$\n" - "$$MU-UL,\"Insert Screen-Captured BitMap\",LE=SPT_INS_SCRN_BITMAP$$\n" + "$$MU-UL,\"Insert Screen-Captured BitMap\",LE=SPT_INS_SCREEN_BITMAP$$\n" "$$MU-UL,\"Insert Transparent Screen-Captured BitMap\"," - "LE=SPT_INS_TRANSPARENT_SCRN_BITMAP$$\n" + "LE=SPT_INS_TRANSPARENT_SCREEN_BITMAP$$\n" "$$PURPLE$$$$MU-UL,\"+] Create or Edit 3D Mesh\",LE=SPT_MESH$$\n" "$$MU-UL,\"+] Create or Edit Shiftable 3D Mesh\"," "LE=SPT_SHIFTABLE_MESH$$\n" @@ -266,14 +266,14 @@ CSprite *SMScreenBitMap(I64 eletype,CDC *dc,CDC *dc2,I64 x,I64 y, res->pwhu.x1=0; res->pwhu.y1=0; SpriteScreenInit(dc,x,y); - i=gr.scrn_zoom; + i=gr.screen_zoom; GrScaleZoom(1.0/i); Refresh(2,TRUE); dc3=DCScreenCapture; img=DCExt(dc3,Fs->pix_left+Fs->scroll_x+xx1,Fs->pix_top+Fs->scroll_y+yy1, Fs->pix_left+Fs->scroll_x+xx2-1,Fs->pix_top+Fs->scroll_y+yy2-1); - if (eletype==SPT_INS_TRANSPARENT_SCRN_BITMAP) + if (eletype==SPT_INS_TRANSPARENT_SCREEN_BITMAP) DCColorChange(img,bm_bkcolor); GrScaleZoom(i); MemCopy(&res->pwhu.u,img->body,((xx2-xx1+7)&~7)*(yy2-yy1)); @@ -796,10 +796,10 @@ U0 SMTaskTitleSet(I64 eletype) { Fs->title_src=TTS_CONST; //Violates TTS_LOCKED_CONST switch (eletype) { - case SPT_INS_SCRN_BITMAP: + case SPT_INS_SCREEN_BITMAP: StrCopy(Fs->task_title,"Insert Screen BitMap"); break; - case SPT_INS_TRANSPARENT_SCRN_BITMAP: + case SPT_INS_TRANSPARENT_SCREEN_BITMAP: StrCopy(Fs->task_title,"Insert Transparent Screen BitMap"); break; default: @@ -937,7 +937,7 @@ I64 SpriteMainEd(CDoc *doc) PopUpOk("Select Origin.\n"); doc_ce->de_flags=old_de_flags; break; - case SPT_INS_SCRN_BITMAP: + case SPT_INS_SCREEN_BITMAP: doc_ce->de_flags|=DOCEF_DONT_DRAW; PopUpOk("Drag-out a rect for the extents of the\nbitmap.\n"); doc_ce->de_flags=old_de_flags; @@ -969,7 +969,7 @@ I64 SpriteMainEd(CDoc *doc) } doc_ce->de_flags=old_de_flags; break; - case SPT_INS_TRANSPARENT_SCRN_BITMAP: + case SPT_INS_TRANSPARENT_SCREEN_BITMAP: doc_ce->de_flags|=DOCEF_DONT_DRAW; i=PopUpColor("Color to Become Transparent\n\n",,FALSE); if (i<0) @@ -1095,8 +1095,8 @@ I64 SpriteMainEd(CDoc *doc) case SPT_RECT: tmpg=SMRect(dc,x,y,arg1,arg2,color); break; - case SPT_INS_SCRN_BITMAP: - case SPT_INS_TRANSPARENT_SCRN_BITMAP: + case SPT_INS_SCREEN_BITMAP: + case SPT_INS_TRANSPARENT_SCREEN_BITMAP: tmpg=SMScreenBitMap(eletype,dc,dc2,x,y,arg1,arg2,bm_bkcolor); eletype=SPT_MENU; break; diff --git a/src/Zenith/InFile.CC b/src/Zenith/InFile.CC index e4af05b8..597e6659 100755 --- a/src/Zenith/InFile.CC +++ b/src/Zenith/InFile.CC @@ -40,7 +40,7 @@ public U0 InGetKey(I64 scan_code,I64 sc_mask=0xFF|SCF_SHIFT|SCF_CTRL|SCF_ALT) U8 buf[STR_LEN],*st; do { ch=GetKey(&sc); - if (sc.u8[0]!=SC_PRTSCRN1 && + if (sc.u8[0]!=SC_PRINTSCREEN1 && !(sc.u8[0]==SC_SHIFT && scan_code&SCF_SHIFT) && !(sc.u8[0]==SC_CTRL && scan_code&SCF_CTRL) && !(sc.u8[0]==SC_ALT && scan_code&SCF_ALT) ) { diff --git a/src/Zenith/Utils/MemRep.CC b/src/Zenith/Utils/MemRep.CC index 52a91fc1..ef686c43 100755 --- a/src/Zenith/Utils/MemRep.CC +++ b/src/Zenith/Utils/MemRep.CC @@ -17,8 +17,8 @@ I64 PenBrushesSize() I64 ScreenZoomTablesSize() { I64 res=0,i; - for (i=1;i<=GR_SCRN_ZOOM_MAX;i++) - res+=MSize2(gr.scrn_zoom_tables[i]); + for (i=1;i<=GR_SCREEN_ZOOM_MAX;i++) + res+=MSize2(gr.screen_zoom_tables[i]); return res; } @@ -135,7 +135,7 @@ Bool MemRepTask(CTask *task,Bool override_validate=FALSE) if (task==sys_winmgr_task) { "gr.pen_brushes\t:%010X\n",PenBrushesSize; - "gr.scrn_zoom_tbles\t:%010X\n",ScreenZoomTablesSize; + "gr.screen_zoom_tbles\t:%010X\n",ScreenZoomTablesSize; "screencast.dc\t:%010X\n",DCSize(screencast.dc); "screencast.dc2_alias\t:%010X\n",DCSize(screencast.dc2_alias); } else if (task==zenith_task) { @@ -183,7 +183,7 @@ Bool MemRepTask(CTask *task,Bool override_validate=FALSE) "gr.dc1\t\t:%010X\n",DCSize(gr.dc1); "gr.dc2\t\t:%010X\n",DCSize(gr.dc2); "gr.dc_cache\t\t:%010X\n",DCSize(gr.dc_cache); - "gr.scrn_image\t:%010X\n",DCSize(gr.scrn_image); + "gr.screen_image\t:%010X\n",DCSize(gr.screen_image); "gr.zoomed_dc\t:%010X\n",DCSize(gr.zoomed_dc); } "$$ID,-2$$"; diff --git a/src/Zenith/Win.CC b/src/Zenith/Win.CC index d8e9f7fe..cfa9bc12 100755 --- a/src/Zenith/Win.CC +++ b/src/Zenith/Win.CC @@ -214,7 +214,7 @@ U0 WinFinalUpdate(CDC *dc) DrawMouse(dc); } -gr.fp_final_scrn_update=&WinFinalUpdate; +gr.fp_final_screen_update=&WinFinalUpdate; U0 WinMouseUpdate() { @@ -237,15 +237,15 @@ U0 WinMouseUpdate() } } else mouse.speed*=0.95; - if (gr.scrn_zoom!=1) { + if (gr.screen_zoom!=1) { if (gr.continuous_scroll) GrScaleZoom(1.0); else { - dd=(mouse.pos.x-gr.sx)*gr.scrn_zoom; + dd=(mouse.pos.x-gr.sx)*gr.screen_zoom; if (!(8<=ddcolor=LTRED; GrPrint(dc,mouse.pos.x,mouse.pos.y,"%s",fm_mouse_str); } - (*fp_old_final_scrn_update)(dc); + (*fp_old_final_screen_update)(dc); } public U8 *FileMgr(I64 mode=FM_NORMAL,CTask *mem_task=NULL) @@ -586,7 +586,7 @@ public U8 *FileMgr(I64 mode=FM_NORMAL,CTask *mem_task=NULL) Bool okay; SettingsPush; //See $LK,"SettingsPush",A="MN:SettingsPush"$ - fp_old_final_scrn_update=gr.fp_final_scrn_update; + fp_old_final_screen_update=gr.fp_final_screen_update; MenuFilePush("::/Doc/FileMgrPullDown.DD"); FMRebuildDoc(&doc,&head,mode); if (tmpde1=Cd2DirEntry(head,old_cur_dir)) @@ -611,11 +611,11 @@ public U8 *FileMgr(I64 mode=FM_NORMAL,CTask *mem_task=NULL) case MESSAGE_MS_L_DOWN: doc_ce=doc->cur_entry; fm_mouse_str=doc_ce->tag; - gr.fp_final_scrn_update=&FMFinalScreenUpdate; + gr.fp_final_screen_update=&FMFinalScreenUpdate; break; case MESSAGE_MS_L_UP: if (doc_ce) { - gr.fp_final_scrn_update=fp_old_final_scrn_update; + gr.fp_final_screen_update=fp_old_final_screen_update; if (WinCursorPosSet(Fs,arg1+Fs->pix_left+Fs->scroll_x, arg2+Fs->pix_top+Fs->scroll_y,TRUE)) { doc_e=doc->cur_entry; @@ -776,7 +776,7 @@ fm_regular_key: break; } } while (ch!=CH_ESC && ch!=CH_SHIFT_ESC); - gr.fp_final_scrn_update=fp_old_final_scrn_update; + gr.fp_final_screen_update=fp_old_final_screen_update; Fs->put_doc =old_put_doc; Fs->display_doc=old_display_doc; SettingsPop;