Subversion Repositories HelenOS

Rev

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

Rev 3657 Rev 3755
Line 114... Line 114...
114
static void ega_check_cursor(void)
114
static void ega_check_cursor(void)
115
{
115
{
116
    if (ega_cursor < SCREEN)
116
    if (ega_cursor < SCREEN)
117
        return;
117
        return;
118
 
118
 
119
    memcpy((void *) videoram, (void *) (videoram + ROW * 2), (SCREEN - ROW) * 2);
119
    memmove((void *) videoram, (void *) (videoram + ROW * 2), (SCREEN - ROW) * 2);
120
    _memsetw(videoram + (SCREEN - ROW) * 2, ROW, 0x0720);
120
    _memsetw(videoram + (SCREEN - ROW) * 2, ROW, 0x0720);
121
    ega_cursor = ega_cursor - ROW;
121
    ega_cursor = ega_cursor - ROW;
122
}
122
}
123
 
123
 
124
void ega_putchar(chardev_t *d, const char ch)
124
void ega_putchar(chardev_t *d, const char ch)