Dec 052017
Collection of assembly routines made useable for Visual Basic. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
SNOOPER.ZIP | 14489 | 13790 | deflated |
TPCREAD.ME | 199 | 165 | deflated |
TXTALIGN.ZIP | 4579 | 4449 | deflated |
VBASM.DLL | 6656 | 2057 | deflated |
VBASM.TXT | 6587 | 1702 | deflated |
VBASM.WRI | 36992 | 10919 | deflated |
Download File VBASM.ZIP Here
Contents of the VBASM.TXT file
'---------------------------------------------------------------'
' VB-ASM, Version 1.20 '
' Copyright (c) 1994 SoftCircuits Programming '
' Redistributed by Permission. '
' '
' SoftCircuits Programming '
' P.O. Box 16262 '
' Irvine, CA 92713 '
' CompuServe: 72134,263 '
' '
' This program may be used and distributed freely on the '
' condition that it is distributed in full and unchanged, and '
' that no fee is charged for such use and distribution with the '
' exception or reasonable media and shipping charges. '
' '
' You may also incorporate any or all portions of this program, '
' and/or include the VB-ASM DLL, as part of your own programs '
' and distribute such programs without payment of royalties on '
' the condition that such program do not duplicate the overall '
' functionality of VB-ASM and/or any of its demo programs, and '
' that you agree to the following disclaimer. '
' '
' WARNING: Accessing the low-level services of Windows, DOS and '
' the ROM-BIOS using VB-ASM is an extremely powerful technique '
' that, if used incorrectly, can cause possible permanent '
' damage and/or loss of data. You are responsible for '
' determining appropriate use of any and all files included in '
' this package. SoftCircuits will not be held liable for any '
' damages resulting from the use of these files. '
' '
' SOFTCIRCUITS SPECIFICALLY DISCLAIMS ALL WARRANTIES, '
' INCLUDING, WITHOUT LIMITATION, ALL IMPLIED WARRANTIES OF '
' MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND '
' NON-INFRINGEMENT OF THIRD PARTY RIGHTS. '
' '
' UNDER NO CIRCUMSTANCES WILL SOFTCIRCUITS BE LIABLE FOR '
' SPECIAL, INCIDENTAL, CONSEQUENTIAL, INDIRECT, OR ANY OTHER '
' DAMAGES OR CLAIMS ARISING FROM THE USE OF THIS PRODUCT, '
' INCLUDING LOSS OF PROFITS OR ANY OTHER COMMERCIAL DAMAGES, '
' EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH '
' DAMAGES. '
' '
' Please contact SoftCircuits Programming if you have any '
' questions concerning these conditions. '
'---------------------------------------------------------------'
'VB-ASM DLL declarations
Type VBREGS
AX As Integer
BX As Integer
CX As Integer
DX As Integer
BP As Integer
SI As Integer
DI As Integer
Flags As Integer
DS As Integer
ES As Integer
End Type
'VBREGS Flags bit values
Global Const VBFLAGS_CARRY = &h1
Global Const VBFLAGS_PARITY = &h4
Global Const VBFLAGS_AUX = &h10
Global Const VBFLAGS_ZERO = &h40
Global Const VBFLAGS_SIGN = &h80
'vbGetDriveType return values
Global Const VBDRIVE_REMOVABLE = &h1002
Global Const VBDRIVE_FIXED = &h1003
Global Const VBDRIVE_REMOTE = &h1004
Global Const VBDRIVE_CDROM = &h1005
Global Const VBDRIVE_FLOPPY = &h1006
Global Const VBDRIVE_RAMDISK = &h1007
Global Const VBDRIVE_UNKNOWN = &h1010
Global Const VBDRIVE_INVALID = &h0
Declare Function vbGetCtrlHwnd Lib "VBASM.DLL" (Ctrl As Any) As Integer
Declare Function vbGetCtrlModel Lib "VBASM.DLL" (Ctrl As Any) As Long
Declare Function vbGetCtrlName Lib "VBASM.DLL" (Ctrl As Any) As String
Declare Sub vbGetData Lib "VBASM.DLL" (ByVal Pointer As Long, Variable As Any, ByVal nCount As Integer)
Declare Function vbGetDriveType Lib "VBASM.DLL" (ByVal drive As String) As Integer
Declare Function vbGetLongPtr Lib "VBASM.DLL" (nVariable As Any) As Long
Declare Function vbHiByte Lib "VBASM.DLL" (ByVal nValue As Integer) As Integer
Declare Function vbHiWord Lib "VBASM.DLL" (ByVal nValue As Long) As Integer
Declare Function vbInp Lib "VBASM.DLL" (ByVal nPort As Integer) As Integer
Declare Function vbInpw Lib "VBASM.DLL" (ByVal nPort As Integer) As Integer
Declare Sub vbInterrupt Lib "VBASM.DLL" (ByVal IntNum As Integer, InRegs As VBREGS, OutRegs As VBREGS)
Declare Sub vbInterruptX Lib "VBASM.DLL" (ByVal IntNum As Integer, InRegs As VBREGS, OutRegs As VBREGS)
Declare Function vbLoByte Lib "VBASM.DLL" (ByVal nValue As Integer) As Integer
Declare Function vbLoWord Lib "VBASM.DLL" (ByVal nValue As Long) As Integer
Declare Function vbMakeLong Lib "VBASM.DLL" (ByVal nLoWord As Integer, ByVal nHiWord As Integer) As Long
Declare Function vbMakeWord Lib "VBASM.DLL" (ByVal nLoByte As Integer, ByVal nHiByte As Integer) As Integer
Declare Sub vbOut Lib "VBASM.DLL" (ByVal nPort As Integer, ByVal nData As Integer)
Declare Sub vbOutw Lib "VBASM.DLL" (ByVal nPort As Integer, ByVal nData As Integer)
Declare Function vbPeek Lib "VBASM.DLL" (ByVal nSegment As Integer, ByVal nOffset As Integer) As Integer
Declare Function vbPeekw Lib "VBASM.DLL" (ByVal nSegment As Integer, ByVal nOffset As Integer) As Integer
Declare Sub vbPoke Lib "VBASM.DLL" (ByVal nSegment As Integer, ByVal nOffset As Integer, ByVal nValue As Integer)
Declare Sub vbPokew Lib "VBASM.DLL" (ByVal nSegment As Integer, ByVal nOffset As Integer, ByVal nValue As Integer)
Declare Function vbRealModeIntX Lib "VBASM.DLL" (ByVal IntNum As Integer, InRegs As VBREGS, OutRegs As VBREGS) As Integer
Declare Function vbRecreateCtrl Lib "VBASM.DLL" (Ctrl As Any) As Integer
Declare Function vbSAdd Lib "VBASM.DLL" (Variable As String) As Integer
Declare Sub vbSetData Lib "VBASM.DLL" (ByVal Pointer As Long, Variable As Any, ByVal nCount As Integer)
Declare Function vbShiftLeft Lib "VBASM.DLL" (ByVal nValue As Integer, ByVal nBits As Integer) As Integer
Declare Function vbShiftRight Lib "VBASM.DLL" (ByVal nValue As Integer, ByVal nBits As Integer) As Integer
Declare Function vbSSeg Lib "VBASM.DLL" (Variable As String) As Integer
Declare Function vbVarPtr Lib "VBASM.DLL" (Variable As Any) As Integer
Declare Function vbVarSeg Lib "VBASM.DLL" (Variable As Any) As Integer
' VB-ASM, Version 1.20 '
' Copyright (c) 1994 SoftCircuits Programming '
' Redistributed by Permission. '
' '
' SoftCircuits Programming '
' P.O. Box 16262 '
' Irvine, CA 92713 '
' CompuServe: 72134,263 '
' '
' This program may be used and distributed freely on the '
' condition that it is distributed in full and unchanged, and '
' that no fee is charged for such use and distribution with the '
' exception or reasonable media and shipping charges. '
' '
' You may also incorporate any or all portions of this program, '
' and/or include the VB-ASM DLL, as part of your own programs '
' and distribute such programs without payment of royalties on '
' the condition that such program do not duplicate the overall '
' functionality of VB-ASM and/or any of its demo programs, and '
' that you agree to the following disclaimer. '
' '
' WARNING: Accessing the low-level services of Windows, DOS and '
' the ROM-BIOS using VB-ASM is an extremely powerful technique '
' that, if used incorrectly, can cause possible permanent '
' damage and/or loss of data. You are responsible for '
' determining appropriate use of any and all files included in '
' this package. SoftCircuits will not be held liable for any '
' damages resulting from the use of these files. '
' '
' SOFTCIRCUITS SPECIFICALLY DISCLAIMS ALL WARRANTIES, '
' INCLUDING, WITHOUT LIMITATION, ALL IMPLIED WARRANTIES OF '
' MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND '
' NON-INFRINGEMENT OF THIRD PARTY RIGHTS. '
' '
' UNDER NO CIRCUMSTANCES WILL SOFTCIRCUITS BE LIABLE FOR '
' SPECIAL, INCIDENTAL, CONSEQUENTIAL, INDIRECT, OR ANY OTHER '
' DAMAGES OR CLAIMS ARISING FROM THE USE OF THIS PRODUCT, '
' INCLUDING LOSS OF PROFITS OR ANY OTHER COMMERCIAL DAMAGES, '
' EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH '
' DAMAGES. '
' '
' Please contact SoftCircuits Programming if you have any '
' questions concerning these conditions. '
'---------------------------------------------------------------'
'VB-ASM DLL declarations
Type VBREGS
AX As Integer
BX As Integer
CX As Integer
DX As Integer
BP As Integer
SI As Integer
DI As Integer
Flags As Integer
DS As Integer
ES As Integer
End Type
'VBREGS Flags bit values
Global Const VBFLAGS_CARRY = &h1
Global Const VBFLAGS_PARITY = &h4
Global Const VBFLAGS_AUX = &h10
Global Const VBFLAGS_ZERO = &h40
Global Const VBFLAGS_SIGN = &h80
'vbGetDriveType return values
Global Const VBDRIVE_REMOVABLE = &h1002
Global Const VBDRIVE_FIXED = &h1003
Global Const VBDRIVE_REMOTE = &h1004
Global Const VBDRIVE_CDROM = &h1005
Global Const VBDRIVE_FLOPPY = &h1006
Global Const VBDRIVE_RAMDISK = &h1007
Global Const VBDRIVE_UNKNOWN = &h1010
Global Const VBDRIVE_INVALID = &h0
Declare Function vbGetCtrlHwnd Lib "VBASM.DLL" (Ctrl As Any) As Integer
Declare Function vbGetCtrlModel Lib "VBASM.DLL" (Ctrl As Any) As Long
Declare Function vbGetCtrlName Lib "VBASM.DLL" (Ctrl As Any) As String
Declare Sub vbGetData Lib "VBASM.DLL" (ByVal Pointer As Long, Variable As Any, ByVal nCount As Integer)
Declare Function vbGetDriveType Lib "VBASM.DLL" (ByVal drive As String) As Integer
Declare Function vbGetLongPtr Lib "VBASM.DLL" (nVariable As Any) As Long
Declare Function vbHiByte Lib "VBASM.DLL" (ByVal nValue As Integer) As Integer
Declare Function vbHiWord Lib "VBASM.DLL" (ByVal nValue As Long) As Integer
Declare Function vbInp Lib "VBASM.DLL" (ByVal nPort As Integer) As Integer
Declare Function vbInpw Lib "VBASM.DLL" (ByVal nPort As Integer) As Integer
Declare Sub vbInterrupt Lib "VBASM.DLL" (ByVal IntNum As Integer, InRegs As VBREGS, OutRegs As VBREGS)
Declare Sub vbInterruptX Lib "VBASM.DLL" (ByVal IntNum As Integer, InRegs As VBREGS, OutRegs As VBREGS)
Declare Function vbLoByte Lib "VBASM.DLL" (ByVal nValue As Integer) As Integer
Declare Function vbLoWord Lib "VBASM.DLL" (ByVal nValue As Long) As Integer
Declare Function vbMakeLong Lib "VBASM.DLL" (ByVal nLoWord As Integer, ByVal nHiWord As Integer) As Long
Declare Function vbMakeWord Lib "VBASM.DLL" (ByVal nLoByte As Integer, ByVal nHiByte As Integer) As Integer
Declare Sub vbOut Lib "VBASM.DLL" (ByVal nPort As Integer, ByVal nData As Integer)
Declare Sub vbOutw Lib "VBASM.DLL" (ByVal nPort As Integer, ByVal nData As Integer)
Declare Function vbPeek Lib "VBASM.DLL" (ByVal nSegment As Integer, ByVal nOffset As Integer) As Integer
Declare Function vbPeekw Lib "VBASM.DLL" (ByVal nSegment As Integer, ByVal nOffset As Integer) As Integer
Declare Sub vbPoke Lib "VBASM.DLL" (ByVal nSegment As Integer, ByVal nOffset As Integer, ByVal nValue As Integer)
Declare Sub vbPokew Lib "VBASM.DLL" (ByVal nSegment As Integer, ByVal nOffset As Integer, ByVal nValue As Integer)
Declare Function vbRealModeIntX Lib "VBASM.DLL" (ByVal IntNum As Integer, InRegs As VBREGS, OutRegs As VBREGS) As Integer
Declare Function vbRecreateCtrl Lib "VBASM.DLL" (Ctrl As Any) As Integer
Declare Function vbSAdd Lib "VBASM.DLL" (Variable As String) As Integer
Declare Sub vbSetData Lib "VBASM.DLL" (ByVal Pointer As Long, Variable As Any, ByVal nCount As Integer)
Declare Function vbShiftLeft Lib "VBASM.DLL" (ByVal nValue As Integer, ByVal nBits As Integer) As Integer
Declare Function vbShiftRight Lib "VBASM.DLL" (ByVal nValue As Integer, ByVal nBits As Integer) As Integer
Declare Function vbSSeg Lib "VBASM.DLL" (Variable As String) As Integer
Declare Function vbVarPtr Lib "VBASM.DLL" (Variable As Any) As Integer
Declare Function vbVarSeg Lib "VBASM.DLL" (Variable As Any) As Integer
December 5, 2017
Add comments