Mail Archives: djgpp/2003/08/09/22:14:14
>.byte 234,12,177
>
>N. B. untested.
yes, that works. However , I tried .byte 228,96 (in al,60h) , but it doesn't
seem to work as expected.
(it's a pity, that C doesn't let me test what key is pressed !)
>
>: I thought, I could write and compile my programs in NASM and then
>: simply use the "db " statements to convert them to ATT for use in
>GCC+DJGPP
>
>You don't have to recode them into .byte statements. Just ask nasm to
>output COFF and you'd be ready to link.
thanks, but I think, I prefer the .byte method.
First, I don't know what COFF is, nor how to link.
Second , when I give my source to others, I don't want to
require that they do get NASM, do the COFF and link,
just when they only want to implement a small change,
like changing a parameter.
Guenter
- Raw text -