delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/04/12:00:24

From: "Alexei A. Frounze" <dummy_addressee AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: AST&T syntax
Date: Wed, 4 Apr 2001 02:56:37 -0400
Organization: Global Crossing Telecommunications
Lines: 48
Sender: UNKNOWN AT 209-130-220-72 DOT nas1 DOT roc DOT gblx DOT net
Message-ID: <9aeggr$ev8$1@node17.cwnet.frontiernet.net>
References: <001001c0bcd1$f39fd960$0b0510ac AT astra DOT sunderbynskabel DOT bd DOT se>
NNTP-Posting-Host: 209-130-220-72.nas1.roc.gblx.net
X-Trace: node17.cwnet.frontiernet.net 986367323 15336 209.130.220.72 (4 Apr 2001 06:55:23 GMT)
X-Complaints-To: abuse AT frontiernet DOT net
NNTP-Posting-Date: 4 Apr 2001 06:55:23 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

better use NASM, it can output .O files for DJGPP, it doesn't have that
nasty at&t syntax.
besides, your ASM piece of code will never work in DJGPP because you did it
as for a 16-bit real-mode program while DJGPP is a 32-bit PMode beast. if
you want to learn how to do this thing with DJGPP, visit DJGPP site, online
documents section and find there 2 tutorials on graphics and inline assembly
(e.g. description of inline stuff plus some at&t crap).

Good Luck
--
Alexei A. Frounze
alexfru [AT] chat [DOT] ru
http://alexfru.chat.ru
http://members.xoom.com/alexfru/
http://welcome.to/pmode/

"Mathias K" <papewaio AT sunderbynskabel DOT bd DOT se> wrote in message
news:001001c0bcd1$f39fd960$0b0510ac AT astra DOT sunderbynskabel DOT bd DOT se...
Hi,
My name is Mathias, and I'm a student in Luleå, Sweden. I'm pretty new to
programming, only done it at school using a borland compiler, but a friend
recommended djgpp! =) so I decided to try..I am very pleased with it..it is
great! but then i ran into a small problem, it wouldn't accept my assembler
writings..i found out it must be AT&T...which i know absolutly nothing
about...i still find it really complicated after reading a few tutorials
online..
I don't really know if you answer questions like this, helping people with
programming problems..but I'd be most greatful if you would take some time..

if video_buffer is a global pointer and data is a local pointer, could you
translate these 7 lines for me?

push ds
les di, video_buffer
lds si, data
mov cx, 32000
cld
rep movsw
pop ds

I'd be glad if you have time to help me..
Thanks!

Best regards,
                            Mathias Kunto, Luleå Sweden



- Raw text -


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