#include <ovbr.h>
Static Public Member Functions | |
| long * | address (void) |
| Return internal address where VBR is located. | |
| int | openvector (void) |
| Return next free user vector location. | |
| int | vector (void) |
| Return last vector used. | |
console.echo("freevector=",_vbr.openvector()); // increments to next free vector (wasted)--not what you wanted! *(long*)(_vbr.address()+_vbr.openvector()) = (long)event_int; // ...
2.4.2 332Bug Exception Vectors
The debugger exception vectors are listed below. Do not change these specified vector offsets in the target program vector
table or the associated debugger facilities (breakpoints, trace mode, etc) will not operate.
TABLE 2-2. 332Bug Exception Vectors
VECTOR NUMBER OFFSET EXCEPTION 332Bug FACILITY
4 $10 Illegal Instruction breakpoints (Used
instruction by GO, GN, GT)
9 $24 Trace T, TC, TT
31 $7C Level 7 interrupt ABORT pushbutton
47 $BC TRAP #15 System calls (see Chapter 5)
66 $108 User Defined Timer Trap #15 Calls ($4X)
oSchedule() { // ... VBR _vbr; _Evector = _vbr.openvector(); // get next free vector for oSchedule address. // Inizialize periodic timer for Event_Int interrupt // NOTE: ver 1.4 address returns long* not int *(long*)(_vbr.address()+_Evector) = (long)event_int; // ... }
1.3