Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfmakeregs()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfMakeRegs()
Prepares the array of registers for the dfInt86  function
------------------------------------------------------------------------------
Syntax:

     dfMakeRegs() --><aRegs>

Parameters:

     NIL

Returns:

     <aRegs> Array of the registers to display

Description:

     Permits to prepare a array of registers that will be used by the
     dfInt86 function

Example:

     # include "dfInt86.ch"
     
     //  Prepares a structure of registers
     LOCAL aRegs:= dfmakeregs()
     
     // Set the registers
     aRegs AX:= dfHex2Dec( "F398")
     
     // Controls if the Norton Guides are installed
     // in memory.  To  verify this
     // control the AX REGISTER
     // containing the value" 6A73," in character "js,"
     // like the author of the Norton Guides John Socha,
     // validate the control
     dfInt86(dfHex2Dec(" 16") , aRegs)
     
     IF aRegs AX== dfHex2Dec(" 6A73")
        dbMsgErr( "Remove the NG to increase the"+;
                  "available memory")
     ENDIF

See also:

     dfint86()

See Also: dfint86()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson