TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: JASEN BETTS
from: KEN HRYNCHUK
date: 1998-01-29 12:45:00
subject: RT Delay Bug?

Jasen Betts wrote to Ken Hrynchuk on 01-25-98:           
 JB> Um I think you posted the wrong code the one you posted does an
 JB> (approx) 10 second delay (180 ticks) (from looking at the code)
 JB> and from testing it works fine. (182 ticks would be closer to 10 secs)
Are you sure about that? The source I assembled it from was written to
delay for 182 ticks. Oh, well - no biggie. Did you try running it at,
say, 5 seconds before midnight under DOS? If you did, and it didn't
abort at midnight, could you please tell me which version of DOS, and
if you've loaded any drivers, TSRs, etc. that hook any of the timer/
clock ints./routines?
 JB> To detect change-of-hour test for either
 JB> transition from ffff to 0000 in word 0000:046c
 JB> or a change in byte 0000:0046f  (preferred)
I tried both of these methods - it still aborted at midnight (but not
at the changing of the hour (?)).
 JB> You should probably call int 28 (dos idle) while in these loops to
 JB> have you application "multitasker aware" it only costs 2 bytes ;-)
I'll give this a try (even though it multitasks quite well here under
both Desqview 2.63 and Windows 3.1).
 JB> hope this helps.
Yes, it does - and I appreciate your help.
                                                  Ken
 -- Invalid environment size - ecosystem halted.
 * KenMail 1.0 * 
                                                             ~ ~ ~
--- FMail 0.92
---------------
* Origin: The Programmer's Oasis on FIDONET! (1:348/203)

SOURCE: echomail via exec-pc

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™.