using the bootstrap loader
using the bootstrap loader
using the bootstrap loader
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
7.1 INTRODUCTION<br />
ERROR HANDLING 7<br />
If <strong>the</strong> <strong>bootstrap</strong> loading process is unsuccessful, <strong>the</strong> Bootstrap Loader initiates errorhandling<br />
procedures. Notification of failures occurring during <strong>the</strong> loading process depends<br />
on <strong>the</strong> configuration of <strong>the</strong> first and third stages. This chapter describes <strong>the</strong> Bootstrap<br />
Loader's error handling facilities.<br />
7.2 ANALVZING BOOTSTRAP LOADER FAILURES<br />
The Bootstrap Loader can display messages at <strong>the</strong> terminal when <strong>bootstrap</strong> loading is<br />
unsuccessful. As discussed in Chapter 3, <strong>the</strong> %CONSOLE, %TEXT, and %LIST macros<br />
in <strong>the</strong> BSERR.A86 file determine if messages are displayed when errors occur during <strong>the</strong><br />
first and second stages, how detailed <strong>the</strong> messages are, and under what circumstances <strong>the</strong>y<br />
are displayed. As Chapter 4 explains, <strong>the</strong> third stage automatically determines if a monitor<br />
is present, and if so, displays error messages at <strong>the</strong> terminal regardless of <strong>the</strong> first stage<br />
configuration.<br />
The following sections describe what happens when a <strong>bootstrap</strong> loading error occurs and<br />
how to analyze <strong>the</strong> error. There are two situations described: error analysis when messages<br />
are displayed, and error analysis when no messages are displayed.<br />
7.2.1 Actions Taken by <strong>the</strong> Bootstrap Loader After an Error<br />
After responding to an error by pushing a word onto <strong>the</strong> stack and optionally displaying a<br />
message, <strong>the</strong> Bootstrap Loader ei<strong>the</strong>r tries again, passes control to a monitor, or halts. If<br />
<strong>the</strong> error is detected in <strong>the</strong> first or second stage, <strong>the</strong> action taken depends on whe<strong>the</strong>r your<br />
BSERR.A86 file contains an %AGAIN, %INTl, %INTI, or %HALT macro. If <strong>the</strong> error<br />
is detected in <strong>the</strong> third stage, <strong>the</strong> action taken depends on whe<strong>the</strong>r your third stage<br />
configuration file contains an %INTl, %INTI, or %HALT macro.<br />
Bootstrap Loader 7-1