| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | ASM and LINK386 |
Byron Desnoyers wrote in a message to All: BD> I finally stumbled on an IBM OS/2 (80x86) assembler and I BD> would like to know the differnces between DOS and OS/2 BD> assembly language. I assume all of the instructions are BD> still available and that DOS interrupts are not available, BD> but what does OS/2 replace the DOS interrupts with? You can write "pure" assembly code in OS/2 very much like you do in DOS. "Pure" is a technical term relating to what is legal in protected mode. For example, you are not allowed to modify the contents of a code segment. Some instructions, such as HLT or CLI, are also illegal in protected mode applications and will cause a trap back to the operating system. The stack-based OS/2 API is available by using extern proc declarations and then linking with the appropriate import library. There are macro and API headers available as INC files in the OS/2 Toolkit. BD> Then there is LINK386. I assume LINK386 is what I will need BD> to link OS/2 executables, but I can not find any BD> documentation on how to use it. You can get basic usage information with "LINK386 /?" but the official documentation is in the TOOLINFO.INF file that is part of the OS/2 Toolkit, which is distributed on the IBM OS/2 Developer Connection CD and included with some compilers. (There is also an earlier version of this file called TOOLINFX.INF with only minor differences.) -- Mike ---* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107) SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 517 628 713/888 800/1 7877/2809 @PATH: 323/107 150 3615/50 396/1 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.