Changeset ef8bcc6 in mainline for uspace/app/tetris/screen.c


Ignore:
Timestamp:
2009-06-15T21:46:21Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
953769f
Parents:
c07af37
Message:

Stdio stream buffering (only for writing a.t.m.) Issue: Do we need two moving delimiters (head, tail) to recover from error or is one moving data delimiter enough, like in the current implementation? (Where the buffer must be drained as a whole, cannot do it part at a time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tetris/screen.c

    rc07af37 ref8bcc6  
    7878static void start_standout(uint32_t color)
    7979{
     80        fflush(stdout);
    8081        console_set_rgb_color(fphone(stdout), 0xf0f0f0, color);
    8182}
     
    8384static void resume_normal(void)
    8485{
     86        fflush(stdout);
    8587        console_set_rgb_color(fphone(stdout), 0, 0xf0f0f0);
    8688}
     
    115117void moveto(int r, int c)
    116118{
     119        fflush(stdout);
    117120        console_goto(fphone(stdout), c, r);
    118121}
Note: See TracChangeset for help on using the changeset viewer.