vbemon.bas

VBE virtual mode monitor

Author

Marcel Sondaar

License

Public Domain

Summary
vbemon.basVBE virtual mode monitor
Variables
vmstubcontains the location where the real mode stub is located
Functions
InitializeV8086configures the environment to make Virtual8086 mode bios calls
RunInterruptCalls a VBE interrupt

Variables

vmstub

Dim Shared vmstub As Byte Ptr

contains the location where the real mode stub is located

Functions

InitializeV8086

Function InitializeV8086() As Integer

configures the environment to make Virtual8086 mode bios calls

In

none

Out

return1 on success, 0 if there were problems

RunInterrupt

Function RunInterrupt(ax as integer,
cx as integer,
bx as integer) As Byte

Calls a VBE interrupt

In

axthe value for ax.  Normally this is the function
cxthe value for cx
bxthe value for bx

Out

return1 on success, 0 when a privilege error occurred
Dim Shared vmstub As Byte Ptr
contains the location where the real mode stub is located
Function InitializeV8086() As Integer
configures the environment to make Virtual8086 mode bios calls
Function RunInterrupt(ax as integer,
cx as integer,
bx as integer) As Byte
Calls a VBE interrupt