×
Menu
Index

DIRECTVIDEO Subroutine

 
Usage:
DIRECTVIDEO([n])
 
Description:
This subroutine is used to set the DOS environment to either write directly to video memory or to use the BIOS.
By default direct video mode is enabled as it’s much faster.
If you have a need to use BIOS video then use this subroutine to turn off direct video mode. This subroutine was added in TBSVER 4.
 
Example:
sub main()
   directvideo(0) // turn off
   directvideo()  // turn on
   directvideo(1) // turn on
end sub