Changeset 6546 for branches/mini/src


Ignore:
Timestamp:
Aug 16, 2001, 5:14:41 PM (24 years ago)
Author:
bird
Message:

By using Ilink and exehdr high octane is 273 bytes now..

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

Legend:

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

    r6545 r6546  
    1 ; $Id: mini.asm,v 1.1.2.10 2001-08-16 12:13:56 bird Exp $
     1; $Id: mini.asm,v 1.1.2.11 2001-08-16 15:14:40 bird Exp $
    22;
    33; Haveing great fun making small executables...
     
    2929
    3030
    31 CODE32 segment byte public use32 'STACK'
     31CODE32 segment byte stack use32 'STACK'
    3232public minilx
    3333
     
    6565    ret
    6666endif
    67 
     67db 1000h-$ dup(?)
    6868CODE32 ends
    6969
  • branches/mini/src/win32k/test/mini.def

    r6528 r6546  
    1 ;$Id: mini.def,v 1.1.2.3 2001-08-14 21:17:31 bird Exp $
     1;$Id: mini.def,v 1.1.2.4 2001-08-16 15:14:41 bird Exp $
    22NAME '' WINDOWCOMPAT
    33STUB NONE
    44
     5IMPORTS
     6    vprintf = LIBCN.150
  • branches/mini/src/win32k/test/mini.mak

    r6531 r6546  
    1 # $Id: mini.mak,v 1.1.2.6 2001-08-14 22:51:54 bird Exp $
     1# $Id: mini.mak,v 1.1.2.7 2001-08-16 15:14:41 bird Exp $
    22
    33#
     
    7474!if 1
    7575$(OBJDIR)\$(TARGET).exe: $(OBJS)  $(DEFFILE) $(OBJDIR)\$(TARGET).lrf
     76!ifdef WATCOM
    7677    wlink system os2v2 file {$(OBJS)} name $(OBJDIR)\.exe \
    7778    import vprintf LIBCN.150 \
     
    7980        option offset=0x0000 option alignment=1 option stack=4060
    8081    mv $(OBJDIR)\.exe $@
    81 #    link386 /ALIGNMENT:1 /NONULLSDOSSEG /NOSECTORALIGNCODE /BASE:0x10000 /PACKCODE /PACKDATA \
    82 #        $(OBJS), $(OBJDIR)\$(TARGET).exe, $(OBJDIR)\$(TARGET).map, os2386.lib, mini.def;
    83 #    -8 ilink /NOFREE /FORCE /ALIGNMENT:1 /Map /BASE:0x10000 /PACKCODE /PACKDATA /EXEPACK:1 \
    84 #        $(OBJS), $(OBJDIR)\$(TARGET).exe, $(OBJDIR)\$(TARGET).map, os2386.lib, mini.def;
    85     $(LXLITE) /AN:1 /ZS:1024 /ZX:1024 /MF3 /YXD /YND $@
     82!else
     83!if 0
     84    link386 /ALIGNMENT:1 /NONULLSDOSSEG /NOSECTORALIGNCODE /BASE:0x10000 /PACKCODE /PACKDATA \
     85        $(OBJS), $(OBJDIR)\$(TARGET).exe, $(OBJDIR)\$(TARGET).map, os2386.lib, mini.def;
     86!else
     87!ifndef VAC36
     88    -12 ilink /NOFREE /FORCE /ALIGNMENT:1 /Map /BASE:0x10000 /PACKCODE /PACKDATA /NOEXEPACK \
     89        $(OBJS), $(OBJDIR)\$(TARGET).exe, $(OBJDIR)\$(TARGET).map, os2386.lib, mini.def;
     90!else
     91    -12 ilink /FORCE /ALIGNFILE:1 /Map /BASE:0x10000 /FIXED /PACKCODE /PACKDATA /NOEXEPACK /STACK:4060 \
     92        $(OBJS) /OUT:$(OBJDIR)\$(TARGET).exe /MAP:$(OBJDIR)\$(TARGET).map mini.def \
     93        /section:CODE32,RW
     94!endif
     95    exehdr /RESETERROR $@
     96!endif
     97!endif
     98    $(LXLITE) /MR1 /AN:1 /ZS:1024 /ZX:1024 /MF3 /YXD /YND $@
    8699!else
    87100$(OBJDIR)\$(TARGET).exe: $(OBJS)  $(DEFFILE) $(OBJDIR)\$(TARGET).lrf
Note: See TracChangeset for help on using the changeset viewer.