Skip to content

Commit a881579

Browse files
committed
Disabled AROSMonDrvs from ROM
1 parent 13d4c99 commit a881579

6 files changed

Lines changed: 25 additions & 17 deletions

File tree

arch/m68k-amiga/boot/romlog.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Idx Name Size VMA LMA File off Algn
2-
0 .rom 00078354 00f80000 00f80000 0007c000 2**2
3-
1 .ext 00078c92 00e00000 00e00000 00002000 2**2
2+
0 .rom 0007805c 00f80000 00f80000 0007c000 2**2
3+
1 .ext 00078c96 00e00000 00e00000 00002000 2**2

rom/bootloader/bootloader_intern.h

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright © 1995-2010, The AROS Development Team. All rights reserved.
2+
Copyright 1995-2010, The AROS Development Team. All rights reserved.
33
$Id$
44
55
Internal data structures for bootloader.resource
@@ -35,4 +35,16 @@ struct BootLoaderBase
3535
#define BL_FLAGS_CMDLINE 0x01
3636
#define BL_FLAGS_DRIVES 0x02
3737

38+
#if APOLLO_DEBUG
39+
#define DEBUG 1
40+
#else
41+
#define DEBUG 0
42+
#endif
43+
44+
#if DEBUG
45+
#define D(x) x
46+
#else
47+
#define D(x)
48+
#endif
49+
3850
#endif //BOOTLOADER_INTERN_H

rom/dos/boot.c

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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

rom/dos/dos_intern.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "fs_driver.h"
2323

2424
#if APOLLO_DEBUG
25-
#define DEBUG 0
25+
#define DEBUG 1
2626
#else
2727
#define DEBUG 0
2828
#endif

workbench/network/stacks/AROSTCP/bsdsocket/conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ extern struct ExecBase *SysBase;
216216
#include <stddef.h>
217217

218218
#if APOLLO_DEBUG
219-
#define DEBUG 0
219+
#define DEBUG 1
220220
#else
221221
#define DEBUG 0
222222
#endif

workbench/network/stacks/AROSTCP/bsdsocket/net/if_sana.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ D(bug("[ATCP-SANA] sana_up('%s%d')\n", ssc->ss_if.if_name, ssc->ss_if.if_unit));
777777
sana2perror("S2_ONLINE", req);
778778
gui_set_interface_state(&ssc->ss_if, MIAMIPANELV_AddInterface_State_Offline);
779779
} else {
780-
//__log(LOG_NOTICE, "%s%d is now online.", ssc->ss_name, ssc->ss_if.if_unit);
780+
DSANA(__log(LOG_NOTICE, "%s%d is now online.", ssc->ss_name, ssc->ss_if.if_unit));
781781
sana_restore(ssc);
782782
}
783783
DeleteIOSana2Req(req);

0 commit comments

Comments
 (0)