Changeset 6527 for branches/mini/src
- Timestamp:
- Aug 14, 2001, 9:17:41 PM (24 years ago)
- Location:
- branches/mini/src/win32k/test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mini/src/win32k/test/mini.asm
r6526 r6527 1 ; 2 ; Standard edition. 3 ; 1 ; $Id: mini.asm,v 1.1.2.5 2001-08-14 19:17:40 bird Exp $ 2 ; 3 ; Haveing great fun making small executables... 4 ; 5 ; Copyright (c) 2001 knut st. osmundsen (kosmunds@csc.com) 6 ; 7 ; Project Odin Software License can be found in LICENSE.TXT 8 ; 9 10 4 11 ifdef NORMAL ; 5 12 ; 13 ; 14 ; 15 ; High-octane stock. 16 ; 17 ; 18 ; 6 19 .386 7 .model flat8 .stack 1000h-359 20 10 21 ;APIRET APIENTRY DosPutMessage(HFILE hfile, … … 14 25 15 26 16 17 ;DATA32 segment dword public 'CODE' use32 18 CODE32 segment dword public 'CODE' use32 19 27 DATA32 segment byte common use32 'STACK' 20 28 ; 21 29 ; Data 22 30 ; 23 ImReallySmall db "I'm really small!",01324 25 31 public minilx 26 32 minilx: 27 int 3 28 push 10000h 33 push offset ImReallySmall 29 34 push 18 30 35 push eax 31 36 call DosPutMessage 32 add esp, 1237 add esp, 12 33 38 ret 34 ;DATA32 ENDS 35 CODE32 ENDS 36 39 ImReallySmall db "I'm really small!",013 40 41 DATA32 ends 42 43 44 END minilx 37 45 endif 46 38 47 39 48 … … 238 247 ImReallySmall db "I'm really small!",013 239 248 240 db '123'249 db 0,0,0 241 250 ;lxdump db 'lxdumplxdumplxdumplxdump' 242 251 ; db 'lxdumplxdumplxdumplxdump' … … 246 255 ALL ENDS 247 256 257 END 248 258 endif 249 259 250 END minilx 251 260 -
branches/mini/src/win32k/test/mini.def
r6520 r6527 1 ;$Id: mini.def,v 1.1.2. 1 2001-08-14 03:31:13bird Exp $1 ;$Id: mini.def,v 1.1.2.2 2001-08-14 19:17:40 bird Exp $ 2 2 NAME '' WINDOWCOMPAT 3 3 STUB NONE 4 5 STACKSIZE 4060 6 7 SEGMENTS 8 'DATA32' class 'CODE' READWRITE PRELOAD -
branches/mini/src/win32k/test/mini.mak
r6521 r6527 1 # $Id: mini.mak,v 1.1.2. 1 2001-08-14 03:32:08bird Exp $1 # $Id: mini.mak,v 1.1.2.2 2001-08-14 19:17:41 bird Exp $ 2 2 3 3 # … … 72 72 # 73 73 !ifdef NORMAL 74 #OBJS = $(OBJDIR)\entry.obj $(OBJS) 74 75 $(OBJDIR)\$(TARGET).exe: $(OBJS) $(DEFFILE) $(OBJDIR)\$(TARGET).lrf 75 -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 76 $(LXLITE) $@ 76 wlink system os2v2 file {$(OBJS)} name $(OBJDIR)\.exe import DosPutMessage MSG.5 \ 77 option offset=0x10000 option alignment=1 option stack=4060 78 mv $(OBJDIR)\.exe $@ 79 # link386 /ALIGNMENT:1 /NONULLSDOSSEG /NOSECTORALIGNCODE /BASE:0x10000 /PACKCODE /PACKDATA \ 80 # $(OBJS), $(OBJDIR)\$(TARGET).exe, $(OBJDIR)\$(TARGET).map, os2386.lib, mini.def; 81 # -8 ilink /NOFREE /FORCE /ALIGNMENT:1 /Map /BASE:0x10000 /PACKCODE /PACKDATA /EXEPACK:1 \ 82 # $(OBJS), $(OBJDIR)\$(TARGET).exe, $(OBJDIR)\$(TARGET).map, os2386.lib, mini.def; 83 $(LXLITE) /AN:1 /ZS:1024 /ZX:1024 /MF3 /YXD /YND $@ 77 84 78 85 !else
Note:
See TracChangeset
for help on using the changeset viewer.