Category : Utilities for DOS and Windows Machines
Archive   : ATNUDGE2.ZIP
Filename : ASMUTILS.ASI

 
Output of file : ASMUTILS.ASI contained in archive : ATNUDGE2.ZIP
.XLIST
;ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸
;³ ;ASMUTILS.ASI Include file for .COM programs that use ³
;³ ; macros for Asmutils.Lib ³
;³ ;Last change: 03-Sep-1988 ³
;ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;
PSPDAT EQU 80H ;Command chars position in PSP.
STDOUT EQU 1 ;DOS standard output & error handles.
STDERR EQU 2
; ; Message call types.
AddLine EQU 1
NoRet EQU 2
ErrorMsg EQU 4
; ; First 4 macros for messages inline in CSEG.
IF1
; ; Message to stdout and abort subroutine.
NMessage MACRO Text,Extra
LOCAL EndPtr
CALL DISPL
DB EndPtr -$ -1 Extra
DB Text
EndPtr LABEL BYTE
ENDM
; ; Message to stdout and return to caller.
NRMessage MACRO Text,Extra
LOCAL EndPtr
CALL NDISPL
DB EndPtr -$ -1 Extra
DB Text
EndPtr LABEL BYTE
ENDM
; ;Error message and abort subroutine.
EMessage MACRO Text,Extra
LOCAL EndPtr
CALL EDISPL
DB EndPtr -$ -1 Extra
DB Text
EndPtr LABEL BYTE
ENDM
; ;Error message and return to caller.
ERMessage MACRO Text,Extra
LOCAL EndPtr
CALL ENDISPL
DB EndPtr -$ -1 Extra
DB Text
EndPtr LABEL BYTE
ENDM
ENDIF
; ; Macro for messages in special message segment.
IF1
DMessage MACRO OutSeq,MTyp
LOCAL MsgCount,OMPtr,EndPtr
MSGSEG SEGMENT
MsgCount DW EndPtr - OMPtr
OMPtr DB OutSeq
EndPtr LABEL BYTE
MSGSEG ENDS
IFNB
MOV AH,MTyp
ELSE
XOR AH,AH
ENDIF
MOV SI,OFFSET CGROUP:MsgCount
CALL DispDOSMsg
ENDM
ENDIF
.LIST


  3 Responses to “Category : Utilities for DOS and Windows Machines
Archive   : ATNUDGE2.ZIP
Filename : ASMUTILS.ASI

  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/