FullScreen-parameter of SCREEN-statement ignored

DOS specific questions.
Post Reply
BasicJan
Posts: 46
Joined: Aug 30, 2005 20:09
Location: Netherlands

FullScreen-parameter of SCREEN-statement ignored

Post by BasicJan »

The last parameter of the SCREEN-statement indicates wether or not the full-screen mode or a windowed mode should be used.

If the statement is not used, the program is run in windowed-mode.

If the statement is used, the program switches to full-screen mode, independent from the FullScreen-parameter.

This problem only occurs in the DOS-version of FreeBasic. The Windows-version works correct.
Antoni
Posts: 1393
Joined: May 27, 2005 15:40
Location: Barcelona, Spain

Post by Antoni »

True DOS is ALWAYS fullscreen....

The problem you report occurs when you run FB DOS programs in a Windows ' DOS Box. Unfortunately you can't switch to fullscreen from a DOS program because that switching occurs outside the DOS enviroment. The same occurs in QB programs.

The solution is to require the fullscreen mode in the shortcut to the program.
1000101
Posts: 2556
Joined: Jun 13, 2005 23:14
Location: SK, Canada

Post by 1000101 »

Not entirely true, in windows, switching to a graphics mode from a realmode application in the VM will cause it to run fullscreen (as opposed to windowed). This is mostly to windows using interrupt hooks to analyze video card requests. If the program programs the mode directly, then unexpected results can occur when running under windows.
Nexinarus
Posts: 146
Joined: May 28, 2005 6:08
Location: Everywhere
Contact:

Post by Nexinarus »

BasicJan, the DOS version is designed for DOS. If you have used DOS before you will realise there are no windows or windowed modes heh. Just pure video card, black background with white text, and you're keyboard.
Post Reply