18,11 → 18,11 |
|
/** |
------------ |
CVS : $Id: fly.c,v 1.1.1.1 2002-09-02 09:37:41 pj Exp $ |
CVS : $Id: fly.c,v 1.3 2003-01-07 17:10:15 pj Exp $ |
|
File: $File$ |
Revision: $Revision: 1.1.1.1 $ |
Last update: $Date: 2002-09-02 09:37:41 $ |
Revision: $Revision: 1.3 $ |
Last update: $Date: 2003-01-07 17:10:15 $ |
------------ |
**/ |
|
147,7 → 147,7 |
void byebye(void *arg) |
{ |
grx_close(); |
kern_printf("Bye Bye!\n"); |
cprintf("Bye Bye!\n"); |
} |
|
/****************************** MAIN ******************************/ |
160,9 → 160,6 |
int i = 0; /* number of tasks created */ |
TIME seme; /* used to init the random seed */ |
|
/* Set the exception handler */ |
set_exchandler_grx(); |
|
/* Set the closing function */ |
sys_atrunlevel(byebye, NULL, RUNLEVEL_BEFORE_EXIT); |
|
172,10 → 169,9 |
} |
|
if (grx_open(640, 480, 8) < 0) { |
kern_printf("GRX Err\n"); |
cprintf("GRX Err\n"); |
sys_abort(1); |
} |
kern_printf("Video card ok!\n"); |
|
/* The scenario */ |
grx_rect(XMIN-D-1, YMIN-D-1, XMAX+D+1, YMAX+D+1, 14); |