31.01.2013 Views

using the bootstrap loader

using the bootstrap loader

using the bootstrap loader

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.3.4 %AGAIN Macro<br />

CONFIGURING THE FIRST STAGE<br />

The %AGAIN macro causes <strong>the</strong> <strong>bootstrap</strong> loading sequence to return to <strong>the</strong> beginning of<br />

<strong>the</strong> first stage whenever a <strong>bootstrap</strong> loading error occurs. You should include this macro if<br />

you include <strong>the</strong> %CONSOLE macro in <strong>the</strong> BSERR.A86 file, ei<strong>the</strong>r directly or by including<br />

<strong>the</strong> %TEXT or %LIST macro.<br />

The syntax of <strong>the</strong> %AGAIN macro is<br />

%AGAIN<br />

Exactly one of <strong>the</strong> %AGAIN, %INT1, %INTI, and %HALT macros must be included, or<br />

an error will occur when BSERR.A86 is assembled.<br />

3.3.5 %INT1 Macro<br />

The %INTl macro causes <strong>the</strong> Bootstrap Loader to execute an INT 1 (software interrupt)<br />

instruction whenever a <strong>bootstrap</strong> loading error occurs. This macro useful for passing<br />

control to <strong>the</strong> D-MON386 monitor. The iSDM monitor does not support this macro.<br />

The syntax of <strong>the</strong> %INTl macro is<br />

%INTl<br />

There are no parameters associated with this macro.<br />

Exactly one of <strong>the</strong> %AGAIN, %INT1, %INTI, and %HALT macros must be included, or<br />

an error will occur when BSERR.A86 is assembled.<br />

3.3.6 %INT3 Macro<br />

The %INTI macro causes <strong>the</strong> Bootstrap Loader to execute an INT 3 (software interrupt)<br />

instruction whenever a <strong>bootstrap</strong> loading error occurs. If you are <strong>using</strong> <strong>the</strong> iSDM monitor,<br />

<strong>the</strong> INT 3 instruction passes control to <strong>the</strong> monitor. O<strong>the</strong>rwise, <strong>the</strong> INT 3 instruction has<br />

no effect unless you have placed <strong>the</strong> address of your custom interrupt handler in position 3<br />

of <strong>the</strong> interrupt vector table.<br />

The syntax of <strong>the</strong> %INTI macro is<br />

% INTI<br />

There are no parameters associated with this macro.<br />

Exactly one of <strong>the</strong> %AGAIN, %INT1, %INTI, and %HALT macros must be included, or<br />

an error will occur when BSERR.A86 is assembled.<br />

Bootstrap Loader 3-31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!