Category : Files from Magazines
Archive   : PCTV1N4.ZIP
Filename : TSRMEM1.ASM

 
Output of file : TSRMEM1.ASM contained in archive : PCTV1N4.ZIP
_TEXT SEGMENT BYTE PUBLIC 'CODE'
_TEXT ENDS
_DATA SEGMENT BYTE PUBLIC 'DATA'
_DATA ENDS

; Class BSS is uninitialized data.
_BSS SEGMENT BYTE PUBLIC 'BSS'
_BSS ENDS

; This segment is empty since all we need is its
; paragraph number. By forcing it to align on a
; paragraph boundary, we safely skip any data that
; might be left in the last paragraph.
_EODATA SEGMENT PARA PUBLIC 'BSS'
_EODATA ENDS

_STACK SEGMENT WORD PUBLIC 'STACK'
_STACK ENDS

; Other segment declarations and grouping of
; segments other than those that are part of DGROUP.
. . .

; By the Microsoft segment ordering convention, the
; DGROUP group should always be at the end of the
; program.
DGROUP GROUP _DATA, ..., _BSS, _EODATA, _STACK, ...

_TEXT SEGMENT

; Startup code, etc.
. . .

; Determine the segment address of next available
; paragraph.
; Segment address is returned in AX.
_EndPrg PROC
mov ax, _EODATA
ret
_EndPrg ENDP

_TEXT ENDS

; Other segment definitions.
. . .

END


  3 Responses to “Category : Files from Magazines
Archive   : PCTV1N4.ZIP
Filename : TSRMEM1.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/