Annotation of os232sdk/toolkt20/c/samples/opendlg/toola.asm, revision 1.1.1.1

1.1       root        1: ;/*
                      2: ; *   File Dialog Library
                      3: ; *   Created by Microsoft Corporation, 1989
                      4: ; */
                      5: 
                      6:        .386p
                      7: 
                      8: DATA   SEGMENT WORD PUBLIC 'DATA'
                      9: 
                     10:        EXTRN   _vhModule:far
                     11:        PUBLIC  __acrtused
                     12: __acrtused     dw      0
                     13: DATA   ENDS
                     14: 
                     15: 
                     16: TEXT   SEGMENT BYTE PUBLIC 'CODE'
                     17: ; The following trick is to avoid any need for a DS where a constant
                     18: ;   string is needed, any (PSZ)"foo" is replaced by (PSZ)szfoo with
                     19: ;   szfoo created in the Code Selector. As we can't do that with C,
                     20: ;   we do it with MASM.
                     21: ;
                     22:        PUBLIC  _szStar
                     23: _szStar        LABEL   BYTE
                     24:        DB      '*',0
                     25:         PUBLIC  _szDot
                     26: _szDot   LABEL   BYTE
                     27:         DB      '.',0
                     28: 
                     29: TEXT   ENDS
                     30: 
                     31: INIT   SEGMENT BYTE PUBLIC 'CODE'
                     32:        EXTRN   InitLibrary:near
                     33: 
                     34:        assume CS:FLAT, DS:FLAT, ES:FLAT, SS:FLAT
                     35: 
                     36: INIT   ENDS
                     37:        END     InitLibrary

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.