TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: James Laine
from: Jonathan de Boyne Pollard
date: 1995-12-29 12:06:48
subject: Assembly for OS/2 ?

JL>
  >               I have a few reference books containing details about BIOS
  > interrupt calls and DOS interrupt calls.  What I would like to find is a
  > reference book containing details for OS/2 Kernel and PM-SHELL interrupt
  > calls.
JL>

  I've just posted an incomplete booklist, and several of the books on
  that list should help you.

  There are some things to bear in mind, however.  Your books on DOS and
  the BIOS will not help you write OS/2 applications at all, since the
  system API for OS/2 is a set of function calls, rather than a set of
  "interrupts".  In fact, if your program executes an INT instruction,
  OS/2 will terminate it for executing an illegal instruction.  Find a
  good shelf space for those books and leave them there.

  That is one point that may help you approach OS/2 programming from the
  right direction.  The other is that Workplace Shell is, as the name
  suggests, just a shell.  It is not part of OS/2 at all, merely a
  program.  The fact that it is the program that is automatically run
  when OS/2 is booted is irrelevant, since it can be replaced by other
  such programs (such as TSHELL or FileBar) as the user desires. Yes,
  there is a way of communicating with the Workplace Shell from other
  programs (using Distributed SOM), but it's a degree more complex than
  a set of interrupt calls (I certainly wouldn't contemplate using DSOM
  from assembly language -- DSOM requires a higher level language in
  order that one doesn't get bogged down in a mire of mechanical details
  and lose track of what is going on.).  Learn to walk before you run.

JL>
  > I would also be interested in information regarding OS/2 based assemblers.
JL>

  Rewind your message pointers and read the Highly Unofficial FIDONET
  OS2PROG C+++ Compiler Pros and Cons list, posted here earlier this
  month and on a regular basis, which will give details of which C++
  compilers come bundled with assemblers.

  The two assemblers that are not mentioned therein are MASM, Microsoft
  assembler, and GAS, the GNU assembler.  MASM 6.0 will assemble for
  OS/2, but you may have a hard time getting it to produce 32-bit
  programs, and later versions were specially crippled by Microsoft in
  order to make them difficult to operate under OS/2.   I wouldn't
  recommend GAS if you are working from a standard Intel assembly
  language text, since its syntax is radically different from Intel's.

  ( There is also a pre-release assembler from IBM on the Developer
    Connection CD-ROMs, but from all reports it is not complete yet. )

  > JdeBP <
___
 X MegaMail 2.10 #0:
--- Maximus/2 3.00
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515
SEEN-BY: 712/517 628 713/888 800/1 7877/2809
@PATH: 440/4 141/209 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™.