@@ -95,10 +95,10 @@ void __dos_Boot(struct DosLibrary *DOSBase, ULONG BootFlags, UBYTE Flags)
9595 * In fact the system must have at least one resident driver,
9696 * which will be used for bootmenu etc. However, it we somehow happen
9797 * not to have it, this will be our last chance.
98- */
98+
9999 if ((BootFlags & (BF_NO_DISPLAY_DRIVERS | BF_NO_COMPOSITION)) != (BF_NO_DISPLAY_DRIVERS | BF_NO_COMPOSITION))
100100 {
101- /* Check that it exists first... */
101+ // Check that it exists first...
102102 BPTR seg;
103103
104104 DD(bug("[DOS] %s: initialising displays\n", __func__);)
@@ -108,30 +108,26 @@ void __dos_Boot(struct DosLibrary *DOSBase, ULONG BootFlags, UBYTE Flags)
108108 STRPTR args = "";
109109 BPTR oldin, oldout;
110110
111- /*
112- * Argument strings MUST contain terminating LF because of ReadItem() bugs.
113- * Their absence causes ReadArgs() crash.
114- */
111+ // Argument strings MUST contain terminating LF because of ReadItem() bugs.
112+ // Their absence causes ReadArgs() crash.
115113 if (BootFlags & BF_NO_COMPOSITION)
116114 args = "NOCOMPOSITION\n";
117115 else if (BootFlags & BF_NO_DISPLAY_DRIVERS)
118116 args = "ONLYCOMPOSITION\n";
119117
120118 DD(bug("[DOS] %s: Running AROSMonDrvs %s\n", __func__, args);)
121119
122- /* RunCommand needs a valid Input() handle
123- * for passing in its arguments.
124- */
120+ // RunCommand needs a valid Input() handle for passing in its arguments.
125121 oldin = SelectInput(Open("NIL:", MODE_OLDFILE));
126122 oldout= SelectOutput(Open("NIL:", MODE_NEWFILE));
127123 RunCommand(seg, AROS_STACKSIZE, args, strlen(args));
128124 SelectInput(oldin);
129125 SelectOutput(oldout);
130126
131- /* We don't care about the return code */
127+ // We don't care about the return code
132128 UnLoadSeg(seg);
133129 }
134- }
130+ } */
135131
136132 DD (bug ("[DOS] %s: preparing console\n" , __func__ );)
137133
0 commit comments