Mail Archives: djgpp/1999/12/23/02:18:34
From: | "mus.bouayad" <mus DOT bouayad AT wanadoo DOT fr>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Djgpp and Nasm
|
Date: | 23 Dec 1999 03:59:14 GMT
|
Organization: | N/A
|
Lines: | 22
|
Message-ID: | <01bf4e8c$665fb700$33e58aa4@kalashnikow>
|
NNTP-Posting-Host: | annecy-1-51.abo.wanadoo.fr
|
X-Trace: | wanadoo.fr 945921554 12159 164.138.229.51 (23 Dec 1999 03:59:14 GMT)
|
X-Complaints-To: | abuse AT wanadoo DOT fr
|
NNTP-Posting-Date: | 23 Dec 1999 03:59:14 GMT
|
X-Newsreader: | Microsoft Internet News 4.70.1160
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hello,I have still problems with using nasm with DJGPP.
Here is the code :
[...]
_CLVga: push ebp
mov ebp,esp
push dword[VideoRAM]
pop es
xor di,di
xor eax,eax
mov cx,0x3E80
rep stosd
mov esp,ebp
pop ebp
ret
[...]
This routine normally clear the VGA screen that was set up before.
The program compilation is OK,but when I lunch the application,it
crashs.Please help me.
Thanks,
NB:This asm file is used with C code.
- Raw text -