Changeset 0cc4313 in mainline for uspace/app
- Timestamp:
- 2007-11-22T15:50:24Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d40a8ff
- Parents:
- 8498915
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tetris/screen.c
r8498915 r0cc4313 96 96 void clear_screen(void) 97 97 { 98 async_msg (con_phone, CONSOLE_CLEAR, 0);99 moveto(0, 0);98 async_msg_0(con_phone, CONSOLE_CLEAR); 99 moveto(0, 0); 100 100 } 101 101 … … 108 108 109 109 resume_normal(); 110 async_msg (con_phone, CONSOLE_CLEAR, 0);110 async_msg_0(con_phone, CONSOLE_CLEAR); 111 111 curscore = -1; 112 112 memset((char *)curscreen, 0, sizeof(curscreen)); … … 120 120 { 121 121 con_phone = get_fd_phone(1); 122 async_msg (con_phone, CONSOLE_CURSOR_VISIBILITY, 0);122 async_msg_1(con_phone, CONSOLE_CURSOR_VISIBILITY, 0); 123 123 resume_normal(); 124 124 scr_clear(); … … 132 132 static void fflush(void) 133 133 { 134 async_msg (con_phone, CONSOLE_FLUSH, 0);134 async_msg_0(con_phone, CONSOLE_FLUSH); 135 135 } 136 136 … … 139 139 static int get_display_size(winsize_t *ws) 140 140 { 141 return async_req_2(con_phone, CONSOLE_GETSIZE, 0, 0, &ws->ws_row, &ws->ws_col); 141 return async_req_0_2(con_phone, CONSOLE_GETSIZE, &ws->ws_row, 142 &ws->ws_col); 142 143 } 143 144
Note:
See TracChangeset
for help on using the changeset viewer.