TIP: Click on subject to list as thread! ANSI
echo: locuser
to: Bob Lawrence
from: Paul Edwards
date: 1996-08-23 14:03:42
subject: zmodem

BL> At present, I wait for data for a maximum of 500 milliseconds, but
BL> at 57600 the data comes in every 200uS and I need a really short loop
BL> for Windows, which is a bit twitchy at the best of times.

BL> I am reading memory directly at address $0040:$006C which gives me
BL> the ticks since midnight and works very well... but it won't work when
BL> the vampires come out.

Can't you just store the "old time", and when the "new
time" is less than the "old time", add 24 hours worth of
ticks to the "new time" yourself?

BL> Is there another place I can get ticks, or even seconds, as fast as
BL> that? 

Seconds aren't of any use to you are they?  Anyway, the DOS clock has a
resolution of 2 seconds from what I hear.

BL> I've been searching through Ralf Brown's lists, but there's too
BL> much in there and I can't find any-bloody-thing. I was lucky to fluke
BL> the ticks.

I'm the wrong person to be asking this question - I am not familiar with
MSDOS-specific features.  You would be better off asking a question-to-All
in AUST_AVTECH or AUST_C_HERE.  Brenton, Matthew Parker and maybe Rod Speed
+ Roy McNeill would know the answer to this. BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.