Category : C++ Source Code
Archive   : VCCRT2.ZIP
Filename : WNULL.ASM

 
Output of file : WNULL.ASM contained in archive : VCCRT2.ZIP
page ,132
title wnull - Windows NULL segment
;***
;wnull.asm - Windows NULL segment
;
; Copyright (c) 1987-1992, Microsoft Corporation. All rights reserved.
;
;Purpose:
;
;*******************************************************************************

.xlist
?DF = 1 ; Dont generate default segment definitions
include version.inc
?PLM = 1 ; Pascal naming
include cmacros.inc
.list

;
; Windows NULL segment (1st paragrpah of automatic data segment)
;

rsrvPtrOff = 6

DefRsrvPtr MACRO name
public name
name = rsrvPtrOff
rsrvPtrOff = rsrvPtrOff + 2
ENDM

DefRsrvPtr pLocalHeap ; Local heap pointer
DefRsrvPtr pAtomTable ; Atom table pointer
DefRsrvPtr pStackTop ; top of stack
DefRsrvPtr pStackMin ; minimum value of SP
DefRsrvPtr pStackBot ; bottom of stack

end


  3 Responses to “Category : C++ Source Code
Archive   : VCCRT2.ZIP
Filename : WNULL.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/