Subversion Repositories HelenOS-historic

Rev

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

Rev 1563 Rev 1567
Line 261... Line 261...
261
        for (i = 0; i < conn->screenbuffer.size_x; i++)
261
        for (i = 0; i < conn->screenbuffer.size_x; i++)
262
            for (j = 0; j < conn->screenbuffer.size_y; j++)
262
            for (j = 0; j < conn->screenbuffer.size_y; j++)
263
                interbuffer[i + j*conn->screenbuffer.size_x] = *get_field_at(&(conn->screenbuffer),i, j);
263
                interbuffer[i + j*conn->screenbuffer.size_x] = *get_field_at(&(conn->screenbuffer),i, j);
264
        /* This call can preempt, but we are already at the end */
264
        /* This call can preempt, but we are already at the end */
265
        sync_send_2(fb_info.phone, FB_DRAW_TEXT_DATA, 0, 0, NULL, NULL);       
265
        sync_send_2(fb_info.phone, FB_DRAW_TEXT_DATA, 0, 0, NULL, NULL);       
-
 
266
        curs_visibility(1);
266
    } else {
267
    } else {
267
        curs_visibility(0);
268
        curs_visibility(0);
268
        clrscr();
269
        clrscr();
269
       
270
       
270
        for (i = 0; i < conn->screenbuffer.size_x; i++)
271
        for (i = 0; i < conn->screenbuffer.size_x; i++)
Line 373... Line 374...
373
           
374
           
374
            break;
375
            break;
375
        case CONSOLE_GOTO:
376
        case CONSOLE_GOTO:
376
           
377
           
377
            screenbuffer_goto(&(connections[consnum].screenbuffer), IPC_GET_ARG2(call), IPC_GET_ARG1(call));
378
            screenbuffer_goto(&(connections[consnum].screenbuffer), IPC_GET_ARG2(call), IPC_GET_ARG1(call));
-
 
379
            if (consnum == active_console)
378
            curs_goto(IPC_GET_ARG1(call),IPC_GET_ARG2(call));
380
                curs_goto(IPC_GET_ARG1(call),IPC_GET_ARG2(call));
379
           
381
           
380
            break;
382
            break;
381
 
383
 
382
        case CONSOLE_GETSIZE:
384
        case CONSOLE_GETSIZE:
383
            arg1 = fb_info.rows;
385
            arg1 = fb_info.rows;