Mail Archives: djgpp/2001/04/04/12:00:24
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 -