Mail Archives: djgpp/1996/11/09/15:09:52
From: | libertine AT t-online DOT de (Benjamin Zeiss)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | waitretrace in inline asm...am i stupid ?
|
Date: | 5 Nov 1996 21:09:19 GMT
|
Organization: | Telekom Online Internet Gateway
|
Lines: | 22
|
Message-ID: | <55oadv$cku@news00.btx.dtag.de>
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
okay fellows,
i´m new to djgpp and therefore i´m in trouble with the inline
assembler. i tried something like
void retrace()
{
__asm("
movl $0x3da, %%edx
loop:
inb %%dx,%%al
test %%al,$8
jz loop
");
}
so where´s the error ??? i already succeeded in writing setpalette
functions etc. but this simply doesn´t compile ?!?!?
thanks in advance for every answer.
regards,
Benjamin Zeiss, Germany
- Raw text -