Category : Files from Magazines
Archive   : PJ91.ZIP
Filename : DIALOG.ASM

 
Output of file : DIALOG.ASM contained in archive : PJ91.ZIP
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


  3 Responses to “Category : Files from Magazines
Archive   : PJ91.ZIP
Filename : DIALOG.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/