Category : Files from Magazines
Archive   : PCTJ8805.ZIP
Filename : PTRLEN.INC

 
Output of file : PTRLEN.INC contained in archive : PCTJ8805.ZIP
;**
; PTRLEN.INC - define lengths of pointers depending on model.
; Written by Ted Mirecki
;
; Must be preceded by .MODEL directive. When .MODEL directive
; if used, MASM 5 automatically defines (among others) the
; following two symbols:
; @datasize = 0 for small & medium, non-zero for other models;
; @codesize = 0 for small & compact, 1 for other models.
;
;**

if @datasize
@dplen equ 4
else
@dplen equ 2
endif

if @codesize
@cplen equ 4
else
@cplen equ 2
endif
;** End of PTRLEN.INC


  3 Responses to “Category : Files from Magazines
Archive   : PCTJ8805.ZIP
Filename : PTRLEN.INC

  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/