home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng)
/
ProfitPress-MegaCDROM2.B6I
/
MAGAZINE
/
MISC
/
PJ_9_6.ZIP
/
ALIB.ZIP
/
OPEN_OUT.ASM
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Assembly Source File
|
1991-06-25
|
388 b
|
30 lines
include asm.inc
public open_output_file
.code
extn ms_dos_strerror
;; open output file
;
; entry DS:SI string
; exit AX,BX handle
; Cf if error, error text set
; calls offset_dos_error, ms_dos
;
open_output_file proc
push cx
mov ax,3C00h
xor cx,cx
xchg dx,si
call ms_dos_strerror
xchg dx,si
mov bx,ax
pop cx
ret
open_output_file endp
end