source: trunk/kLdr/kLdrExeStub-os2.asm@ 2884

Last change on this file since 2884 was 2884, checked in by bird, 19 years ago

buildable.

  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[2834]1; $Id: kLdrExeStub-os2.asm 2884 2006-11-18 12:55:48Z bird $
[2821]2;; @file
3;
4; kLdr - OS/2 Loader Stub.
5;
6; This file contains a 64kb code/data/stack segment which is used to kick off
7; the loader dll that loads the process.
8;
9; Copyright (c) 2006 Knut St. Osmundsen <[email protected]>
10;
11; GPL
12;
13
14struc KLDRARGS
[2884]15 .fFlags resd 1
16 .enmSearch resd 1
[2821]17 .szExecutable resb 260
[2884]18 .szDefPrefix resb 16
19 .szDefSuffix resb 16
20 .szLibPath resb (4096 - (4 + 4 + 16 + 16 + 260))
[2821]21endstruc
22
[2884]23extern _kLdrDyldLoadExe
[2821]24
25
26segment DATA32 stack CLASS=DATA align=16 use32
27..start:
28 push args
[2884]29 jmp _kLdrDyldLoadExe
[2821]30
31;
32; Argument structure.