delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/10/24/12:30:08

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 <ams AT speedy DOT ludd DOT ltu DOT se>
Subject: Re: Timer inside interrupt handler
Newsgroups: comp.os.msdos.djgpp
References: <clee5f$j5s$1 AT coranto DOT ucs DOT mun DOT ca> <01c4b948$Blat.v2.2.2$f034ea00 AT zahav DOT net DOT il> <clgi45$pd8$1 AT coranto DOT ucs DOT mun DOT ca>
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 <jmills AT cs DOT mun DOT ca> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019