Skip to content

Commit 78ab29a

Browse files
committed
ApolloOS R9.5 Release
1 parent 24da510 commit 78ab29a

File tree

20 files changed

+78
-54
lines changed

20 files changed

+78
-54
lines changed

arch/m68k-amiga/boot/debug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ int DebugMayGetChar(void)
5151
return c;
5252
}
5353

54-
#if APOLLO_DEBUG2
54+
#if APOLLO_DEBUG
5555

5656
void DebugPutStr(register const char *buff)
5757
{

arch/m68k-amiga/boot/debug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void DebugInit(void);
1818
int DebugPutChar(register int chr);
1919
int DebugMayGetChar(void);
2020

21-
#if APOLLO_DEBUG2
21+
#if APOLLO_DEBUG
2222
void DebugPutStr(register const char *buff);
2323
void DebugPutHex(const char *what, ULONG val);
2424
void DebugPutDec(const char *what, ULONG val);

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 00077adc 00f80000 00f80000 0007c000 2**2
3-
1 .ext 000783ea 00e00000 00e00000 00002000 2**2
2+
0 .rom 0007e5f4 00f80000 00f80000 00082000 2**2
3+
1 .ext 0007eba6 00e00000 00e00000 00002000 2**2

arch/m68k-amiga/devs/sagasd/sagasd_device.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,8 @@ static void SAGASD_IOTask(struct Library *SysBase)
749749
BOOL sdpin = FALSE;
750750
ULONG detectcounter = 0;
751751

752+
if (sdu->sdu_SDCmd.unitnumber > 0) sdpin = TRUE; //hardware pin enable for SD-Cards Slots #1 and higher
753+
752754
debug("Starting SAGASD_IOTask");
753755

754756
status.mn_Length = 1; // Failed?

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8942,7 +8942,7 @@ aros_cxx_libs=
89428942
aros_target_genmap="-Wl,-Map -Xlinker"
89438943

89448944
# Native flavour stuff
8945-
apollo_debug="0"
8945+
# apollo_debug="1"
89468946

89478947
# Palm native flavour stuff
89488948
aros_palm_debug_hack="0"
@@ -16665,9 +16665,9 @@ printf %s "checking whether serial debug is enabled... " >&6; }
1666516665
# Check whether --with-serial-debug was given.
1666616666
if test ${with_serial_debug+y}
1666716667
then :
16668-
withval=$with_serial_debug; serial_debug=$withval
16668+
serial_debug="yes"
1666916669
else $as_nop
16670-
serial_debug=none
16670+
serial_debug="no"
1667116671
fi
1667216672

1667316673
if test "$serial_debug" = "yes" ; then

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3000,7 +3000,7 @@ fi
30003000

30013001
dnl See if the user wants the serial debug output for native flavour
30023002
AC_MSG_CHECKING([whether serial debug is enabled])
3003-
AC_ARG_WITH(serial-debug,AC_HELP_STRING([--with-serialdebug],[Enable serial debug output in native (default=no)]),serial_debug=$withval,serial_debug=none)
3003+
AC_ARG_WITH(serial-debug,AC_HELP_STRING([--with-serialdebug],[Enable serial debug output in native (default=no)]),serial_debug="yes",serial_debug="no")
30043004

30053005
if test "$serial_debug" = "yes" ; then
30063006
apollo_serial_debug="1"

rebuild_all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ then
1919
echo "Options are:"
2020
echo "-h prints this help text"
2121
echo "--with-nonvampire-support building for non-vampire platforms"
22-
echo "--with-serialdebug for enabling serial debug output"
22+
echo "--with-serial-debug for enabling serial debug output"
2323
exit
2424
fi
2525

rom/dos/boot.c

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ extern char *generate_banner(void);
3939

4040
#include <proto/intuition.h>
4141

42-
#define DEBUG 1
43-
4442
static void load_system_configuration(struct DosLibrary *DOSBase)
4543
{
4644
BPTR fh;
@@ -76,7 +74,7 @@ void __dos_Boot(struct DosLibrary *DOSBase, ULONG BootFlags, UBYTE Flags)
7674
/* We have been created as a process by DOS, we should now
7775
try and boot the system. */
7876

79-
D(
77+
DD(
8078
bug("[DOS] %s: ** boot delayed by 1000ms\n", __func__);
8179
bug("[DOS] %s: ** starting generic boot sequence\n", __func__);
8280
bug("[DOS] %s: BootFlags 0x%08X Flags 0x%02X\n", __func__, BootFlags, Flags);
@@ -90,7 +88,7 @@ void __dos_Boot(struct DosLibrary *DOSBase, ULONG BootFlags, UBYTE Flags)
9088
*/
9189
load_system_configuration(DOSBase);
9290

93-
D(bug("[DOS] %s: system config loaded\n", __func__);)
91+
DD(bug("[DOS] %s: system config loaded\n", __func__);)
9492

9593
/*
9694
* If needed, run the display drivers loader.
@@ -103,7 +101,7 @@ void __dos_Boot(struct DosLibrary *DOSBase, ULONG BootFlags, UBYTE Flags)
103101
/* Check that it exists first... */
104102
BPTR seg;
105103

106-
D(bug("[DOS] %s: initialising displays\n", __func__);)
104+
DD(bug("[DOS] %s: initialising displays\n", __func__);)
107105

108106
if ((seg = LoadSeg("C:AROSMonDrvs")) != BNULL)
109107
{
@@ -119,7 +117,7 @@ void __dos_Boot(struct DosLibrary *DOSBase, ULONG BootFlags, UBYTE Flags)
119117
else if (BootFlags & BF_NO_DISPLAY_DRIVERS)
120118
args = "ONLYCOMPOSITION\n";
121119

122-
D(bug("[DOS] %s: Running AROSMonDrvs %s\n", __func__, args);)
120+
DD(bug("[DOS] %s: Running AROSMonDrvs %s\n", __func__, args);)
123121

124122
/* RunCommand needs a valid Input() handle
125123
* for passing in its arguments.
@@ -135,10 +133,10 @@ void __dos_Boot(struct DosLibrary *DOSBase, ULONG BootFlags, UBYTE Flags)
135133
}
136134
}
137135

138-
D(bug("[DOS] %s: preparing console\n", __func__);)
136+
DD(bug("[DOS] %s: preparing console\n", __func__);)
139137

140138
if (BootFlags & BF_EMERGENCY_CONSOLE) {
141-
D(bug("[DOS] %s: (emergency console)\n", __func__);)
139+
DD(bug("[DOS] %s: (emergency console)\n", __func__);)
142140
BootFlags |= BF_NO_STARTUP_SEQUENCE;
143141
cis = Open("ECON:", MODE_OLDFILE);
144142
}
@@ -155,7 +153,7 @@ void __dos_Boot(struct DosLibrary *DOSBase, ULONG BootFlags, UBYTE Flags)
155153
BPTR cos = OpenFromLock(DupLockFromFH(cis));
156154
BYTE *C = generate_banner();
157155

158-
D(bug("[DOS] %s: handle @ 0x%p (0x%p)\n", __func__, cis, cos);)
156+
DD(bug("[DOS] %s: handle @ 0x%p (0x%p)\n", __func__, cis, cos);)
159157

160158
if (cos) {
161159
BPTR cas = BNULL;
@@ -173,7 +171,7 @@ void __dos_Boot(struct DosLibrary *DOSBase, ULONG BootFlags, UBYTE Flags)
173171
FPuts(cos, C);
174172
}
175173

176-
D(bug("[DOS] %s: initialising CLI\n", __func__);)
174+
DD(bug("[DOS] %s: initialising CLI\n", __func__);)
177175

178176
if (SystemTags(NULL,
179177
NP_Name, "Initial CLI",
@@ -183,7 +181,7 @@ void __dos_Boot(struct DosLibrary *DOSBase, ULONG BootFlags, UBYTE Flags)
183181
SYS_Output, cos,
184182
SYS_ScriptInput, cas,
185183
TAG_END) == -1) {
186-
D(bug("[DOS] %s: .. failed!\n", __func__);)
184+
DD(bug("[DOS] %s: .. failed!\n", __func__);)
187185
Alert(AT_DeadEnd | AN_BootStrap);
188186
}
189187

@@ -203,7 +201,7 @@ void __dos_Boot(struct DosLibrary *DOSBase, ULONG BootFlags, UBYTE Flags)
203201
}
204202
FreeVec(C);
205203
} else {
206-
D(bug("[DOS] %s: .. failed!\n", __func__);)
204+
DD(bug("[DOS] %s: .. failed!\n", __func__);)
207205
Alert(AN_NoWindow);
208206
}
209207
}

rom/dos/dos_intern.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
#endif
2929

3030
#if DEBUG
31-
#define D(x) x
32-
#define DD(x)
31+
#define DD(x) x
32+
#define D(x)
3333
#define bug kprintf
3434
#else
3535
#define D(x)

rom/dosboot/bootanim.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
#include <proto/graphics.h>
1515

1616
#include "dosboot_intern.h"
17-
//#include "nomedia_image.h"
17+
#include "nomedia_image.h"
1818
#include "nomedia_anim.h"
1919

20-
/*
20+
2121

2222
struct AnimData
2323
{
@@ -131,4 +131,3 @@ void anim_Stop(struct DOSBootBase *DOSBootBase)
131131
}
132132
}
133133

134-
*/

0 commit comments

Comments
 (0)