X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=16%2Fmodex16%2Ftest2.c;h=19f05e09769e825ec09bb9e630048192dde12f73;hb=c652700ead888913116701f8eaba7893b237fb3a;hp=9118279fee1e137a815574ec42e294708ce2ddb4;hpb=ee4a2a942f50ad952a56457342f5fa1528427589;p=16.git diff --git a/16/modex16/test2.c b/16/modex16/test2.c index 9118279f..19f05e09 100644 --- a/16/modex16/test2.c +++ b/16/modex16/test2.c @@ -5,6 +5,7 @@ word far* clock= (word far*) 0x046C; /* 18.2hz clock */ void main() { int i; word start; + float t1, t2; page_t page; page=modexDefaultPage(); @@ -14,6 +15,8 @@ void main() { for(i=0; i<500; i++) { modexShowPage(&page); } + t1 = (*clock - start)/18.2; modexLeave(); + printf("Time: %f\n", t1); }