[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CALL ROMBIOS WITH WORD(<N interrupt>), <C registers>, <N flags>
 Provides access to ROM BIOS function calls.
 <registers> is altered to contain registers, <flags> to contain flags.

 <interrupt> is the decimal number of desired interrupt.
 <registers> is a 32-byte character string containing the desired
             contents of registers AX, BX, CX, DX, SI, DI, DS, ES
             as hexadecimal strings.
 <flags> is a numeric memory variable that is altered to return flags.

 <registers> must contain something for every register in the order:
             AX, BX, CX, DX, SI, DI, DS, ES.  If a register is not
             needed, assign it "0000".  If DS and ES are given "0000",
             it is ignored and their current contents are preserved.

 Does not execute any interrupts lower than INT 16 (10H).

 * Change cursor to full-sized box
 m_ax = "0100"
 m_bx = "0000"
 m_cx = "0012"  && Cursor scan lines 0-18
 m_dx = "0000"
 m_si = "0000"
 m_di = "0000"
 m_ds = "0000"  && Don't care
 m_es = "0000"  && Don't care
 m_regs = m_ax + m_bx + m_cx + m_dx + m_si + m_di + m_ds + m_es
 m_flags = 0
 m_intrpt = 16
 CALL ROMBIOS WITH WORD(m_intrpt), m_regs, m_flags

 Hazard
    Invalid register contents can cause serious errors,
    including computer lock-up and data destruction.
    Be sure to consult a reliable source, such as IBM's or
    Microsoft's DOS technical references, or The Peter Norton
    Programmer's Guide to the IBM-PC.


             Placed in the Public Domain by Tom Rettig Assoc.

See Also: DOSFUNC HEX() PEEK...() POKE...() REG()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson