3
"$Header: d:/cvsroot/tads/TADS2/msdos/OS0TR.C,v 1.2 1999/05/17 02:52:18 MJRoberts Exp $";
7
* Copyright (c) 1992, 2002 Michael J. Roberts. All Rights Reserved.
9
* Please see the accompanying license file, LICENSE.TXT, for information
10
* on using and copying this software.
14
os0tr.c - os mainline for tads2 run-time
16
invokes runtime from operating system command line
20
04/04/92 MJRoberts - creation
37
config_name = "config.tr";
40
/* config_name = "config16.tr"; */
43
/* scan for a "-plain" option */
46
for (i = 1 ; i < argc ; ++i)
48
if (!strcmp(argv[i], "-plain"))
53
/* run OS initialization */
54
os_init(&argc, argv, (char *)0, (char *)0, 0);
56
/* install the break handler */
59
/* call the main routine */
60
err = os0main2(argc, argv, trdmain, "", config_name, 0);
62
/* remove the break handler */
65
/* uninitialize the OS layer */