Mail Archives: djgpp/1998/05/11/08:30:36
From: | "Dark Angel" <mop45440 AT mail DOT telepac DOT pt>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Memory writting in assembley
|
Date: | 11 May 1998 12:29:50 GMT
|
Organization: | Dark Angel Soft
|
Lines: | 20
|
Message-ID: | <01bd7ccf$d4b5ca40$a6ef41c2@default>
|
NNTP-Posting-Host: | 194.65.239.166
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I've written a function (in djgpp) that writes a pixel on the screen in
SVGA. It works fine.
Now i want to write the same function but in assembley, but there is a
problem.
In djgpp i used _farpokeb to write to the video memory, because protected
mode don't let me do a direct write.
How can it be done in assembley?
Another question.
When i wan't to call a dos interrupt in djgpp i use dpmi_int, no problem.
But if i wnat to call the same interrupt but in assembley, can use the
function INT?
I tried, and it seemed to work fine, but i wnat to be shure that tere are
no problems.
Thanks, Jorge Lima from Dark Angel Soft, Portugal
- Raw text -