Changeset 6528 for branches/mini/src


Ignore:
Timestamp:
Aug 14, 2001, 11:17:31 PM (24 years ago)
Author:
bird
Message:

Ilink autosegment. normal: 283 bytes

Location:
branches/mini/src/win32k/test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/mini/src/win32k/test/mini.asm

    r6527 r6528  
    1 ; $Id: mini.asm,v 1.1.2.5 2001-08-14 19:17:40 bird Exp $
     1; $Id: mini.asm,v 1.1.2.6 2001-08-14 21:17:31 bird Exp $
    22;
    33; Haveing great fun making small executables...
     
    1818;
    1919    .386
    20 
    21     ;APIRET APIENTRY  DosPutMessage(HFILE hfile,
    22     ;                               ULONG cbMsg,
    23     ;                               PCHAR pBuf);
    24     extrn DosPutMessage:PROC
    25 
    26 
    27 DATA32 segment byte common use32 'STACK'
     20;    .model flat
     21;    .stack 1000h
     22
     23
     24;
     25; Segment definitions. (needed somehow ot
     26;
     27DATA32 segment byte public use32 'DATA'
     28DATA32 ends
     29
     30BSS32 segment byte public use32 'BSS'
     31BSS32 ends
     32
     33DGROUP  group BSS32, DATA32
     34;    assume  cs:FLAT, ds:FLAT, ss:FLAT, es:FLAT
     35
     36;APIRET APIENTRY  DosPutMessage(HFILE hfile,
     37;                               ULONG cbMsg,
     38;                               PCHAR pBuf);
     39extrn DosPutMessage:PROC
     40
     41
     42CODE32 segment byte public use32 'CODE'
    2843;
    2944; Data
     
    3954ImReallySmall   db  "I'm really small!",013
    4055
    41 DATA32 ends
     56CODE32 ends
    4257
    4358
  • branches/mini/src/win32k/test/mini.def

    r6527 r6528  
    1 ;$Id: mini.def,v 1.1.2.2 2001-08-14 19:17:40 bird Exp $
     1;$Id: mini.def,v 1.1.2.3 2001-08-14 21:17:31 bird Exp $
    22NAME '' WINDOWCOMPAT
    33STUB NONE
    44
    5 STACKSIZE 4060
    6 
    7 SEGMENTS
    8     'DATA32'  class 'CODE' READWRITE PRELOAD
  • branches/mini/src/win32k/test/mini.mak

    r6527 r6528  
    1 # $Id: mini.mak,v 1.1.2.2 2001-08-14 19:17:41 bird Exp $
     1# $Id: mini.mak,v 1.1.2.3 2001-08-14 21:17:31 bird Exp $
    22
    33#
     
    7272#
    7373!ifdef NORMAL
    74 #OBJS = $(OBJDIR)\entry.obj $(OBJS)
     74!if 0
    7575$(OBJDIR)\$(TARGET).exe: $(OBJS)  $(DEFFILE) $(OBJDIR)\$(TARGET).lrf
    7676    wlink system os2v2 file {$(OBJS)} name $(OBJDIR)\.exe import DosPutMessage MSG.5 \
     
    8282#        $(OBJS), $(OBJDIR)\$(TARGET).exe, $(OBJDIR)\$(TARGET).map, os2386.lib, mini.def;
    8383    $(LXLITE) /AN:1 /ZS:1024 /ZX:1024 /MF3 /YXD /YND $@
     84!else
     85$(OBJDIR)\$(TARGET).exe: $(OBJS)  $(DEFFILE) $(OBJDIR)\$(TARGET).lrf
     86    -8 ilink /NOFREE /FORCE /ALIGNMENT:1 /Map /BASE:0x10000 \
     87            /PACKCODE /PACKDATA /EXEPACK:1 /STACK:4000  \
     88            $(OBJS), $(OBJDIR)\$(TARGET).exe, $(OBJDIR)\$(TARGET).map, os2386.lib, mini.def;
     89    $(LXLITE) /AN:1 /ZS:1024 /ZX:1024 /MF3 /YXD /YND $@
     90!endif
    8491
    8592!else
Note: See TracChangeset for help on using the changeset viewer.