home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / TC-OS2.ZIP / NOTES < prev   
Text File  |  1988-05-27  |  915b  |  22 lines

  1. C0-OS2.ASM
  2.  
  3. This was written for and assembled with IBM's Macro Assembler 2. I know
  4. that there are newer and better, but I'm cheap. I had to use DEBUG to patch
  5. the .OBJ file to change the three PUBLIC symbols (_exit, _main & __exit) to
  6. lower-case. because of a bug in the assembler, the PUSH byte literal
  7. doesn't assemble right, so I used DBs instead. Note that nothing is done
  8. about command line arguments or the environment. I kept it simple for the
  9. inital round of development.
  10.  
  11. MAIN-OS2.C
  12.  
  13. Ruthlessly modified version of the MAIN.C that comes with TC. Being cheap,
  14. I haven't upgraded to TC1.5 yet. Compile with the LARGE memory model.
  15.  
  16. LINKing
  17.  
  18. To link the mess together, you need the version on LINK that came with OS/2
  19. and the DOSCALLS library. IBM's install program puts them into the \OS2 sub-
  20. directory. So, to link, you say:
  21.            C:\OS2\LINK MAIN-OS2+C0-OS2,,,C:\OS2\DOSCALLS;
  22.