Mail Archives: djgpp/1996/06/13/02:00:22
On 12 Jun 1996 richard DOT griffiths AT zetnet DOT co DOT uk wrote:
> Would it be possible to write a procedure in pure-100% asm, compile it to
> an .obj with TASM or MASM and then call the asm procedure from with in my
> djgpp souce??
This should usually be the last resort. If you *really* need it and
cannot do it any other way, read section 17.6 of the DJGPP FAQ list
(available as v2/faq200b.zip from the same place you get DJGPP). It
explains how to call a 16-bit procedure from DJGPP.
> Here is one of the routines that I would like to have in the .obj:
>
> PutPixel(X,Y,Col,Where) asm
There should be no need to make this in 16-bit asm. Use the GRX library
which already has such a function. Why reinvent the wheel? GRX is
available as v2tk/grx20.zip from the same place you get DJGPP.
And please read the FAQ. Many questions, especially those asked by
newcomers to DJGPP, has already been answered there.
- Raw text -