Subversion Repositories HelenOS-historic

Rev

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

Rev 198 Rev 205
Line 71... Line 71...
71
void ega_check_cursor(void)
71
void ega_check_cursor(void)
72
{
72
{
73
    if (ega_cursor < SCREEN)
73
    if (ega_cursor < SCREEN)
74
        return;
74
        return;
75
 
75
 
76
    memcopy((void *)PA2KA(VIDEORAM),(void *)(PA2KA(VIDEORAM) + ROW*2), (SCREEN - ROW)*2); //swaped
76
    memcpy((void *)PA2KA(VIDEORAM), (void *)(PA2KA(VIDEORAM) + ROW*2), (SCREEN - ROW)*2);
77
    memsetw(PA2KA(VIDEORAM) + (SCREEN - ROW)*2, ROW, 0x0720);
77
    memsetw(PA2KA(VIDEORAM) + (SCREEN - ROW)*2, ROW, 0x0720);
78
    ega_cursor = ega_cursor - ROW;
78
    ega_cursor = ega_cursor - ROW;
79
}
79
}
80
 
80
 
81
void ega_putchar(const char ch)
81
void ega_putchar(const char ch)