Subversion Repositories HelenOS

Rev

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

Rev 2439 Rev 3104
Line 113... Line 113...
113
{
113
{
114
    if (ega_cursor < SCREEN)
114
    if (ega_cursor < SCREEN)
115
        return;
115
        return;
116
 
116
 
117
    memcpy((void *) videoram, (void *) (videoram + ROW * 2), (SCREEN - ROW) * 2);
117
    memcpy((void *) videoram, (void *) (videoram + ROW * 2), (SCREEN - ROW) * 2);
118
    memsetw((uintptr_t) (videoram + (SCREEN - ROW) * 2), ROW, 0x0720);
118
    memsetw(videoram + (SCREEN - ROW) * 2, ROW, 0x0720);
119
    ega_cursor = ega_cursor - ROW;
119
    ega_cursor = ega_cursor - ROW;
120
}
120
}
121
 
121
 
122
void ega_putchar(chardev_t *d __attribute__((unused)), const char ch)
122
void ega_putchar(chardev_t *d __attribute__((unused)), const char ch)
123
{
123
{