Files
TempleOS-Rijn/SparrowOS/Demo/ExtendedChars.CPP
T
2018-09-08 21:45:28 +02:00

37 lines
933 B
C++

U0 Install()
{
gr_font[8*255+0]=0b00111100;
gr_font[8*255+1]=0b01000010;
gr_font[8*255+2]=0b10100101;
gr_font[8*255+3]=0b10000001;
gr_font[8*255+4]=0b11000011;
gr_font[8*255+5]=0b10111101;
gr_font[8*255+6]=0b01000010;
gr_font[8*255+7]=0b00111100;
}
Install;
"Face:ÿ\n";
//Chars 128-255 are treated as letters
//by the compiler and everything else.
//Enter them by holding ALT and
//pressing a 3 digit decimal number or
//press <CTRL-ALT-A>.
U0 SrcExample()
{
I64 fÿÿ=12345;
"fÿÿ=%d\n",fÿÿ;
}
SrcExample;
//See $LK,"::/SparrowOS/Demo/ScreenCodes.CPP.Z","FI:::/SparrowOS/Demo/ScreenCodes.CPP.Z"$
//$LK,"::/SparrowOS/Demo/Graphics/CharGraphics.CPP.Z","FI:::/SparrowOS/Demo/Graphics/CharGraphics.CPP.Z"$,
//and $LK,"::/SparrowOS/Demo/Graphics/FontEd.CPP.Z","FI:::/SparrowOS/Demo/Graphics/FontEd.CPP.Z"$.
//See $LK,"alpha_bitmap","MN:alpha_bitmap"$, and
//$LK,"alpha_numeric_bitmap","MN:alpha_numeric_bitmap"$.