www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/14/14:06:29

From: Mihai Cartoaje <moisemih AT ift DOT ulaval DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: AT&T Assembly
Date: Mon, 11 Nov 1996 18:40:50 -0500
Organization: none
Lines: 19
Message-ID: <3287B982.167EB0E7@ift.ulaval.ca>
References: <328699C5 DOT 2E68 AT juno DOT com> <3286D227 DOT 669C AT gbrmpa DOT gov DOT au>
NNTP-Posting-Host: rachmaninov.ift.ulaval.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Leath Muller wrote:

> >   :
> >   :"D" (0xA0000+__djgpp_conventional_base), "S" (double_buffer)
> >   :"ax", "cx", "si", "di", "memory"
> > );
> 

> Also, to access the video memory this way, you have to make sure you
> have
> the nearptr flag enabled or some similar such thing. This is in the FAQ

It seems to me like EDI should have 0xA0000 - __djgpp_conventional_base.
But then you really need to fatten your DS.

Mihai "the sailor"

P.S.: You should avoid movsl, it runs slower on the pentium, or so I've
heard.

- Raw text -


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