以下摘于 TP7 的 HELP,至于那两个单元,没有源码,只有 INT 文件,
如果需要,留下邮箱,把 TP7 整个发给你。。
Inline statements and directives allow you to insert machine code
instructions directly into the code of a program or unit.
Syntax:
inline ( data / data / ... data )
Remarks:
When used as a statement, the inline data elements are inserted directly in
the code.
When used as a directive in a procedure or a function declaration, the
inline data elements are inserted in the code each time the procedure or
function is called.
==========================================================================
Lo (function)
Returns the low-order Byte of the argument.
Declaration:
function Lo(X): Byte;
Target:
Windows, Real, Protected
Remarks:
X is an expression of type Integer or Word. Lo returns the low-order byte of
X as an unsigned value.
==========================================================================
SetIntVec (procedure) (Dos unit and WinDos unit)
Sets a specified interrupt vector to a specified address.
Declaration:
procedure SetIntVec(IntNo: Byte
Vector: Pointer);
Target:
Windows
Remarks:
IntNo specifies the interrupt vector number (0..255), and Vector specifies
the address.
Vector is often constructed with the @ operator to produce the address of an
inter-rupt procedure. Assuming Int1BSave is a variable of type Pointer, and
Int1BHandler is an interrupt procedure identifier, the following statement
sequence installs a new interrupt $1B handler and later restores the
original handler: