home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
progjour
/
1991
/
01
/
dialog.asm
< prev
next >
Wrap
Assembly Source File
|
1990-11-01
|
867b
|
57 lines
title dialog box routines
include asm.inc
public dialog_error_beta
public dialog_strerror_beta
public ms_dos_dialog
.code
extn ms_dos_strerror,perror,set_strerror
;; dialog error beta
;
; entry AX DGROUP error string
; exit Cf 1
; uses AX
;
dialog_error_beta proc
call set_strerror ; translate error string
jmp dialog_strerror_beta ;\
dialog_error_beta endp
;; dialog strerror beta
;
; exit Cf 1
; uses AX
;
dialog_strerror_beta proc
push si
mov si,NULL_POINTER
call perror
pop si
stc
ret
dialog_strerror_beta endp
;; ms dos dialog
;
; entry * according to dos function
; exit *
; uses *
; note displays dialog box when ms_dos returns an error
;
ms_dos_dialog proc
call ms_dos_strerror
jnc mdd1
push si
mov si,NULL_POINTER
call perror
pop si
stc
mdd1: ret
ms_dos_dialog endp
end