X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <417bd729$0$173$cc7c7865@news.luth.se> From: Martin Str|mberg Subject: Re: Timer inside interrupt handler Newsgroups: comp.os.msdos.djgpp References: <01c4b948$Blat.v2.2.2$f034ea00 AT zahav DOT net DOT il> User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha)) Date: 24 Oct 2004 16:24:09 GMT Lines: 19 NNTP-Posting-Host: speedy.ludd.ltu.se X-Trace: 1098635049 news.luth.se 173 130.240.16.13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jason Mills wrote: > I did come across the following on > the newgroup. Does it implement what you suggest? Yes, but... > Convert the real mode segment:offset pair to a linear address offset > (relative to _dos_ds) like this: > 0x40 * 16 + 0x6c = 0x460 Looks like there's some error here. 0x40 * 16 + 0x6c = 0x46c. Note "0x46" and a "c". Or the left hand side should read "0x40 * 16 + 0x60". Right, MartinS