Mail Archives: djgpp/1996/06/13/19:48:23
> > 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.
Yep, the FAQ explains this well...and you should just learn the AT&T
syntax...it really isnt that hard when you get used to it...
> > 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.
But grx20 is fairly slow...its sometimes better to reinvent the wheel to make
it more round... ;)
Leathal.
- Raw text -