Upload
This commit is contained in:
commit
43352ff262
1291 changed files with 220976 additions and 0 deletions
26
DIS/DISTEST.C
Normal file
26
DIS/DISTEST.C
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#include <stdio.h>
|
||||
#include "dis.h"
|
||||
|
||||
main()
|
||||
{
|
||||
int a;
|
||||
a=dis_version();
|
||||
if(!a)
|
||||
{
|
||||
printf("\nDIS not installed!\n");
|
||||
return(1);
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\nDIS version %04X installed.\n",a);
|
||||
}
|
||||
printf("\nPress any key to exit.\n");
|
||||
a=0;
|
||||
while(!dis_exit())
|
||||
{
|
||||
a+=dis_waitb();
|
||||
printf("%i frames waited.\r",a);
|
||||
}
|
||||
printf("\n\n");
|
||||
return(0);
|
||||
}
|
||||
Loading…
Reference in a new issue