>> - on PS/2 or newer, int 15 with ah=86 cx:dx=ysec might be useful for >> delays (usually 1024 Hz granularity, your 1000 ysec should be fine) >> but you will have to check first if the delay works, for example >> by checking the BIOS ID or by checking 40:[6c] before/after a call. > I tried it and on my computer it doesn't work and I even think it works only > on machines by IBM. I know it is described in RBIL but I have never seen any > real source using this service.
It works not just on IMB machines, but one cannot really rely on it, and this call is known to fail in WinNT/XP. It's a better idea to access the RTC directly. This works reliable, even on WinNT/XP. Also, DosEmu v1.4 supports the RTC now, although it is slightly "fakeish" since it is based on a interrupt frequency of 100 Hz only. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel