Debian Codegraph @

terps/tads/tads2/msdos/os0td.c

raw symbols SCIP
1 #ifdef RCSID
2 static char RCSid[] =
3 "$Header: d:/cvsroot/tads/TADS2/msdos/OS0TD.C,v 1.2 1999/05/17 02:52:18 MJRoberts Exp $";
4 #endif
5
6 /*
7 * Copyright (c) 1992, 2002 Michael J. Roberts. All Rights Reserved.
8 *
9 * Please see the accompanying license file, LICENSE.TXT, for information
10 * on using and copying this software.
11 */
12 /*
13 Name
14 os0td.c - os mainline for tads2 debugger
15 Function
16 invokes debugger from operating system command line
17 Notes
18 none
19 Modified
20 04/04/92 MJRoberts - creation
21 */
22
23 #include "os.h"
24 #ifdef __DPMI16__
25 #include "ltk.h"
26 #endif
27 #include "trd.h"
28
29 int main(argc, argv)
30 int argc;
31 char *argv[];
32 {
33 int err;
34 char *config_name;
35
36 config_name = "config.tdb";
37 #ifdef __DPMI16__
38 ltkini(16384);
39 /*config_name = "config16.tdb";*/
40 #else
41 #endif
42
43 os_init(&argc, argv, (char *)0, (char *)0, 0);
44 os_instbrk(1);
45 err = os0main2(argc, argv, tddmain, "i", config_name, 0);
46 os_instbrk(0);
47 os_uninit();
48
49 return err;
50 }
51