Subversion Repositories HelenOS-historic

Rev

Rev 886 | Rev 1135 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 886 Rev 891
Line 144... Line 144...
144
    int color;
144
    int color;
145
    int red,green,blue;
145
    int red,green,blue;
146
 
146
 
147
    color = fbaddress[POINTPOS(x,y)];
147
    color = fbaddress[POINTPOS(x,y)];
148
    red = (color >> 5) & 0x7;
148
    red = (color >> 5) & 0x7;
149
    green = (color >> 3) & 0x7;
149
    green = (color >> 3) & 0x3;
150
    blue = color & 0x3;
150
    blue = color & 0x7;
151
    return (red << (16+5)) | (green << (8+5)) | blue << 6;
151
    return (red << (16+5)) | (green << (8+6)) | blue << 5;
152
}
152
}
153
 
153
 
154
static void clear_line(int y);
154
static void clear_line(int y);
155
/** Scroll screen one row up */
155
/** Scroll screen one row up */
156
static void scroll_screen(void)
156
static void scroll_screen(void)