Home | Reviews | GUIpedia | Forum | Fun500


JasonTIMER
Hey, I'm making something that needs a spot on timer, TIMER doesnt meet the resolution i need, everything I have looked for has different speeds on different computers, please please please help!
2010-08-072:00 AM

HorvatMRe:TIMER
Try looking at the petesqbsite.com downloads, I remember there's something that claims to be much better than TIMER.
2010-08-076:08 AM

JasonRe:TIMER
it doesnt make any sence, i've seen it i found out that TIMER2# = TIMER makes it very high res. but for some reason, even using TIMER2# it still can only go as fast as .05 i need atleast .005 i wouldnt suspect that OUT &H22C, &H10:  BYTE% = INP(&H22A) will slow it down that much, but would a long maths line (> used twice, < used twice, AND used 1ce, OR used twice) or would making TIMER2# = TIMER slow it down?
2010-08-078:57 AM

ToddRe:TIMER
Just curious, what do you need a precision floating-point timer for?
2010-08-075:43 PM

JasonRe:TIMER bump
making a spk, mic modem. do you have any ideas? i found that microsoft suggested using ON PLAY, INT 15 AH=86 OR INT 1A AH=00 but they only go to 30 ticks a second, 18 ticks a second or something else that was pretty woeful.  i really need this to work, please, please, help if you have any ideas
2010-08-077:23 PM

ToddRe:TIMER
See if this works: http://qb45.com/download.php?id=1334 It's based on the speed of your CPU and how long it takes to complete a set number of iterations in a FOR loop. This should at least be a way for you to gauge precision for your modem.
2010-08-0812:54 PM

JasonRe:TIMER
hi, ive seen this one before but didnt make sence of it, i dont use a timer anymore, i sacrafice some speed as a delay, i've created some really good background noise cancelers and a hert reader, the hert reader works surprisingly well, it waits for no sound, then when a sound over 5 or so (i cant remember and cbf walking downstairs) it starts reading how many times it ticks from top to bottom of a sine wave. i dont actually read the middle because thats where background noise interfearance is, so i use about 20+126 (126 seems to be the middle) so, in conclusion, thanks for all your help, wait for it in navaska. i will release.
2010-08-081:22 PM

DickRe:TIMER
CLS OUT &H43, &H34 OUT &H40, &H400 OUT &H40, &H4 DO LOCATE 1, 1 PRINT TIMER LOOP
2010-08-082:11 PM

DickRe:TIMER
CLS DO LOCATE 1, 1 PRINT TIMER LOOP
2010-08-082:12 PM

DickRe:TIMER
Try both, there is a difference.  You can change the speed of TIMER.  You may need to set it back before end of program.
2010-08-084:20 PM

JasonRe:TIMER + Sine Count
yeah, i think i will have to, so this doesnt vary on cpu type at all? cool, thanks   i tried my program and that was luck before, and it was set to a slow bps (1?) Anyone know how to convert microphone input to hertz??  i'll keep working and if i find a way i'll let you know http://uppit.com/ncild2xg0u5c/untitled.bmp
2010-08-089:52 PM

Other


2021 Brandon Cornell