; If this code is compiled with BCOS2 1.5 as follows:
; tasm prob
; tlink prob,,,e:\bcos2\lib\os2.lib
; it works
; If compiled as
; tasm prob
; tlink prob,,,e:\os2\doscalls.lib
; it gets a trap 5.
; If you know the reason for this, please contact Paul Edwards,
; Fidonet 3:711/934. I am using OS/2 2.1
.386p
.model os2 flat
.stack 4000h
_text segment 'CODE'
extrn DosExit:near
top:
public foo
foo proc
.startup
push 0
push 1
call DosExit
foo endp
_text ends
end top
@EOT:
--- Mksmsg
* Origin: none (3:711/934.9)
|