TIP: Click on subject to list as thread! ANSI
echo: pascal
to: DOUG REYNOLDS
from: DANIEL GUSTAFSSON
date: 1998-04-14 19:10:00
subject: CRT.DELAY

 KF> procedure Wait (WaitMs : real); var start, now : real; hour, minute,
 dr> procedure Wait (ms: LongInt);
...
procedure rtc_delay(ms:word); assembler; {cpu independant delay)
asm
  mov ax,1000
  mul ms
  mov cx,dx
  mov dx,ax
  mov ah,86h
  int 15h
end;
 
btw.. rtc stands for "realtime clock"
--- FMail 1.22
---------------
* Origin: Did you remember to feed the cat? (2:206/144)

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