mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-25 20:30:31 +00:00
28 lines
267 B
C
28 lines
267 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
|
|
#include "gr-sim.h"
|
|
|
|
int main(int argc, char **argv) {
|
|
|
|
int x,y,ch;
|
|
|
|
grsim_init();
|
|
|
|
home();
|
|
|
|
while(1) {
|
|
grsim_update();
|
|
|
|
ch=grsim_input();
|
|
|
|
if (ch=='q') break;
|
|
|
|
usleep(100000);
|
|
|
|
}
|
|
|
|
return 0;
|
|
}
|