when i program in 16 bit assembly, i have some old 16 bit libs. can i use them with fasm? if possible, how to do?
libs ? .lib ? .obj ? .asm ?
Please be a bit more precise if you want a precise answer...
Regards,
Please be a bit more precise if you want a precise answer...
Regards,
python, if it is possible, you'd have to create a 16 bit object file with FASM and use a 16 bit linker to put them together. FASM cannot do it by itself - the linker is required.
Readiosys,
I think that python was very clear.
he said he had some old 16 bit libs.
He would like to use them in his code
example link his ASM files to .libs
I don't use fasm so I don't know if
it has the ability to link to libs, if it
will produce obj files of your source
where you can use LINK to link it to
a lib, then it would work, but if fasm
is a compiler and linker all in one then
you will have to ask the Author about
this ability.
Zcoder.....
I think that python was very clear.
he said he had some old 16 bit libs.
He would like to use them in his code
example link his ASM files to .libs
I don't use fasm so I don't know if
it has the ability to link to libs, if it
will produce obj files of your source
where you can use LINK to link it to
a lib, then it would work, but if fasm
is a compiler and linker all in one then
you will have to ask the Author about
this ability.
Zcoder.....
zcoder,
lib is a very generical term... I have seen plenty of lib formats, that doesn't mean anything...
Also, since it is a win32 assembler messageboard, people must not expect members to be familiar with old 16 bit dos programming.
That's all...
lib is a very generical term... I have seen plenty of lib formats, that doesn't mean anything...
Also, since it is a win32 assembler messageboard, people must not expect members to be familiar with old 16 bit dos programming.
That's all...
python,
Then link it with an old version of link.exe,
or use an old version of lib to archive it.
format MZ COFF
bits16
Then link it with an old version of link.exe,
or use an old version of lib to archive it.
thanks to everybody! i know here is called "win32asm community". but i like fasm, it's small and effective. i'd like to use it to do everything, not only in 32 bit win32 programming, also in 16 bit dos programming. now i've got help. again, thanks!
2 Slop:
Sorry but this not works at all:
at first: "format MZ COFF" is invalid. maybe you mean "format MS COFF" ?
at second "bits16" is invalid too maybe you mean "use16"?
at third: even when it's compiles to obj file, I can't link it with dos linker, (I am using TLINK).
Here is the source that I try:
I need to use fasm for dos programming too, but I can't make fasm to generate dos object file. if someone can help me, it will be great.
Sorry but this not works at all:
at first: "format MZ COFF" is invalid. maybe you mean "format MS COFF" ?
at second "bits16" is invalid too maybe you mean "use16"?
at third: even when it's compiles to obj file, I can't link it with dos linker, (I am using TLINK).
Here is the source that I try:
format MS COFF
section 'CODE' readable writeable executable
; "section 'CODE' code" not works too... :(
use16
mov ax,$4c00
int $21
I need to use fasm for dos programming too, but I can't make fasm to generate dos object file. if someone can help me, it will be great.
1 Slop:
Sorry but this not works at all:
"format MS COFF" is invalid for the 16-bit DOS app.,maybe you mean "format MZ" ?
The COFF format is valid only for the Win32 environment
Regards,
Vortex
Sorry but this not works at all:
"format MS COFF" is invalid for the 16-bit DOS app.,maybe you mean "format MZ" ?
The COFF format is valid only for the Win32 environment
Regards,
Vortex
Hi Vortex, and John
You are both right,
I meant
The thing is that old object format is not the same that the new one.
But the solution can be to find a Posted on 2002-11-14 11:08:01 by slop
You are both right,
I meant
format MZ OBJ
, but hadn?t checked it.
The thing is that old object format is not the same that the new one.
But the solution can be to find a Posted on 2002-11-14 11:08:01 by slop