Rev 298 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 298 | Rev 333 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | //----------------------------------------------------------------------------- |
22 | //----------------------------------------------------------------------------- |
Line 23... | Line 23... | ||
23 | 23 | ||
24 | static const char |
24 | static const char |
Line 25... | Line -... | ||
25 | rcsid[] = "$Id: i_main.c,v 1.4 1997/02/03 22:45:10 b1 Exp $"; |
- | |
26 | - | ||
27 | - | ||
28 | //#include "SDL.h" |
25 | rcsid[] = "$Id: i_main.c,v 1.4 1997/02/03 22:45:10 b1 Exp $"; |
Line 29... | Line 26... | ||
29 | 26 | ||
30 | #include "doomdef.h" |
27 | #include "doomdef.h" |
- | 28 | ||
Line 31... | Line -... | ||
31 | - | ||
32 | #include "m_argv.h" |
29 | #include "m_argv.h" |
33 | #include "d_main.h" |
30 | #include "d_main.h" |
34 | 31 | #include "kolibri.h" |
|
35 | int |
32 | |
36 | main( int argc, char** argv) |
33 | int main(int argc, char **argv) |
37 | { |
34 | { |
38 | static char * tmp[]= |
35 | // static char * tmp[]= |
Line 39... | Line 36... | ||
39 | {"/hd/1/menuetos/doom/mdoom", |
36 | // {"/hd/1/menuetos/doom/mdoom", |
- | 37 | // NULL}; |
|
- | 38 | myargc = 1; |
|
- | 39 | myargv = argv; |
|
- | 40 | ||
- | 41 | // InitHeap(32*1024*1024); |
|
- | 42 | _asm |
|
- | 43 | { |
|
- | 44 | push ebx |
|
- | 45 | push ecx |
|
- | 46 | mov eax, 66 |
|
- | 47 | mov ebx, 1 |
|
Line 40... | Line 48... | ||
40 | NULL}; |
48 | mov ecx, 1 |
Line 41... | Line 49... | ||
41 | myargc = 1; |
49 | int 0x40 |
42 | myargv = tmp; |
50 | pop ecx |