The function is identical to 0x02F.
0x02F: void Bdisp_ShapeToVRAM( p*TShape );
The function draws a dot, a line, a dashed line, a box
or a circle to VRAM.
typedef struct{
unsigned int x1;
unsigned int y1;
unsigned int x2;
unsigned int y2;
unsigned char f[4];
unsigned int on_bits;
unsigned int off_bits;
} TShape;
x1, y1, x2, y2 define the shapes coordinates; details depend on the type of
shape, see below.
on_bits/off_bits control the pattern of the dashed line types 3 and 4, see
below.
f[0]: always 2;
f[1]: type of shape
1: dot at (x1;y1)
2: solid line from (x1;y1) to (x2;y2)
3: dashed line (starting with on_bits) from (x1;y1) to (x2;y2)
4: dashed line (starting with off_bits) from (x1;y1) to (x2;y2)
5: box from (x1;y1) to (x2;y2)
6: circle at (x1;y1) with radius x2
f[2] and f[3] control the draw mode (set, clear, invert)
f[2]=1;f[3]=1: set
f[2]=1;f[3]=4: invert
f[2]=2;f[3]=1: clear
f[2]=3 disables every second bit of the display, giving a dimmed appearance of
any drawn shape.
f[2]=3;f[3]=1: invert; normal bit disabling, t. i. bit (0;0) is enabled
f[2]=3;f[3]=2: set; normal bit disabling, t. i. bit (0;0) is enabled
f[2]=3;f[3]=3: clear; normal bit disabling, t. i. bit (0;0) is enabled
f[2]=3;f[3]=4: invert; reverse bit disabling, t. i. bit (0;0) is disabled
The function draws a dot, a line, a dashed line, a box
or a circle to DD. Details see 0x02F.
0x033: void
Bdisp_ShapeToVRAM_DD( p*TShape );
The function draws a dot, a line, a dashed line, a box or a circle to VRAM and
DD. Details see 0x02F.
0x034: void
Bdisp_ShapeToDD( p*TShape );
The function is identical to 0x032.
0x035: void
Bdisp_ShapeToVRAM_DD( p*TShape );
The function is identical to 0x033.
0x13C: void Print_OS(
unsigned char*msg, int type );
Displays msg at the current cursor
position
0x150:
void PrintXY( int x, int y, unsigned char*msg,
int type );
Displays msg at the cursor position
designated by x, y. If type is zero, msg is
printed normal, else reverse.
0x0763: void Bdisp_DrawRectangle( int x1, int y1, int x2, int y2 );
Draws a rectangle between x1;y1 and x2;y2.
x1, x2 : 0..127
y1, y2: 0..63
0x08FE: void PopupWin( int nlines );
(31.07.2012 06:05:55)